Fix BZ reference
[glibc.git] / ChangeLog
blobceaccba43ca7edf66ca943f899201e72ebe6730f
1 2013-10-31  Andreas Schwab  <schwab@suse.de>
3         [BZ #15917]
4         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5         followed by 'x' as part of digit sequence.
6         * stdio-common/tst-sscanf.c (double_tests2): New tests.
8 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10         [BZ #16037]
11         * configure.ac: allow GNU Make 4.0 and greater.
12         * configure: Regenerated.
14 2013-10-30  Will Newton  <will.newton@linaro.org>
16         [BZ #16038]
17         * malloc/hooks.c (memalign_check): Limit alignment to the
18         maximum representable power of two.
19         * malloc/malloc.c (__libc_memalign): Likewise.
20         * malloc/tst-memalign.c (do_test): Add test for very
21         large alignment values.
22         * malloc/tst-posix_memalign.c (do_test): Likewise.
24 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26         [BZ #11087]
27         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28         (munmap_chunk): Likewise.
29         (mremap_chunk): Likewise.
31 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
33         [BZ #15799]
34         * stdlib/div.c (div): Remove obsolete code.
35         * stdlib/ldiv.c (ldiv): Likewise.
36         * stdlib/lldiv.c (lldiv): Likewise.
38 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40         [BZ #16071]
41         * nss/nss_files/files-XXX.c (get_contents_ret): New
42         enumerator.
43         (get_contents): New function.
44         (internal_getent): Use it.  Expand size of LINEBUFLEN.
46 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
48         * configure.in: Moved to ...
49         * configure.ac: ... here. Change reference to configure.in
50         to configure.ac.
51         * sysdeps/arm/preconfigure.ac: ... here.
52         configure.in to configure.ac.
53         * sysdeps/gnu/configure.in: Moved to ...
54         * sysdeps/gnu/configure.ac: ... here.
55         * sysdeps/i386/configure.in: Moved to ...
56         * sysdeps/i386/configure.ac: ... here.
57         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
58         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
59         * sysdeps/mach/configure.in: Moved to ...
60         * sysdeps/mach/configure.ac: ... here.
61         * sysdeps/mach/hurd/configure.in: Moved to ...
62         * sysdeps/mach/hurd/configure.ac: ... here.
63         * sysdeps/powerpc/configure.in: Moved to ...
64         * sysdeps/powerpc/configure.ac: ... here.
65         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
66         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
67         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
68         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
69         * sysdeps/s390/s390-32/configure.in: Moved to ...
70         * sysdeps/s390/s390-32/configure.ac: ... here.
71         * sysdeps/s390/s390-64/configure.in: Moved to ...
72         * sysdeps/s390/s390-64/configure.ac: ... here.
73         * sysdeps/sh/configure.in: Moved to ...
74         * sysdeps/sh/configure.ac: ... here.
75         * sysdeps/sparc/configure.in: Moved to ...
76         * sysdeps/sparc/configure.ac: ... here.
77         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
78         * sysdeps/unix/sysv/linux/configure.ac: ... here.
79         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
80         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
81         * sysdeps/x86_64/configure.in: Moved to ...
82         * sysdeps/x86_64/configure.ac: ... here.
83         * sysdeps/x86_64/preconfigure.in: Moved to ...
84         * sysdeps/x86_64/preconfigure.ac: ... here.
85         * aclocal.m4: Change reference to configure.in to configure.ac.
86         * config.h.in: Likewise.
87         * manual/install.texi: Likewise.
88         * manual/maint.texi: Likewise.
89         * Makefile: Likewise.
90         * malloc/Makefile: Likewise.
91         * nscd/Makefile: Likewise.
92         * Makeconfig: Change reference to configure.in and
93         preconfigure.in to configure.ac and preconfigure.ac
94         respectively.
95         * INSTALL: Regenerated.
96         * configure: Likewise.
97         * sysdeps/gnu/configure: Likewise.
98         * sysdeps/i386/configure: Likewise.
99         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
100         * sysdeps/mach/configure: Likewise.
101         * sysdeps/mach/hurd/configure: Likewise.
102         * sysdeps/powerpc/configure: Likewise.
103         * sysdeps/powerpc/powerpc32/configure: Likewise.
104         * sysdeps/powerpc/powerpc64/configure: Likewise.
105         * sysdeps/s390/s390-32/configure: Likewise.
106         * sysdeps/s390/s390-64/configure: Likewise.
107         * sysdeps/sh/configure: Likewise.
108         * sysdeps/sparc/configure: Likewise.
109         * sysdeps/unix/sysv/linux/configure: Likewise.
110         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
111         * sysdeps/x86_64/configure: Likewise.
112         * sysdeps/x86_64/preconfigure: Likewise.
114 2013-10-29  Andreas Schwab  <schwab@suse.de>
116         * stdio-common/Makefile (tst-swscanf-ENV): Define.
118 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
120         * benchtests/pow-inputs: Add new inputs.
122         * benchtests/exp-inputs: Add new inputs.
124         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
125         conditional check for return value.
126         (__cos32): Likewise.
128 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
130         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
131         to provide a boost for large inputs with word alignment.
132         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
133         implementation based on optimized PPC64 strcpy.
134         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
135         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
136         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
137         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
139 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
141         [BZ #2801]
142         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
144 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
146         [BZ #14876]
147         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
148         * time/tst-strptime.c (day_tests): Add testcase.
150 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
152         [BZ #14029]
153         * manual/pattern.texi: Acknowledge that fnmatch can fail.
155 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
157         [BZ #16074]
158         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
159         MAP_FAILED on error.
161 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
163         [BZ #16072]
164         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
165         heap for large requests.
167 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
169         [BZ #9954]
170         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
171         result if the result has no associated interface.
172         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
173         interface for all 127.X.Y.Z addresses.
175 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
177         * locale/iso-639.def: Add Ligurian (lij)
179 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
181         [BZ #15825]
182         * sunrpc/rpc_main.c: Document rpcgen -5.
184 2013-10-19  Michael Stahl  <mstahl@redhat.com>
186         * elf/rtld.c (do_preload): Print the reason why preloading failed.
188 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
190         [BZ #10278]
191         * posix/glob.c: Match only directories when trailing slash is present.
192         * posix/tst-gnuglob.c (my_opendir): Do not open files.
193         (main): Add testcase.
195 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
197         [BZ #15670]
198         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
200 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
202         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
203         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
204         AUTH_DES and cindex for FIPS 140-2.
205         (DES Encryption): Add cindex FIPS 46-3.
207         * locale/locarchive.h (struct locarhandle): Add fname.
208         * locale/programs/localedef.c (main): Pass ARGV[remaining]
209         if an optional argument was specified to --list-archive,
210         otherwise NULL.
211         * locale/programs/locarchive.c (show_archive_content): Take new
212         argument fname and pass it via ah.fname to open_archive.
213         * locale/programs/localedef.h: Update decl.
214         (open_archive): If AH->fname is non-null, open that file
215         rather than the default file name, and don't ignore ENOENT.
216         (create_archive): Set AH.fname to NULL.
217         (delete_locales_from_archive): Likewise.
218         (add_locales_to_archive): Likewise.
219         * locale/programs/locfile.c (write_all_categories): Likewise.
221 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
222             Aldy Hernandez  <aldyh@redhat.com>
224         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
225         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
226         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
227         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
228         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
229         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
230         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
231         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
232         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
233         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
234         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
235         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
236         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
237         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
238         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
239         Likewise.
240         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
241         Likewise.
242         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
243         Likewise.
244         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
245         Likewise.
246         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
247         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
248         Likewise.
249         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
250         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
251         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
252         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
253         Likewise.
254         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
255         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
256         * sysdeps/powerpc/preconfigure: Likewise.
257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
258         Likewise.
259         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
260         Replace contents of file by #include of <fenv_libc.h>.
261         * sysdeps/powerpc/soft-fp/sfp-machine.h
262         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
263         and <sys/prctl.h>.
264         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
265         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
266         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
267         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
268         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
269         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
270         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
271         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
272         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
273         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
274         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
275         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
277         Allow copysignl PLT reference to be missing.
279 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
280             Joseph Myers  <joseph@codesourcery.com
282         [BZ #15948]
283         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
284         single character.
285         (add_to_tablewc): Assert sequence of wide characters is nonempty.
287 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
289         * elf/tst-tls-dlinfo.c: Don't include tls.h.
290         * elf/tst-tls1.c: Likewise.
291         * elf/tst-tls10.h: Likewise.
292         * elf/tst-tls14.c: Likewise.
293         * elf/tst-tls2.c: Likewise.
294         * elf/tst-tls3.c: Likewise.
295         * elf/tst-tls4.c: Likewise.
296         * elf/tst-tls5.c: Likewise.
297         * elf/tst-tls6.c: Likewise.
298         * elf/tst-tls7.c: Likewise.
299         * elf/tst-tls8.c: Likewise.
300         * elf/tst-tls9.c: Likewise.
301         * elf/tst-tlsmod1.c: Likewise.
302         * elf/tst-tlsmod13.c: Likewise.
303         * elf/tst-tlsmod13a.c: Likewise.
304         * elf/tst-tlsmod14a.c: Likewise.
305         * elf/tst-tlsmod16a.c: Likewise.
306         * elf/tst-tlsmod16b.c: Likewise.
307         * elf/tst-tlsmod2.c: Likewise.
308         * elf/tst-tlsmod3.c: Likewise.
309         * elf/tst-tlsmod4.c: Likewise.
310         * elf/tst-tlsmod5.c: Likewise.
311         * elf/tst-tlsmod6.c: Likewise.
313 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
315         [BZ #12486]
316         * malloc/malloc.c: remove checks for statistics.
318 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
320         [BZ #15277]
321         * inet/inet_net.c (inet_network): Detect additional invalid strings.
322         * inet/tst-network.c: Add testcase.
324 2013-10-17  Andreas Schwab  <schwab@suse.de>
326         [BZ #15218]
327         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
328         to determine canonical name.
330 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
332         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
333         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
334         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
335         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
336         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
337         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
338         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
339         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
340         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
341         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
342         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
343         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
344         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
345         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
346         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
347         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
348         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
349         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
350         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
351         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
352         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
353         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
354         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
355         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
356         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
357         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
358         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
359         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
360         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
361         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
362         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
363         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
364         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
365         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
366         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
367         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
368         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
369         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
370         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
371         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
372         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
373         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
374         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
375         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
376         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
377         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
378         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
379         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
380         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
381         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
382         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
383         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
384         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
385         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
386         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
387         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
388         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
389         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
391 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
393         [BZ #16041]
394         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
395         make result into a quiet NaN.
397 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
399         * soft-fp/adddf3.c: Fix horizontal whitespace.
400         * soft-fp/addsf3.c: Likewise.
401         * soft-fp/addtf3.c: Likewise.
402         * soft-fp/divdf3.c: Likewise.
403         * soft-fp/divsf3.c: Likewise.
404         * soft-fp/divtf3.c: Likewise.
405         * soft-fp/double.h: Likewise.
406         * soft-fp/eqdf2.c: Likewise.
407         * soft-fp/eqsf2.c: Likewise.
408         * soft-fp/eqtf2.c: Likewise.
409         * soft-fp/extenddftf2.c: Likewise.
410         * soft-fp/extended.h: Likewise.
411         * soft-fp/extendsfdf2.c: Likewise.
412         * soft-fp/extendsftf2.c: Likewise.
413         * soft-fp/extendxftf2.c: Likewise.
414         * soft-fp/fixdfdi.c: Likewise.
415         * soft-fp/fixdfsi.c: Likewise.
416         * soft-fp/fixdfti.c: Likewise.
417         * soft-fp/fixsfdi.c: Likewise.
418         * soft-fp/fixsfsi.c: Likewise.
419         * soft-fp/fixsfti.c: Likewise.
420         * soft-fp/fixtfdi.c: Likewise.
421         * soft-fp/fixtfsi.c: Likewise.
422         * soft-fp/fixtfti.c: Likewise.
423         * soft-fp/fixunsdfdi.c: Likewise.
424         * soft-fp/fixunsdfsi.c: Likewise.
425         * soft-fp/fixunsdfti.c: Likewise.
426         * soft-fp/fixunssfdi.c: Likewise.
427         * soft-fp/fixunssfsi.c: Likewise.
428         * soft-fp/fixunssfti.c: Likewise.
429         * soft-fp/fixunstfdi.c: Likewise.
430         * soft-fp/fixunstfsi.c: Likewise.
431         * soft-fp/fixunstfti.c: Likewise.
432         * soft-fp/floatdidf.c: Likewise.
433         * soft-fp/floatdisf.c: Likewise.
434         * soft-fp/floatditf.c: Likewise.
435         * soft-fp/floatsidf.c: Likewise.
436         * soft-fp/floatsisf.c: Likewise.
437         * soft-fp/floatsitf.c: Likewise.
438         * soft-fp/floattidf.c: Likewise.
439         * soft-fp/floattisf.c: Likewise.
440         * soft-fp/floattitf.c: Likewise.
441         * soft-fp/floatundidf.c: Likewise.
442         * soft-fp/floatundisf.c: Likewise.
443         * soft-fp/floatunditf.c: Likewise.
444         * soft-fp/floatunsidf.c: Likewise.
445         * soft-fp/floatunsisf.c: Likewise.
446         * soft-fp/floatunsitf.c: Likewise.
447         * soft-fp/floatuntidf.c: Likewise.
448         * soft-fp/floatuntisf.c: Likewise.
449         * soft-fp/floatuntitf.c: Likewise.
450         * soft-fp/fmadf4.c: Likewise.
451         * soft-fp/fmasf4.c: Likewise.
452         * soft-fp/fmatf4.c: Likewise.
453         * soft-fp/gedf2.c: Likewise.
454         * soft-fp/gesf2.c: Likewise.
455         * soft-fp/getf2.c: Likewise.
456         * soft-fp/ledf2.c: Likewise.
457         * soft-fp/lesf2.c: Likewise.
458         * soft-fp/letf2.c: Likewise.
459         * soft-fp/muldf3.c: Likewise.
460         * soft-fp/mulsf3.c: Likewise.
461         * soft-fp/multf3.c: Likewise.
462         * soft-fp/negdf2.c: Likewise.
463         * soft-fp/negsf2.c: Likewise.
464         * soft-fp/negtf2.c: Likewise.
465         * soft-fp/op-1.h: Likewise.
466         * soft-fp/op-2.h: Likewise.
467         * soft-fp/op-4.h: Likewise.
468         * soft-fp/op-8.h: Likewise.
469         * soft-fp/op-common.h: Likewise.
470         * soft-fp/quad.h: Likewise.
471         * soft-fp/single.h: Likewise.
472         * soft-fp/soft-fp.h: Likewise.
473         * soft-fp/sqrtdf2.c: Likewise.
474         * soft-fp/sqrtsf2.c: Likewise.
475         * soft-fp/sqrttf2.c: Likewise.
476         * soft-fp/subdf3.c: Likewise.
477         * soft-fp/subsf3.c: Likewise.
478         * soft-fp/subtf3.c: Likewise.
479         * soft-fp/truncdfsf2.c: Likewise.
480         * soft-fp/trunctfdf2.c: Likewise.
481         * soft-fp/trunctfsf2.c: Likewise.
482         * soft-fp/trunctfxf2.c: Likewise.
483         * soft-fp/unorddf2.c: Likewise.
484         * soft-fp/unordsf2.c: Likewise.
485         * soft-fp/unordtf2.c: Likewise.
487 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
489         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
490         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
492 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
494         * elf/dl-libc.c: Clear initfini list after freeing.
496 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
498         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
499         * soft-fp/addsf3.c: Likewise.
500         * soft-fp/addtf3.c: Likewise.
501         * soft-fp/divdf3.c: Likewise.
502         * soft-fp/divsf3.c: Likewise.
503         * soft-fp/divtf3.c: Likewise.
504         * soft-fp/double.h: Likewise.
505         * soft-fp/eqdf2.c: Likewise.
506         * soft-fp/eqsf2.c: Likewise.
507         * soft-fp/eqtf2.c: Likewise.
508         * soft-fp/extenddftf2.c: Likewise.
509         * soft-fp/extended.h: Likewise.
510         * soft-fp/extendsfdf2.c: Likewise.
511         * soft-fp/extendsftf2.c: Likewise.
512         * soft-fp/extendxftf2.c: Likewise.
513         * soft-fp/fixdfdi.c: Likewise.
514         * soft-fp/fixdfsi.c: Likewise.
515         * soft-fp/fixdfti.c: Likewise.
516         * soft-fp/fixsfdi.c: Likewise.
517         * soft-fp/fixsfsi.c: Likewise.
518         * soft-fp/fixsfti.c: Likewise.
519         * soft-fp/fixtfdi.c: Likewise.
520         * soft-fp/fixtfsi.c: Likewise.
521         * soft-fp/fixtfti.c: Likewise.
522         * soft-fp/fixunsdfdi.c: Likewise.
523         * soft-fp/fixunsdfsi.c: Likewise.
524         * soft-fp/fixunsdfti.c: Likewise.
525         * soft-fp/fixunssfdi.c: Likewise.
526         * soft-fp/fixunssfsi.c: Likewise.
527         * soft-fp/fixunssfti.c: Likewise.
528         * soft-fp/fixunstfdi.c: Likewise.
529         * soft-fp/fixunstfsi.c: Likewise.
530         * soft-fp/fixunstfti.c: Likewise.
531         * soft-fp/floatdidf.c: Likewise.
532         * soft-fp/floatdisf.c: Likewise.
533         * soft-fp/floatditf.c: Likewise.
534         * soft-fp/floatsidf.c: Likewise.
535         * soft-fp/floatsisf.c: Likewise.
536         * soft-fp/floatsitf.c: Likewise.
537         * soft-fp/floattidf.c: Likewise.
538         * soft-fp/floattisf.c: Likewise.
539         * soft-fp/floattitf.c: Likewise.
540         * soft-fp/floatundidf.c: Likewise.
541         * soft-fp/floatundisf.c: Likewise.
542         * soft-fp/floatunsidf.c: Likewise.
543         * soft-fp/floatunsisf.c: Likewise.
544         * soft-fp/floatuntidf.c: Likewise.
545         * soft-fp/floatuntisf.c: Likewise.
546         * soft-fp/floatuntitf.c: Likewise.
547         * soft-fp/fmadf4.c: Likewise.
548         * soft-fp/fmasf4.c: Likewise.
549         * soft-fp/fmatf4.c: Likewise.
550         * soft-fp/gedf2.c: Likewise.
551         * soft-fp/gesf2.c: Likewise.
552         * soft-fp/getf2.c: Likewise.
553         * soft-fp/ledf2.c: Likewise.
554         * soft-fp/lesf2.c: Likewise.
555         * soft-fp/letf2.c: Likewise.
556         * soft-fp/muldf3.c: Likewise.
557         * soft-fp/mulsf3.c: Likewise.
558         * soft-fp/multf3.c: Likewise.
559         * soft-fp/negdf2.c: Likewise.
560         * soft-fp/negsf2.c: Likewise.
561         * soft-fp/negtf2.c: Likewise.
562         * soft-fp/op-1.h: Likewise.
563         * soft-fp/op-2.h: Likewise.
564         * soft-fp/op-4.h: Likewise.
565         * soft-fp/op-8.h: Likewise.
566         * soft-fp/op-common.h: Likewise.
567         * soft-fp/quad.h: Likewise.
568         * soft-fp/single.h: Likewise.
569         * soft-fp/soft-fp.h: Likewise.
570         * soft-fp/sqrtdf2.c: Likewise.
571         * soft-fp/sqrtsf2.c: Likewise.
572         * soft-fp/sqrttf2.c: Likewise.
573         * soft-fp/subdf3.c: Likewise.
574         * soft-fp/subsf3.c: Likewise.
575         * soft-fp/subtf3.c: Likewise.
576         * soft-fp/truncdfsf2.c: Likewise.
577         * soft-fp/trunctfdf2.c: Likewise.
578         * soft-fp/trunctfsf2.c: Likewise.
579         * soft-fp/trunctfxf2.c: Likewise.
580         * soft-fp/unorddf2.c: Likewise.
581         * soft-fp/unordsf2.c: Likewise.
582         * soft-fp/unordtf2.c: Likewise.
584 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
586         [BZ #15672]
587         * misc/error.c (error_tail): Fix possible buffer overflow.
589 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
591         [BZ #13028]
592         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
593         address.
595 2013-10-14  P. J. McDermott  <pj@pehjota.net>
597         [BZ #832]
598         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
599         testing pipefail option.
601 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
603         * soft-fp/double.h: Indent preprocessor directives inside #if.
604         * soft-fp/extended.h: Likewise.
605         * soft-fp/op-2.h: Likewise.
606         * soft-fp/op-4.h: Likewise.
607         * soft-fp/op-common.h: Likewise.
608         * soft-fp/quad.h: Likewise.
609         * soft-fp/single.h: Likewise.
610         * soft-fp/soft-fp.h: Likewise.
612 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
614         * iconv/iconv_prog.c: Fix typos.
615         * stdio-common/psiginfo-data.h: Likewise.
617 2013-10-12   Reuben Thomas <rrt@sc3d.org>
619         [BZ #15764]
620         * locale/setlocale.c: Fix typo.
622 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
624         [BZ #16036]
625         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
626         signaling NaN arguments.
627         * soft-fp/unordsf2.c (__unordsf2): Likewise.
628         * soft-fp/unordtf2.c (__unordtf2): Likewise.
630         [BZ #14910]
631         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
632         unordered operands.
633         * soft-fp/gesf2.c (__gesf2): Likewise.
634         * soft-fp/getf2.c (__getf2): Likewise.
635         * soft-fp/ledf2.c (__ledf2): Likewise.
636         * soft-fp/lesf2.c (__lesf2): Likewise.
637         * soft-fp/letf2.c (__letf2): Likewise.
639         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
640         * soft-fp/eqsf2.c (__eqsf2): Likewise.
641         * soft-fp/eqtf2.c (__eqtf2): Likewise.
642         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
643         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
644         * soft-fp/fixdfti.c (__fixdfti): Likewise.
645         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
646         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
647         * soft-fp/fixsfti.c (__fixsfti): Likewise.
648         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
649         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
650         * soft-fp/fixtfti.c (__fixtfti): Likewise.
651         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
652         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
653         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
654         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
655         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
656         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
657         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
658         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
659         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
660         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
661         * soft-fp/floatdisf.c (__floatdisf): Likewise.
662         * soft-fp/floatsisf.c (__floatsisf): Likewise.
663         * soft-fp/floattidf.c (__floattidf): Likewise.
664         * soft-fp/floattisf.c (__floattisf): Likewise.
665         * soft-fp/floattitf.c (__floattitf): Likewise.
666         * soft-fp/floatundidf.c (__floatundidf): Likewise.
667         * soft-fp/floatundisf.c (__floatundisf): Likewise.
668         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
669         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
670         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
671         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
672         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
673         * soft-fp/gesf2.c (__gesf2): Likewise.
674         * soft-fp/getf2.c (__getf2): Likewise.
675         * soft-fp/ledf2.c (__ledf2): Likewise.
676         * soft-fp/lesf2.c (__lesf2): Likewise.
677         * soft-fp/letf2.c (__letf2): Likewise.
679         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
680         Undefine and redefine.
681         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
682         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
683         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
684         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
685         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
686         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
687         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
688         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
689         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
690         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
691         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
692         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
693         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
694         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
695         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
697         [BZ #16032]
698         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
699         without decrementing exponent if mantissa >= that for the
700         denominator, not >.
701         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
702         denominator, not >.  Decrement exponent in < case instead of
703         incrementing in >= case.
704         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
705         without decrementing exponent if mantissa >= that for the
706         denominator, not >.
708         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
709         computing saturated result for unsigned overflow.
711 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
712             Jeff Law  <law@redhat.com>
714         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
715         (atan2Mp): Add systemtap probe marker.
716         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
717         (__ieee754_log): Add systemtap probe marker.
718         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
719         (atanMp): Add systemtap probe marker.
720         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
721         (tanMp): Add systemtap probe marker.
722         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
723         (__slowexp): Add systemtap probe marker.
724         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
725         (__slowpow): Add systemtap probe marker.
726         * manual/probes.texi: Document probes.
728 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
730         [BZ #15362]
731         * libio/fileops.c (_IO_new_file_write): Return count of bytes
732         written.
733         (_IO_new_file_xsputn): Don't return EOF if nothing has been
734         written.
735         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
736         written to buffer but not flushed.
737         * libio/iofwrite_u.c:  Likewise.
738         * libio/iopadn.c:  Return bytes returned even if EOF was
739         encountered.
740         * libio/iowpadn.c:  Likewise.
741         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
742         if _IO_padn does not write the whole buffer.
743         [!COMPILE_WPRINTF] (PAD): Likewise.
745 2013-10-10  David S. Miller  <davem@davemloft.net>
747         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
748         directory block.
750 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
752         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
753         instead of FSF address.
754         * soft-fp/fixdfti.c: Likewise.
755         * soft-fp/fixsfti.c: Likewise.
756         * soft-fp/fixtfti.c: Likewise.
757         * soft-fp/fixunsdfti.c: Likewise.
758         * soft-fp/fixunssfti.c: Likewise.
759         * soft-fp/fixunstfti.c: Likewise.
760         * soft-fp/floattidf.c: Likewise.
761         * soft-fp/floattisf.c: Likewise.
762         * soft-fp/floattitf.c: Likewise.
763         * soft-fp/floatuntidf.c: Likewise.
764         * soft-fp/floatuntisf.c: Likewise.
765         * soft-fp/floatuntitf.c: Likewise.
766         * soft-fp/trunctfxf2.c: Likewise.
768         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
769         * soft-fp/fixdfti.c: Likewise.
770         * soft-fp/fixsfti.c: Likewise.
771         * soft-fp/fixtfti.c: Likewise.
772         * soft-fp/fixunsdfti.c: Likewise.
773         * soft-fp/fixunssfti.c: Likewise.
774         * soft-fp/fixunstfti.c: Likewise.
775         * soft-fp/floattidf.c: Likewise.
776         * soft-fp/floattisf.c: Likewise.
777         * soft-fp/floattitf.c: Likewise.
778         * soft-fp/floatuntidf.c: Likewise.
779         * soft-fp/floatuntisf.c: Likewise.
780         * soft-fp/floatuntitf.c: Likewise.
781         * soft-fp/trunctfxf2.c: Likewise.
783 2013-10-10  David S. Miller  <davem@davemloft.net>
785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
787 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
789         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
790         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
791         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
792         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
793         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
794         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
795         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
797         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
798         for NaNs before doing comparisons on argument.
799         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
800         Likewise.
802 2013-10-10  Will Newton  <will.newton@linaro.org>
804         * malloc/hooks.c (memalign_check): Ensure the value of bytes
805         passed to _int_memalign does not overflow.
807 2013-10-10  Torvald Riegel  <triegel@redhat.com>
809         * scripts/bench.pl: Add include-sources directive.
810         * benchtests/README: Update documentation.
812 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
814         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
815         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
816         instead of FP_INIT_ROUNDMODE.
817         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
818         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
820         [BZ #16034]
821         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
822         copy class of input value.
823         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
824         not handle exceptions.
825         * soft-fp/negsf2.c (__negsf2): Likewise.
826         * soft-fp/negtf2.c (__negtf2): Likewise.
827         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
829 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
831         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
832         semicolon.  From Linux kernel.
834 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
836         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
838 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
840         [BZ #156]
841         * manual/socket.texi: Added statement about buffer
842         for gethostbyname2_r.
844 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
846         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
847         Use .p2align directive instead, throughout.
848         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
849         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
850         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
851         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
852         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
853         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
854         * sysdeps/x86_64/strchr.S: Likewise.
855         * sysdeps/x86_64/strrchr.S: Likewise.
857 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
859         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
861         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
863         * sysdeps/generic/math_private.h (__mpsin1): Remove
864         declaration.
865         (__mpcos1): Likewise.
866         (__mpsin): New argument __range_reduce.
867         (__mpcos): Likewise.
868         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
869         (slow): Use __mpsin and __mpcos.
870         (slow1): Likewise.
871         (slow2): Likewise.
872         (sloww): Likewise.
873         (sloww1): Likewise.
874         (sloww2): Likewise.
875         (bsloww): Likewise.
876         (bsloww1): Likewise.
877         (bsloww2): Likewise.
878         (cslow2): Likewise.
879         (csloww): Likewise.
880         (csloww1): Likewise.
881         (csloww2): Likewise.
882         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
883         range_reduce.  Merge in __mpsin1.
884         (__mpcos): Likewise.
885         (__mpsin1): Remove.
886         (__mpcos1): Likewise.
888 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
890         * locale/loadlocale.c (_nl_intern_locale_data): Use
891         LOCFILE_ALIGNED_P.
892         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
893         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
894         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
895         obstack data is appropriately aligned.
896         (obstack_int32_grow_fast): Likewise.
897         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
898         * locale/programs/locfile.c (add_locale_uint32): Likewise.
899         (add_locale_uint32_array): Likewise.
901 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
903         * benchtests/Makefile: Remove ARGLIST and RET variables.
904         ($(objpfx)bench-%.c): Pass only function name to the script.
905         * benchtests/README: Update documentation.
906         * benchtests/acos-inputs: Add new directives.
907         * benchtests/acosh-inputs: Likewise.
908         * benchtests/asin-inputs: Likewise.
909         * benchtests/asinh-inputs: Likewise.
910         * benchtests/atan-inputs: Likewise.
911         * benchtests/atanh-inputs: Likewise.
912         * benchtests/cos-inputs: Likewise.
913         * benchtests/cosh-inputs: Likewise.
914         * benchtests/exp-inputs: Likewise.
915         * benchtests/log-inputs: Likewise.
916         * benchtests/pow-inputs: Likewise.
917         * benchtests/rint-inputs: Likewise.
918         * benchtests/sin-inputs: Likewise.
919         * benchtests/sinh-inputs: Likewise.
920         * benchtests/tan-inputs: Likewise.
921         * benchtests/tanh-inputs: Likewise.
922         * scripts/bench.pl: Add support for new directives.
924 2013-10-07  Alan Modra  <amodra@gmail.com>
926         * README: Fix careless merge.
928 2013-10-05  Alan Modra  <amodra@gmail.com>
930         * NEWS: Mention powerpc64le support and bugs fixed.
931         * README: Both big-endian and little-endian powerpc64 supported.
933 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
935         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
936         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
937         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
938         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
940 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
942         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
943         match prototype.
945 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
947         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
948         Move -mhard-float appending from
949         ports/sysdeps/powerpc/powerpc32/Makefile.
950         [$(with-fp) = yes] (ASFLAGS): Likewise.
951         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
952         * sysdeps/powerpc/nofpu: Move directory from
953         ports/sysdeps/powerpc/nofpu.
954         * sysdeps/powerpc/soft-fp: Move directory from
955         ports/sysdeps/powerpc/soft-fp.
956         * sysdeps/powerpc/powerpc32/405: Move directory from
957         ports/sysdeps/powerpc/powerpc32/405.
958         * sysdeps/powerpc/powerpc32/440: Move directory from
959         ports/sysdeps/powerpc/powerpc32/440.
960         * sysdeps/powerpc/powerpc32/464: Move directory from
961         ports/sysdeps/powerpc/powerpc32/464.
962         * sysdeps/powerpc/powerpc32/476: Move directory from
963         ports/sysdeps/powerpc/powerpc32/476.
964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
965         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
967         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
969         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
971         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
973         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
974         * README: Update for powerpc-*-linux-gnu software floating point
975         support in libc.
977         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
978         case to powerpc/powerpc32*.
979         * sysdeps/unix/sysv/linux/configure: Regenerated.
981         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
982         (_FPU_MASK_OM): Define as 0x04.
983         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
984         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
985         0x00c10080.
986         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
987         0x0000003c.
988         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
991         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
992         getcontext_e500.
993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
994         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
995         setcontext_e500.
996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
997         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
998         and setcontext_e500.
1000 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
1002         * locale/iso-3166.def: Update iso-1366.def and related occurrences
1004 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1006         * manual/threads.texi (Default Thread Attributes): Fix typo.
1008 2013-10-04  Will Newton  <will.newton@linaro.org>
1010         * malloc/Makefile: Add tst-memalign.
1011         * malloc/tst-memalign.c: New file.
1013         * malloc/tst-posix_memalign.c: Add comments.
1014         (do_test): Add comments and call free on all potentially
1015         allocated pointers. Add space after cast.
1017         * malloc/tst-pvalloc.c: Add comments.
1018         (do_test): Add comments and call free on all potentially
1019         allocated pointers. Remove duplicate check for NULL pointer.
1020         Add space after cast.
1022         * malloc/tst-valloc.c: Add comments.
1023         (do_test): Add comments and call free on all potentially
1024         allocated pointers. Remove duplicate check for NULL pointer.
1025         Add space after cast.
1027 2013-10-04  Alan Modra  <amodra@gmail.com>
1029         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1030         Use stdint types in rather than __attribute__((mode())).
1031         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1033 2013-10-04  Alan Modra  <amodra@gmail.com>
1035         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1036         Correct handling of unaligned relocs for little-endian.
1037         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1039 2013-10-04  Alan Modra  <amodra@gmail.com>
1041         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1042         * configure: Regenerate.
1043         * nptl/shlib-versions: Powerpc*le starts at 2.18.
1044         * shlib-versions: Likewise.
1046 2013-10-04  Alan Modra  <amodra@gmail.com>
1048         * string/tester.c (test_memrchr): Increment reported test cycle.
1050 2013-10-04  Alan Modra  <amodra@gmail.com>
1052         * string/test-memcpy.c (do_one_test): When reporting errors, print
1053         string address and don't overrun end of string.
1055 2013-10-04  Alan Modra  <amodra@gmail.com>
1057         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1058         insrdi.  Make better use of reg selection to speed exit slightly.
1059         Schedule entry path a little better.  Remove useless "are we done"
1060         checks on entry to main loop.  Handle wrapping around zero address.
1061         Correct main loop count.  Handle single left-over word from main
1062         loop inline rather than by using loop_small.  Remove extra word
1063         case in loop_small caused by wrong loop count.  Add little-endian
1064         support.
1065         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1066         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
1067         cache hint.
1068         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1069         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1070         support.  Avoid rlwimi.
1071         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1073 2013-10-04  Alan Modra  <amodra@gmail.com>
1075         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1076         insrdi.  Formatting.
1077         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1078         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1079         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1080         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1081         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1082         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1084 2013-10-04  Alan Modra  <amodra@gmail.com>
1086         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1087         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1088         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1089         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1090         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1091         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1092         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1093         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1094         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
1095         use of regs.  Use power7 mtocrf.  Tidy function tails.
1097 2013-10-04  Alan Modra  <amodra@gmail.com>
1099         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1100         Formatting.  Consistently use rXXX register defines or rN defines.
1101         Use early exit labels that avoid restoring unused non-volatile regs.
1102         Make cr field use more consistent with rWORDn compares.  Rename
1103         regs used as shift registers for unaligned loop, using rN defines
1104         for short lifetime/multiple use regs.
1105         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1106         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
1107         addi 1,1,64 to pop stack frame.  Simplify return value code.
1108         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1110 2013-10-04  Alan Modra  <amodra@gmail.com>
1112         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1113         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
1114         rather than rlwimi.
1115         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1116         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1117         little-endian support.  Correct typos.
1118         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
1119         rather than rlwimi.
1120         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
1121         in loop and entry code to keep "and." results.
1122         (strchr): Add little-endian support.  Comment.  Move cntlzd
1123         earlier in tail.
1124         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1126 2013-10-04  Alan Modra  <amodra@gmail.com>
1128         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1129         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1130         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1131         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1133 2013-10-04  Alan Modra  <amodra@gmail.com>
1135         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1136         (rTMP): Define as r11.
1137         (strcmp): Add little-endian support.  Optimise tail.
1138         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1139         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1140         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1141         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1142         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1143         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1144         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1146 2013-10-04  Alan Modra  <amodra@gmail.com>
1148         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1149         little-endian support.  Remove unnecessary "are we done" tests.
1150         Handle "s" wrapping around zero and extremely large "size".
1151         Correct main loop count.  Handle single left-over word from main
1152         loop inline rather than by using small_loop.  Correct comments.
1153         Delete "zero" tail, use "end_max" instead.
1154         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1156 2013-10-04  Alan Modra  <amodra@gmail.com>
1158         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1159         support.  Don't branch over align.
1160         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1161         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1162         support.  Rearrange tmp reg use to suit.  Comment.
1163         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1165 2013-10-04  Alan Modra  <amodra@gmail.com>
1167         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1169 2013-10-04  Alan Modra  <amodra@gmail.com>
1171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1172         conditional form of branch and link when obtaining pc.
1173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1175 2013-10-04  Alan Modra  <amodra@gmail.com>
1177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1178         HIWORD/LOWORD.
1179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1182 2013-10-04  Alan Modra  <amodra@gmail.com>
1184         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1185         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1186         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1187         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1188         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1189         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1190         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1191         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1192         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1193         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1195 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1196             Alistair Popple <alistair@ozlabs.au.ibm.com>
1197             Alan Modra <amodra@gmail.com>
1199         [BZ #15723]
1200         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1201         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1202         _dl_hwcap access for little-endian.
1203         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
1204         destroy vmx regs when saving unaligned.
1205         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1206         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
1207         destroy vmx regs when saving unaligned.
1209 2013-10-04  Alan Modra  <amodra@gmail.com>
1211         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1212         Don't use a union to pack hi/low value.
1214 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1216         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1217         for little-endian.
1218         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1219         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1220         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1221         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1222         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1224 2013-10-04  Alan Modra  <amodra@gmail.com>
1226         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1227         constants to usual value for .cst8 section, and remove redundant
1228         high address load.
1229         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1230         constant for 0x1p52.  Load little-endian words of double from
1231         correct stack offsets.
1233 2013-10-04  Alan Modra  <amodra@gmail.com>
1235         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1236         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1237         words of double from correct stack offsets.
1238         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1239         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1240         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1241         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1242         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1243         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1244         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1245         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1246         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1247         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1248         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1249         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1250         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1251         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1252         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1253         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1254         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1256 2013-10-04  Alan Modra  <amodra@gmail.com>
1258         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1259         64-bit int/double union.
1260         (_FPU_SETCW): Likewise.
1261         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1262         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1264 2013-10-04  Alan Modra  <amodra@gmail.com>
1266         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1267         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1269 2013-10-04  Alan Modra  <amodra@gmail.com>
1271         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1272         use vector int constants.
1273         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1275 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1277         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1278         array with long long.
1279         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1280         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1281         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1282         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1283         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1284         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1285         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1286         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1287         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1288         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1289         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1290         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1291         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1293 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1295         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1296         (__signbit): Likewise.  Correct for little-endian.
1297         (__signbitl): Call __signbit.
1298         (lrint): Correct for little-endian.
1299         (lrintf): Call lrint.
1301 2013-10-04  Alan Modra  <amodra@gmail.com>
1303         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1304         union 32-bit int array member with 64-bit int array.
1305         (t515, tm256): Double rather than long double.
1306         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1308 2013-10-04  Alan Modra  <amodra@gmail.com>
1310         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1311         Delete.
1312         (IEEE854_LONG_DOUBLE_BIAS): Delete.
1313         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1314         version of math_ldbl.h.
1316 2013-10-04  Alan Modra  <amodra@gmail.com>
1318         [BZ #15734], [BZ #15735]
1319         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1320         all uses of ieee875 long double macros and unions.  Simplify test
1321         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
1322         ldbl_extract_mantissa value for ix,iy exponents.  Properly
1323         normalize after ldbl_extract_mantissa, and don't add hidden bit
1324         already handled.  Don't treat low word of ieee854 mantissa like
1325         low word of IBM long double and mask off bit when testing for
1326         zero.
1327         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1328         all uses of ieee875 long double macros and unions.  Simplify tests
1329         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
1330         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
1331         two1022, instead use their values.  Recognise that tests for large
1332         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
1333         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1334         Rewrite all uses of ieee875 long double macros and unions.  Simplify
1335         test for 0.0L and nan.  Correct negation.
1336         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1337         ieee875 long double macros and unions.  Correct output for large
1338         magnitude x.  Correct absolute value calculation.
1339         (__erfcl): Likewise.
1340         * math/libm-test.inc: Add tests for errors discovered in IBM long
1341         double versions of fmodl, remainderl, erfl and erfcl.
1343 2013-10-04  Alan Modra  <amodra@gmail.com>
1345         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1346         all uses of ieee854 long double macros and unions.  Simplify tests
1347         for long doubles that are fully specified by the high double.
1348         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1349         Likewise.
1350         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1351         Remove dead code too.
1352         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1353         (__ieee754_ynl): Likewise.
1354         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1355         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1356         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1357         Remove dead code too.
1358         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1359         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1360         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1361         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1362         Simplify.
1363         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1364         Simplify.
1365         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1366         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1367         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1368         Comment on variable precision.
1369         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1370         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1371         Likewise.
1372         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1373         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1374         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1375         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1376         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1378 2013-10-04  Alan Modra  <amodra@gmail.com>
1380         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1381         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1382         all uses of ieee854 long double macros and unions.
1383         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1384         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1385         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1386         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1387         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1388         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1389         Likewise.
1390         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1391         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1392         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1393         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1394         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1395         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1396         Simplify sign and nan test too.
1397         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1398         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1399         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1400         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1401         Likewise.
1402         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1403         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1404         Likewise.
1405         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1406         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1407         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1408         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1409         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1410         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1412 2013-10-04  Alan Modra  <amodra@gmail.com>
1414         * stdio-common/printf_size.c (__printf_size): Don't use
1415         union ieee854_long_double in fpnum union.
1416         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
1417         signbit macro to retrieve sign from long double.
1418         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1419         retrieve sign from long double.
1420         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1421         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1422         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1423         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1424         * math/test-misc.c (main): Don't use union ieee854_long_double.
1426 2013-10-04  Alan Modra  <amodra@gmail.com>
1428         [BZ #15680]
1429         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1430         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1431         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1432         calculation.  Remove unnecessary test for denormal exponent.
1433         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1434         Correct handling of denormals.  Avoid undefined shift behaviour.
1435         Correct normalisation of low mantissa when low double is denormal.
1436         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1437         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
1438         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1439         Correct normalisation of low mantissa.  Test for overflow of high
1440         mantissa and normalise.
1441         (ldbl_nearbyint): Use more readable constant for two52.
1442         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1443         (__mpn_construct_long_double): Fix test for overflow of high
1444         mantissa and correct normalisation.  Avoid undefined shift.
1446 2013-10-04  Alan Modra  <amodra@gmail.com>
1448         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1449         (union ibm_extended_long_double): Define as an array of ieee754_double.
1450         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1451         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1452         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1453         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1454         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1455         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1456         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1457         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1458         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1459         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1460         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1462 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
1464         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1465         page size instead of calling getpagesize.
1467         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1468         (LOCFILE_ALIGN_MASK): Likewise.
1469         (LOCFILE_ALIGN_UP): Likewise.
1470         (LOCFILE_ALIGNED_P): Likewise.
1471         * locale/programs/ld-collate.c (collate_output): Use the new
1472         macros instead of __alignof__ (int32_t).
1473         * locale/weight.h (findidx): Likewise.
1475 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
1477         [BZ #431]
1478         * manual/string.texi: Fix strncat and wcsncat.
1480 2013-10-03  Brooks Moses  <bmoses@google.com>
1482         [BZ #15915]
1483         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1484         * Makerules: ...here, and adjust associated comments.
1486 2013-10-02  Will Newton  <will.newton@linaro.org>
1488         * malloc/Makefile: Add tst-pvalloc.
1489         * malloc/tst-pvalloc.c: New file.
1491 2013-10-02  Will Newton  <will.newton@linaro.org>
1493         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1494         improve test coverage.
1496 2013-10-02  Will Newton  <will.newton@linaro.org>
1498         * malloc/Makefile: Add tst-posix_memalign.
1499         * malloc/tst-posix_memalign.c: New file.
1501 2013-10-01  Eric Blake  <eblake@redhat.com>
1503         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1504         Use __THROWNL rather than __THROW on static functions.
1506 2013-09-30  Petr Machata  <pmachata@redhat.com>
1508         * elf/elf.h (R_AARCH64_ABS16): New macro.
1509         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1510         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1511         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1512         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1513         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1514         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1515         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1516         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1517         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1518         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1519         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1520         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1521         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1522         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1523         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1524         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1525         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1526         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1527         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1528         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1529         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1530         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1531         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1532         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1533         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1534         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1535         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1536         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1537         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1538         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1539         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1540         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1541         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1542         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1543         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1544         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1545         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1546         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1547         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1548         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1549         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1550         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1551         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1552         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1553         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1554         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1555         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1556         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1557         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1558         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1559         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1560         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1561         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1562         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1563         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1564         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1565         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1566         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1567         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1568         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1569         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1570         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1571         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1572         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1573         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1574         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1575         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1576         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1577         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1578         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1579         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1580         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1581         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1582         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1583         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1584         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1585         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1586         (R_AARCH64_TLSDESC_LDR): Likewise.
1587         (R_AARCH64_TLSDESC_ADD): Likewise.
1588         (R_AARCH64_TLSDESC_CALL): Likewise.
1590 2013-09-30  Andreas Schwab  <schwab@suse.de>
1592         [BZ #15048]
1593         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1594         the nss database lookup.
1595         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1596         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1598 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
1600         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1602 2013-09-28  P. J. McDermott  <pj@pehjota.net>
1604         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1605         ${Bash-specific parameter/pattern/string} parameter expansion.
1606         * sysdeps/unix/make-syscalls.sh: Likewise.
1608 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1610         * sysdeps/sh/stackguard-macros.h: New file.
1612 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
1614         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1615         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1616         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1617         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1618         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1619         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1621 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1623         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1624         Fix thread ID register.
1626 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
1628         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1629         [POSIX || UNIX98]: Require rather than permitting all symbols from
1630         <time.h>.
1631         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1632         element of struct sched_param.
1633         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1634         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1635         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1636         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1637         constant.
1639 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
1641         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1642         argument calculation.
1644 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1646         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1647         Expect macro.
1648         [POSIX] (pthread_attr_t): Do not require type.
1649         [POSIX] (pthread_cond_t): Likewise.
1650         [POSIX] (pthread_condattr_t): Likewise.
1651         [POSIX] (pthread_key_t): Likewise.
1652         [POSIX] (pthread_mutex_t): Likewise.
1653         [POSIX] (pthread_mutexattr_t): Likewise.
1654         [POSIX] (pthread_once_t): Likewise.
1655         [POSIX] (pthread_t): Likewise.
1656         [POSIX-based standards] (pthread_atfork): Expect function.
1658 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1659             Richard Sandiford  <richard@codesourcery.com>
1661         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1662         (swap_endianness_p): New extern variable.
1663         (set_big_endian): New inline function.
1664         (maybe_swap_uint32): Likewise.
1665         (maybe_swap_uint32_array): Likewise.
1666         (maybe_swap_uint32_obstack): Likewise.
1667         * locale/programs/locfile.c: Include <stdbool.h>.
1668         (swap_endianness_p): New variable.
1669         (add_locale_uint32): Call maybe_swap_uint32.
1670         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1671         (write_locale_data): Call maybe_swap_uint32_array.
1672         * locale/programs/ld-collate.c (obstack_int32_grow): Call
1673         maybe_swap_uint32.
1674         (obstack_int32_grow_fast): Likewise.
1675         (output_weightwc): Call maybe_swap_uint32_obstack.
1676         (collate_output): Likewise.
1677         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1678         (OPT_LITTLE_ENDIAN): Likewise.
1679         (options): Add --little-endian and --big-endian options.
1680         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1681         * locale/programs/locarchive.c: Include "locfile.h".
1682         (GET): New macro.
1683         (SET): Likewise.
1684         (INC): Likewise.
1685         (create_archive): Use the new macros to access fields of
1686         structures directly mapped from or written to locale archives.
1687         (oldlocrecentcmp): Likewise.
1688         (enlarge_archive): Likewise.
1689         (insert_name): Likewise.
1690         (add_alias): Likewise.
1691         (add_locale): Likewise.
1692         (delete_locales_from_archive): Likewise.
1693         (show_archive_content): Likewise.
1694         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
1695         locale data.
1697 2013-09-24  Roland McGrath  <roland@hack.frob.com>
1699         * manual/freemanuals.texi: Updated from (newly) canonical copy at
1700         http://www.gnu.org/doc/freemanuals.texi.
1701         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1703 2013-09-24  Will Newton  <will.newton@linaro.org>
1705         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1706         macro.
1708 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
1710         * locale/hashval.h (compute_hashval): Interpret bytes of key as
1711         unsigned char.
1713 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
1715         * manual/threads.texi (POSIX Threads): Fix a typo.
1717 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1719         [BZ #14547]
1720         * string/tst-strcoll-overflow.c: New test case.
1721         * string/Makefile (xtests): Add tst-strcoll-overflow.
1722         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1723         cache if string sizes may cause integer overflow.
1725         [BZ #14547]
1726         * string/strcoll_l.c (coll_seq): New members rule, idx,
1727         save_idx and back_us.
1728         (get_next_seq_nocache): New function.
1729         (do_compare_nocache): New function.
1730         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1731         when malloc fails.
1733 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
1735         [BZ #15754]
1736         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1737         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1738         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1740         [BZ #15754]
1741         * elf/Makefile (tests): Add tst-ptrguard1.
1742         (tests-static): Add tst-ptrguard1-static.
1743         (tst-ptrguard1-ARGS): Define.
1744         (tst-ptrguard1-static-ARGS): Define.
1745         * elf/tst-ptrguard1.c: New file.
1746         * elf/tst-ptrguard1-static.c: New file.
1747         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1748         * sysdeps/i386/stackguard-macros.h: Likewise.
1749         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1750         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1751         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1752         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1753         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1754         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1756 2013-09-23  Hector Marco  <hecmargi@upv.es>
1757             Ismael Ripoll  <iripoll@disca.upv.es>
1758             Carlos O'Donell  <carlos@redhat.com>
1760         [BZ #15754]
1761         * sysdeps/generic/stackguard-macros.h: Define
1762         __pointer_chk_guard_local and POINTER_CHK_GUARD.
1763         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1764         Define __pointer_chk_guard_local.
1765         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1766         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1768 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
1770         [BZ #15859]
1771         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1773 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
1775         * include/string.h (__ffs): Declare as hidden.
1776         * string/ffs.c (__ffs): Define as hidden.
1777         * sysdeps/i386/ffs.c (__ffs): Likewise.
1778         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1779         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1780         * sysdeps/s390/ffs.c (__ffs): Likewise.
1781         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1783 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
1785         * NEWS: Mention malloc probes.
1787         * malloc/arena.c (new_heap): New memory_heap_new probe.
1788         (grow_heap): New memory_heap_more probe.
1789         (shrink_heap): New memory_heap_less probe.
1790         (heap_trim): New memory_heap_free probe.
1791         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1792         (systrim): New memory_sbrk_less probe.
1793         * manual/probes.texi: Document them.
1795         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1796         * manual/probes.texi: Document it.
1798         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1799         (__libc_realloc): Add memory_realloc_retry probe.
1800         (__libc_memalign): Add memory_memalign_retry probe.
1801         (__libc_valloc): Add memory_valloc_retry probe.
1802         (__libc_pvalloc): Add memory_pvalloc_retry probe.
1803         (__libc_calloc): Add memory_calloc_retry probe.
1804         * manual/probes.texi: Document them.
1806         * malloc/arena.c (get_free_list): Add probe
1807         memory_arena_reuse_free_list.
1808         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1809         and memory_arena_reuse.
1810         (arena_get2) [!PER_THREAD]: Likewise.
1811         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1812         memory_arena_reuse_realloc.
1813         * manual/probes.texi: Document them.
1815         * malloc/malloc.c (__libc_free): Add
1816         memory_mallopt_free_dyn_thresholds probe.
1817         (__libc_mallopt): Add multiple memory_mallopt probes.
1818         * manual/probes.texi: Document them.
1820         * malloc/malloc.c: Include stap-probe.h.
1821         (__libc_mallopt): Add memory_mallopt probe.
1822         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1823         * manual/probes.texi: New.
1824         * manual/Makefile (chapters): Add probes.
1825         * manual/threads.texi: Set next node.
1827 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
1829         [BZ #15963, #13985]
1830         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1831         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1832         Add `Chinese' to `nan' entry name.
1834 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1836         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1837         (POLYNOMIAL): Likewise.
1838         (TAYLOR_SINCOS): Likewise.
1839         (TAYLOR_SLOW): Likewise.
1840         (__sin): Use TAYLOR_SINCOS.
1841         (__cos): Likewise.
1842         (slow): Use TAYLOR_SLOW.
1843         (sloww): Likewise.
1844         (bsloww): Likewise.
1845         (csloww): Likewise.
1847 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1849         * stdlib/strtod_l.c: Fix buffer overrun.
1851 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1853         * benchtests/Makefile (bench): Add sincos.
1854         * benchtests/bench-sincos.c: New file.
1856         * math/libm-test.inc (cos_test_data): New test inputs.
1857         (sin_test_data): Likewise.
1859         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1860         macro.
1861         (__sin): Use it.
1862         (__cos): Likewise.
1863         (slow1): Likewise.
1864         (slow2): Likewise.
1865         (sloww1): Likewise.
1866         (sloww2): Likewise.
1867         (bsloww1): Likewise.
1868         (bsloww2): Likewise.
1869         (cslow2): Likewise.
1870         (csloww1): Likewise.
1871         (csloww2): Likewise.
1873         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1874         function.
1875         (__sin): Use it.
1876         (__cos): Likewise.
1878         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1879         gotos.
1880         (__cos): Likewise.
1882 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
1884         * config.h.in (HAVE_MIPS_NAN2008): New macro.
1885         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1886         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1887         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1888         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1889         * elf/cache.c (print_entry): Handle the new cache flags.
1891 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1892             Aldy Hernandez  <aldyh@redhat.com>
1894         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1895         Change condition to [_SOFT_FLOAT].
1896         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1897         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1898         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1899         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1900         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1901         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1902         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1903         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1904         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1905         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1906         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1907         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1908         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1909         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1910         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1911         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1912         declaration.
1914 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1916         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1917         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1918         (__longjmp): Use LOAD_GP to load saved GPRs.
1919         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1920         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1921         (__sigsetjmp): Use SAVE_GP to save GPRs.
1923         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1924         Do not append -msoft-float.
1925         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1927 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1929         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1931 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
1933         [BZ #15966]
1934         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1935         (_FPU_GETCW): Use initial "__" on variable and field names but not
1936         on macro parameter name.
1937         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
1938         parentheses around reference to macro parameter.
1940 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
1942         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1943         prototype.
1944         (ctype_startup): Use uint32_t in cast and sizeof for
1945         ctype->charnames.
1947 2013-09-11  Jia Liu  <proljc@gmail.com>
1949         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1950         __daddr_t_defined.
1951         [__FreeBSD__]: Likewise.
1953 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
1955         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1956         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1957         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1958         (strchr): Remove __strchr_sse42 ifunc selection.
1959         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1960         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1962 2013-09-11  Will Newton  <will.newton@linaro.org>
1964         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1965         parameter to RES. Remove hardcoded 1000 value.
1966         * benchtests/bench-skeleton.c (main): Pass RES parameter
1967         to TIMING_INIT and multiply result by 1000.
1969 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1973 2013-09-11  Andreas Schwab  <schwab@suse.de>
1975         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1976         if not defined.
1977         (O_TMPFILE) [__USE_GNU]: Define.
1978         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1979         Define.
1981 2013-09-11  Will Newton  <will.newton@linaro.org>
1983         [BZ #15857]
1984         * malloc/malloc.c (__libc_memalign): Check the value of bytes
1985         does not overflow.
1987 2013-09-11  Will Newton  <will.newton@linaro.org>
1989         [BZ #15856]
1990         * malloc/malloc.c (__libc_valloc): Check the value of bytes
1991         does not overflow.
1993 2013-09-11  Will Newton  <will.newton@linaro.org>
1995         [BZ #15855]
1996         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1997         does not overflow.
1999 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
2001         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2002         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2003         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2004         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2005         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2007 2013-09-10  Allan McRae  <allan@archlinux.org>
2009         [BZ #15748]
2010         * manual/arith.texi (Parsing of Floats): Clarify
2011         cross-reference.
2013         [BZ #15849]
2014         * manual/install.texi (Running make install): Mention
2015         --enable-pt-chown.
2016         * INSTALL: Regenerated.
2018 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2020         * csu/init-first.c (_init): Remove the !SHARED condition around
2021         FPU control word initialization.
2022         * elf/dl-support.c (_dl_fpu_control): New variable.
2023         (_dl_aux_init) <AT_FPUCW>: Initialize it.
2024         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2025         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2026         * math/test-fpucw-static.c: New file.
2027         * math/test-fpucw-ieee.c: New file.
2028         * math/test-fpucw-ieee-static.c: New file.
2029         * math/Makefile (tests): Add `test-fpucw-ieee' and
2030         `$(tests-static)'.
2031         (tests-static): New variable.
2032         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2033         dependency to...
2034         [($(build-shared),yes)]
2035         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2036         ... this.
2037         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2038         New dependency.
2040 2013-09-09  Allan McRae  <allan@archlinux.org>
2042         [BZ #15939]
2043         * manual/string.texi (Collation Functions): Fix typo in
2044         strcoll example.
2045         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2047         [BZ #15893]
2048         * stdlib/isomac.c (get_null_defines): Fix memory leak.
2050         [BZ #15892]
2051         * libio/memstream.c (open_memstream): Fix memory leak.
2052         * libio/wmemstream.c (open_wmemstream): Likewise.
2054         [BZ #15895]
2055         * nscd/netgroupcache.c: Fix nesting of ifdefs.
2057 2013-09-09  Will Newton  <will.newton@linaro.org>
2059         * malloc/Makefile: Add tst-realloc to tests.
2060         * malloc/tst-realloc.c: New file.
2062 2013-09-09  Allan McRae  <allan@archlinux.org>
2064         [BZ #15844]
2065         * COPYING: Update from GNU website to fix FSF address.
2066         * COPYING.LIB: Likewise.
2068 2013-09-06  David S. Miller  <davem@davemloft.net>
2070         * po/zh_TW.po: Update Chinese (traditional) translation from
2071         translation project.
2073 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
2074             Joseph Myers  <joseph@codesourcery.com>
2076         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2077         "localeinfo.h".
2078         (obstack_chunk_alloc): New macro.
2079         (obstack_chunk_free): Likewise.
2080         (record_offset): New function.
2081         (init_locale_data): Likewise.
2082         (align_locale_data): Likewise.
2083         (add_locale_empty): Likewise.
2084         (add_locale_raw_data): Likewise.
2085         (add_locale_raw_obstack): Likewise.
2086         (add_locale_string): Likewise.
2087         (add_locale_wstring): Likewise.
2088         (add_locale_uint32): Likewise.
2089         (add_locale_uint32_array): Likewise.
2090         (add_locale_char): Likewise.
2091         (start_locale_structure): Likewise.
2092         (end_locale_structure): Likewise.
2093         (start_locale_prelude): Likewise.
2094         (end_locale_prelude): Likewise.
2095         (write_locale_data): Take locale_file structure rather than an
2096         iovec.
2097         * locale/programs/locfile.h: Include "obstack.h".
2098         (struct locale_file): Change to store locale file contents instead
2099         of header.
2100         (init_locale_data): New prototype.
2101         (align_locale_data): Likewise.
2102         (add_locale_empty): Likewise.
2103         (add_locale_raw_data): Likewise.
2104         (add_locale_raw_obstack): Likewise.
2105         (add_locale_string): Likewise.
2106         (add_locale_wstring): Likewise.
2107         (add_locale_uint32): Likewise.
2108         (add_locale_uint32_array): Likewise.
2109         (add_locale_char): Likewise.
2110         (start_locale_structure): Likewise.
2111         (end_locale_structure): Likewise.
2112         (start_locale_prelude): Likewise.
2113         (end_locale_prelude): Likewise.
2114         (write_locale_data): Update prototype.
2115         * locale/programs/3level.h (struct TABLE): Remove result field.
2116         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2117         Use new locale_file interface.
2118         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2119         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2120         * locale/programs/ld-address.c (address_output): Use new
2121         locale_file interface.
2122         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2123         NO_ADD_LOCALE.
2124         (collate_finish): Don't call collseq_table_finalize.
2125         (collate_output): Use new locale_file interface.
2126         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2127         in file.
2128         (NO_FINALIZE): Change to NO_ADD_LOCALE.
2129         (TABLE): Move defines earlier in file.
2130         (ELEMENT): Likewise.
2131         (DEFAULT): Likewise.
2132         (wctrans_table_add): Move macro and inline function earlier in
2133         file.
2134         (struct wctype_table): Move type earlier in file.
2135         (add_locale_wctype_table): New static prototype.
2136         (struct locale_ctype_t): Use logical types instead of struct iovec
2137         pointers for members.
2138         (ctype_output): Use new locale_file interface.
2139         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
2140         new locale_file interface.
2141         (allocate_arrays): Update for use of new locale_file interface.
2142         * locale/programs/ld-identification.c (identification_output): Use
2143         new locale_file interface.
2144         * locale/programs/ld-measurement.c (measurement_output): Likewise.
2145         * locale/programs/ld-messages.c (messages_output): Likewise.
2146         * locale/programs/ld-monetary.c (monetary_output): Likewise.
2147         * locale/programs/ld-name.c (name_output): Likewise.
2148         * locale/programs/ld-numeric.c (numeric_output): Likewise.
2149         * locale/programs/ld-paper.c (paper_output): Likewise.
2150         * locale/programs/ld-telephone.c (telephone_output): Likewise.
2151         * locale/programs/ld-time.c (time_output): Likewise.
2153 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2155         * benchtests/Makefile: Add memrchr benchmark.
2156         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2157         benchmark as memrchr.
2158         * benchtests/bench-memrchr-ifunc.c: New file.
2159         * benchtests/bench-memrchr.c: New file.
2161 2013-09-06   Will Newton  <will.newton@linaro.org>
2163         * benchtests/Makefile (string-bench): Add memcpy.
2165 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
2166             Cong Wang  <amwang@redhat.com>
2168         * sysdeps/unix/sysv/linux/bits/in.h
2169         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2170         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2171         before __USE_KERNEL_IPV6_DEFS uses.
2172         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2173         IPPROTO_BEETPH.
2174         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2175         sockaddr_in6, or ipv6_mreq.
2177 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2179         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2180         memory access for final bytes in some large inputs.
2181         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2183 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2185         * string/test-memrchr.c: New file.
2186         * string/test-memrchr-ifunc.c: New file.
2187         * string/Makefile: Add new memrchr testcase.
2189 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
2191         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2192         fanotify_init returns EPERM.
2194 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2196         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2197         errors.
2198         (top level): Treat second token from macro or constant entries for
2199         allowed headers as allowed.
2200         * include/complex.h: Condition internal declarations on
2201         [!_ISOMAC].
2202         * include/fenv.h: Condition include of <stdbool.h> and internal
2203         declarations on [!_ISOMAC].
2205 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
2207         [BZ #15923]
2208         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2210 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2212         * configure.in (--enable-versioning): Remove configure option.
2213         (libc_cv_asm_symver_directive): Remove configure test.
2214         (libc_cv_ld_version_script_option): Likewise.
2215         (VERSIONING): Remove variable and AC_SUBST.
2216         (DO_VERSIONING): Remove AC_DEFINE.
2217         * configure: Regenerated.
2218         * config.h.in (DO_VERSIONING): Remove macro.
2219         * Makerules [$(versioning) = yes]: Change conditionals to
2220         [$(build-shared) = yes].
2221         * config.make.in (versioning): Remove variable.
2222         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2223         [$(build-shared) = yes].
2224         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2225         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2226         * elf/Makefile [$(versioning) = yes]: Change conditionals to
2227         [$(build-shared) = yes].
2228         * extra-lib.mk [$(versioning) = yes]: Likewise.
2229         * hurd/Makefile [$(versioning) = yes]: Likewise.
2230         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2231         [SHARED].
2232         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2233         [SHARED].
2234         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2235         [SHARED && !NO_HIDDEN].
2236         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2237         [SHARED].
2238         [SHARED && DO_VERSIONING]: Likewise..
2239         * libio/Makefile [$(versioning) = yes]: Change conditionals to
2240         [$(build-shared) = yes].
2241         * manual/install.texi (--disable-versioning): Remove
2242         documentation.
2243         * INSTALL: Regenerated.
2244         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2245         to [SHARED].
2246         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2247         [$(build-shared) = yes].
2248         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2249         * sysdeps/i386/i686/multiarch/strstr-c.c
2250         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2251         [SHARED && !NO_HIDDEN].
2252         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2253         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2254         * sysdeps/powerpc/powerpc32/dl-machine.c
2255         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2256         * sysdeps/powerpc/powerpc32/sysdep.h
2257         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2258         to [SHARED && PIC && !NO_HIDDEN].
2259         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2260         conditional to [SHARED].
2262 2013-09-04   Will Newton  <will.newton@linaro.org>
2264         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2265         * benchtests/bench-string.h: Include bench-timing.h instead
2266         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2267         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2268         call to HP_TIMING_DIFF_INIT.
2269         * benchtests/bench-memccpy.c: Use bench-timing.h macros
2270         instead of hp-timing.h macros.
2271         * benchtests/bench-memchr.c: Likewise.
2272         * benchtests/bench-memcmp.c: Likewise.
2273         * benchtests/bench-memcpy.c: Likewise.
2274         * benchtests/bench-memmem.c: Likewise.
2275         * benchtests/bench-memmove.c: Likewise.
2276         * benchtests/bench-memset.c: Likewise.
2277         * benchtests/bench-rawmemchr.c: Likewise.
2278         * benchtests/bench-strcasecmp.c: Likewise.
2279         * benchtests/bench-strcasestr.c: Likewise.
2280         * benchtests/bench-strcat.c: Likewise.
2281         * benchtests/bench-strchr.c: Likewise.
2282         * benchtests/bench-strcmp.c: Likewise.
2283         * benchtests/bench-strcpy.c: Likewise.
2284         * benchtests/bench-strcpy_chk.c: Likewise.
2285         * benchtests/bench-strlen.c: Likewise.
2286         * benchtests/bench-strncasecmp.c: Likewise.
2287         * benchtests/bench-strncat.c: Likewise.
2288         * benchtests/bench-strncmp.c: Likewise.
2289         * benchtests/bench-strncpy.c: Likewise.
2290         * benchtests/bench-strnlen.c: Likewise.
2291         * benchtests/bench-strpbrk.c: Likewise.
2292         * benchtests/bench-strrchr.c: Likewise.
2293         * benchtests/bench-strspn.c: Likewise.
2294         * benchtests/bench-strstr.c: Likewise.
2296 2013-09-04  Will Newton  <will.newton@linaro.org>
2298         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2300 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
2302         [BZ #15427]
2303         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2304         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2305         * math/libm-test.inc (lgamma_test_data): Add more tests.
2306         * sysdeps/i386/fpu/libm-test-ulps: Update.
2307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2309 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
2311         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2312         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2313         Add ifunc.
2314         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2315         Add strcmp-sse2-unaligned
2316         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2318 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2320         * Versions.def (libc): Add GLIBC_2.19.
2322 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2324         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2325         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2327 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
2329         [BZ #14155]
2330         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2331         intermediate calculations in recurrence.
2332         (__ieee754_ynf): Likewise.
2333         * math/libm-test.inc (jn_test_data): Do not allow spurious
2334         underflow exception.  Add more tests.
2335         (yn_test_data): Add more tests.
2336         * sysdeps/i386/fpu/libm-test-ulps: Update.
2337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2339 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
2341         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2343 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2345         * csu/init-first.c: Fix then/than typos.
2346         * locale/programs/ld-collate.c: Likewise.
2347         * locale/programs/linereader.h: Likewise.
2348         * manual/charset.texi: Likewise.
2349         * manual/filesys.texi: Likewise.
2350         * manual/stdio.texi: Likewise.
2351         * manual/string.texi: Likewise.
2352         * stdlib/fmtmsg.c: Likewise.
2353         * sysdeps/i386/stpncpy.S: Likewise.
2354         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2355         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2356         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2357         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2359 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2361         * elf/dl-open.c: Fix typos.
2362         * iconvdata/gbbig5.c: Likewise.
2363         * iconvdata/iso-2022-jp.c: Likewise.
2364         * iconv/gconv_int.h: Likewise.
2365         * iconv/loop.c: Likewise.
2366         * nis/rpcsvc/nis.h: Likewise.
2367         * resolv/ns_name.c: Likewise.
2368         * stdio-common/vfscanf.c: Likewise.
2369         * streams/stropts.h: Likewise.
2370         * sunrpc/rpc_thread.c: Likewise.
2371         * sysdeps/i386/strpbrk.S: Likewise.
2372         * sysdeps/ieee754/k_standard.c: Likewise.
2373         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2374         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2375         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2376         * sysdeps/mach/hurd/profil.c: Likewise.
2377         * sysdeps/s390/dl-procinfo.h: Likewise.
2378         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2379         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2380         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2381         * sysdeps/x86_64/dl-trampoline.S: Likewise.
2382         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2384 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
2386         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2387         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2389 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
2391         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2392         aix specific files.
2393         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2394         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2395         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2396         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2397         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2398         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2399         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2400         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2402 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2403             Roland McGrath  <roland@hack.frob.com>
2405         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2406         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2408 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2410         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2411         __executable_start symbol instead of _start.
2413 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2415         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2416         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2417         Move macros to...
2418         * sysdeps/gnu/ldsodefs.h: ... this new file.
2420         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2421         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2422         instead of ELFOSABI_LINUX.
2424         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2425         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2426         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2427         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2428         Likewise.
2429         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2430         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2431         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2432         Likewise.
2433         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2434         (ibm_extended_long_double): Add ieee_nan member.
2435         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2436         (do_test): New function.
2438         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2439         TEST_TRUNC.
2440         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2441         functions, renamed from truncdfsf_test, trunctfsf_test,
2442         trunctfdf_test.
2443         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2444         functions.
2445         (do_test): Run all these.
2447 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
2449         * argp/argp-help.c: Fix typos.
2450         * argp/argp-parse.c: Likewise.
2451         * debug/backtracesyms.c: Likewise.
2452         * elf/elf.h: Likewise.
2453         * malloc/malloc.c: Likewise.
2454         * nis/nis_print.c: Likewise.
2455         * resolv/res_comp.c: Likewise.
2456         * stdlib/stdlib.h: Likewise.
2457         * sunrpc/clnt_tcp.c: Likewise.
2458         * sunrpc/clnt_udp.c: Likewise.
2459         * sunrpc/clnt_unix.c: Likewise.
2460         * sysdeps/unix/bsd/ptsname.c: Likewise.
2461         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2462         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2464         Likewise.
2465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2466         Likewise.
2467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2468         Likewise.
2469         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2471 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2473         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2474         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2476 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
2478         [BZ #15897]
2479         * dlfcn/Makefile (tests): Add bug-dl-leaf.
2480         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2481         ($(objpfx)bug-dl-leaf): New rule.
2482         ($(objpfx)bug-dl-leaf.so): Likewise.
2483         ($(objpfx)bug-dl-leaf.out): Likewise.
2484         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2485         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2486         * dlfcn/bug-dl-leaf.c: New test.
2487         * dlfcn/bug-dl-leaf-lib.c: Likewise.
2488         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2489         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2490         (dlclose): Likewise.
2491         (dlmopen): Likewise.
2493 2013-08-27  Roland McGrath  <roland@hack.frob.com>
2495         * include/netdb.h [!_ISOMAC]:
2496         Don't include <tls.h>.
2497         (h_errno, __libc_h_errno): Move declaration and macros out of
2498         [_LIBC_REENTRANT].
2500         * include/resolv.h [_RESOLV_H_]:
2501         Don't include <tls.h>.
2502         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2503         * resolv/res_libc.c: Don't include <tls.h>.
2504         (_res): Use __attribute__ ((nocommon)) in place of
2505         __attribute__ ((section (".bss"))).
2507         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2508         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2510         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2512         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2513         only under [SIOCGIFCONF && SIOCGIFNETMASK].
2515         * resolv/res_mkquery.c: Include <sys/time.h>.
2517         * inet/ifreq.c: Moved to ...
2518         * sysdeps/unix/ifreq.c: ... here.
2519         * inet/ifreq.c: New file, true stub version.
2521         * socket/sa_len.c: New file.
2522         * socket/Makefile (aux): Add it.
2523         * sysdeps/unix/sysv/linux/Makefile
2524         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2525         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2526         and #include <socket/sa_len.c>.
2527         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2528         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2530         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2531         * bits/socket.h: ... here.
2533         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2534         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2535         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2537 2013-08-27  Andreas Schwab  <schwab@suse.de>
2539         [BZ #15736]
2540         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2541         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2542         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2543         * string/test-strcasecmp.c (test_main): Run tests in several
2544         locales.
2545         * string/test-strncasecmp.c (test_main): Likewise.
2547         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2548         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2549         to __strcasecmp_nonascii and __strncasecmp_nonascii.
2550         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2551         (__strncasecmp_ssse3) [PIC]: Likewise.
2553 2013-08-26  Roland McGrath  <roland@hack.frob.com>
2555         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2557         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2558         instead of explicitly declaring xdecrypt.
2559         * nis/nss_nis/nis-publickey.c: Likewise.
2561 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2563         [BZ #15890]
2564         * nscd/aicache.c: Include res_hconf.h.
2565         (addhstaiX): Initialize res_hconf.
2567 2013-08-26  Andreas Schwab  <schwab@suse.de>
2569         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2570         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2572 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2574         * nscd/aicache.c (addhstaiX): Fix indentation.
2576 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
2578         * configure.ac: Quote $build_pt_chown test.
2579         * configure: Regenerated.
2581 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
2583         [BZ #15532]
2584         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2585         * math/s_cexpf.c (__cexpf): Likewise.
2586         * math/s_cexpl.c (__cexpl): Likewise.
2587         * math/libm-test.inc (cexp_test_data): Correct expected return
2588         value for NaN + i0.  Add another test.
2590 2013-08-22  David S. Miller  <davem@davemloft.net>
2592         * po/ca.po: Update Catalan translation from translation project.
2593         * po/uk.po: Add Ukrainian translations from translation project.
2595 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
2597         [BZ #15797]
2598         * math/s_fdim.c (__fdim): Check for infinite arguments if result
2599         is infinite, not alongside NaN test.
2600         * math/s_fdimf.c (__fdimf): Likewise.
2601         * math/s_fdiml.c (__fdiml): Likewise.
2602         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
2603         errno is unchanged.
2605 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
2607         * argp/argp-help.c: Fix typos.
2608         * crypt/speeds.c: Likewise.
2609         * csu/check_fds.c: Likewise.
2610         * elf/dl-load.c: Likewise.
2611         * elf/dl-open.c: Likewise.
2612         * elf/reldep3.c: Likewise.
2613         * elf/reldep.c: Likewise.
2614         * elf/sprof.c: Likewise.
2615         * iconv/iconv_charmap.c: Likewise.
2616         * iconv/skeleton.c: Likewise.
2617         * iconv/strtab.c: Likewise.
2618         * io/lockf64.c: Likewise.
2619         * libio/libioP.h: Likewise.
2620         * resolv/gai_notify.c: Likewise.
2621         * resolv/ns_name.c: Likewise.
2622         * resolv/ns_samedomain.c: Likewise.
2623         * resolv/res_send.c: Likewise.
2624         * stdlib/random.c: Likewise.
2625         * sunrpc/rpc/xdr.h: Likewise.
2626         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2627         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2628         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2629         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2630         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2631         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2632         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2633         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2634         * sysdeps/mach/hurd/check_fds.c: Likewise.
2635         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2636         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2637         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2638         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2639         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2640         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2641         * sysdeps/pthread/aio_notify.c: Likewise.
2642         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2643         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2644         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2645         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2646         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2648 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2650         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2651         version if bit_Slow_SSE4_2 is set.
2652         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2653         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2655 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2657         [BZ #15867]
2658         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2659         trampoline stack frame information.
2660         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2661         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2662         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2663         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2664         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2665         * sysdeps/unix/sysv/linux/powerpc/init-first.c
2666         (_libc_vdso_platform_setup): Initialize the signal trampolines.
2667         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2668         sa_flags value.
2669         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2670         interrupting a syscall and set with option SA_SIGINFO.
2672 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2674         [BZ #15531]
2675         * math/s_cproj.c (__cproj): Only return an infinity if one part of
2676         argument is infinite.
2677         * math/s_cprojf.c (__cprojf): Likewise.
2678         * math/s_cprojl.c (__cprojl): Likewise.
2679         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2680         * math/libm-test.inc (cproj_test_data): Add more tests.
2682         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2684         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2685         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2686         size.  Use __ffs to determine corresponding shift.
2688 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2689             Roland McGrath  <roland@hack.frob.com>
2691         * Makefile (INSTALL): Remove trailing blank lines from output of
2692         makeinfo.
2694 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2696         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2697         Align 32 bit compat elf_greg to 8 bytes.
2699 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2701         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2703 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2705         * string/strcoll_l.c (coll_seq): New structure.
2706         (get_next_seq_cached): New function.
2707         (get_next_seq): New function.
2708         (do_compare): New function.
2709         (STRCOLL): Use GNU style definition.  Simplify implementation
2710         by using get_next_seq, get_next_seq_cached and do_compare.
2712 2013-08-16  Florian Weimer  <fweimer@redhat.com>
2714         [BZ #14699]
2715         CVE-2013-4237
2716         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2717         member.
2718         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2719         member.
2720         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2721         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2722         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
2723         conditional.
2724         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2725         GETDENTS_64BIT_ALIGNED.
2726         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2727         * manual/filesys.texi (Reading/Closing Directory): Document
2728         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
2729         strongly.
2730         * manual/conf.texi (Limits for Files): Add portability note to
2731         NAME_MAX, PATH_MAX.
2732         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2734 2013-08-13  Andreas Schwab  <schwab@suse.de>
2736         [BZ #15749]
2737         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2738         of fabs.
2739         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2740         LDBL_MAX_EXP >= 16384]: Add tests for it.
2742 2013-08-12  David S. Miller  <davem@davemloft.net>
2744         * version.h (RELEASE): Set to "development".
2745         (VERSION): Set to "2.18.90".
2746         * NEWS: Add 2.19 section.
2748 2013-08-03  David S. Miller  <davem@davemloft.net>
2750         * po/ko.po: Update Korean translation from translation project.
2752 2013-08-01  David S. Miller  <davem@davemloft.net>
2754         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
2755         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2756         Bilka.
2758 2013-07-30  David S. Miller  <davem@davemloft.net>
2760         * po/fr.po: Update French translation from translation project.
2762 2013-07-28  David S. Miller  <davem@davemloft.net>
2764         * po/cs.po: Update Czech translation from translation project.
2766         * po/sv.po: Update Swedish translation from translation project.
2768 2013-07-27  David S. Miller  <davem@davemloft.net>
2770         * po/eo.po: Update Esperanto translation from translation project.
2772         * po/vi.po: Update Vietnamese translation from translation project.
2774         * po/de.po: Update German translation from translation project.
2776 2013-07-26  David S. Miller  <davem@davemloft.net>
2778         * po/bg.po: Update Bulgarian translation from translation project.
2780         * po/nl.po: Update Dutch translation from translation project.
2781         * po/pl.po: Update Polish translation from translation project.
2782         * po/ru.po: Update Russian translation from translation project.
2784 2013-07-24  David S. Miller  <davem@davemloft.net>
2786         * po/libc.pot: Update.
2788 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2790         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2791         variable page size.
2792         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2793         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2794         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2796 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2798         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2800 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2801             Andreas Schwab  <schwab@suse.de>
2802             Roland McGrath  <roland@hack.frob.com>
2803             Joseph Myers  <joseph@codesourcery.com>
2804             Carlos O'Donell  <carlos@redhat.com>
2806         [BZ #15755]
2807         * config.h.in: Define HAVE_PT_CHOWN.
2808         * config.make.in (build-pt-chown): New variable.
2809         * configure.in (--enable-pt_chown): New configure option.
2810         * configure: Regenerate.
2811         * login/Makefile: Include Makeconfig.  Build pt_chown only if
2812         build-pt-chown is enabled.
2813         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2814         pt_chown to fix pty ownership.
2815         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2816         CLOSE_ALL_FDS.
2817         * manual/install.texi (Configuring and compiling): Mention
2818         --enable-pt_chown. Add @findex for grantpt.
2819         * INSTALL: Regenerate.
2821 2013-07-20  David S. Miller  <davem@davemloft.net>
2823         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2824         difference between 32-bit and 64-bit.
2826 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
2828         [BZ #15711]
2829         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2830         Avoid system header dependency with -ffreestanding.
2831         ($(objpfx)bits/syscall%d): Likewise.
2833 2013-07-13  David S. Miller  <davem@davemloft.net>
2835         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2836         underflows from atanl/atan2l due to bug 15319.
2837         (casinh_test_data): Likewise.
2839 2013-07-07  David S. Miller  <davem@davemloft.net>
2841         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2843 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
2845         * sysdeps/i386/fpu/libm-test-ulps: Update.
2846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2848 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2850         * configure.in (--enable-lock-elision): Fix message text.
2851         * INSTALL: Regenerate.
2852         * configure: Regenerate.
2854 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2858 2013-07-03  Andreas Jaeger  <aj@suse.de>
2860         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2861         define.
2862         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2863         (ptrace_peeksiginfo_args): Add.
2864         (__ptrace_peeksiginfo_flags): Add.
2865         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2866         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2867         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2869 2013-07-03  Allan McRae  <allan@archlinux.org>
2871         * sysdeps/i386/fpu/libm-test-ulps: Update.
2873 2013-07-02  David S. Miller  <davem@davemloft.net>
2875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2877 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
2879         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2881 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2883         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2886 2013-07-02  Andi Kleen <ak@linux.intel.com>
2888         * config.h.in (ENABLE_LOCK_ELISION): Add.
2889         * configure.in (--enable-lock-elision): Add option.
2890         * manual/install.texi: Document --enable lock elision.
2891         * configure: Regenerate
2892         * INSTALL: Regenerate.
2894 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
2896         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2897         SSE4.2 strcasecmp for libc.a.
2898         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2900 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2902         [BZ #13304]
2903         * soft-fp/op-common.h (_FP_FMA): New macro.
2904         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2905         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
2906         (_FP_MUL_MEAT_1_imm): ... here.
2907         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
2908         (_FP_MUL_MEAT_1_wide): ... here.
2909         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
2910         (_FP_MUL_MEAT_1_hard): ... here.
2911         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2912         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
2913         (_FP_MUL_MEAT_2_wide): ... here.
2914         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
2915         (_FP_MUL_MEAT_2_wide_3mul): ... here.
2916         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
2917         (_FP_MUL_MEAT_2_gmp): ... here.
2918         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2919         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
2920         (_FP_MUL_MEAT_4_wide): ... here.
2921         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
2922         (_FP_MUL_MEAT_4_gmp): ... here.
2923         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2924         (_FP_WFRACBITS_DW_S): Likewise.
2925         (_FP_WFRACXBITS_DW_S): Likewise.
2926         (_FP_HIGHBIT_DW_S): Likewise.
2927         (FP_FMA_S): Likewise.
2928         (_FP_FRAC_HIGH_DW_S): Likewise.
2929         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2930         (_FP_WFRACBITS_DW_D): Likewise.
2931         (_FP_WFRACXBITS_DW_D): Likewise.
2932         (_FP_HIGHBIT_DW_D): Likewise.
2933         (FP_FMA_D): Likewise.
2934         (_FP_FRAC_HIGH_DW_D): Likewise.
2935         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2936         (_FP_WFRACBITS_DW_E): Likewise.
2937         (_FP_WFRACXBITS_DW_E): Likewise.
2938         (_FP_HIGHBIT_DW_E): Likewise.
2939         (FP_FMA_E): Likewise.
2940         (_FP_FRAC_HIGH_DW_E): Likewise.
2941         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2942         (_FP_WFRACBITS_DW_Q): Likewise.
2943         (_FP_WFRACXBITS_DW_Q): Likewise.
2944         (_FP_HIGHBIT_DW_Q): Likewise.
2945         (FP_FMA_Q): Likewise.
2946         (_FP_FRAC_HIGH_DW_Q): Likewise.
2947         * soft-fp/fmasf4.c: New file.
2948         * soft-fp/fmadf4.c: Likewise.
2949         * soft-fp/fmatf4.c: Likewise.
2951 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2954         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2955         Silvermont.
2956         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2957         macro.
2958         (index_Slow_SSE4_2): Likewise.
2959         (index_Prefer_PMINUB_for_stringop): Likewise.
2960         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2961         bit_Slow_SSE4_2 is set.
2962         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2963         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2965 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2967         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2968         rtld_global._dl_hwcap2.
2969         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2970         POWER8.
2971         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2972         POWER8 feature descriptions defined in _dl_hwcap2.
2973         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2974         string handling for POWER8 feature bits.
2975         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2976         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2977         _dl_powerpc_cap_flags.
2978         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2979         * sysdeps/powerpc/rtld-global-offsets.sym
2980         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2981         _dl_hwcap2 in the rtld_global_ro structure.
2983 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2985         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2986         hardware capabilities in support of AT_HWCAP2.
2987         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2988         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2989         GLRO(dl_hwcap2).
2990         (_dl_show_auxv): Add support for calling _dl_procinfo to display
2991         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
2992         explicitly the unknown a_type display mechanism is used.
2993         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2994         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2995         struct member.
2996         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2997         to macro prototype for AT_HWCAP2 support.
2998         * sysdeps/i386/dl-procinfo.h: Likewise.
2999         * sysdeps/s390/dl-procinfo.h: Likewise.
3000         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3001         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
3002         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
3003         return -1 for unknown a_type display fallback.
3004         * sysdeps/sparc/dl-procinfo.h: Likewise.
3005         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3006         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3008 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
3010         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3011         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3013 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
3015         [BZ #12492]
3016         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3017         mprotect making __stack_prot writable.
3019 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
3020             Joseph Myers  <joseph@codesourcery.com>
3022         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3023         as being properly aligned.
3025 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
3027         * dlfcn/modstatic5.c: New file.
3028         * dlfcn/tststatic5.c: New file.
3029         * dlfcn/Makefile (tests): Add tststatic5.
3030         (tests-static): Likewise.
3031         (modules-names): Add modstatic5.
3032         (tststatic5-ENV): New variable.
3033         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3035         [BZ #15022]
3036         * elf/dl-support.c (_dl_main_map): New variable.
3037         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3038         (_dl_nns, _dl_load_adds): Set to 1.
3039         (_dl_initial_searchlist): Refer to _dl_main_map.
3040         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3041         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3042         call to _dl_get_origin.
3043         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3044         around call_map.
3045         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3046         * dlfcn/modstatic3.c: New file.
3047         * dlfcn/tststatic3.c: New file.
3048         * dlfcn/tststatic4.c: New file.
3049         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3050         (tests-static): Likewise.
3051         (modules-names): Add modstatic3.
3052         (tststatic3-ENV, tststatic4-ENV): New variables.
3053         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3054         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3056 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
3058         * configure.in (CC): Require GCC version 4.4 or later.
3059         * configure: Regenerated.
3060         * manual/install.texi (Tools for Compilation): Update GCC version
3061         requirement.
3062         * INSTALL: Regenerated.
3064 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3066         [BZ #15674]
3067         * string/test-memcmp.c (check2): New.
3068         (main): Call check2.
3070         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3072 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
3074         [BZ #15022]
3075         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3076         over to...
3077         (dl_open_worker) [!SHARED]: ... here.
3079 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3081         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3083 2013-06-25  Richard Henderson  <rth@redhat.com>
3085         * locale/programs/locarchive.c: Include <libc-internal.h>
3087 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
3089         * manual/texinfo.tex: Update to version 2013-06-21.17, with
3090         trailing whitespace removed.
3092 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3094         [BZ #10283]
3095         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3096         * locale/programs/locarchive.c: Include libc-mmap.h.
3097         (prepare_address_space): Take two new outputs (the mmap base and len).
3098         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
3099         values.
3100         (create_archive): Declare new mmap base and len values for
3101         prepare_address_space, and store the result in ah.
3102         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3103         (enlarge_archive): If ah->mmap_base is not NULL, use that and
3104         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3105         Declare new mmap base and len values for
3106         prepare_address_space, and store the result in new_ah.
3107         (open_archive): Declare new mmap base and len values for
3108         prepare_address_space, and store the result in ah.
3109         (close_archive): If ah->mmap_base is not NULL, use that and
3110         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3111         * sysdeps/generic/libc-mmap.h: New file.
3113 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3115         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3116         (ALIGN_UP): Likewise.
3117         (PTR_ALIGN_DOWN): Likewise.
3118         (PTR_ALIGN_UP): Likewise.
3120 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3122         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3123         entry mapped to PPC_PLATFORM_POWER8.
3124         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3125         POWER8.
3126         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3127         (_dl_string_platform): Add case for exporting platform position for
3128         POWER8.
3129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3130         search path to sysdeps/powerpc/powerpc32/power8 directory.
3131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3132         search path to sysdeps/powerpc/powerpc64/power8 directory.
3133         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3134         power7 directories.
3135         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3136         power7 directories.
3138 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3140         * INSTALL: Regenerate.
3142         * nscd/connections.c (nscd_init): Fix comment.
3144 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
3146         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3148         [BZ #15667]
3149         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3150         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3152 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3154         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3155         DL_DST_REQ_STATIC.
3156         (DL_DST_REQ_STATIC): Remove macro.
3158 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3160         [BZ #7006]
3161         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3162         with a shift of 0 bits.
3164 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3166         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3167         $(tststatic-ENV).
3169 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3171         [BZ #15655]
3172         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3174 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3176         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3177         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3178         accepts -fno-tree-loop-distribute-patterns.
3179         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3180         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3181         recursive call.
3182         * string/memset.c (memset): Likewise.
3183         * string/test-memmove.c (simple_memmove): Disable loop transformation
3184         to library calls.
3185         * string/test-memset.c (simple_memset): Likewise.
3186         * benchtests/bench-memmove.c (simple_memmove): Likewise.
3187         * benchtests/bench-memset.c (simple_memset): Likewise.
3188         * configure: Regenerated.
3190 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
3192         * math/test-misc.c (main): Ignore fesetround failure when failures
3193         of subsequent rounding tests would be ignored.
3195         [BZ #15654]
3196         * math/fedisblxcpt.c (fedisableexcept): Return 0.
3197         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3198         * math/fegetenv.c (__fegetenv): Return 0.
3199         * math/fegetexcept.c (fegetexcept): Return 0.
3200         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3201         FE_TONEAREST.
3202         * math/feholdexcpt.c (feholdexcept): Return 0.
3203         * math/fesetenv.c (__fesetenv): Return 0.
3204         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3205         argument FE_TONEAREST.
3206         * math/feupdateenv.c (__feupdateenv): Return 0.
3207         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3209 2013-06-18  Roland McGrath  <roland@hack.frob.com>
3211         * elf/rtld-Rules (rtld-compile-command.S): New variable.
3212         (rtld-compile-command.s, rtld-compile-command.c): New variables.
3213         ($(objpfx)rtld-%.os rules): Use them.
3215 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3217         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3218         fields.
3220 2013-06-17  Roland McGrath  <roland@hack.frob.com>
3222         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3223         length of target pattern, then descending length of dependency pattern.
3224         * configure.in (AWK): Require gawk 3.1.2 or newer.
3225         * manual/install.texi (Tools for Compilation): Say that we do.
3226         * configure: Regenerated.
3228         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3229         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3230         * scripts/sysd-rules.awk: ... this new script.
3231         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3232         than a glob-style pattern.
3234 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
3236         * math/test-misc.c (main): Do not treat incorrectly rounded
3237         conversions as failure unless ROUNDING_TESTS passes.
3239 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
3241         [BZ #15631]
3242         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3243         restore exception state around main square root computation, then
3244         check for inexactness explicitly.
3246         * math/libm-test.inc (fma_test_data): Add another test.
3248 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3250         * manual/threads.texi (Non-POSIX Extensions): New document
3251         node.  Document pthread_getattr_default_np and
3252         pthread_setattr_default_np.
3254         * Versions.def (libpthread): Add GLIBC_2.18.
3255         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3257         Likewise.
3258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3259         Likewise.
3260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3261         Likewise.
3262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3263         Likewise.
3264         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3265         Likewise.
3266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3267         Likewise.
3268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3269         Likewise.
3270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3271         Likewise.
3272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3273         Likewise.
3275 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3277         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3278         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3280 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3281             H.J. Lu  <hjl.tools@gmail.com>
3283         [BZ #15627]
3284         * sysdeps/x86_64/rtld-memset.c: Remove file.
3285         * sysdeps/x86_64/rtld-memset.S: New file.
3287 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
3289         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3290         (test_in_one_mode): Take arguments for whether the rounding mode
3291         is supported for each floating-point type.
3292         (do_test): Pass new arguments to test_in_one_mode using
3293         ROUNDING_TESTS.
3295 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3297         * posix/tst-waitid.c (do_test): Distinguish different instances of
3298         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
3299         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3300         before entering the kernel for waitpid.
3302 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3304         * NEWS: Fix note on clock function precision.  Text by Roland
3305         McGrath.
3307 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3309         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3310         it into place only when and if the sanity check passes.
3312 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
3314         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3315         output for whether conversion result is exact.  Take argument
3316         indicating whether type is IBM long double.
3317         (round_for_all): Change need_exact field to ibm_ld.
3318         * stdlib/tst-strtod-round.c (struct exactness): New type.
3319         (struct test): Change bool ld_ok field to struct exactness exact.
3320         (TEST): Update all definitions for change to field.
3321         (tests): Regenerate array contents.
3322         (test_in_one_mode): Take pointer to new field instead of old ld_ok
3323         field value.  Check for IBM long double here.
3324         (do_test): Update calls to test_in_one_mode.
3326 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3328         [BZ #12515]
3329         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3330         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3332 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3334         [BZ #15605]
3335         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3336         generated by the compiler on loop optimizations.
3337         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3338         general definitions.
3340 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
3342         * math/bug-nextafter.c: Include <math-tests.h>.
3343         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3344         the relevant type.
3345         * math/bug-nexttoward.c: Include <math-tests.h>.
3346         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3347         the relevant type.
3348         * math/test-misc.c: Include <math-tests.h>.
3349         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3350         the relevant type.
3352 2013-06-12  Andreas Jaeger  <aj@suse.de>
3354         * po/ia.po: Update Interlingua translation from translation
3355         project.
3357 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3359         * include/fenv.h: Include stdbool.h.
3360         (struct rm_ctx): New structure.
3361         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3362         Define macro.
3363         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3364         (SET_RESTORE_ROUNDF): Likewise.
3365         (SET_RESTORE_ROUNDL): Likewise.
3366         (SET_RESTORE_ROUND_NOEX): Likewise.
3367         (SET_RESTORE_ROUND_NOEXF): Likewise.
3368         (SET_RESTORE_ROUND_NOEXL): Likewise.
3369         (SET_RESTORE_ROUND_53BIT): Likewise.
3370         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3371         (libc_feresetround_noexf_ctx): Likewise.
3372         (libc_feresetround_noexl_ctx): Likewise.
3373         (libc_feholdsetround_53bit_ctx): Likewise.
3374         (libc_feresetround_53bit_ctx): Likewise.
3375         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3376         (libc_feholdexcept_setround_sse_ctx): New function.
3377         (libc_fesetenv_sse_ctx): Likewise.
3378         (libc_feupdateenv_sse_ctx): Likewise.
3379         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3380         (libc_feholdexcept_setround_387_ctx): Likewise.
3381         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3382         (libc_feholdsetround_387_prec_ctx): Likewise.
3383         (libc_feholdsetround_387_ctx): Likewise.
3384         (libc_feholdsetround_387_53bit_ctx): Likewise.
3385         (libc_feholdsetround_sse_ctx): Likewise.
3386         (libc_feresetround_sse_ctx): Likewise.
3387         (libc_feresetround_387_ctx): Likewise.
3388         (libc_feupdateenv_387_ctx): Likewise.
3389         (libc_feholdexcept_setroundf_ctx): Define macro.
3390         (libc_fesetenvf_ctx): Likewise.
3391         (libc_feupdateenvf_ctx): Likewise.
3392         (libc_feholdsetroundf_ctx): Likewise.
3393         (libc_feresetroundf_ctx): Likewise.
3394         (libc_feholdexcept_setround_ctx): Likewise.
3395         (libc_fesetenv_ctx): Likewise.
3396         (libc_feupdateenv_ctx): Likewise.
3397         (libc_feholdsetround_ctx): Likewise.
3398         (libc_feresetround_ctx): Likewise.
3399         (libc_feholdexcept_setroundl_ctx): Likewise.
3400         (libc_feupdateenvl_ctx): Likewise.
3401         (libc_feholdsetroundl_ctx): Likewise.
3402         (libc_feresetroundl_ctx): Likewise.
3403         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3404         (libc_feresetround_53bit_ctx): Likewise.
3406 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3408         * locale/iso-639.def: Convert to UTF-8.
3410 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
3412         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3413         (EXCEPTION_TESTS_double): Likewise.
3414         (EXCEPTION_TESTS_long_double): Likewise.
3415         (EXCEPTION_TESTS): Likewise.
3416         * math/libm-test.inc (test_exceptions): Only test exceptions if
3417         EXCEPTION_TESTS (FLOAT).
3419 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3421         * benchtests/Makefile (string-bench): Add strcpy_chk and
3422         stpcpy_chk.
3423         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3424         * benchtests/bench-stpcpy_chk.c: New file.
3425         * benchtests/bench-strcpy_chk-ifunc.c: New file.
3426         * benchtests/bench-strcpy_chk.c: New file.
3427         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3428         code.
3429         (do_test): Likewise.
3431 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3433         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3434         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3435         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3436         with tabs where appropriate.
3437         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3438         dl-procinfo.h.
3439         [PPC_PLATFORM_PPC440]: Likewise.
3440         [PPC_PLATFORM_PPC464]: Likewise.
3441         [PPC_PLATFORM_PPC476]: Likewise.
3442         (_dl_string_platform): Add support for detecting ppc405, ppc440,
3443         ppc464, and ppc476 platform strings merging from ports/
3444         dl-procinfo.h.
3446 2013-06-11  Andreas Schwab  <schwab@suse.de>
3448         [BZ #14991]
3449         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3450         (from_ucs4_idx): Regenerate.
3451         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3452         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3453         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3454         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3455         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3456         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3457         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3458         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3459         from FROM_LOOP and TO_LOOP specific macros.
3460         (BODY): Handle combining characters.
3461         * iconvdata/BIG5HKSCS.irreversible: Update.
3462         * iconvdata/BIG5HKSCS.precomposed: New file.
3463         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3464         characters.
3465         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3467 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3469         * include/sys/time.h: Fix indentation and add copyright header.
3471         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3472         (do_test): Likewise.
3473         * string/test-memchr.c (do_one_test): Likewise.
3474         (do_test): Likewise.
3475         * string/test-memcmp.c (do_one_test): Likewise.
3476         (do_test): Likewise.
3477         * string/test-memcpy.c (do_one_test): Likewise.
3478         (do_test): Likewise.
3479         * string/test-memmem.c (do_one_test): Likewise.
3480         (do_test): Likewise.
3481         (do_random_tests): Likewise.
3482         * string/test-memmove.c (do_one_test): Likewise.
3483         (do_test): Likewise.
3484         * string/test-memset.c (do_one_test): Likewise.
3485         (do_test): Likewise.
3486         * string/test-rawmemchr.c (do_one_test): Likewise.
3487         (do_test): Likewise.
3488         * string/test-strcasecmp.c (do_one_test): Likewise.
3489         (do_test): Likewise.
3490         * string/test-strcasestr.c (do_one_test): Likewise.
3491         (do_test): Likewise.
3492         * string/test-strcat.c (do_one_test): Likewise.
3493         (do_test): Likewise.
3494         * string/test-strchr.c (do_one_test): Likewise.
3495         (do_test): Likewise.
3496         * string/test-strcmp.c (do_one_test): Likewise.
3497         (do_test): Likewise.
3498         * string/test-strcpy.c (do_one_test): Likewise.
3499         (do_test): Likewise.
3500         * string/test-string.h: Likewise.
3501         (test_init): Likewise.
3502         * string/test-strlen.c (do_one_test): Likewise.
3503         (do_test): Likewise.
3504         * string/test-strncasecmp.c (do_one_test): Likewise.
3505         (do_test): Likewise.
3506         * string/test-strncat.c (do_one_test): Likewise.
3507         (do_test): Likewise.
3508         * string/test-strncmp.c (do_one_test): Likewise.
3509         (do_test_limit): Likewise.
3510         (do_test): Likewise.
3511         * string/test-strncpy.c (do_one_test): Likewise.
3512         (do_test): Likewise.
3513         * string/test-strnlen.c (do_one_test): Likewise.
3514         (do_test): Likewise.
3515         * string/test-strpbrk.c (do_one_test): Likewise.
3516         (do_test): Likewise.
3517         * string/test-strrchr.c (do_one_test): Likewise.
3518         (do_test): Likewise.
3519         * string/test-strspn.c (do_one_test): Likewise.
3520         (do_test): Likewise.
3521         * string/test-strstr.c (do_one_test): Likewise.
3522         (do_test): Likewise.
3524         * benchtests/Makefile (string-bench): Add string benchmarks.
3525         * benchtests/bench-bcopy-ifunc.c: New file.
3526         * benchtests/bench-bcopy.c: New file.
3527         * benchtests/bench-bzero-ifunc.c: New file.
3528         * benchtests/bench-bzero.c: New file.
3529         * benchtests/bench-memccpy-ifunc.c: New file.
3530         * benchtests/bench-memccpy.c: New file.
3531         * benchtests/bench-memchr-ifunc.c: New file.
3532         * benchtests/bench-memchr.c: New file.
3533         * benchtests/bench-memcmp-ifunc.c: New file.
3534         * benchtests/bench-memcmp.c: New file.
3535         * benchtests/bench-memmem-ifunc.c: New file.
3536         * benchtests/bench-memmem.c: New file.
3537         * benchtests/bench-memmove-ifunc.c: New file.
3538         * benchtests/bench-memmove.c: New file.
3539         * benchtests/bench-mempcpy-ifunc.c: New file.
3540         * benchtests/bench-mempcpy.c: New file.
3541         * benchtests/bench-memset-ifunc.c: New file.
3542         * benchtests/bench-memset.c: New file.
3543         * benchtests/bench-rawmemchr-ifunc.c: New file.
3544         * benchtests/bench-rawmemchr.c: New file.
3545         * benchtests/bench-stpcpy-ifunc.c: New file.
3546         * benchtests/bench-stpcpy.c: New file.
3547         * benchtests/bench-stpncpy-ifunc.c: New file.
3548         * benchtests/bench-stpncpy.c: New file.
3549         * benchtests/bench-strcasecmp-ifunc.c: New file.
3550         * benchtests/bench-strcasecmp.c: New file.
3551         * benchtests/bench-strcasestr-ifunc.c: New file.
3552         * benchtests/bench-strcasestr.c: New file.
3553         * benchtests/bench-strcat-ifunc.c: New file.
3554         * benchtests/bench-strcat.c: New file.
3555         * benchtests/bench-strchr-ifunc.c: New file.
3556         * benchtests/bench-strchr.c: New file.
3557         * benchtests/bench-strchrnul-ifunc.c: New file.
3558         * benchtests/bench-strchrnul.c: New file.
3559         * benchtests/bench-strcmp-ifunc.c: New file.
3560         * benchtests/bench-strcmp.c: New file.
3561         * benchtests/bench-strcpy-ifunc.c: New file.
3562         * benchtests/bench-strcpy.c: New file.
3563         * benchtests/bench-strcspn-ifunc.c: New file.
3564         * benchtests/bench-strcspn.c: New file.
3565         * benchtests/bench-strlen-ifunc.c: New file.
3566         * benchtests/bench-strlen.c: New file.
3567         * benchtests/bench-strncasecmp-ifunc.c: New file.
3568         * benchtests/bench-strncasecmp.c: New file.
3569         * benchtests/bench-strncat-ifunc.c: New file.
3570         * benchtests/bench-strncat.c: New file.
3571         * benchtests/bench-strncmp-ifunc.c: New file.
3572         * benchtests/bench-strncmp.c: New file.
3573         * benchtests/bench-strncpy-ifunc.c: New file.
3574         * benchtests/bench-strncpy.c: New file.
3575         * benchtests/bench-strnlen-ifunc.c: New file.
3576         * benchtests/bench-strnlen.c: New file.
3577         * benchtests/bench-strpbrk-ifunc.c: New file.
3578         * benchtests/bench-strpbrk.c: New file.
3579         * benchtests/bench-strrchr-ifunc.c: New file.
3580         * benchtests/bench-strrchr.c: New file.
3581         * benchtests/bench-strspn-ifunc.c: New file.
3582         * benchtests/bench-strspn.c: New file.
3583         * benchtests/bench-strstr-ifunc.c: New file.
3584         * benchtests/bench-strstr.c: New file.
3586         * benchtests/Makefile: Disable parallel execution of targets.
3587         (string-bench): Add memcpy.
3588         (benchset): New variable to store a list of benchmark sets.
3589         (bench-func): Renamed from bench.
3590         (bench-set): New target.
3591         (bench): Depend on bench-func and bench-set.
3592         * benchtests/README: Add section on benchmark sets.
3593         * benchtests/bench-memcpy-ifunc.c: New file.
3594         * benchtests/bench-memcpy.c: New file.
3595         * benchtests/bench-string.h: New file.
3597 2013-06-11  Andreas Schwab  <schwab@suse.de>
3599         [BZ #15577]
3600         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3601         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3602         values in the triple.
3603         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3604         terminator in the group key.
3606 2013-06-11  Andreas Jaeger  <aj@suse.de>
3608         * po/zh_TW.po: Update Chinese (traditional) translation from
3609         translation project.
3611 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3613         * include/time.h (__clock_gettime): Add libc_hidden_proto.
3614         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3615         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
3616         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3617         (clock_getcpuclockid): Likewise.
3618         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3619         Add weak_alias and libc_hidden_def.
3620         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3621         * rt/clock_gettime.c (clock_gettime): Rename to
3622         __clock_gettime.  Add weak_alias and libc_hidden_def.
3623         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3624         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3625         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
3626         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3627         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3628         Likewise.
3629         * rt/clock_settime.c (clock_settime): Rename to
3630         __clock_settime.  Add weak_alias and libc_hidden_def.
3631         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3633 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
3635         * mach/err_boot.sub: Remove trailing whitespace.
3636         * mach/err_ipc.sub: Likewise.
3637         * mach/err_mach.sub: Likewise.
3639         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3640         (ROUNDING_TESTS_double): Likewise.
3641         (ROUNDING_TESTS_long_double): Likewise.
3642         (ROUNDING_TESTS): Likewise.
3643         * math/libm-test.inc: Include <math-tests.h>.
3644         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3645         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3646         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3647         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3649 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3651         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3652         of assigning.
3654 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
3656         * sysdeps/gnu/errlist.awk: Do not generate space at end of
3657         otherwise empty TRANS lines.
3658         * sysdeps/gnu/errlist.c: Regenerated.
3660         * catgets/gencat.c (error_print): Use (void) in function
3661         definition.
3662         * crypt/crypt_util.c (__init_des): Likewise.
3663         * crypt/speeds.c (Stop): Likewise.
3664         (main): Likewise.
3665         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3666         * inet/ruserpass.c (token): Likewise.
3667         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3668         * intl/localealias.c (extend_alias_table): Likewise.
3669         * intl/plural-exp.c (init_germanic_plural): Likewise.
3670         * libio/fcloseall.c (__fcloseall): Likewise.
3671         * libio/genops.c (_IO_flush_all): Likewise.
3672         (_IO_flush_all_linebuffered): Likewise.
3673         (_IO_cleanup): Likewise.
3674         (_IO_iter_begin): Likewise.
3675         (_IO_iter_end): Likewise.
3676         (_IO_list_lock): Likewise.
3677         (_IO_list_unlock): Likewise.
3678         (_IO_list_resetlock): Likewise.
3679         * libio/getchar.c (getchar): Likewise.
3680         * libio/getchar_u.c (getchar_unlocked): Likewise.
3681         * libio/getwchar.c (getwchar): Likewise.
3682         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3683         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3684         * login/getpt.c (__getpt): Likewise.
3685         * login/tst-utmp.c (main): Likewise.
3686         * malloc/hooks.c (__malloc_check_init): Likewise.
3687         * malloc/malloc.c (__malloc_stats): Likewise.
3688         * malloc/mtrace.c (tr_break): Likewise.
3689         (mtrace): Likewise.
3690         (muntrace): Likewise.
3691         * misc/fstab.c (endfsent): Likewise.
3692         * misc/getclktck.c (__getclktck): Likewise.
3693         * misc/getdtsz.c (__getdtablesize): Likewise.
3694         * misc/gethostid.c (gethostid): Likewise.
3695         * misc/getpagesize.c (__getpagesize): Likewise.
3696         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3697         (__get_nprocs): Likewise.
3698         (__get_phys_pages): Likewise.
3699         (__get_avphys_pages): Likewise.
3700         * misc/getttyent.c (getttyent): Likewise.
3701         (setttyent): Likewise.
3702         (endttyent): Likewise.
3703         * misc/getusershell.c (getusershell): Likewise.
3704         (endusershell): Likewise.
3705         (setusershell): Likewise.
3706         (initshells): Likewise.
3707         * misc/hsearch.c (__hdestroy): Likewise.
3708         * misc/sync.c (sync): Likewise.
3709         * misc/syslog.c (closelog_internal): Likewise.
3710         (closelog): Likewise.
3711         * misc/ttyslot.c (ttyslot): Likewise.
3712         * misc/vhangup.c (vhangup): Likewise.
3713         * posix/fork.c (__fork): Likewise.
3714         * posix/getegid.c (__getegid): Likewise.
3715         * posix/geteuid.c (__geteuid): Likewise.
3716         * posix/getgid.c (__getgid): Likewise.
3717         * posix/getpid.c (__getpid): Likewise.
3718         * posix/getppid.c (__getppid): Likewise.
3719         * posix/getuid.c (__getuid): Likewise.
3720         * posix/pause.c (pause): Likewise.
3721         * posix/setpgrp.c (setpgrp): Likewise.
3722         * posix/setsid.c (__setsid): Likewise.
3723         * posix/test-vfork.c (noop): Likewise.
3724         * resolv/gethnamaddr.c (_endhtent): Likewise.
3725         (_gethtent): Likewise.
3726         (ht_endhostent): Likewise.
3727         (gethostent): Likewise.
3728         (dns_service): Likewise.
3729         * stdlib/drand48.c (drand48): Likewise.
3730         * stdlib/lrand48.c (lrand48): Likewise.
3731         * stdlib/mrand48.c (mrand48): Likewise.
3732         * stdlib/rand.c (rand): Likewise.
3733         * stdlib/random.c (__random): Likewise.
3734         * stdlib/setenv.c (clearenv): Likewise.
3735         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3736         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3737         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3738         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3739         (__get_nprocs): Likewise.
3740         (__get_phys_pages): Likewise.
3741         (__get_avphys_pages): Likewise.
3742         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3743         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3744         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3745         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3746         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3747         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3748         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3749         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3750         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3751         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3752         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3753         * sysdeps/mach/hurd/sync.c (sync): Likewise.
3754         * sysdeps/posix/clock.c (clock): Likewise.
3755         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3756         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3757         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3758         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3759         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3760         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3761         (__get_nprocs_conf): Likewise.
3762         (__get_phys_pages): Likewise.
3763         (__get_avphys_pages): Likewise.
3764         * time/clock.c (clock): Likewise.
3765         * time/tzset.c (__tzname_max): Likewise.
3767 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
3769         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3770         (__bswap_32): Do not use "register".
3771         * crypt/crypt.c (_ufc_doit_r): Likewise.
3772         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3773         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3774         * gmon/gmon.c (__monstartup): Likewise.
3775         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3776         * hurd/hurdmalloc.c (more_memory): Likewise.
3777         (malloc): Likewise.
3778         (free): Likewise.
3779         (realloc): Likewise.
3780         (malloc_fork_prepare): Likewise.
3781         (malloc_fork_parent): Likewise.
3782         (malloc_fork_child): Likewise.
3783         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3784         (_svcauth_des): Likewise.
3785         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3786         * inet/inet_net.c (inet_network): Likewise.
3787         * inet/inet_netof.c (inet_netof): Likewise.
3788         * inet/rcmd.c (__validuser2_sa): Likewise.
3789         * io/fts.c (fts_open): Likewise.
3790         (fts_load): Likewise.
3791         (fts_close): Likewise.
3792         (fts_read): Likewise.
3793         (fts_children): Likewise.
3794         (fts_build): Likewise.
3795         (fts_stat): Likewise.
3796         (fts_sort): Likewise.
3797         (fts_alloc): Likewise.
3798         (fts_lfree): Likewise.
3799         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3800         (_IO_file_xsgetn): Likewise.
3801         (_IO_file_xsgetn_mmap): Likewise.
3802         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3803         (_IO_cookie_write): Likewise.
3804         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3805         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3806         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3807         * malloc/obstack.c (_obstack_begin): Likewise.
3808         (_obstack_begin_1): Likewise.
3809         (_obstack_newchunk): Likewise.
3810         (_obstack_allocated_p): Likewise.
3811         (obstack_free): Likewise.
3812         (_obstack_memory_used): Likewise.
3813         * misc/getttyent.c (getttynam): Likewise.
3814         (getttyent): Likewise.
3815         (skip): Likewise.
3816         (value): Likewise.
3817         * misc/getusershell.c (initshells): Likewise.
3818         * misc/syslog.c (__vsyslog_chk): Likewise.
3819         * misc/ttyslot.c (ttyslot): Likewise.
3820         * nis/nis_hash.c (__nis_hash): Likewise.
3821         * posix/fnmatch_loop.c (FCT): Likewise.
3822         * posix/getconf.c (print_all): Likewise.
3823         (main): Likewise.
3824         * posix/getopt.c (exchange): Likewise.
3825         * posix/glob.c (globfree): Likewise.
3826         (prefix_array): Likewise.
3827         (__glob_pattern_type): Likewise.
3828         * resolv/arpa/nameser.h (NS_GET16): Likewise.
3829         (NS_GET32): Likewise.
3830         (NS_PUT16): Likewise.
3831         (NS_PUT32): Likewise.
3832         * resolv/gethnamaddr.c (getanswer): Likewise.
3833         (gethostbyname2): Likewise.
3834         (gethostbyaddr): Likewise.
3835         (_gethtent): Likewise.
3836         (_gethtbyname2): Likewise.
3837         (_gethtbyaddr): Likewise.
3838         * resolv/ns_print.c (dst_s_get_int16): Likewise.
3839         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3840         * resolv/res_init.c (__res_vinit): Likewise.
3841         (net_mask): Likewise.
3842         * resolv/res_mkquery.c (outchar): Likewise.
3843         (PRINT): Likewise.
3844         * stdio-common/printf_fp.c (outchar): Likewise.
3845         (PRINT): Likewise.
3846         * stdio-common/printf_fphex.c (outchar): Likewise.
3847         (PRINT): Likewise.
3848         * stdio-common/printf_size.c (outchar): Likewise.
3849         (PRINT): Likewise.
3850         * stdio-common/test_rdwr.c (main): Likewise.
3851         * stdio-common/tfformat.c (matches): Likewise.
3852         * stdio-common/vfprintf.c (outchar): Likewise.
3853         (printf_unknown): Likewise.
3854         (buffered_vfprintf): Likewise.
3855         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3856         * stdio-common/xbug.c (AppendToBuffer): Likewise.
3857         (ReadFile): Likewise.
3858         * stdlib/qsort.c (SWAP): Likewise.
3859         (_quicksort): Likewise.
3860         * stdlib/setenv.c (__add_to_environ): Likewise.
3861         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3862         * stdlib/strtol_l.c (__strtol_l): Likewise.
3863         * stdlib/tst-strtod.c (main): Likewise.
3864         * stdlib/tst-strtol.c (main): Likewise.
3865         * stdlib/tst-strtoll.c (main): Likewise.
3866         * string/bits/string2.h (__strcmp_cc): Likewise.
3867         (__strcmp_cg): Likewise.
3868         (__strcspn_c1): Likewise.
3869         (__strcspn_c2): Likewise.
3870         (__strcspn_c3): Likewise.
3871         (__strspn_c1): Likewise.
3872         (__strspn_c2): Likewise.
3873         (__strspn_c3): Likewise.
3874         (__strsep_1c): Likewise.
3875         (__strsep_2c): Likewise.
3876         (__strsep_3c): Likewise.
3877         * string/memccpy.c (__memccpy): Likewise.
3878         * string/stpcpy.c (__stpcpy): Likewise.
3879         * string/strcmp.c (strcmp): Likewise.
3880         * string/strrchr.c (strrchr): Likewise.
3881         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3882         Likewise.
3883         * sysdeps/mach/hurd/getcwd.c
3884         (_hurd_canonicalize_directory_name_internal): Likewise.
3885         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3886         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3887         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3888         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3889         Likewise, in both definitions.
3890         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3891         definitions.
3892         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3893         64] (__bswap_64): Likewise.
3894         * time/test_time.c (main): Likewise.
3895         * time/tzfile.c (__tzfile_read): Likewise.
3896         (__tzfile_compute): Likewise.
3897         * time/tzset.c (__tzset_parse_tz): Likewise.
3898         (tzset_internal): Likewise.
3899         (compute_change): Likewise.
3900         * wcsmbs/wcscat.c (__wcscat): Likewise.
3901         * wcsmbs/wcschr.c (wcschr): Likewise.
3902         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3903         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3904         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3905         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3906         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3907         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3908         * wcsmbs/wmemchr.c (wmemchr): Likewise.
3909         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3910         * wcsmbs/wmemset.c (wmemset): Likewise.
3912 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
3914         * scripts/config.guess: Update to version 2013-05-16.
3915         * scripts/config.sub: Update to version 2013-04-24.
3916         * scripts/install-sh: Update to version 2011-11-20.07.
3917         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3918         * scripts/move-if-change: Update to version 2012-01-06 07:23.
3920 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
3922         * debug/fgetws_u_chk.c: Fix leading whitespaces.
3923         * elf/sln.c: Likewise.
3924         * hurd/hurd/ioctl.h: Likewise.
3925         * hurd/hurdmalloc.c: Likewise.
3926         * hurd/xattr.c: Likewise.
3927         * include/shlib-compat.h: Likewise.
3928         * inet/ruserpass.c: Likewise.
3929         * libio/iofgets_u.c: Likewise.
3930         * libio/iofgetws_u.c: Likewise.
3931         * locale/programs/ld-identification.c: Likewise.
3932         * locale/programs/ld-time.c: Likewise.
3933         * mach/msg-destroy.c: Likewise.
3934         * nss/nss_files/files-netgrp.c: Likewise.
3935         * resolv/res_data.c: Likewise.
3936         * soft-fp/op-1.h: Likewise.
3937         * soft-fp/op-2.h: Likewise.
3938         * soft-fp/op-4.h: Likewise.
3939         * soft-fp/op-common.h: Likewise.
3940         * stdio-common/printf_fphex.c: Likewise.
3941         * stdlib/strtod_l.c: Likewise.
3942         * sunrpc/rpc/clnt.h: Likewise.
3943         * sysdeps/generic/framestate.c: Likewise.
3944         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3945         * sysdeps/i386/bsd-setjmp.S: Likewise.
3946         * sysdeps/i386/__longjmp.S: Likewise.
3947         * sysdeps/i386/setjmp.S: Likewise.
3948         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3949         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3950         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3951         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3952         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3953         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3954         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3955         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3956         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3957         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3958         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3959         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3960         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3961         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3962         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3963         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3964         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3965         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3966         * sysdeps/ieee754/support.c: Likewise.
3967         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3968         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3969         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3970         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3971         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3972         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3973         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3974         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3975         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3976         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3977         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3978         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3979         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3980         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3981         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3982         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3983         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3986 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
3988         * posix/transbug.c: Remove executable mode.
3990 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
3992         * crypt/speeds.c: Remove trailing whitespace.
3993         * dlfcn/default.c: Likewise.
3994         * elf/ifuncdep2.c: Likewise.
3995         * elf/ifuncmain1.c: Likewise.
3996         * elf/ifuncmain1vis.c: Likewise.
3997         * elf/testobj.h: Likewise.
3998         * elf/tst-stackguard1.c: Likewise.
3999         * gmon/sys/gmon.h: Likewise.
4000         * hurd/hurdmsg.c: Likewise.
4001         * hurd/new-fd.c: Likewise.
4002         * hurd/ports-get.c: Likewise.
4003         * iconvdata/ibm1008_420.c: Likewise.
4004         * inet/tst-getni1.c: Likewise.
4005         * inet/tst-getni2.c: Likewise.
4006         * libio/ioungetc.c: Likewise.
4007         * libio/wfiledoalloc.c: Likewise.
4008         * manual/libm-err-tab.pl: Likewise.
4009         * math/w_dremf.c: Likewise.
4010         * misc/ftruncate.c: Likewise.
4011         * posix/bug-glob2.c: Likewise.
4012         * posix/tst-pcre.c: Likewise.
4013         * posix/wait4.c: Likewise.
4014         * resolv/README: Likewise.
4015         * resolv/res_debug.h: Likewise.
4016         * resolv/tst-inet_ntop.c: Likewise.
4017         * setjmp/bug269-setjmp.c: Likewise.
4018         * soft-fp/extended.h: Likewise.
4019         * soft-fp/op-1.h: Likewise.
4020         * soft-fp/op-2.h: Likewise.
4021         * soft-fp/op-4.h: Likewise.
4022         * soft-fp/op-8.h: Likewise.
4023         * soft-fp/testit.c: Likewise.
4024         * stdio-common/bug16.c: Likewise.
4025         * stdlib/random.c: Likewise.
4026         * sunrpc/rpcsvc/rquota.x: Likewise.
4027         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4028         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4029         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4030         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4031         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4032         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4033         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4034         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4035         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4036         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4037         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4038         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4039         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4040         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4041         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4042         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4043         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4044         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4045         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4046         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4047         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4048         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4049         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4050         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4051         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4052         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4053         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4054         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4055         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4056         * sysdeps/ieee754/s_lib_version.c: Likewise.
4057         * sysdeps/mach/hurd/check_fds.c: Likewise.
4058         * sysdeps/mach/hurd/getsockname.c: Likewise.
4059         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4060         * sysdeps/mach/hurd/recvfrom.c: Likewise.
4061         * sysdeps/powerpc/bits/link.h: Likewise.
4062         * sysdeps/powerpc/dl-procinfo.c: Likewise.
4063         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4064         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4065         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4066         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4067         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4068         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4069         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4070         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4071         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4072         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4073         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4074         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4075         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4076         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4077         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4078         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4079         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4080         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4081         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4082         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4083         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4084         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4085         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4086         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4087         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4088         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4089         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4090         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4091         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4092         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4093         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4094         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4095         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4096         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4097         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4098         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4099         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4100         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4101         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4102         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4103         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4104         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4105         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4106         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4107         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4108         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4109         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4110         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4111         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4112         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4113         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4114         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4115         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4116         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4117         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4118         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4119         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4120         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4121         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4122         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4123         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4124         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4125         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4126         * sysdeps/powerpc/sysdep.h: Likewise.
4127         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4128         * sysdeps/s390/s390-64/sub_n.S: Likewise.
4129         * sysdeps/sh/dl-trampoline.S: Likewise.
4130         * sysdeps/sh/memset.S: Likewise.
4131         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4132         * sysdeps/sh/strlen.S: Likewise.
4133         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4134         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4135         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4136         * sysdeps/sparc/sparc32/rem.S: Likewise.
4137         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4138         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4139         * sysdeps/sparc/sparc32/strchr.S: Likewise.
4140         * sysdeps/sparc/sparc32/udiv.S: Likewise.
4141         * sysdeps/sparc/sparc32/urem.S: Likewise.
4142         * sysdeps/sparc/sparc64/add_n.S: Likewise.
4143         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4144         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4145         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4146         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4147         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4148         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4149         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4150         * sysdeps/unix/bsd/times.c: Likewise.
4151         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4152         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4156         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4157         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4158         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4159         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4160         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4161         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4162         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4163         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4164         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4165         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4166         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4167         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4168         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4169         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4170         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4171         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4172         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4173         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4174         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4175         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4176         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4177         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4178         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4179         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4180         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4181         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4182         * sysdeps/x86_64/strcspn.S: Likewise.
4184 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4186         * locale/C-translit.h: Revert #include <stdint.h> because this is a
4187         generated file.  Regenerate properly from gen-translit.pl.
4188         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
4189         locale/C-translit.h.
4191 2013-06-05  Andreas Schwab  <schwab@suse.de>
4193         [BZ #15100]
4194         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4195         week as 6 instead of -1.
4196         * time/tst-strptime.c (day_tests): Add test case.
4198 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4200         * sysdeps/generic/math_private.h
4201         (libc_feholdexcept_setround_53bit): Replace with
4202         libc_feholdsetround_53bit.
4203         (libc_feupdateenv_53bit): Replace with
4204         libc_feresetround_53bit.
4205         (SET_RESTORE_ROUND_53BIT): Adjust.
4207 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4209         * string/test-strchrnul.c: Add copyright header.
4211         * posix/tst-getaddrinfo4.c: Increase test timeout.
4213 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
4215         [BZ #15536]
4216         * math/libm-test.inc (MAX_EXP): Remove
4217         (MIN_EXP): Define.
4218         (ulp): Use MIN_EXP - MANT_DIG.
4219         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4221 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
4223         * po/be.po: Revert last change.
4224         * po/zh_CN.po: Likewise.
4225         * po/header.pot: Likewise.
4227 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
4229         * Makefile ($(common-objpfx)linkobj/libc.so): Define
4230         link-libc-deps to empty as target-specific variable.
4231         * Makerules (link-libc-args): New variable.
4232         (libc-for-link): Likewise.
4233         (link-libc-deps): Likewise.
4234         (lib%.so): Depend on $(link-libc-deps).  Link with
4235         $(link-libc-args).
4236         (build-module): Link with $(link-libc-args).
4237         (build-module-asneeded): Likewise.
4238         (build-module-helper-objlist): Filter out $(link-libc-deps) from
4239         list of objects.
4240         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4241         target-specific variable.
4242         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4243         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4244         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4245         libc.
4246         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4247         libc and ld.so.
4248         ($(objpfx)libpcprofile.so): Likewise.
4249         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4250         libc_nonshared.a.
4251         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4252         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4253         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4254         $(link-libc-deps).
4255         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4256         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4257         * login/Makefile ($(objpfx)libutil.so): Likewise.
4258         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4259         * math/Makefile ($(objpfx)libm.so): Likewise.
4260         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4261         $(objpfx)libnsl.so): Define libc-for-link as target-specific
4262         variable instead of depending directly on libc.
4263         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4264         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4265         $(link-libc-deps).
4266         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4267         libc.
4268         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4269         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4270         ($(objpfx)libanl.so): Likewise.
4271         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4272         ld.so.
4273         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4274         $(link-libc-deps).
4275         * sysdeps/i386/fpu/Makefile: Remove file.
4276         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4277         ($(objpfx)libm.so): Remove dependency on ld.so.
4279 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
4281         [BZ # 15553]
4282         * nis/yp_xdr.c (XDRMAXNAME): Define.
4283         (XDRMAXRECORD): Define.
4284         (xdr_domainname): Use XDRMAXNAME.
4285         (xdr_mapname): Likewise.
4286         (xdr_peername): Likewise.
4287         (xdr_keydat): Use XDRMAXRECORD.
4288         (xdr_valdat): Likewise.
4290 2013-05-30  Jeff Law  <law@redhat.com>
4292         [BZ #14256]
4293         * manual/errno.texi (ESTALE): Update to account for more than
4294         just NFS file systems.
4295         * sysdeps/gnu/errlist.c: Regenerated.
4297 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4299         [BZ #15465]
4300         * elf/Makefile (tests): Add tst-null-argv.
4301         (modules-names):  Add tst-null-argv-lib.
4302         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4303         (tst-null-argv-ENV): Set environment for tst-null-argv.
4304         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4305         (RTLD_PROGNAME): New macro.
4306         * elf/tst-null-argv.c: New test case.
4307         * elf/tst-null-argv-lib.c: Library for test case.
4308         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4309         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4310         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4311         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4312         * elf/dl-init.c (call_init): Likewise.
4313         (_dl_init): Likewise.
4314         * elf/dl-load.c (print_search_path): Likewise.
4315         (_dl_map_object): Likewise.
4316         * elf/dl-lookup.c (do_lookup_x): Likewise.
4317         (add_dependency): Likewise.
4318         (_dl_lookup_symbol_x): Likewise.
4319         (_dl_debug_bindings): Likewise.
4320         * elf/dl-open.c (_dl_show_scope): Likewise.
4321         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4322         * elf/dl-version.c (match_symbol): Likewise.
4323         (_dl_check_map_versions): Likewise.
4324         * elf/rtld.c (dl_main): Likewise.
4325         (print_unresolved): Use RTLD_PROGNAME.
4326         (print_missing_version): Likewise.
4327         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4328         (elf_machine_rela): Likewise.
4329         * sysdeps/powerpc/powerpc32/dl-machine.c
4330         (__process_machine_rela): Likewise.
4331         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4332         Likewise.
4333         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4334         Likewise.
4335         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4336         Likewise.
4337         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4338         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4339         Likewise.
4340         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4341         Likewise.
4342         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4344 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
4346         * po/be.po: Add descriptive title.
4347         * po/zh_CN.po: Likewise.
4348         * po/header.pot: Likewise.
4350 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
4352         * locale/programs/locarchive.c (create_archive): Inlucde fname in
4353         error message.
4354         (enlarge_archive): Likewise.
4356 2013-05-28  Ben North  <ben@redfrontdoor.org>
4358         * manual/arith.texi (frexp): It is the magnitude of the return
4359         value which lies in [0.5, 1), not the return value itself.
4361 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4365 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
4367         * stdio-common/bug26.c (main): Correct fscanf template.
4369         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4370         declare _dl_skip_args.
4372         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4373         Don't declare.
4375         * manual/platform.texi: Add missing @end deftypefun.
4377 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4379         [BZ #15529]
4380         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4381         bit of mantissa of 2^16382.
4382         * math/libm-test.inc (hypot_test_data): Add more tests.
4384         * math/libm-test.inc: Add drem and pow10 to list of tested
4385         functions.
4386         (pow10_test): New function.
4387         (drem_test): Likewise.
4388         (drem_test_tonearest): Likewise.
4389         (drem_test_towardzero): Likewise.
4390         (drem_test_downward): Likewise.
4391         (drem_test_upward): Likewise.
4392         (main): Call the new functions.
4394         * math/libm-test.inc (finite_test_data): Remove.
4395         (finite_test): Run tests from isfinite_test_data.
4396         (gamma_test_data): Remove.
4397         (gamma_test): Run tests from lgamma_test_data.
4398         * sysdeps/i386/fpu/libm-test-ulps: Update.
4399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4401 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4403         * manual/platform.texi: Add PowerPC PPR function set documentation.
4404         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4405         implementation.
4407 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
4409         * math/libm-test.inc (MAX_EXP): Define.
4410         (ULPDIFF): Define.
4411         (ulp): New function.
4412         (check_float_internal): Use ULPDIFF.
4413         (cpow_test): Disable failing test.
4414         (check_ulp): Test ulp() implemetnation.
4415         (main): Call check_ulp before starting tests.
4417 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4419         * math/gen-libm-test.pl (generate_testfile): Do not handle
4420         START_DATA and END_DATA.
4421         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4422         END_DATA.
4423         (acos_tonearest_test_data): Likewise.
4424         (acos_towardzero_test_data): Likewise.
4425         (acos_downward_test_data): Likewise.
4426         (acos_upward_test_data): Likewise.
4427         (acosh_test_data): Likewise.
4428         (asin_test_data): Likewise.
4429         (asin_tonearest_test_data): Likewise.
4430         (asin_towardzero_test_data): Likewise.
4431         (asin_downward_test_data): Likewise.
4432         (asin_upward_test_data): Likewise.
4433         (asinh_test_data): Likewise.
4434         (atan_test_data): Likewise.
4435         (atanh_test_data): Likewise.
4436         (atan2_test_data): Likewise.
4437         (cabs_test_data): Likewise.
4438         (cacos_test_data): Likewise.
4439         (cacosh_test_data): Likewise.
4440         (carg_test_data): Likewise.
4441         (casin_test_data): Likewise.
4442         (casinh_test_data): Likewise.
4443         (catan_test_data): Likewise.
4444         (catanh_test_data): Likewise.
4445         (cbrt_test_data): Likewise.
4446         (ccos_test_data): Likewise.
4447         (ccosh_test_data): Likewise.
4448         (ceil_test_data): Likewise.
4449         (cexp_test_data): Likewise.
4450         (cimag_test_data): Likewise.
4451         (clog_test_data): Likewise.
4452         (clog10_test_data): Likewise.
4453         (conj_test_data): Likewise.
4454         (copysign_test_data): Likewise.
4455         (cos_test_data): Likewise.
4456         (cos_tonearest_test_data): Likewise.
4457         (cos_towardzero_test_data): Likewise.
4458         (cos_downward_test_data): Likewise.
4459         (cos_upward_test_data): Likewise.
4460         (cosh_test_data): Likewise.
4461         (cosh_tonearest_test_data): Likewise.
4462         (cosh_towardzero_test_data): Likewise.
4463         (cosh_downward_test_data): Likewise.
4464         (cosh_upward_test_data): Likewise.
4465         (cpow_test_data): Likewise.
4466         (cproj_test_data): Likewise.
4467         (creal_test_data): Likewise.
4468         (csin_test_data): Likewise.
4469         (csinh_test_data): Likewise.
4470         (csqrt_test_data): Likewise.
4471         (ctan_test_data): Likewise.
4472         (ctan_tonearest_test_data): Likewise.
4473         (ctan_towardzero_test_data): Likewise.
4474         (ctan_downward_test_data): Likewise.
4475         (ctan_upward_test_data): Likewise.
4476         (ctanh_test_data): Likewise.
4477         (ctanh_tonearest_test_data): Likewise.
4478         (ctanh_towardzero_test_data): Likewise.
4479         (ctanh_downward_test_data): Likewise.
4480         (ctanh_upward_test_data): Likewise.
4481         (erf_test_data): Likewise.
4482         (erfc_test_data): Likewise.
4483         (exp_test_data): Likewise.
4484         (exp_tonearest_test_data): Likewise.
4485         (exp_towardzero_test_data): Likewise.
4486         (exp_downward_test_data): Likewise.
4487         (exp_upward_test_data): Likewise.
4488         (exp10_test_data): Likewise.
4489         (exp2_test_data): Likewise.
4490         (expm1_test_data): Likewise.
4491         (fabs_test_data): Likewise.
4492         (fdim_test_data): Likewise.
4493         (finite_test_data): Likewise.
4494         (floor_test_data): Likewise.
4495         (fma_test_data): Likewise.
4496         (fma_towardzero_test_data): Likewise.
4497         (fma_downward_test_data): Likewise.
4498         (fma_upward_test_data): Likewise.
4499         (fmax_test_data): Likewise.
4500         (fmin_test_data): Likewise.
4501         (fmod_test_data): Likewise.
4502         (fpclassify_test_data): Likewise.
4503         (frexp_test_data): Likewise.
4504         (gamma_test_data): Likewise.
4505         (hypot_test_data): Likewise.
4506         (ilogb_test_data): Likewise.
4507         (isfinite_test_data): Likewise.
4508         (isgreater_test_data): Likewise.
4509         (isgreaterequal_test_data): Likewise.
4510         (isinf_test_data): Likewise.
4511         (isless_test_data): Likewise.
4512         (islessequal_test_data): Likewise.
4513         (islessgreater_test_data): Likewise.
4514         (isnan_test_data): Likewise.
4515         (isnormal_test_data): Likewise.
4516         (issignaling_test_data): Likewise.
4517         (isunordered_test_data): Likewise.
4518         (j0_test_data): Likewise.
4519         (j1_test_data): Likewise.
4520         (jn_test_data): Likewise.
4521         (ldexp_test_data): Likewise.
4522         (lgamma_test_data): Likewise.
4523         (lrint_test_data): Likewise.
4524         (lrint_tonearest_test_data): Likewise.
4525         (lrint_towardzero_test_data): Likewise.
4526         (lrint_downward_test_data): Likewise.
4527         (lrint_upward_test_data): Likewise.
4528         (llrint_test_data): Likewise.
4529         (llrint_tonearest_test_data): Likewise.
4530         (llrint_towardzero_test_data): Likewise.
4531         (llrint_downward_test_data): Likewise.
4532         (llrint_upward_test_data): Likewise.
4533         (log_test_data): Likewise.
4534         (log10_test_data): Likewise.
4535         (log1p_test_data): Likewise.
4536         (log2_test_data): Likewise.
4537         (logb_test_data): Likewise.
4538         (logb_downward_test_data): Likewise.
4539         (lround_test_data): Likewise.
4540         (llround_test_data): Likewise.
4541         (modf_test_data): Likewise.
4542         (nearbyint_test_data): Likewise.
4543         (nextafter_test_data): Likewise.
4544         (nexttoward_test_data): Likewise.
4545         (pow_test_data): Likewise.
4546         (pow_tonearest_test_data): Likewise.
4547         (pow_towardzero_test_data): Likewise.
4548         (pow_downward_test_data): Likewise.
4549         (pow_upward_test_data): Likewise.
4550         (remainder_test_data): Likewise.
4551         (remainder_tonearest_test_data): Likewise.
4552         (remainder_towardzero_test_data): Likewise.
4553         (remainder_downward_test_data): Likewise.
4554         (remainder_upward_test_data): Likewise.
4555         (remquo_test_data): Likewise.
4556         (rint_test_data): Likewise.
4557         (rint_tonearest_test_data): Likewise.
4558         (rint_towardzero_test_data): Likewise.
4559         (rint_downward_test_data): Likewise.
4560         (rint_upward_test_data): Likewise.
4561         (round_test_data): Likewise.
4562         (scalb_test_data): Likewise.
4563         (scalbn_test_data): Likewise.
4564         (scalbln_test_data): Likewise.
4565         (signbit_test_data): Likewise.
4566         (sin_test_data): Likewise.
4567         (sin_tonearest_test_data): Likewise.
4568         (sin_towardzero_test_data): Likewise.
4569         (sin_downward_test_data): Likewise.
4570         (sin_upward_test_data): Likewise.
4571         (sincos_test_data): Likewise.
4572         (sinh_test_data): Likewise.
4573         (sinh_tonearest_test_data): Likewise.
4574         (sinh_towardzero_test_data): Likewise.
4575         (sinh_downward_test_data): Likewise.
4576         (sinh_upward_test_data): Likewise.
4577         (sqrt_test_data): Likewise.
4578         (tan_test_data): Likewise.
4579         (tan_tonearest_test_data): Likewise.
4580         (tan_towardzero_test_data): Likewise.
4581         (tan_downward_test_data): Likewise.
4582         (tan_upward_test_data): Likewise.
4583         (tanh_test_data): Likewise.
4584         (tgamma_test_data): Likewise.
4585         (trunc_test_data): Likewise.
4586         (y0_test_data): Likewise.
4587         (y1_test_data): Likewise.
4588         (yn_test_data): Likewise.
4589         (significand_test_data): Likewise.
4591         * math/gen-libm-test.pl (@functions): Remove variable.
4592         (generate_testfile): Don't handle START and END lines.
4593         * math/libm-test.inc (START): New macro.
4594         (END): Likewise.
4595         (END_COMPLEX): Likewise.
4596         (acos_test): Use END macro without arguments.
4597         (acos_test_tonearest): Likewise.
4598         (acos_test_towardzero): Likewise.
4599         (acos_test_downward): Likewise.
4600         (acos_test_upward): Likewise.
4601         (acosh_test): Likewise.
4602         (asin_test): Likewise.
4603         (asin_test_tonearest): Likewise.
4604         (asin_test_towardzero): Likewise.
4605         (asin_test_downward): Likewise.
4606         (asin_test_upward): Likewise.
4607         (asinh_test): Likewise.
4608         (atan_test): Likewise.
4609         (atanh_test): Likewise.
4610         (atan2_test): Likewise.
4611         (cabs_test): Likewise.
4612         (cacos_test): Use END_COMPLEX macro without arguments.
4613         (cacosh_test): Likewise.
4614         (carg_test): Use END macro without arguments.
4615         (casin_test): Use END_COMPLEX macro without arguments.
4616         (casinh_test): Likewise.
4617         (catan_test): Likewise.
4618         (catanh_test): Likewise.
4619         (cbrt_test): Use END macro without arguments.
4620         (ccos_test): Use END_COMPLEX macro without arguments.
4621         (ccosh_test): Likewise.
4622         (ceil_test): Use END macro without arguments.
4623         (cexp_test): Use END_COMPLEX macro without arguments.
4624         (cimag_test): Use END macro without arguments.
4625         (clog_test): Use END_COMPLEX macro without arguments.
4626         (clog10_test): Likewise.
4627         (conj_test): Likewise.
4628         (copysign_test): Use END macro without arguments.
4629         (cos_test): Likewise.
4630         (cos_test_tonearest): Likewise.
4631         (cos_test_towardzero): Likewise.
4632         (cos_test_downward): Likewise.
4633         (cos_test_upward): Likewise.
4634         (cosh_test): Likewise.
4635         (cosh_test_tonearest): Likewise.
4636         (cosh_test_towardzero): Likewise.
4637         (cosh_test_downward): Likewise.
4638         (cosh_test_upward): Likewise.
4639         (cpow_test): Use END_COMPLEX macro without arguments.
4640         (cproj_test): Likewise.
4641         (creal_test): Use END macro without arguments.
4642         (csin_test): Use END_COMPLEX macro without arguments.
4643         (csinh_test): Likewise.
4644         (csqrt_test): Likewise.
4645         (ctan_test): Likewise.
4646         (ctan_test_tonearest): Likewise.
4647         (ctan_test_towardzero): Likewise.
4648         (ctan_test_downward): Likewise.
4649         (ctan_test_upward): Likewise.
4650         (ctanh_test): Likewise.
4651         (ctanh_test_tonearest): Likewise.
4652         (ctanh_test_towardzero): Likewise.
4653         (ctanh_test_downward): Likewise.
4654         (ctanh_test_upward): Likewise.
4655         (erf_test): Use END macro without arguments.
4656         (erfc_test): Likewise.
4657         (exp_test): Likewise.
4658         (exp_test_tonearest): Likewise.
4659         (exp_test_towardzero): Likewise.
4660         (exp_test_downward): Likewise.
4661         (exp_test_upward): Likewise.
4662         (exp10_test): Likewise.
4663         (exp2_test): Likewise.
4664         (expm1_test): Likewise.
4665         (fabs_test): Likewise.
4666         (fdim_test): Likewise.
4667         (finite_test): Likewise.
4668         (floor_test): Likewise.
4669         (fma_test): Likewise.
4670         (fma_test_towardzero): Likewise.
4671         (fma_test_downward): Likewise.
4672         (fma_test_upward): Likewise.
4673         (fmax_test): Likewise.
4674         (fmin_test): Likewise.
4675         (fmod_test): Likewise.
4676         (fpclassify_test): Likewise.
4677         (frexp_test): Likewise.
4678         (gamma_test): Likewise.
4679         (hypot_test): Likewise.
4680         (ilogb_test): Likewise.
4681         (isfinite_test): Likewise.
4682         (isgreater_test): Likewise.
4683         (isgreaterequal_test): Likewise.
4684         (isinf_test): Likewise.
4685         (isless_test): Likewise.
4686         (islessequal_test): Likewise.
4687         (islessgreater_test): Likewise.
4688         (isnan_test): Likewise.
4689         (isnormal_test): Likewise.
4690         (issignaling_test): Likewise.
4691         (isunordered_test): Likewise.
4692         (j0_test): Likewise.
4693         (j1_test): Likewise.
4694         (jn_test): Likewise.
4695         (ldexp_test): Likewise.
4696         (lgamma_test): Likewise.
4697         (lrint_test): Likewise.
4698         (lrint_test_tonearest): Likewise.
4699         (lrint_test_towardzero): Likewise.
4700         (lrint_test_downward): Likewise.
4701         (lrint_test_upward): Likewise.
4702         (llrint_test): Likewise.
4703         (llrint_test_tonearest): Likewise.
4704         (llrint_test_towardzero): Likewise.
4705         (llrint_test_downward): Likewise.
4706         (llrint_test_upward): Likewise.
4707         (log_test): Likewise.
4708         (log10_test): Likewise.
4709         (log1p_test): Likewise.
4710         (log2_test): Likewise.
4711         (logb_test): Likewise.
4712         (logb_test_downward): Likewise.
4713         (lround_test): Likewise.
4714         (llround_test): Likewise.
4715         (modf_test): Likewise.
4716         (nearbyint_test): Likewise.
4717         (nextafter_test): Likewise.
4718         (nexttoward_test): Likewise.
4719         (pow_test): Likewise.
4720         (pow_test_tonearest): Likewise.
4721         (pow_test_towardzero): Likewise.
4722         (pow_test_downward): Likewise.
4723         (pow_test_upward): Likewise.
4724         (remainder_test): Likewise.
4725         (remainder_test_tonearest): Likewise.
4726         (remainder_test_towardzero): Likewise.
4727         (remainder_test_downward): Likewise.
4728         (remainder_test_upward): Likewise.
4729         (remquo_test): Likewise.
4730         (rint_test): Likewise.
4731         (rint_test_tonearest): Likewise.
4732         (rint_test_towardzero): Likewise.
4733         (rint_test_downward): Likewise.
4734         (rint_test_upward): Likewise.
4735         (round_test): Likewise.
4736         (scalb_test): Likewise.
4737         (scalbn_test): Likewise.
4738         (scalbln_test): Likewise.
4739         (signbit_test): Likewise.
4740         (sin_test): Likewise.
4741         (sin_test_tonearest): Likewise.
4742         (sin_test_towardzero): Likewise.
4743         (sin_test_downward): Likewise.
4744         (sin_test_upward): Likewise.
4745         (sincos_test): Likewise.
4746         (sinh_test): Likewise.
4747         (sinh_test_tonearest): Likewise.
4748         (sinh_test_towardzero): Likewise.
4749         (sinh_test_downward): Likewise.
4750         (sinh_test_upward): Likewise.
4751         (sqrt_test): Likewise.
4752         (tan_test): Likewise.
4753         (tan_test_tonearest): Likewise.
4754         (tan_test_towardzero): Likewise.
4755         (tan_test_downward): Likewise.
4756         (tan_test_upward): Likewise.
4757         (tanh_test): Likewise.
4758         (tgamma_test): Likewise.
4759         (trunc_test): Likewise.
4760         (y0_test): Likewise.
4761         (y1_test): Likewise.
4762         (yn_test): Likewise.
4763         (significand_test): Likewise.
4765 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
4767         [BZ #15381]
4768         * libio/genops.c (_IO_no_init): Initialize wide struct info.
4770 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4772         [BZ #14894]
4773         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4774         __ppc_mdoio and __ppc_mdoom.
4775         * manual/platform.texi: Document new functions __ppc_yield,
4776         __ppc_mdoio and __ppc_mdoom.
4778 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
4780         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4781         (main): Mention "tls" pseudo-hwcap is legacy.
4782         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4784 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4786         * math/gen-libm-test.pl (parse_args): Output only string of
4787         arguments as text for test name, not full call or descriptions of
4788         tests for extra outputs.
4789         (generate_testfile): Do not pass function name to parse_args.
4790         Generate this_func variable from START.
4791         * math/libm-test.inc (struct test_f_f_data): Rename test_name
4792         field to arg_str.
4793         (struct test_ff_f_data): Likewise.
4794         (test_ff_f_data_nexttoward): Likewise.
4795         (struct test_fi_f_data): Likewise.
4796         (struct test_fl_f_data): Likewise.
4797         (struct test_if_f_data): Likewise.
4798         (struct test_fff_f_data): Likewise.
4799         (struct test_c_f_data): Likewise.
4800         (struct test_f_f1_data): Likewise.  Remove field extra_name.
4801         (struct test_fF_f1_data): Likewise.
4802         (struct test_ffI_f1_data): Likewise.
4803         (struct test_c_c_data): Rename test_name field to arg_str.
4804         (struct test_cc_c_data): Likewise.
4805         (struct test_f_i_data): Likewise.
4806         (struct test_ff_i_data): Likewise.
4807         (struct test_f_l_data): Likewise.
4808         (struct test_f_L_data): Likewise.
4809         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
4810         and extra2_name.
4811         (COMMON_TEST_SETUP): New macro.
4812         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4813         (COMMON_TEST_CLEANUP): Likewise.
4814         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4815         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
4816         macros.
4817         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4818         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
4819         macros.
4820         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4821         (RUN_TEST_fff_f): Take argument string.  Call new setup and
4822         cleanup macros.
4823         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4824         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
4825         macros.
4826         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4827         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
4828         macros.
4829         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4830         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
4831         cleanup macros.
4832         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4833         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
4834         cleanup macros.
4835         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4836         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
4837         cleanup macros.
4838         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4839         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
4840         macros.
4841         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4842         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
4843         macros.
4844         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4845         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
4846         macros.
4847         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4848         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
4849         cleanup macros.
4850         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4851         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
4852         cleanup macros.
4853         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4854         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
4855         macros.
4856         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4857         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
4858         cleanup macros.
4859         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4860         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
4861         macros.
4862         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4863         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
4864         macros.
4865         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4866         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
4867         cleanup macros.
4868         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4870 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4872         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4873         to _sifields.sigfault.
4874         (si_addr_lsb): Define new macro.
4875         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4876         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4877         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4879 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
4881         [BZ #15441]
4882         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4883         returns -1.
4884         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4885         null return -1.
4886         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4887         loading the domain.
4889 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4891         * math/gen-libm-test.pl (parse_args): Do not include expected
4892         result in test name.
4893         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4894         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4895         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4896         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4897         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4900 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4902         * benchtests/Makefile: Sort function entries.
4904         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4905         tanh, asinh, acosh, atanh.
4906         * benchtests/acos-inputs: New file.
4907         * benchtests/acosh-inputs: New file.
4908         * benchtests/asin-inputs: New file.
4909         * benchtests/asinh-inputs: New file.
4910         * benchtests/atanh-inputs: New file.
4911         * benchtests/cosh-inputs: New file.
4912         * benchtests/log-inputs: New file.
4913         * benchtests/sinh-inputs: New file.
4914         * benchtests/tanh-inputs: New file.
4916 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
4918         [BZ #15339]
4919         * posix/tst-getaddrinfo4.c: New test.
4920         * posix/Makefile (tests): Add it.
4922 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4924         [BZ #15339]
4925         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4926         when no services were used.
4927         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4928         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4930 2013-05-21  Andreas Schwab  <schwab@suse.de>
4932         [BZ #15014]
4933         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4934         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4935         successful.
4936         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4937         redundant variable declarations and reallocation of buffer when
4938         parsing as IPv6 address.  Always set NSS status when called from
4939         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
4940         buffer too small.  Correct computation of needed size.
4941         * nss/Makefile (tests): Add test-digits-dots.
4942         * nss/test-digits-dots.c: New test.
4944 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4946         * benchtests/Makefile: Remove instructions for adding
4947         benchmark tests.
4948         * benchtests/README: New file to explain how to execute and
4949         enhance the benchmark tests.
4951 2013-05-21  Andreas Schwab  <schwab@suse.de>
4953         [BZ #15493]
4954         * setjmp/Makefile (tests): Add tst-sigsetjmp.
4955         * setjmp/tst-sigsetjmp.c: New test.
4957 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4959         * sysdeps/x86_64/memset.S (memset): New implementation.
4960         (__bzero): Likewise.
4961         (__memset_tail): New function.
4963 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4965         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4966         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4967         __memcpy_sse2_unaligned ifunc selection.
4968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4969         Add memcpy-sse2-unaligned.S.
4970         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4971         Add: __memcpy_sse2_unaligned.
4973 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
4975         [BZ #15490]
4976         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4977         math_force_eval before restoring floating-point envrionment.
4978         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4979         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4980         Likewise.
4981         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4982         <math_private.h>.
4983         (__nearbyintl): Use math_force_eval before restoring
4984         floating-point environment.
4985         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4987         * math/gen-libm-test.pl (special_functions): Remove.
4988         (parse_args): Don't handle TEST_extra.  Handle functions with no
4989         return value.
4990         * math/libm-test.inc (struct test_sincos_data): Replace with
4991         struct test_fFF_11_data.
4992         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4993         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4994         (sincos_test_data): Change element type to struct
4995         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
4996         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4997         RUN_TEST_LOOP_sincos.
4998         * math/README.libm-test: Don't mention special handling of
4999         individual functions.
5000         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5001         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5002         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5003         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5004         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5007         * math/gen-libm-test.pl (get_variable): Remove function.
5008         (parse_args): Don't show pointer parameters to call in test
5009         names.  Use "extra output N" in test names for extra outputs
5010         rather than naming variables.
5012 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
5014         [BZ #15488]
5015         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5016         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5017         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5018         double tests.
5019         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5020         disable.
5021         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5022         check_long_double.
5024         * math/gen-libm-test.pl (@tests): Remove variable.
5025         ($count): Likewise.
5026         (new_test): Remove function.
5027         (show_exceptions): New function.
5028         (special_functions): Use show_exceptions instead of new_test.
5029         (parse_args): Likewise.
5030         (generate_testfile): Pass only function name in generated call to
5031         print_max_error or print_complex_max_error.
5032         (get_ulps): Do not handle complex tests specially.
5033         (output_test): Rename to ...
5034         (get_all_ulps_for_test): ... this.  Return a string rather than
5035         printing to a file.  Require ulps to be present.
5036         (output_ulps): Generate arrays rather than #defines.
5037         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5038         (struct ulp_data): New type.
5039         (BUILD_COMPLEX_ULP): Remove macro.
5040         (compare_ulp_data): New function.
5041         (find_ulps): Likewise.
5042         (find_test_ulps): Likewise.
5043         (find_function_ulps): Likewise.
5044         (find_complex_function_ulps): Likewise.
5045         (print_max_error): Determine allowed ulps using
5046         find_function_ulps.
5047         (print_complex_max_error): Determine allowed ulps using
5048         find_complex_function_ulps.
5049         (check_float_internal): Determine max ulps using find_test_ulps.
5050         (check_float): Do not take max_ulp parameter.  Update call to
5051         check_float_internal.
5052         (check_complex): Likewise.
5053         (check_int): Do not take max_ulp parameter.
5054         (check_long): Likewise.
5055         (check_bool): Likewise.
5056         (check_longlong): Likewise.
5057         (struct test_f_f_data): Remove max_ulp field.
5058         (struct test_ff_f_data): Likewise.
5059         (struct test_ff_f_data_nexttoward): Likewise.
5060         (struct test_fi_f_data): Likewise.
5061         (struct test_fl_f_data): Likewise.
5062         (struct test_if_f_data): Likewise.
5063         (struct test_fff_f_data): Likewise.
5064         (struct test_c_f_data): Likewise.
5065         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5066         (struct test_fF_f1_data): Likewise.
5067         (struct test_ffI_f1_data): Likewise.
5068         (struct test_c_c_data): Remove max_ulp field.
5069         (struct test_cc_c_data): Likewise.
5070         (struct test_f_i_data): Likewise.
5071         (struct test_ff_i_data): Likewise.
5072         (struct test_f_l_data): Likewise.
5073         (struct test_f_L_data): Likewise.
5074         (struct test_sincos_data): Likewise.
5075         (RUN_TEST_f_f): Do not handle ulps.
5076         (RUN_TEST_LOOP_f_f): Likewise.
5077         (RUN_TEST_2_f): Likewise.
5078         (RUN_TEST_LOOP_2_f): Likewise.
5079         (RUN_TEST_fff_f): Likewise.
5080         (RUN_TEST_LOOP_fff_f): Likewise.
5081         (RUN_TEST_c_f): Likewise.
5082         (RUN_TEST_LOOP_c_f): Likewise.
5083         (RUN_TEST_f_f1): Likewise.
5084         (RUN_TEST_LOOP_f_f1): Likewise.
5085         (RUN_TEST_fF_f1): Likewise.
5086         (RUN_TEST_LOOP_fF_f1): Likewise.
5087         (RUN_TEST_fI_f1): Likewise.
5088         (RUN_TEST_LOOP_fI_f1): Likewise.
5089         (RUN_TEST_ffI_f1): Likewise.
5090         (RUN_TEST_LOOP_ffI_f1): Likewise.
5091         (RUN_TEST_c_c): Likewise.
5092         (RUN_TEST_LOOP_c_c): Likewise.
5093         (RUN_TEST_cc_c): Likewise.
5094         (RUN_TEST_LOOP_cc_c): Likewise.
5095         (RUN_TEST_f_i): Likewise.
5096         (RUN_TEST_LOOP_f_i): Likewise.
5097         (RUN_TEST_f_i_tg): Likewise.
5098         (RUN_TEST_LOOP_f_i_tg): Likewise.
5099         (RUN_TEST_ff_i_tg): Likewise.
5100         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5101         (RUN_TEST_f_b): Likewise.
5102         (RUN_TEST_LOOP_f_b): Likewise.
5103         (RUN_TEST_f_b_tg): Likewise.
5104         (RUN_TEST_LOOP_f_b_tg): Likewise.
5105         (RUN_TEST_f_l): Likewise.
5106         (RUN_TEST_LOOP_f_l): Likewise.
5107         (RUN_TEST_f_L): Likewise.
5108         (RUN_TEST_LOOP_f_L): Likewise.
5109         (RUN_TEST_sincos): Likewise.
5110         (RUN_TEST_LOOP_sincos): Likewise.
5112 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
5114         [BZ #15480]
5115         [BZ #15485]
5116         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5117         main case of finite arguments, set rounding mode to FE_TONEAREST
5118         and discard exceptions.
5119         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5120         exceptions.
5121         (remainder_tonearest_test_data): New variable.
5122         (remainder_test_tonearest): New function.
5123         (remainder_towardzero_test_data): New variable.
5124         (remainder_test_towardzero): New function.
5125         (remainder_downward_test_data): New variable.
5126         (remainder_test_downward): New function.
5127         (remainder_upward_test_data): New variable.
5128         (remainder_test_upward): New function.
5129         (main): Call the new test functions.
5131         * math/libm-test.inc (struct test_f_f1_data): Remove field
5132         extra_init.
5133         (struct test_fF_f1_data): Likewise.
5134         (struct test_ffI_f1_data): Likewise.
5135         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
5136         based on value of EXTRA_EXPECTED.
5137         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5138         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
5139         EXTRA_VAR based on value of EXTRA_EXPECTED.
5140         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5141         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
5142         EXTRA_VAR based on value of EXTRA_EXPECTED.
5143         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5144         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
5145         EXTRA_VAR based on value of EXTRA_EXPECTED.
5146         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5147         * math/gen-libm-test.pl (parse_args): Don't output initializers
5148         for extra output values.
5150         * math/libm-test.inc (check_int): Expect result to be exactly
5151         equal to expected value and do not handle ulps.
5152         (check_long): Likewise.
5153         (check_longlong): Likewise.
5155         * math/libm-test.inc (ceil_test_data): Test for "inexact"
5156         exceptions.
5157         (cimag_test_data): Likewise.
5158         (conj_test_data): Likewise.
5159         (copysign_test_data): Likewise.
5160         (cproj_test_data): Likewise.
5161         (creal_test_data): Likewise.
5162         (fabs_test_data): Likewise.
5163         (fdim_test_data): Likewise.
5164         (finite_test_data): Likewise.
5165         (floor_test_data): Likewise.
5166         (fmax_test_data): Likewise.
5167         (fmin_test_data): Likewise.
5168         (fmod_test_data): Likewise.
5169         (fpclassify_test_data): Likewise.
5170         (frexp_test_data): Likewise.
5171         (ilogb_test_data): Likewise.
5172         (isfinite_test_data): Likewise.
5173         (isgreater_test_data): Likewise.
5174         (isgreaterequal_test_data): Likewise.
5175         (isinf_test_data): Likewise.
5176         (isless_test_data): Likewise.
5177         (islessequal_test_data): Likewise.
5178         (islessgreater_test_data): Likewise.
5179         (isnan_test_data): Likewise.
5180         (isnormal_test_data): Likewise.
5181         (issignaling_test_data): Likewise.
5182         (isunordered_test_data): Likewise.
5183         (ldexp_test_data): Likewise.
5184         (lrint_test_data): Likewise.
5185         (lrint_test_data) [TEST_FLOAT]: Disable one test.
5186         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5187         (lrint_tonearest_test_data): Test for "inexact" exceptions.
5188         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5189         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5190         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5191         test input.
5192         (lrint_towardzero_test_data): Test for "inexact" exceptions.
5193         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5194         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5195         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5196         that test input.
5197         (lrint_downward_test_data): Test for "inexact" exceptions.
5198         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5199         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5200         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5201         test input.
5202         (lrint_upward_test_data): Test for "inexact" exceptions.
5203         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5204         test input.
5205         (llrint_test_data): Test for "inexact" exceptions.
5206         (llrint_test_data) [TEST_FLOAT]: Disable one test.
5207         (llrint_tonearest_test_data): Test for "inexact" exceptions.
5208         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5209         (llrint_towardzero_test_data): Test for "inexact" exceptions.
5210         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5211         (llrint_downward_test_data): Test for "inexact" exceptions.
5212         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5213         (llrint_upward_test_data): Test for "inexact" exceptions.
5214         (logb_test_data): Likewise.
5215         (logb_downward_test_data): Likewise.
5216         (nextafter_test_data): Likewise.
5217         (nexttoward_test_data): Likewise.
5218         (remainder_test_data): Likewise.
5219         (remquo_test_data): Likewise.
5220         (scalbn_test_data): Likewise.
5221         (scalbln_test_data): Likewise.
5222         (signbit_test_data): Likewise.
5223         (sqrt_test_data): Likewise.
5224         (significand_test_data): Likewise.
5226 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5228         [BZ #15424]
5229         * benchtests/bench-modf.c (struct args): Mark arg0 as
5230         volatile.
5231         * scripts/bench.pl: Mark members of struct args as volatile.
5233 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5235         [BZ # 15497]
5236         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5237         negative infinity on POWER6 or lower.
5238         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5240 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5242         [BZ #15442]
5243         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5244         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5245         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5246         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5247         (_FP_SETQNAN): New macro.
5248         (_FP_SETQNAN_SEMIRAW): Likewise.
5249         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5250         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5251         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5252         (FP_EXTEND): Use _FP_FRAC_SNANP.
5253         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5254         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5255         into account.
5256         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5257         New macro.
5258         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5259         Likewise.
5261 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5263         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5264         with DIVIDE_BY_ZERO_EXCEPTION.
5265         (gamma_test_data): Likewise.
5266         (lgamma_test_data): Likewise.
5267         (log_test_data): Likewise.
5268         (log10_test_data): Likewise.
5269         (log2_test_data): Likewise.
5270         (tgamma_test_data): Likewise.
5272         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5273         (acos_test_tonearest): Likewise.
5274         (acos_test_towardzero): Likewise.
5275         (acos_test_downward): Likewise.
5276         (acos_test_upward): Likewise.
5277         (acosh_test): Likewise.
5278         (asin_test): Likewise.
5279         (asin_test_tonearest): Likewise.
5280         (asin_test_towardzero): Likewise.
5281         (asin_test_downward): Likewise.
5282         (asin_test_upward): Likewise.
5283         (asinh_test): Likewise.
5284         (atan_test): Likewise.
5285         (atanh_test): Likewise.
5286         (atan2_test): Likewise.
5287         (cabs_test): Likewise.
5288         (cacos_test): Likewise.
5289         (cacosh_test): Likewise.
5290         (casin_test): Likewise.
5291         (casinh_test): Likewise.
5292         (catan_test): Likewise.
5293         (catanh_test): Likewise.
5294         (cbrt_test): Likewise.
5295         (ccos_test): Likewise.
5296         (ccosh_test): Likewise.
5297         (cexp_test): Likewise.
5298         (clog_test): Likewise.
5299         (clog10_test): Likewise.
5300         (cos_test): Likewise.
5301         (cos_test_tonearest): Likewise.
5302         (cos_test_towardzero): Likewise.
5303         (cos_test_downward): Likewise.
5304         (cos_test_upward): Likewise.
5305         (cosh_test): Likewise.
5306         (cosh_test_tonearest): Likewise.
5307         (cosh_test_towardzero): Likewise.
5308         (cosh_test_downward): Likewise.
5309         (cosh_test_upward): Likewise.
5310         (cpow_test): Likewise.
5311         (csin_test): Likewise.
5312         (csinh_test): Likewise.
5313         (csqrt_test): Likewise.
5314         (ctan_test): Likewise.
5315         (ctan_test_tonearest): Likewise.
5316         (ctan_test_towardzero): Likewise.
5317         (ctan_test_downward): Likewise.
5318         (ctan_test_upward): Likewise.
5319         (ctanh_test): Likewise.
5320         (ctanh_test_tonearest): Likewise.
5321         (ctanh_test_towardzero): Likewise.
5322         (ctanh_test_downward): Likewise.
5323         (ctanh_test_upward): Likewise.
5324         (erf_test): Likewise.
5325         (erfc_test): Likewise.
5326         (exp_test): Likewise.
5327         (exp_test_tonearest): Likewise.
5328         (exp_test_towardzero): Likewise.
5329         (exp_test_downward): Likewise.
5330         (exp_test_upward): Likewise.
5331         (exp10_test): Likewise.
5332         (exp2_test): Likewise.
5333         (expm1_test): Likewise.
5334         (fmod_test): Likewise.
5335         (gamma_test): Likewise.
5336         (hypot_test): Likewise.
5337         (j0_test): Likewise.
5338         (j1_test): Likewise.
5339         (jn_test): Likewise.
5340         (lgamma_test): Likewise.
5341         (log_test): Likewise.
5342         (log10_test): Likewise.
5343         (log1p_test): Likewise.
5344         (log2_test): Likewise.
5345         (logb_test_downward): Likewise.
5346         (pow_test): Likewise.
5347         (pow_test_tonearest): Likewise.
5348         (pow_test_towardzero): Likewise.
5349         (pow_test_downward): Likewise.
5350         (pow_test_upward): Likewise.
5351         (remainder_test): Likewise.
5352         (remquo_test): Likewise.
5353         (sin_test): Likewise.
5354         (sin_test_tonearest): Likewise.
5355         (sin_test_towardzero): Likewise.
5356         (sin_test_downward): Likewise.
5357         (sin_test_upward): Likewise.
5358         (sincos_test): Likewise.
5359         (sinh_test): Likewise.
5360         (sinh_test_tonearest): Likewise.
5361         (sinh_test_towardzero): Likewise.
5362         (sinh_test_downward): Likewise.
5363         (sinh_test_upward): Likewise.
5364         (sqrt_test): Likewise.
5365         (tan_test): Likewise.
5366         (tan_test_tonearest): Likewise.
5367         (tan_test_towardzero): Likewise.
5368         (tan_test_downward): Likewise.
5369         (tan_test_upward): Likewise.
5370         (tanh_test): Likewise.
5371         (tgamma_test): Likewise.
5372         (y0_test): Likewise.
5373         (y1_test): Likewise.
5374         (yn_test): Likewise.
5376         * math/gen-libm-test.pl (adjust_arg): Remove function.
5377         (special_function): Remove argument $in_func.  Only handle
5378         generating output for tables of tests, not inside functions.
5379         (parse_args): Likewise.
5380         (generate_testfile): Remove variable $in_func.  Update call to
5381         parse_args.
5382         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5383         (MINUS_ZERO_INIT): Rename macro to minus_zero.
5384         (PLUS_INFTY_INIT): Rename macro to plus_infty.
5385         (MINUS_INFTY_INIT): Rename macro to minus_infty.
5386         (QNAN_VALUE_INIT): Rename macro to qnan_value.
5387         (MAX_VALUE_INIT): Rename macro to max_value.
5388         (MIN_VALUE_INIT): Rename macro to min_value.
5389         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5390         (plus_zero): Remove variable.
5391         (minus_zero): Likewise.
5392         (plus_infty): Likewise.
5393         (minus_infty): Likewise.
5394         (qnan_value): Likewise.
5395         (max_value): Likewise.
5396         (min_value): Likewise.
5397         (min_subnorm_value): Likewise.
5399 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5401         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5402         uint64_t or uint32_t usage.
5403         * crypt/sha256-block.c: Likewise.
5404         * crypt/sha256-crypt.c: Likewise.
5405         * crypt/sha256.c: Likewise.
5406         * crypt/sha512-block.c: Likewise.
5407         * crypt/sha512-crypt.c: Likewise.
5408         * crypt/sha512.c: Likewise.
5409         * debug/backtrace-tst.c: Likewise.
5410         * debug/pcprofiledump.c: Likewise.
5411         * elf/cache.c: Likewise.
5412         * elf/dl-cache.c: Likewise.
5413         * elf/dl-misc.c: Likewise.
5414         * elf/dl-profile.c: Likewise.
5415         * elf/dl-support.c: Likewise.
5416         * elf/ldconfig.c: Likewise.
5417         * elf/sprof.c: Likewise.
5418         * iconv/dummy-repertoire.c: Likewise.
5419         * iconv/iconv_charmap.c: Likewise.
5420         * iconv/skeleton.c: Likewise.
5421         * iconvdata/8bit-generic.c: Likewise.
5422         * iconvdata/cp737.h: Likewise.
5423         * iconvdata/cp775.h: Likewise.
5424         * iconvdata/ibm1008.h: Likewise.
5425         * iconvdata/ibm1025.h: Likewise.
5426         * iconvdata/ibm1046.h: Likewise.
5427         * iconvdata/ibm1097.h: Likewise.
5428         * iconvdata/ibm1112.h: Likewise.
5429         * iconvdata/ibm1122.h: Likewise.
5430         * iconvdata/ibm1123.h: Likewise.
5431         * iconvdata/ibm1124.h: Likewise.
5432         * iconvdata/ibm1129.h: Likewise.
5433         * iconvdata/ibm1130.h: Likewise.
5434         * iconvdata/ibm1132.h: Likewise.
5435         * iconvdata/ibm1133.h: Likewise.
5436         * iconvdata/ibm1137.h: Likewise.
5437         * iconvdata/ibm1140.h: Likewise.
5438         * iconvdata/ibm1141.h: Likewise.
5439         * iconvdata/ibm1142.h: Likewise.
5440         * iconvdata/ibm1143.h: Likewise.
5441         * iconvdata/ibm1144.h: Likewise.
5442         * iconvdata/ibm1145.h: Likewise.
5443         * iconvdata/ibm1146.h: Likewise.
5444         * iconvdata/ibm1147.h: Likewise.
5445         * iconvdata/ibm1148.h: Likewise.
5446         * iconvdata/ibm1149.h: Likewise.
5447         * iconvdata/ibm1153.h: Likewise.
5448         * iconvdata/ibm1154.h: Likewise.
5449         * iconvdata/ibm1155.h: Likewise.
5450         * iconvdata/ibm1156.h: Likewise.
5451         * iconvdata/ibm1157.h: Likewise.
5452         * iconvdata/ibm1158.h: Likewise.
5453         * iconvdata/ibm1160.h: Likewise.
5454         * iconvdata/ibm1161.h: Likewise.
5455         * iconvdata/ibm1162.h: Likewise.
5456         * iconvdata/ibm1163.h: Likewise.
5457         * iconvdata/ibm1164.h: Likewise.
5458         * iconvdata/ibm1166.h: Likewise.
5459         * iconvdata/ibm1167.h: Likewise.
5460         * iconvdata/ibm12712.h: Likewise.
5461         * iconvdata/ibm1390.h: Likewise.
5462         * iconvdata/ibm1399.h: Likewise.
5463         * iconvdata/ibm16804.h: Likewise.
5464         * iconvdata/ibm4517.h: Likewise.
5465         * iconvdata/ibm4899.h: Likewise.
5466         * iconvdata/ibm4909.h: Likewise.
5467         * iconvdata/ibm4971.h: Likewise.
5468         * iconvdata/ibm5347.h: Likewise.
5469         * iconvdata/ibm803.h: Likewise.
5470         * iconvdata/ibm856.h: Likewise.
5471         * iconvdata/ibm901.h: Likewise.
5472         * iconvdata/ibm902.h: Likewise.
5473         * iconvdata/ibm9030.h: Likewise.
5474         * iconvdata/ibm9066.h: Likewise.
5475         * iconvdata/ibm921.h: Likewise.
5476         * iconvdata/ibm922.h: Likewise.
5477         * iconvdata/ibm9448.h: Likewise.
5478         * iconvdata/isiri-3342.h: Likewise.
5479         * iconvdata/jis0201.h: Likewise.
5480         * include/link.h: Likewise.
5481         * include/netdb.h: Likewise.
5482         * inet/check_native.c: Likewise.
5483         * inet/check_pf.c: Likewise.
5484         * inet/getipv4sourcefilter.c: Likewise.
5485         * inet/getnameinfo.c: Likewise.
5486         * inet/getsourcefilter.c: Likewise.
5487         * inet/htonl.c: Likewise.
5488         * inet/setipv4sourcefilter.c: Likewise.
5489         * inet/setsourcefilter.c: Likewise.
5490         * inet/test-inet6_opt.c: Likewise.
5491         * inet/tst-network.c: Likewise.
5492         * locale/C-collate.c: Likewise.
5493         * locale/C-ctype.c: Likewise.
5494         * locale/C-time.c: Likewise.
5495         * locale/C-translit.h: Likewise.
5496         * locale/loadarchive.c: Likewise.
5497         * locale/programs/3level.h: Likewise.
5498         * locale/programs/charmap.c: Likewise.
5499         * locale/programs/charmap.h: Likewise.
5500         * locale/programs/ld-address.c: Likewise.
5501         * locale/programs/ld-collate.c: Likewise.
5502         * locale/programs/ld-ctype.c: Likewise.
5503         * locale/programs/ld-identification.c: Likewise.
5504         * locale/programs/ld-measurement.c: Likewise.
5505         * locale/programs/ld-messages.c: Likewise.
5506         * locale/programs/ld-monetary.c: Likewise.
5507         * locale/programs/ld-name.c: Likewise.
5508         * locale/programs/ld-numeric.c: Likewise.
5509         * locale/programs/ld-paper.c: Likewise.
5510         * locale/programs/ld-telephone.c: Likewise.
5511         * locale/programs/ld-time.c: Likewise.
5512         * locale/programs/linereader.c: Likewise.
5513         * locale/programs/locale.c: Likewise.
5514         * locale/programs/locarchive.c: Likewise.
5515         * locale/programs/locfile.h: Likewise.
5516         * locale/programs/repertoire.c: Likewise.
5517         * locale/programs/simple-hash.c: Likewise.
5518         * locale/programs/simple-hash.h: Likewise.
5519         * malloc/memusage.c: Likewise.
5520         * malloc/memusagestat.c: Likewise.
5521         * nis/nis_defaults.c: Likewise.
5522         * nis/nis_hash.c: Likewise.
5523         * nis/nis_print.c: Likewise.
5524         * nis/nis_xdr.c: Likewise.
5525         * nscd/connections.c: Likewise.
5526         * nscd/hstcache.c: Likewise.
5527         * nscd/nscd_gethst_r.c: Likewise.
5528         * nscd/nscd_getserv_r.c: Likewise.
5529         * nscd/nscd_helper.c: Likewise.
5530         * nscd/servicescache.c: Likewise.
5531         * nss/makedb.c: Likewise.
5532         * nss/nss_db/db-XXX.c: Likewise.
5533         * nss/nss_db/db-initgroups.c: Likewise.
5534         * nss/nss_db/db-netgrp.c: Likewise.
5535         * nss/nss_files/files-network.c: Likewise.
5536         * nss/nss_files/files-parse.c: Likewise.
5537         * posix/bug-regex5.c: Likewise.
5538         * posix/fnmatch_loop.c: Likewise.
5539         * posix/regcomp.c: Likewise.
5540         * posix/regexec.c: Likewise.
5541         * posix/tst-rfc3484-2.c: Likewise.
5542         * posix/tst-rfc3484-3.c: Likewise.
5543         * posix/tst-rfc3484.c: Likewise.
5544         * resolv/nss_dns/dns-canon.c: Likewise.
5545         * resolv/nss_dns/dns-network.c: Likewise.
5546         * resolv/res_init.c: Likewise.
5547         * resolv/res_mkquery.c: Likewise.
5548         * resolv/tst-aton.c: Likewise.
5549         * stdlib/cxa_atexit.c: Likewise.
5550         * stdlib/cxa_finalize.c: Likewise.
5551         * stdlib/gen-fpioconst.c: Likewise.
5552         * stdlib/strtol_l.c: Likewise.
5553         * string/tst-endian.c: Likewise.
5554         * sunrpc/auth_des.c: Likewise.
5555         * sunrpc/clnt_udp.c: Likewise.
5556         * sunrpc/rtime.c: Likewise.
5557         * sunrpc/svcauth_des.c: Likewise.
5558         * sunrpc/xdr.c: Likewise.
5559         * sunrpc/xdr_intXX_t.c: Likewise.
5560         * sunrpc/xdr_rec.c: Likewise.
5561         * sysdeps/generic/ldconfig.h: Likewise.
5562         * sysdeps/generic/ldsodefs.h: Likewise.
5563         * sysdeps/generic/memusage.h: Likewise.
5564         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5565         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5566         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5567         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5568         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5569         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5570         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5571         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5572         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5573         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5574         * sysdeps/posix/getaddrinfo.c: Likewise.
5575         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5576         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5577         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5578         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5579         * sysdeps/powerpc/test-gettimebase.c: Likewise.
5580         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5581         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5582         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5583         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5584         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5585         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5586         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5587         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5588         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5589         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5590         * sysdeps/x86_64/dl-tls.h: Likewise.
5591         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5592         * time/alt_digit.c: Likewise.
5593         * time/era.c: Likewise.
5594         * wcsmbs/tst-c16c32-1.c: Likewise.
5596 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5598         * math/libm-test.inc (struct test_sincos_data): New type.
5599         (RUN_TEST_LOOP_sincos): New macro.
5600         (sincos_test_data): New variable.
5601         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5603 2013-05-16  Richard Henderson  <rth@redhat.com>
5605         * math/atest-exp2.c (LIMB64): New macro.
5606         (CONSTSZ): New macro.
5607         (mp_exp1, mp_exp_m1, mp_log2): New variables.
5608         (hexdig): Move ...
5609         (print_mpn_fp): ... to function scope.
5610         (read_mpn_hex): Remove.
5611         (get_log2): Remove.
5612         (exp2_mpn): Use mp_log2.
5613         (main): Use mp_exp1.
5615 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5617         * math/libm-test.inc: Remove comment about not testing "inexact"
5618         exceptions.
5619         (INEXACT_EXCEPTION): New macro.
5620         (NO_INEXACT_EXCEPTION): Likewise.
5621         (INVALID_EXCEPTION_OK): Update value.
5622         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5623         (OVERFLOW_EXCEPTION_OK): Likewise.
5624         (UNDERFLOW_EXCEPTION_OK): Likewise.
5625         (IGNORE_ZERO_INF_SIGN): Likewise.
5626         (ERRNO_UNCHANGED): Likewise.
5627         (ERRNO_EDOM): Likewise.
5628         (ERRNO_ERANGE): Likewise.
5629         (test_exceptions): Handle testing "inexact" exceptions.
5630         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5631         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5632         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5633         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5634         INEXACT_EXCEPTION.
5635         (rint_towardzero_test_data): Likewise.
5636         (rint_downward_test_data): Likewise.
5637         (rint_upward_test_data): Likewise.
5639         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5640         with OVERFLOW_EXCEPTION.
5641         (exp10_test_data): Likewise.
5642         (exp2_test_data): Likewise.
5643         (expm1_test_data): Likewise.
5644         (lgamma_test_data): Likewise.
5645         (pow_test_data): Likewise.
5646         (tgamma_test_data): Likewise.
5647         (yn_test_data): Remove duplicate test of overflow.
5649         * math/libm-test.inc (struct test_cc_c_data): New type.
5650         (RUN_TEST_LOOP_cc_c): New macro.
5651         (cpow_test_data): New variable.
5652         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5654         * math/libm-test.inc (struct test_f_L_data): New type.
5655         (RUN_TEST_LOOP_f_L): New macro.
5656         (llrint_test_data): New variable.
5657         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5658         (llrint_tonearest_test_data): New variable.
5659         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5660         (llrint_towardzero_test_data): New variable.
5661         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5662         (llrint_downward_test_data): New variable.
5663         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5664         (llrint_upward_test_data): New variable.
5665         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5666         (llround_test_data): New variable.
5667         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5669 2013-05-13  Peter Collingbourne  <pcc@google.com>
5671         * math/atest-exp2.c (get_log2): Remove const attribute.
5673 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5675         * math/libm-test.inc (struct test_f_l_data): New type.
5676         (RUN_TEST_LOOP_f_l): New macro.
5677         (lrint_test_data): New variable.
5678         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5679         (lrint_tonearest_test_data): New variable.
5680         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5681         (lrint_towardzero_test_data): New variable.
5682         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5683         (lrint_downward_test_data): New variable.
5684         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5685         (lrint_upward_test_data): New variable.
5686         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5687         (lround_test_data): New variable.
5688         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5690 2013-05-15  Peter Collingbourne  <pcc@google.com>
5692         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5693         (EXTRACT_WORDS64) Use where appropriate.
5694         (INSERT_WORDS64) Likewise.
5696         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5697         constraints with x constraints.
5698         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5700         * malloc/obstack.c (_obstack_compat): Add initializer.
5702 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5704         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5705         si_trapno and add si_addr_lsb to _sifields.sigfault.
5706         (si_trapno): Remove macro.
5707         (si_addr_lsb): Define new macro.
5708         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5710 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5712         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5713         instead of TEST_f_l.
5714         (llrint_test_tonearest): Likewise.
5715         (llrint_test_towardzero): Likewise.
5716         (llrint_test_downward): Likewise.
5717         (llrint_test_upward): Likewise.
5718         (llround_test): Likewise.
5720         * math/libm-test.inc (struct test_f_i_data): Add comment.
5721         (RUN_TEST_LOOP_f_b): New macro.
5722         (RUN_TEST_LOOP_f_b_tg): Likewise.
5723         (finite_test_data): New variable.
5724         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5725         (isfinite_test_data): New variable.
5726         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5727         (isinf_test_data): New variable.
5728         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5729         (isnan_test_data): New variable.
5730         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5731         (isnormal_test_data): New variable.
5732         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5733         (issignaling_test_data): New variable.
5734         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5735         (signbit_test_data): New variable.
5736         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5738         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5739         with INVALID_EXCEPTION.
5740         (acosh_test_data): Likewise.
5741         (asin_test_data): Likewise.
5742         (atanh_test_data): Likewise.
5743         (fmod_test_data): Likewise.
5744         (log_test_data): Likewise.
5745         (log10_test_data): Likewise.
5746         (log2_test_data): Likewise.
5747         (pow_test_data): Likewise.
5748         (sqrt_test_data): Likewise.
5749         (y0_test_data): Likewise.
5750         (y1_test_data): Likewise.
5751         (yn_test_data): Likewise.
5753         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5754         function contents.
5756         * math/libm-test.inc (struct test_ff_i_data): New type.
5757         (RUN_TEST_LOOP_ff_i_tg): New macro.
5758         (isgreater_test_data): New variable.
5759         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5760         (isgreaterequal_test_data): New variable.
5761         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5762         (isless_test_data): New variable.
5763         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5764         (islessequal_test_data): New variable.
5765         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5766         (islessgreater_test_data): New variable.
5767         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5768         (isunordered_test_data): New variable.
5769         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5771 2013-05-14  David S. Miller  <davem@davemloft.net>
5773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5775 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
5777         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5779         * math/libm-test.inc (struct test_fF_f1_data): Change type of
5780         extra_test to int.
5781         (struct test_f_i_data): Change type of max_ulp to int.
5783         * math/libm-test.inc (test_ffI_f1_data): New type.
5784         (RUN_TEST_LOOP_ffI_f1): New macro.
5785         (remquo_test_data): New variable.
5786         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5788         * setjmp/tst-setjmp-fp.c: New file.
5789         * setjmp/Makefile (tests): Add tst-setjmp-fp.
5790         (link-libm): New variable.
5791         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5793         * math/libm-test.inc (struct test_f_i_data): New type.
5794         (RUN_TEST_LOOP_f_i): New macro.
5795         (RUN_TEST_LOOP_f_i_tg): Likewise.
5796         (fpclassify_test_data): New variable.
5797         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5798         (ilogb_test_data): New variable.
5799         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5801         * math/libm-test.inc (scalbln_test): Correct function name in END
5802         call.
5804         * math/libm-test.inc (struct test_f_f1_data): Add comment.
5805         (RUN_TEST_LOOP_fI_f1): New macro.
5806         (frexp_test_data): New variable.
5807         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5809         * math/libm-test.inc (struct test_fF_f1_data): New type.
5810         (RUN_TEST_LOOP_fF_f1): New macro.
5811         (modf_test_data): New variable.
5812         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5814         * math/libm-test.inc (struct test_f_f1_data): New type.
5815         (RUN_TEST_LOOP_f_f1): New macro.
5816         (gamma_test_data): New variable.
5817         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5818         (lgamma_test_data): New variable.
5819         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5821 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
5823         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5824         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5825         (main): Comment "tls" pseudo-hwcap.
5827 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
5829         * math/libm-test.inc (struct test_fl_f_data): New type.
5830         (RUN_TEST_LOOP_fl_f): New variable.
5831         (scalbln_test_data): New variable.
5832         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5834         * math/libm-test.inc (struct test_fi_f_data): New type.
5835         (RUN_TEST_LOOP_fi_f): New macro.
5836         (ldexp_test_data): New variable.
5837         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5838         (scalbn_test_data): New variable.
5839         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5841         * math/libm-test.inc (struct test_c_f_data): New type.
5842         (RUN_TEST_LOOP_c_f): New macro.
5843         (cabs_test_data): New variable.
5844         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5845         (carg_test_data): New variable.
5846         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5847         (cimag_test_data): New variable.
5848         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5849         (creal_test_data): New variable.
5850         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5852         * math/libm-test.inc (struct test_if_f_data): New type.
5853         (RUN_TEST_LOOP_if_f): New macro.
5854         (jn_test_data): New variable.
5855         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5856         (yn_test_data): New variable.
5857         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5859         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5861 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5863         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5864         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5866 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5868         * benchtests/Makefile (CPPFLAGS-nonlib): Add
5869         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5870         (bench-deps): Add bench-timing.h.
5871         * benchtests-bench-skeleton.c: Include bench-timing.h.
5872         (main): Use TIMING_* macros instead of clock_gettime.
5873         * benchtests/bench-timing.h: New file.
5875         [BZ #14582]
5876         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5877         Renamed from _LIB_VERSION.
5878         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5880 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
5882         * math/libm-test.inc (struct test_fff_f_data): New type.
5883         (RUN_TEST_LOOP_fff_f): New macro.
5884         (fma_test_data): New variable.
5885         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5886         (fma_towardzero_test_data): New variable.
5887         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5888         (fma_downward_test_data): New variable.
5889         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5890         (fma_upward_test_data): New variable.
5891         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5893         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5894         (struct test_c_c_data): New type.
5895         (RUN_TEST_LOOP_c_c): New macro.
5896         (cacos_test_data): New variable.
5897         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5898         (cacosh_test_data): New variable.
5899         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5900         (casin_test_data): New variable.
5901         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5902         (casinh_test_data): New variable.
5903         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5904         (catan_test_data): New variable.
5905         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5906         (catanh_test_data): New variable.
5907         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5908         (ccos_test_data): New variable.
5909         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5910         (ccosh_test_data): New variable.
5911         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5912         (cexp_test_data): New variable.
5913         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5914         (clog_test_data): New variable.
5915         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5916         (clog10_test_data): New variable.
5917         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5918         (conj_test_data): New variable.
5919         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5920         (cproj_test_data): New variable.
5921         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5922         (csin_test_data): New variable.
5923         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5924         (csinh_test_data): New variable.
5925         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5926         (csqrt_test_data): New variable.
5927         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5928         (ctan_test_data): New variable.
5929         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5930         (ctan_tonearest_test_data): New variable.
5931         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5932         (ctan_towardzero_test_data): New variable.
5933         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5934         (ctan_downward_test_data): New variable.
5935         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5936         (ctan_upward_test_data): New variable.
5937         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5938         (ctanh_test_data): New variable.
5939         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5940         (ctanh_tonearest_test_data): New variable.
5941         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5942         (ctanh_towardzero_test_data): New variable.
5943         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5944         (ctanh_downward_test_data): New variable.
5945         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5946         (ctanh_upward_test_data): New variable.
5947         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5948         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5949         of BUILD_COMPLEX.
5951         * math/libm-test.inc (struct test_ff_f_data): New type.
5952         (struct test_ff_f_data_nexttoward): Likewise.
5953         (RUN_TEST_LOOP_2_f): New macro.
5954         (RUN_TEST_LOOP_ff_f): Likewise.
5955         (atan2_test_data): New variable.
5956         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5957         (copysign_test_data): New variable.
5958         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5959         (fdim_test_data): New variable.
5960         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5961         (fmax_test_data): New variable.
5962         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5963         (fmin_test_data): New variable.
5964         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5965         (fmod_test_data): New variable.
5966         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5967         (hypot_test_data): New variable.
5968         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5969         (nextafter_test_data): New variable.
5970         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5971         (nexttoward_test_data): New variable.
5972         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5973         (pow_test_data): New variable.
5974         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5975         (pow_tonearest_test_data): New variable.
5976         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5977         (pow_towardzero_test_data): New variable.
5978         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5979         (pow_downward_test_data): New variable.
5980         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5981         (pow_upward_test_data): New variable.
5982         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5983         (remainder_test_data): New variable.
5984         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5985         (scalb_test_data): New variable.
5986         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5987         * sysdeps/i386/fpu/libm-test-ulps: Update.
5989 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
5991         * math/libm-test.inc (fma_test): Use max_value instead of local
5992         variable fltmax.
5993         (nextafter_test): Likewise.
5995         * math/libm-test.inc (acos_towardzero_test_data): New variable.
5996         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5997         (acos_downward_test_data): New variable.
5998         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5999         (acos_upward_test_data): New variable.
6000         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6001         (acosh_test_data): New variable.
6002         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6003         (asin_test_data): New variable.
6004         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6005         (asin_tonearest_test_data): New variable.
6006         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6007         (asin_towardzero_test_data): New variable.
6008         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6009         (asin_downward_test_data): New variable.
6010         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6011         (asin_upward_test_data): New variable.
6012         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6013         (asinh_test_data): New variable.
6014         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6015         (atan_test_data): New variable.
6016         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6017         (atanh_test_data): New variable.
6018         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6019         (cbrt_test_data): New variable.
6020         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6021         (ceil_test_data): New variable.
6022         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6023         (cos_test_data): New variable.
6024         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6025         (cos_tonearest_test_data): New variable.
6026         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6027         (cos_towardzero_test_data): New variable.
6028         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6029         (cos_downward_test_data): New variable.
6030         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6031         (cos_upward_test_data): New variable.
6032         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6033         (cosh_test_data): New variable.
6034         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6035         (cosh_tonearest_test_data): New variable.
6036         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6037         (cosh_towardzero_test_data): New variable.
6038         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6039         (cosh_downward_test_data): New variable.
6040         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6041         (cosh_upward_test_data): New variable.
6042         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6043         (erf_test_data): New variable.
6044         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6045         (erfc_test_data): New variable.
6046         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6047         (exp_test_data): New variable.
6048         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6049         (exp_tonearest_test_data): New variable.
6050         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6051         (exp_towardzero_test_data): New variable.
6052         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6053         (exp_downward_test_data): New variable.
6054         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6055         (exp_upward_test_data): New variable.
6056         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6057         (exp10_test_data): New variable.
6058         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6059         (exp2_test_data): New variable.
6060         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6061         (expm1_test_data): New variable.
6062         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6063         (fabs_test_data): New variable.
6064         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6065         (floor_test_data): New variable.
6066         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6067         (j0_test_data): New variable.
6068         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6069         (j1_test_data): New variable.
6070         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6071         (log_test_data): New variable.
6072         (log_test): Run tests with RUN_TEST_LOOP_f_f.
6073         (log10_test_data): New variable.
6074         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6075         (log1p_test_data): New variable.
6076         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6077         (log2_test_data): New variable.
6078         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6079         (logb_test_data): New variable.
6080         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6081         (logb_downward_test_data): New variable.
6082         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6083         (nearbyint_test_data): New variable.
6084         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6085         (rint_test_data): New variable.
6086         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6087         (rint_tonearest_test_data): New variable.
6088         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6089         (rint_towardzero_test_data): New variable.
6090         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6091         (rint_downward_test_data): New variable.
6092         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6093         (rint_upward_test_data): New variable.
6094         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6095         (round_test_data): New variable.
6096         (round_test): Run tests with RUN_TEST_LOOP_f_f.
6097         (sin_test_data): New variable.
6098         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6099         (sin_tonearest_test_data): New variable.
6100         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6101         (sin_towardzero_test_data): New variable.
6102         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6103         (sin_downward_test_data): New variable.
6104         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6105         (sin_upward_test_data): New variable.
6106         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6107         (sinh_test_data): New variable.
6108         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6109         (sinh_tonearest_test_data): New variable.
6110         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6111         (sinh_towardzero_test_data): New variable.
6112         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6113         (sinh_downward_test_data): New variable.
6114         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6115         (sinh_upward_test_data): New variable.
6116         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6117         (sqrt_test_data): New variable.
6118         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6119         (tan_test_data): New variable.
6120         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6121         (tan_tonearest_test_data): New variable.
6122         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6123         (tan_towardzero_test_data): New variable.
6124         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6125         (tan_downward_test_data): New variable.
6126         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6127         (tan_upward_test_data): New variable.
6128         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6129         (tanh_test_data): New variable.
6130         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6131         (tgamma_test_data): New variable.
6132         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6133         (trunc_test_data): New variable.
6134         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6135         (y0_test_data): New variable.
6136         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6137         (y1_test_data): New variable.
6138         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6139         (significand_test_data): New variable.
6140         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6142 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
6144         [BZ #12387]
6145         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6147 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6149         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6151 2013-05-10  Andreas Jaeger  <aj@suse.de>
6153         [BZ #15448]
6154         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6155         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6157 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6159         * math/gen-libm-test.pl (adjust_arg): New function.
6160         (special_functions): Handle generating output in both functions
6161         and arrays.
6162         (parse_args): Likewise.
6163         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
6164         $in_func argument to parse_args.
6165         * math/libm-test.inc (struct test_f_f_data): New type.
6166         (IF_ROUND_INIT_): New macro.
6167         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6168         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6169         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6170         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6171         (ROUND_RESTORE_): Likewise.
6172         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6173         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6174         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6175         (ROUND_RESTORE_FE_UPWARD): Likewise.
6176         (RUN_TEST_LOOP_f_f): New macro.
6177         (acos_test_data): New variable.
6178         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6179         (acos_tonearest_test_data): New variable.
6180         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6182 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6184         * benchtests/bench-skeleton.c (startup): Fix coding style.
6186 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6188         [BZ #6809]
6189         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6190         negative infinity argument.
6191         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6192         negative infinity argument.
6193         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6194         negative infinity argument.
6195         * math/libm-test.inc (tgamma_test): Expect errno to be set for
6196         domain errors.
6198 2013-05-10  Florian Weimer  <fweimer@redhat.com>
6200         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6201         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6202         * iconv/iconv_prog.c (main): Likewise.
6203         * locale/programs/charmap-dir.c (charmap_readdir)
6204         (fopen_uncompressed): Likewise.
6205         * locale/programs/locfile.c (siblings_uncached)
6206         (write_locale_data): Use lstat64 instead of lstat.
6207         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6208         stat.
6210 2013-05-10  Andreas Jaeger  <aj@suse.de>
6212         [BZ #15395]
6213         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6214         localization.
6215         Include <locale.h>.
6217 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
6219         * elf/dl-close.c (_dl_close_worker): Add comments.
6221 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
6223         [BZ #15359]
6224         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6225         high part of pi/2.
6226         (__ieee754_rem_pio2l): Update comments.
6228         [BZ #15429]
6229         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6230         high part of pi/2.
6231         (__ieee754_rem_pio2l): Update comments.
6233         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6234         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6236         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6237         M_PI_4l.
6239         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6240         (M_PI_34_LOG10El): Likewise.
6241         (M_PI2_LOG10El): Likewise.
6242         (M_PI4_LOG10El): Likewise.
6243         (M_PI_LOG10El): Likewise.
6245 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6249 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
6251         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6252         (MINUS_ZERO_INIT): Likewise.
6253         (PLUS_INFTY_INIT): Likewise.
6254         (MINUS_INFTY_INIT): Likewise.
6255         (QNAN_VALUE_INIT): Likewise.
6256         (MAX_VALUE_INIT): Likewise.
6257         (MIN_VALUE_INIT): Likewise.
6258         (MIN_SUBNORM_VALUE_INIT): Likewise.
6259         (plus_zero): Initialize with PLUS_ZERO_INIT.
6260         (minus_zero): Initialize with MINUS_ZERO_INIT.
6261         (plus_infty): Initialize with PLUS_INFTY_INIT.
6262         (minus_infty): Initialize with MINUS_INFTY_INIT.
6263         (qnan_value): Initialize with QNAN_VALUE_INIT.
6264         (max_value): Initialize with MAX_VALUE_INIT.
6265         (min_value): Initialize with MIN_VALUE_INIT.
6266         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6268         * math/libm-test.inc (RUN_TEST_if_f): New macro.
6269         (jn_test): Use TEST_if_f instead of TEST_ff_f.
6270         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6271         (yn_test): Use TEST_if_f instead of TEST_ff_f.
6273         * math/libm-test.inc (RUN_TEST_f_f): New macro.
6274         (RUN_TEST_2_f): Likewise.
6275         (RUN_TEST_ff_f): Likewise.
6276         (RUN_TEST_fi_f): Likewise.
6277         (RUN_TEST_fl_f): Likewise.
6278         (RUN_TEST_fff_f): Likewise.
6279         (RUN_TEST_c_f): Likewise.
6280         (RUN_TEST_f_f1): Likewise.
6281         (RUN_TEST_fF_f1): Likewise.
6282         (RUN_TEST_fI_f1): Likewise.
6283         (RUN_TEST_ffI_f1): Likewise.
6284         (RUN_TEST_c_c): Likewise.
6285         (RUN_TEST_cc_c): Likewise.
6286         (RUN_TEST_f_i): Likewise.
6287         (RUN_TEST_f_i_tg): Likewise.
6288         (RUN_TEST_ff_i_tg): Likewise.
6289         (RUN_TEST_f_b): Likewise.
6290         (RUN_TEST_f_b_tg): Likewise.
6291         (RUN_TEST_f_l): Likewise.
6292         (RUN_TEST_f_L): Likewise.
6293         (RUN_TEST_sincos): Likewise.
6294         * math/gen-libm-test.pl (new_test): Take new argument to indicate
6295         whether to show exceptions.  Do not include ");\n" in return
6296         value.
6297         (special_functions): Output call to RUN_TEST_sincos instead of
6298         check_float calls.  Update calls to new_test.
6299         (parse_args): Output call to single RUN_TEST_* macro instead of
6300         check_* calls and other assignments.  Update calls to new_test.
6302         [BZ #2546]
6303         [BZ #2560]
6304         [BZ #5159]
6305         [BZ #15426]
6306         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6307         input to result for tgamma overflow.
6308         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6309         (gamma_coeff): New variable.
6310         (NCOEFF): New macro.
6311         (gamma_positive): New function.
6312         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6313         underflow here.  Use gamma_positive instead of exp (lgamma) for
6314         other arguments.
6315         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6316         (gamma_coeff): New variable.
6317         (NCOEFF): New macro.
6318         (gammaf_positive): New function.
6319         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6320         underflow here.  Use gamma_positive instead of exp (lgamma) for
6321         other arguments.
6322         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6323         (gamma_coeff): New variable.
6324         (NCOEFF): New macro.
6325         (gammal_positive): New function.
6326         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6327         underflow here.  Use gamma_positive instead of exp (lgamma) for
6328         other arguments.
6329         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6330         (gamma_coeff): New variable.
6331         (NCOEFF): New macro.
6332         (gammal_positive): New function.
6333         (__ieee754_gammal_r): Handle positive infinity, overflow and
6334         underflow here.  Handle NaN the same as positive infinity.  Remove
6335         check x < 0xffffffff for negative integers.  Use gamma_positive
6336         instead of exp (lgamma) for other arguments.
6337         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6338         (gamma_coeff): New variable.
6339         (NCOEFF): New macro.
6340         (gammal_positive): New function.
6341         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6342         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6343         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6344         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6345         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6346         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6347         * sysdeps/generic/math_private.h (__gamma_productf): New
6348         prototype.
6349         (__gamma_product): Likewise.
6350         (__gamma_productl): Likewise.
6351         * math/Makefile (libm-calls): Add gamma_product.
6352         * math/libm-test.inc (tgamma_test): Add more tests.
6353         * sysdeps/i386/fpu/libm-test-ulps: Update.
6354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6356 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
6358         * benchtests/bench-skeleton.c (main): Preheat CPU.
6360 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
6362         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6364 2013-05-07  Roland McGrath  <roland@hack.frob.com>
6366         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6367         and _dl_skip_args_internal.
6369 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
6371         * manual/message.texi (Message Translation): Talk about users.
6372         Message to key mapping impacts design.
6374 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6376         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6378         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6380         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6381         * sysdeps/wordsize-64/glob64.c: ... here.
6383         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6384         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6385         New macros.
6387         * debug/getlogin_r_chk.c: Moved to ...
6388         * login/getlogin_r_chk.c: ... here.
6389         * debug/Makefile (routines): Move getlogin_r_chk to ...
6390         * login/Makefile (routines): ... here.
6391         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6392         * login/Versions (libc: GLIBC_2.4): ... here.
6394         * io/poll.c (__poll): Renamed from poll.
6395         Add libc_hidden_def.
6396         (poll): Define as weak alias.
6398         * debug/ptsname_r_chk.c: Moved to ...
6399         * login/ptsname_r_chk.c: ... here.
6400         * debug/Makefile (routines): Move ptsname_r_chk to ...
6401         * login/Makefile (routines): ... here.
6402         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6403         * login/Versions (libc: GLIBC_2.4): ... here.
6405         * posix/getlogin.c: Moved to ...
6406         * login/getlogin.c: ... here.
6407         * posix/getlogin_r.c: Moved to ...
6408         * login/getlogin_r.c: ... here.
6409         * posix/getlogin_r.c: Moved to ...
6410         * login/getlogin_r.c: ... here.
6411         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6412         * login/Makefile (routines): ... here.
6413         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6414         * login/Versions (libc: GLIBC_2.0): ... here.
6416         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6417         (setrlimit): Define as weak alias.
6419         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6420         Call __ names for open, ftruncate, and close.
6421         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6422         (truncate): Define as weak alias.
6424 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
6426         * math/gen-libm-test.pl (parse_args): Initialize x before each
6427         test of frexp, modf and remquo.
6429         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6430         test signgam value.
6432 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6434         [BZ #15418]
6435         [BZ #15419]
6436         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6437         internal tests.
6438         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6440 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6442         * elf/dl-writev.h: New file.
6443         * elf/dl-misc.c: Include it.
6444         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6445         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6447 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
6449         * math/libm-test.inc (noXFails): Remove variable.
6450         (noXPasses): Likewise.
6451         (BUILD_COMPLEX_INT): Remove macro.
6452         (print_screen): Remove xfail argument.
6453         (print_screen_max_error): Likewise.
6454         (update_stats): Likewise.
6455         (print_max_error): Likewise.  Update calls to other affected
6456         functions.
6457         (print_complex_max_error): Likewise.
6458         (test_single_exception): Update calls to print_screen.
6459         (test_single_errno): Likewise.
6460         (check_float_internal): Remove xfail argument.  Update calls to
6461         other affected functions.
6462         (check_float): Likewise.
6463         (check_complex): Likewise.
6464         (check_int): Likewise.
6465         (check_long): Likewise.
6466         (check_bool): Likewise.
6467         (check_longlong): Likewise.
6468         (main): Don't print noXFails and noXPasses.
6469         * math/gen-libm-test.pl (top level): Don't mention expected
6470         failure handling in comment.
6471         (new_test): Don't handle expected failures.
6472         (parse_args): Don't mention expected failure handling in comment.
6473         (generate_testfile): Don't handle expected failures.
6474         (parse_ulps): Likewise.
6475         (print_ulps_file): Likewise.
6476         (get_failure): Remove function.
6477         (output_test): Don't handle expected failures.
6478         * make/README.libm-test: Don't mention expected failure handling.
6480         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
6481         (minus_zero): Likewise.
6482         (plus_infty): Likewise.
6483         (minus_infty): Likewise.
6484         (qnan_value): Likewise.
6485         (max_value): Likewise.
6486         (min_value): Likewise.
6487         (min_subnorm_value): Likewise.
6488         (initialize): Do not initialize those variables dynamically.
6490 2013-05-03  Roland McGrath  <roland@hack.frob.com>
6492         * io/open.c (__open_2): Moved to ...
6493         * io/open_2.c: ... this new file.
6494         * io/open64.c (__open64_2): Moved to ...
6495         * io/open64_2.c: ... this new file.
6496         * io/openat.c (__openat_2): Moved to ...
6497         * io/openat_2.c: ... this new file.
6498         * io/openat64.c (__openat64_2): Moved to ...
6499         * io/openat64_2.c: ... this new file.
6500         * io/Makefile (routines): Add them.
6501         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6502         * sysdeps/unix/sysv/linux/open_2.c: File removed.
6503         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6504         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6505         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6506         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6507         (__openat64): Add hidden_ver.
6508         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6509         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6511         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6512         Separately conditionalize setting of GLRO(dl_sysinfo) so
6513         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6514         as well, but the actual setting is only under [NEED_DL_SYSINFO].
6516 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6518         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6519         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6520         definition.
6521         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6522         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6523         (_libc_vdso_platform_setup): Add __vdso_time initialization.
6524         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6525         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6527 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
6529         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6530         test signgam value.
6532         * math/libm-test.inc (hypot_test): Do not use
6533         IGNORE_ZERO_INF_SIGN.
6535 2013-05-03  Andreas Jaeger  <aj@suse.de>
6537         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6538         Linux 3.9.
6539         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6540         (PF_MAX): Adjust for VSOCK change.
6542 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6546 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
6548         [BZ #15264]
6549         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6550         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6551         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6553 2013-05-02  David S. Miller  <davem@davemloft.net>
6555         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6557 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
6559         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6561 2013-05-01  Roland McGrath  <roland@hack.frob.com>
6563         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6565 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
6567         [BZ #14952]
6568         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6569         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6570         Use __attribute__ ((__gnu_inline__)).
6571         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6572         Don't use __attribute__ ((__gnu_inline__)).
6574 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
6576         [BZ #15423]
6577         * math/s_catan.c (__catan): Handle small real or imaginary part of
6578         input specially to avoid spurious underflow.
6579         * math/s_catanf.c (__catanf): Likewise.
6580         * math/s_catanh.c (__catanh): Likewise.
6581         * math/s_catanhf.c (__catanhf): Likewise.
6582         * math/s_catanhl.c (__catanhl): Likewise.
6583         * math/s_catanl.c (__catanl): Likewise.
6584         * math/libm-test.inc (catan_test): Add more tests.
6585         (catanh_test): Likewise.
6586         * sysdeps/i386/fpu/libm-test-ulps: Update.
6587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6589 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6593 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
6595         [BZ #15416]
6596         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6597         accurately for denominator in atan2.
6598         * math/s_catanf.c (__catanf): Likewise.
6599         * math/s_catanh.c (__catanh): Likewise.
6600         * math/s_catanhf.c (__catanhf): Likewise.
6601         * math/s_catanhl.c (__catanhl): Likewise.
6602         * math/s_catanl.c (__catanl): Likewise.
6603         * math/libm-test.inc (catan_test): Add more tests.
6604         (catanh_test): Likewise.
6605         * sysdeps/i386/fpu/libm-test-ulps: Update.
6606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6608 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6610         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6612         * benchtests/Makefile (bench): Remove slow benchmarks.
6613         * benchtests/atan-inputs: Add slow benchmark inputs.
6614         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6615         (BENCH_FUNC): Accept variant offset.
6616         (VARIANT): Define.
6617         * benchtests/bench-skeleton.c (main): Run benchmark for each
6618         variant.
6619         * benchtests/cos-inputs: Add slow benchmark inputs.
6620         * benchtests/exp-inputs: Likewise.
6621         * benchtests/pow-inputs: Likewise.
6622         * benchtests/sin-inputs: Likewise.
6623         * benchtests/slowatan-inputs: Remove.
6624         * benchtests/slowatan.c: Remove.
6625         * benchtests/slowcos-inputs: Remove.
6626         * benchtests/slowcos.c: Remove.
6627         * benchtests/slowexp-inputs: Remove.
6628         * benchtests/slowexp.c: Remove.
6629         * benchtests/slowpow-inputs: Remove.
6630         * benchtests/slowpow.c: Remove.
6631         * benchtests/slowsin-inputs: Remove.
6632         * benchtests/slowsin.c: Remove.
6633         * benchtests/slowtan-inputs: Remove.
6634         * benchtests/slowtan.c: Remove.
6635         * benchtests/tan-inputs: Add slow benchmark inputs.
6636         * scripts/bench.pl: Parse comments and directives.
6638         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
6639         in CPPFLAGS.
6640         ($(objpfx)bench-%.c): Remove *-ITER.
6641         * benchtests/bench-modf.c: Remove definition of ITER.
6642         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6643         (main): Loop for DURATION seconds instead of fixed number of
6644         iterations.
6645         * scripts/bench.pl: Don't expect iterations in parameters.
6647 2013-04-29  Roland McGrath  <roland@hack.frob.com>
6649         * io/fchdir.c (__fchdir): Renamed from fchdir.
6650         (fchdir): Define as weak alias.
6652 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6654         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6655         (ERRNO_EDOM): Likewise.
6656         (ERRNO_ERANGE): Likewise.
6657         (noErrnoTests): New variable.
6658         (init_max_error): Set errno to 0.
6659         (test_single_errno): New function.
6660         (test_errno): Likewise.
6661         (check_float_internal): Call test_errno.  Set errno to 0.
6662         (check_complex): Refer to errno tests in comment.
6663         (check_int): Call test_errno.  Set errno to 0.
6664         (check_long): Likewise.
6665         (check_bool): Likewise.
6666         (check_longlong): Likewise.
6667         (cos_test): Use ERRNO_* flags for errno tests instead of
6668         check_int.
6669         (expm1_test): Likewise.
6670         (fmod_test): Likewise.
6671         (ilogb_test): Likewise.
6672         (lgamma_test): Likewise.
6673         (pow_test): Likewise.
6674         (remainder_test): Likewise.
6675         (sin_test): Likewise.
6676         (tan_test): Likewise.
6677         (yn_test): Likewise.
6678         (initialize): Set errno to 0.
6679         (main): Print number of errno tests.
6680         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6682 2013-04-29  Andreas Jaeger  <aj@suse.de>
6684         [BZ #15084]
6685         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6686         and RES_USEVC.
6688         [BZ #15085]
6689         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6690         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6691         unimplemented.
6693         [BZ #15380]
6694         * stdlib/random.c (__initstate): Return NULL if
6695         __initstate fails.
6697         [BZ #15086]
6698         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6699         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6700         RES_SNGLKUPREOP.
6702 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6706 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6708         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6709         of individual tests.
6710         (casin_test): Likewise.
6711         (casinh_test): Likewise.
6713 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
6715         [BZ #15409]
6716         * math/s_catan.c (__catan): Handle arguments with large real or
6717         imaginary part separately without squaring.
6718         * math/s_catanf.c (__catanf): Likewise.
6719         * math/s_catanh.c (__catanh): Likewise.
6720         * math/s_catanhf.c (__catanhf): Likewise.
6721         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6722         and redefine.
6723         (__catanhl): Handle arguments with large real or imaginary part
6724         separately without squaring.
6725         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6726         and redefine.
6727         (__catanl): Handle arguments with large real or imaginary part
6728         separately without squaring.
6729         * math/libm-test.inc (catan_test): Add more tests.
6730         (catanh_test): Likewise.
6731         * sysdeps/i386/fpu/libm-test-ulps: Update.
6732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6734 2013-04-27  Andreas Jaeger  <aj@suse.de>
6736         [BZ #15007]
6737         * stdlib/stdlib.h: Update guards for qecvt.
6738         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6739         <stdlib.h>.
6741 2013-04-27  Allan McRae  <allan@archlinux.org>
6743         * sysdeps/i386/fpu/libm-test-ulps: Update.
6745 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
6747         [BZ #15406]
6748         * math/s_catan.c: Include <float.h>.
6749         (__catan): Ensure underflow exception occurs for underflowed
6750         result.
6751         * math/s_catanf.c: Include <float.h>.
6752         (__catanf): Ensure underflow exception occurs for underflowed
6753         result.
6754         * math/s_catanh.c: Include <float.h>.
6755         (__catanh): Ensure underflow exception occurs for underflowed
6756         result.
6757         * math/s_catanhf.c: Include <float.h>.
6758         (__catanhf): Ensure underflow exception occurs for underflowed
6759         result.
6760         * math/s_catanhl.c: Include <float.h>.
6761         (__catanhl): Ensure underflow exception occurs for underflowed
6762         result.
6763         * math/s_catanl.c: Include <float.h>.
6764         (__catanl): Ensure underflow exception occurs for underflowed
6765         result.
6766         * math/libm-test.inc (catan_test): Add more tests.
6767         (catanh_test): Likewise.
6769         [BZ #15405]
6770         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6771         underflowed result.
6772         * math/s_ccoshf.c (__ccoshf): Likewise.
6773         * math/s_ccoshl.c (__ccoshl): Likewise.
6774         * math/s_csin.c (__csin): Likewise.
6775         * math/s_csinf.c (__csinf): Likewise.
6776         * math/s_csinh.c (__csinh): Likewise.
6777         * math/s_csinhf.c (__csinhf): Likewise.
6778         * math/s_csinhl.c (__csinhl): Likewise.
6779         * math/s_csinl.c (__csinl): Likewise.
6780         * math/libm-test.inc (ccos_test): Add more tests.
6781         (ccosh_test): Likewise.
6782         (csin_test): Likewise.
6783         (csinh_test): Likewise.
6785 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6787         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6788         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6789         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6790         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6791         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6792         powerpc/power5+/fpu folders.
6793         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6796 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
6798         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6800 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
6802         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6803         additions to variable.
6804         [$(config-machine) = x86_64] (modules-names): Likewise.
6805         ($(objpfx)tst-audit3): Remove dependency.
6806         ($(objpfx)tst-audit3.out): Likewise.
6807         ($(objpfx)tst-audit4): Likewise.
6808         ($(objpfx)tst-audit4.out): Likewise.
6809         ($(objpfx)tst-audit5): Likewise.
6810         ($(objpfx)tst-audit5.out): Likewise.
6811         ($(objpfx)tst-audit6): Likewise.
6812         ($(objpfx)tst-audit6.out): Likewise.
6813         ($(objpfx)tst-audit7): Likewise.
6814         ($(objpfx)tst-audit7.out): Likewise.
6815         (tst-audit3-ENV): Remove variable.
6816         (tst-audit4-ENV): Likewise.
6817         (tst-audit5-ENV): Likewise.
6818         (tst-audit6-ENV): Likewise.
6819         (tst-audit7-ENV): Likewise.
6820         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6821         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6822         addition to variable.
6823         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6824         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6825         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6826         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6827         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6828         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6829         tst-audit3, tst-audit4 and tst-audit5.
6830         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6831         tst-audit6 and tst-audit7.
6832         [$(subdir) = elf] (modules-names): Add audit modules for those
6833         tests.
6834         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6835         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6836         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6837         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6838         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6839         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6840         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6841         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6842         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6843         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6844         [$(subdir) = elf] (tst-audit3-ENV): New variable.
6845         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6846         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6847         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6848         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6849         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6850         Likewise.
6851         [$(subdir) = elf && $(config-cflags-avx) = yes]
6852         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6853         [$(subdir) = elf && $(config-cflags-avx) = yes]
6854         (CFLAGS-tst-auditmod4a.c): Likewise.
6855         [$(subdir) = elf && $(config-cflags-avx) = yes]
6856         (CFLAGS-tst-auditmod4b.c): Likewise.
6857         [$(subdir) = elf && $(config-cflags-avx) = yes]
6858         (CFLAGS-tst-auditmod6b.c): Likewise.
6859         [$(subdir) = elf && $(config-cflags-avx) = yes]
6860         (CFLAGS-tst-auditmod6c.c): Likewise.
6861         [$(subdir) = elf && $(config-cflags-avx) = yes]
6862         (CFLAGS-tst-auditmod7b.c): Likewise.
6863         * elf/tst-audit3.c: Move to ...
6864         * sysdeps/x86_64/tst-audit3.c: ... here.
6865         * elf/tst-audit4.c: Move to ...
6866         * sysdeps/x86_64/tst-audit4.c: ... here.
6867         * elf/tst-audit5.c: Move to ...
6868         * sysdeps/x86_64/tst-audit5.c: ... here.
6869         * elf/tst-audit6.c: Move to ...
6870         * sysdeps/x86_64/tst-audit6.c: ... here.
6871         * elf/tst-audit7.c: Move to ...
6872         * sysdeps/x86_64/tst-audit7.c: ... here.
6873         * elf/tst-auditmod3a.c: Move to ...
6874         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6875         * elf/tst-auditmod3b.c: Move to ...
6876         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6877         * elf/tst-auditmod4a.c: Move to ...
6878         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6879         * elf/tst-auditmod4b.c: Move to ...
6880         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6881         * elf/tst-auditmod5a.c: Move to ...
6882         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6883         * elf/tst-auditmod5b.c: Move to ...
6884         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6885         * elf/tst-auditmod6a.c: Move to ...
6886         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6887         * elf/tst-auditmod6b.c: Move to ...
6888         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6889         * elf/tst-auditmod6c.c: Move to ...
6890         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6891         * elf/tst-auditmod7a.c: Move to ...
6892         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6893         * elf/tst-auditmod7b.c: Move to ...
6894         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6896 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
6898         [BZ #15366]
6899         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6900         define unconditionally.
6901         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6902         define unconditionally.
6903         (INT8_C, INT16_C, etc.): Likewise.
6905 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
6907         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6908         __ehdr_start with hidden visibility.
6910         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6912 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
6914         * math/libm-test.inc (cos_test): Use accurate hex constants.
6915         (sincost_test): Likewise.
6917 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
6919         * math/libm-test.inc (catan_test): Add more tests.
6920         (catanh_test): Likewise.
6922         * math/s_catanf.c (__catanf): Use suffixed floating-point
6923         constants.
6924         * math/s_catanhf.c (__catanhf): Likewise.
6925         * math/s_catanhl.c (__catanhl): Likewise.
6926         * math/s_catanl.c (__catanl): Likewise.
6928         [BZ #15394]
6929         * math/s_catan.c (__catan): Calculate imaginary part of result
6930         with log1p not log unless computing log of number close to 0.
6931         * math/s_catanf.c (__catanf): Likewise.
6932         * math/s_catanl.c (__catanl): Likewise.
6933         * math/s_catanh.c (__catanh): Calculate real part of result with
6934         log1p not log unless computing log of number close to 0.
6935         * math/s_catanhf.c (__catanhf): Likewise.
6936         * math/s_catanhl.c (__catanhl): Likewise.
6937         * math/libm-test.inc (catan_test): Add more tests.
6938         (catanh_test): Likewise.
6939         * sysdeps/i386/fpu/libm-test-ulps: Update.
6940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6942 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6944         * benchtests/Makefile: Mention files in which fast and slow
6945         paths of math functions are implemented.
6947 2013-04-23  Roland McGrath  <roland@hack.frob.com>
6949         * sysdeps/posix/timespec_get.c: New file.
6951 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6953         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6954         POWER.
6955         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6956         for POWER.
6957         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6958         powerpc/power5/fpu folders.
6959         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6960         * benchtests/Makefile: Add modf testcase.
6961         * benchtests/bench-modf.c: New file: Benchmark test for mo
6963 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6965         [BZ #14888]
6966         * time/Makefile (tests): Add tst-strptime-whitespace.
6967         * time/strptime_l.c (get_number): Use ISSPACE.
6968         (__strptime_internal): Likewise.
6969         * time/tst-strptime-whitespace.c: New test case.
6971 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
6973         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6974         member.
6975         (_nss_files_init): Set it here.
6977 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
6979         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6980         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6981         unsigned.
6983 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
6985         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6987 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6989         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6990         size just once.
6992 2013-04-21  David S. Miller  <davem@davemloft.net>
6994         * po/ru.po: Update Russion translation from translation project.
6996 2013-04-17  Adam Conrad  <adconrad@0c3.net>
6998         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6999         and setfsgid.
7001 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
7003         * configure.in: Remove i386 configure warning. Remove i386 case.
7004         * configure: Regenerate.
7005         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7006         Add example to error message.
7007         * sysdeps/i386/configure: Regenerate.
7009 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7011         * benchtests/Makefile (bench): Add cos, tan, slowcos and
7012         slowtan.
7013         * benchtests/cos-inputs: New file.
7014         * benchtests/slowcos-inputs: New file.
7015         * benchtests/slowcos.c: New file.
7016         * benchtests/slowtan-inputs: New file.
7017         * benchtests/slowtan.c: New file.
7018         * benchtests/tan-inputs: New file.
7020 2013-04-16  Roland McGrath  <roland@hack.frob.com>
7022         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7023         considered kosher.
7025 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7027         * benchtests/Makefile: Include cppflags-iterator.mk to add
7028         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7030         * Makefile.in (bench-clean): New target.
7031         * benchtests/Makefile (bench-clean): Likewise.
7033 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
7035         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7037 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
7039         * stdio-common/tstdiomisc.c: Fix coding-style violation.
7041 2013-04-15  Andreas Schwab  <schwab@suse.de>
7043         * nscd/grpcache.c (cache_addgr): Properly check for short write.
7044         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7045         * nscd/pwdcache.c (cache_addpw): Likewise.
7046         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
7047         more than recsize.
7049 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7051         * benchtests/Makefile (bench): Write all output to
7052         bench-out.tmp together.
7054 2013-04-15  Andreas Schwab  <schwab@suse.de>
7056         * nscd/nscd.c (main): Don't fork again after closing files.
7058 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7060         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7062         * benchtests/Rules (bench-deps): Collect dependencies into a
7063         single variable.  Add Makefile to dependencies.
7064         ($(objpfx)bench-%.c): Depend on bench-deps.
7066 2013-04-12  Roland McGrath  <roland@hack.frob.com>
7067             Xavier Roche  <roche+kml2@exalead.com>
7069         [BZ #15361]
7070         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7071         just that it's a file descriptor.
7072         * manual/llio.texi (Synchronizing AIO Operations): Update description
7073         for EBADF error from aio_fsync.
7075 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7077         * Rules (bench): Move target definition...
7078         * benchtests/Makefile: ... here.
7080 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
7082         * math/libm-test.inc (cos_test): Fix PI/2 test.
7083         (sincos_test): Likewise.
7084         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7085         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7087 2013-04-11  Andreas Schwab  <schwab@suse.de>
7089         [BZ #13988]
7090         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7091         accept exponent character only when digits were seen.
7092         * stdio-common/Makefile (tests): Add bug26.
7093         * stdio-common/bug26.c: New file.
7095         [BZ #14293]
7096         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7097         non-freeable.
7099 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7101         * Makeconfig (rtld-prefix): Define built linker prefix.
7102         * Rules (run-bench): Use it.
7103         * math/Makefile (run-regen-ulps): Likewise.
7105         * Rules (bench): Remove eval.
7107 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7108             Roland McGrath  <roland@hack.frob.com>
7109             Ondrej Bilka  <neleai@seznam.cz>
7111         [BZ #15346]
7112         * time/getdate.c: Include ctype.h and alloca.h.
7113         (__getdate_r): Trim leading and trailing spaces of input.
7114         * time/tst-getdate.c (tests): Add tests with leading and
7115         trailing spaces.
7117 2013-04-08  Roland McGrath  <roland@hack.frob.com>
7119         [BZ #14280]
7120         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7121         when computing value.
7123 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7125         * math/README.libm-test (How can I generate "libm-test-ulps"?):
7126         Use testrun.sh to run libm tests.
7128         [BZ #15309]
7129         * elf/dl-open.c (dl_open_worker): memset all of seen array.
7131 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
7133         [BZ #15264]
7134         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7136 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7138         * Makefile.in (regen-ulps): New target.
7139         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7140         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7141         [ifneq (no,$(PERL)] (regen-ulps): New target.
7142         [ifeq (no,$(PERL)] (regen-ulps): New target.
7143         * math/libm-test.inc (ulps_file_name): Define.
7144         (output_dir): New variable.
7145         (options): Add "output-dir" option.
7146         (parse_opt): Handle 'o' case.
7147         (main): If output_dir is non-NULL use it as a prefix
7148         otherwise use "".
7149         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7151 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7153         [BZ #10060, #10062]
7154         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7155         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7156         fail configure if __sync_val_compare_and_swap is not inlined.
7157         * sysdeps/i386/configure: Regenerate.
7158         * configure.in: Build for i686 when configured for i386.
7159         * configure: Regenerate.
7160         * README: Remove i386 reference.
7162 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7164         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7165         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7167 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7169         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7170         (lmsnanval): New variables.
7171         (F): Add conversion tests.
7172         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7173         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7175         * stdio-common/tstdiomisc.c (F): Properly collect individual
7176         tests' results.
7178         [BZ #14686, #15336]
7179         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7180         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7181         Instead, use input NaN values or generate a qNaN by arithmetic
7182         operation.  Also fix bugs to comply with the standard.
7183         * math/libm-test.inc (remainder_test): Add more tests.
7185         [BZ #15335, #15342]
7186         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7187         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7188         input NaN values or generate a qNaN by arithmetic operation.
7190         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7191         unreachable code.
7193         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7194         definitions.
7196 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
7198         [BZ #14478]
7199         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7200         underflowed result.
7201         * math/s_cexpf.c (__cexpf): Likewise.
7202         * math/s_cexpl.c (__cexpl): Likewise.
7203         * math/libm-test.inc (cexp_test): Add more tests.
7205 2013-04-03  Andreas Schwab  <schwab@suse.de>
7207         [BZ #15330]
7208         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7209         order arrays from heap if bigger than alloca cutoff.
7211 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
7213         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7214         (SNAN_TESTS_double): Refer to GCC PR56831.
7215         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7216         GCC PR56828.
7218 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7220         * Rules (bench): Move bench.out after the run is complete.
7222         * Rules (bench): Echo currently running benchmark.
7224         * benchtests/Makefile (bench): Add atan and slowatan.
7225         * benchtests/atan-inputs: New file.
7226         * benchtests/slowatan-inputs: New file.
7227         * benchtests/slowatan.c: New file.
7229         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7230         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7231         its value.
7233         [BZ #15305]
7234         * sysdeps/unix/sysv/linux/kernel-features.h
7235         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7236         __ASSUME_XFS_RESTRICTED_CHOWN.
7237         * sysdeps/unix/sysv/linux/pathconf.c
7238         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7239         Save and restore errno.
7241 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
7243         [BZ #15327]
7244         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7245         arguments using __kernel_casinh.
7246         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7247         arguments using __kernel_casinhf.
7248         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7249         arguments using __kernel_casinhl.
7250         * math/libm-test.inc (cacosh_test): Add more tests.
7251         * sysdeps/i386/fpu/libm-test-ulps: Update.
7252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7254 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7256         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7257         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7259         * bench/Makefile (bench): Add sin and slowsin.
7260         * benchtests/sin-inputs: New file.
7261         * benchtests/slowsin-inputs: New file.
7262         * benchtests/slowsin.c: New file.
7264         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7265         (bench): Add slowexp and slowpow.
7266         (exp-ITER): Increase iterations.
7267         (pow-ITER): Likewise.
7268         * benchtests/exp-inputs: Change input.
7269         * benchtests/pow-inputs: Likewise.
7270         * benchtests/slowexp-inputs: New file.
7271         * benchtests/slowexp.c: New file.
7272         * benchtests/slowpow-inputs: New file.
7273         * benchtests/slowpow.c: New file.
7275 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7277         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7278         instructions.
7279         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7280         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7281         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7282         * benchtests/Makefile: Add rint benchtest.
7283         * benchtests/rint-inputs: Input for rint benchtest.
7285 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7287         * Versions.def (libm): Add GLIBC_2.18.
7288         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7289         hidden libm prototypes.
7290         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7291         * math/Makefile (libm-calls): Add s_issignaling.
7292         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7293         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
7294         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7295         declaration.
7296         * math/math.h [__USE_GNU] (issignaling): New macro.
7297         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7298         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7299         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7300         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7301         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7302         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7303         * manual/arith.texi (issignaling): New section.
7304         * manual/libm-err-tab.pl (@all_functions): Update comment.
7305         * math/gen-libm-test.pl (parse_args): Apply special handling for
7306         issignaling.
7307         * math/libm-test.inc (print_float, issignaling_test): New
7308         functions.
7309         (check_float_internal): Add issignaling checks.
7310         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7311         default definition.
7312         * sysdeps/powerpc/math-tests.h: New file.
7313         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7314         tests.
7315         * math/test-snan.c (TEST_FUNC): Likewise.
7317 2013-03-30  David S. Miller  <davem@davemloft.net>
7319         * po/de.po: Update from translation team.
7321 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
7323         [BZ #10357]
7324         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7325         imaginary part less than 1.0 and real part less than 0.5
7326         specially.
7327         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7328         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7329         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7330         (cacos_test): Add more tests.
7331         (casin_test): Likewise.
7332         (casinh_test): Likewise.
7333         * sysdeps/i386/fpu/libm-test-ulps: Update.
7334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7336 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7338         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7339         ONE with its value.
7341         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7342         (__pow_mp): Replace ONE and MONE with their values.
7343         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7344         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7345         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7346         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7347         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7348         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7350         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7352         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7353         (__pow_mp): Replace ZERO and MZERO with their values.
7354         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7355         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7356         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7357         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7358         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7359         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7360         (__sqr): Likewise.
7362         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7364         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7366 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7368         * include/stdlib.h [!SHARED] (__call_tls_dtors):
7369         Declare with __attribute__ ((weak)).
7370         * stdlib/exit.c (__libc_atexit) [!SHARED]:
7371         Call __call_tls_dtors only if it's not NULL.
7373 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7375         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7376         didn't do it already, then set _dl_phdr and _dl_phnum based on the
7377         magic __ehdr_start linker symbol if it's defined.
7378         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7379         them up here if it was already done.
7381         * elf/dl-support.c (_dl_phdr): Make pointer to const.
7382         (_dl_aux_init): Use const in cast when setting it.
7383         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7384         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7385         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7387         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7388         Declare them here.
7389         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7390         * csu/libc-tls.c: Nor here.
7391         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7393         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7394         (__libc_message): Never call vsyslog.
7396 2013-03-28  Alan Modra  <amodra@gmail.com>
7398         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7399         Define as empty.
7400         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7401         Likewise.
7403 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7405         [BZ #15214]
7406         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7407         underflow.
7408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7410 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7412         [BZ #15304]
7413         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7414         Don't add gid passed as argument.
7416         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7418 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
7420         [BZ #15307]
7421         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7422         imaginary part between 1.0 and 1.5 and real part less than 0.5
7423         specially.
7424         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7425         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7426         * math/libm-test.inc (cacos_test): Add more tests.
7427         (casin_test): Likewise.
7428         (casinh_test): Likewise.
7429         * sysdeps/i386/fpu/libm-test-ulps: Update.
7430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7432 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7434         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7435         constants.
7436         (norm): Likewise.
7437         (denorm): Likewise.
7438         (__dbl_mp): Likewise.
7439         (add_magnitudes): Likewise.
7440         (sub_magnitudes): Likewise.
7441         (__add): Likewise.
7442         (__sub): Likewise.
7443         (__mul): Likewise.
7444         (__sqr): Likewise.
7445         (__inv): Likewise.
7446         (__dvd): Likewise.
7448         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7449         commented code.
7450         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7451         (__dubcos): Likewise.
7452         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7453         (__ieee754_acos): Likewise.
7454         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7455         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7456         (__exp1): Likewise.
7457         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7458         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7459         (log1): Likewise.
7460         (my_log2): Likewise.
7461         (checkint): Likewise.
7462         * sysdeps/ieee754/dbl-64/e_remainder.c
7463         (__ieee754_remainder): Likewise.
7464         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7465         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7466         (bsloww): Likewise.
7467         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7469         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7470         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7471         MANTISSA_STORE_T to store computations on mantissa.  Use
7472         macros for rounding and division.
7473         (denorm): Likewise.
7474         (__dbl_mp): Likewise.
7475         (add_magnitudes): Likewise.
7476         (sub_magnitudes): Likewise.
7477         (__mul): Likewise.
7478         (__sqr): Likewise.
7479         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7480         powers of two in terms of TWOPOW macro.
7481         (mp_no): Make type of mantissa as MANTISSA_T.
7482         [!RADIXI]: Define RADIXI.
7483         [!TWO52]: Define TWO52.
7484         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7486 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7488         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7489         llroundl symbol when building for PPC32.
7491 2013-03-24  Mark H Weaver  <mhw@netris.org>
7493         * manual/arith.texi (Normalization Functions): Fix prototypes for
7494         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7496 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7498         [BZ #13889]
7499         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7500         high value to check if expl overflow.
7501         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7502         to check for underflow and overflow.
7503         * math/libm-test.inc: Add exp test.
7505 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
7507         [BZ #11120]
7508         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7509         with NOT_IN_libc.
7511 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7513         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7514         symbol.
7516 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7518         * math/gen-libm-test.pl (parse_args, special_functions): Properly
7519         wrap blocks consisting of several statements.
7521         * sysdeps/generic/math-tests.h: New file.
7522         * sysdeps/i386/fpu/math-tests.h: Likewise.
7523         * math/test-snan.c: Include it.
7524         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7526 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7528         [BZ #15285]
7529         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7530         (__ieee754_j0l): Do not improve calculations using cos of twice
7531         input for inputs above LDBL_MAX / 2.0L.
7532         (__ieee754_y0l): Likewise.
7533         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7534         (__ieee754_j1l): Do not improve calculations using cos of twice
7535         input for inputs above LDBL_MAX / 2.0L.
7536         (__ieee754_y1l): Likewise.
7537         * math/libm-test.inc (j0_test): Add another test.
7538         (j1_test): Likewise.
7539         (y0_test): Likewise.
7540         (y1_test): Likewise.
7541         * sysdeps/i386/fpu/libm-test-ulps: Update.
7543 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7545         * Rules ($(objpfx)bench-%.c): Include code from a C source
7546         file.
7548 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7550         [BZ #15287]
7551         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7552         imaginary part 1.0 and real part less than 0.5 specially.
7553         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7554         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7555         * math/libm-test.inc (cacos_test): Add more tests.
7556         (casin_test): Likewise.
7557         (casinh_test): Likewise.
7558         * sysdeps/i386/fpu/libm-test-ulps: Update.
7559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7561 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7563         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7564         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7566 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
7568         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7569         * config.make.in (config-cflags-sse4): Remove variable.
7570         (config-cflags-avx): Likewise.
7571         (config-cflags-sse2avx): Likewise.
7572         (config-cflags-novzeroupper): Likewise.
7573         (config-asflags-i686): Likewise.
7574         (have-mfma4): Likewise.
7575         (have-as-vis3): Likewise.
7576         (MIG): Likewise.
7577         * configure.in (MIG): Do not AC_SUBST.
7578         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7579         (libc_cv_cc_sse4): Do not AC_SUBST.
7580         (libc_cv_cc_avx): Likewise.
7581         (libc_cv_cc_sse2avx): Likewise.
7582         (libc_cv_cc_novzeroupper): Likewise.
7583         (libc_cv_cc_fma4): Likewise.
7584         (libc_cv_as_i686): Likewise.
7585         (libc_cv_sparc_as_vis3): Likewise.
7586         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7587         LIBC_CONFIG_VAR.
7588         (config-asflags-i686): Likewise.
7589         (config-cflags-avx): Likewise.
7590         (config-cflags-sse2avx): Likewise.
7591         (have-mfma4): Likewise.
7592         (config-cflags-novzeroupper): Likewise.
7593         * sysdeps/mach/configure.in (MIG): Likewise.
7594         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7595         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7596         LIBC_CONFIG_VAR.
7597         (config-cflags-avx): Likewise.
7598         (config-cflags-sse2avx): Likewise.
7599         (have-mfma4): Likewise.
7600         (config-cflags-novzeroupper): Likewise.
7601         * configure: Regenerated.
7602         * sysdeps/i386/configure: Likewise.
7603         * sysdeps/mach/configure: Likewise.
7604         * sysdeps/sparc/configure: Likewise.
7605         * sysdeps/x86_64/configure: Likewise.
7607 2013-03-20  Roland McGrath  <roland@hack.frob.com>
7609         [BZ #14812]
7610         * locale/programs/localedef.c (options): Put N_ translation marker
7611         on argument names, not just descriptions.
7613 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7615         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7617 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
7619         [BZ #14176]
7620         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7622 2013-03-19  Roland McGrath  <roland@hack.frob.com>
7624         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7625         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7626         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7627         [!BEFORE_ABORT] (before_abort): New function.
7628         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7629         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7630         (writev_for_fatal): New function.
7631         (WRITEV_FOR_FATAL): New macro; call that.
7632         (backtrace_and_maps): New function.
7633         (BEFORE_ABORT): New macro; call that.
7634         (struct str_list): Type removed.
7635         (__libc_message, __libc_fatal): Functions removed.
7636         Include <sysdeps/posix/libc_fatal.c> instead.
7638 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
7640         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7641         constants.
7642         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7643         double constants.
7645 2013-03-19  Andreas Schwab  <schwab@suse.de>
7647         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7648         * sysdeps/gnu/configure: Regenerate.
7650         * configure.in: Substitute libc_cv_rtlddir.
7651         * configure: Regenerate.
7652         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7653         * Makeconfig (rtlddir, inst_rtlddir): New variables.
7654         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7655         * elf/Makefile (install-others, CFLAGS-interp.c)
7656         (ldso_install, common-ldd-rewrite): Likewise.
7657         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7658         $(inst_slibdir)/$(rtld-installed-name).
7659         * scripts/rellns-sh: Add -p option.
7660         * Makerules (make-shlib-link): Use rellns-sh to get relative name
7661         for source.
7663 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7665         * manual/nptl.texi: Renamed to ...
7666         * manual/threads.texi: ... this.
7667         * manual/Makefile (chapters): Update.
7669 2013-03-18  Roland McGrath  <roland@hack.frob.com>
7671         [BZ #14812]
7672         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7673         on argument names, not just descriptions.
7674         * malloc/memusagestat.c (options): Likewise.
7675         * nss/getent.c (options): Likewise.
7677 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
7679         [BZ #14812]
7680         * iconv/iconv_prog.c (options): Put N_ translation marker
7681         on argument names, not just descriptions.
7682         * iconv/iconvconfig.c (options): Likewise.
7684 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
7686         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7687         implementation which is faster on all x86_64 architectures.
7688         Tested on AMD, Intel Nehalem, SNB, IVB.
7689         * sysdeps/x86_64/strnlen.S: Likewise.
7691         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7692         Remove all multiarch strlen and strnlen versions.
7693         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7694         Remove strlen and strnlen related parts.
7696         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7697         Inline strlen part.
7698         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7700         * sysdeps/x86_64/multiarch/strlen.S: Remove.
7701         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7702         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7703         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7704         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7705         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7707 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
7709         * manual/memory.texi (Malloc Tunable Parameters):
7710         Sort parameters alphabetically. Add comments for missing entries.
7712 2013-03-17  David S. Miller  <davem@davemloft.net>
7714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7716 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
7718         [BZ #15283]
7719         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7720         for arguments at most half maximum finite value.
7721         * math/libm-test.inc (j0_test): Add more tests.
7722         (j1_test): Likewise.
7723         (y0_test): Likewise.
7724         (y1_test): Likewise.
7725         * sysdeps/i386/fpu/libm-test-ulps: Update.
7726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7728         [BZ #14155]
7729         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7730         1 / x and functions P and Q for arguments above 0x1p256L.
7731         (__ieee754_y0l): Likewise.
7732         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7733         (__ieee754_y1l): Likewise.
7734         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7735         (j1_test): Likewise.
7736         (y0_test): Likewise.
7737         (y1_test): Likewise.
7739 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
7741         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7742         variable.
7744 2013-03-15  Roland McGrath  <roland@hack.frob.com>
7746         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7747         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7748         zero since it's initialized to EXEC_PAGESIZE.
7750         * sysdeps/unix/sysv/linux/ldsodefs.h
7751         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7752         * sysdeps/generic/ldsodefs.h: ... here.
7754 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
7756         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7758         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7759         math/test-snan.c.
7760         * math/test-snan.c: Renamed from
7761         sysdeps/powerpc/fpu/test-powerpc-snan.c.
7762         * math/Makefile (tests): Add test-snan.
7763         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7764         test-powerpc-snan.
7766         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7767         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
7768         functions.
7769         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
7770         __builtin_nan family of functions.
7771         * math/libm-test.inc (initialize): Initialize qnan_value with
7772         __builtin_nan family of functions.
7773         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7774         Remove variables.
7775         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7776         Remove functions.
7777         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
7778         storage class.  Initialize qNaN_var and sNaN_var with
7779         __builtin_nan and __builtin_nans families of functions,
7780         respectively.
7782         * math/libm-test.inc (acosh_test): Also test with qNaN input.
7783         (sqrt_test): Remove duplicate test with qNaN input.
7784         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7785         (round_test, signbit_test, significand_test): Note missing +/-Inf
7786         as well as qNaN tests.
7788         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7789         qNaN_var.  Fix a few strings, too.
7790         * math/libm-test.inc (nan_value): Rename to qnan_value.
7791         * math/gen-libm-test.pl (%beautify): Adjust to that.
7792         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7793         * math/test-misc.c (main): Likewise.
7794         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7795         to __qnan_bytes, and __qnan_union, respectively.
7796         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7797         Likewise.
7798         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7799         and lqnanval, respectively.
7800         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7801         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7802         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7803         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7805         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7806         * math/test-misc.c (main) [__x86_64__]: Enable test for long
7807         doubles.
7809         * math/test-misc.c (main): Fix copy'n'pastos.
7810         * misc/tst-efgcvt.c (special): Likewise.
7812         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7813         Remove declarations.
7815 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7817         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7818         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7819         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7820         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7822 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7824         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7825         macro to return vdso values correctly in IFUNC implementations.
7826         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7827         Optimization by using IFUNC.
7829 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7830             Richard Henderson  <rth@redhat.com>
7831             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7833         * Makefile.in (bench): New target.
7834         * NEWS: Mention the benchmark framework.
7835         * Rules (bench): Likewise.
7836         (binaries-bench): Generate binaries for functions to
7837         benchmark.
7838         * benchtests/Makefile: New makefile for benchmark tests.
7839         * benchtests/bench-skeleton.c: New skeleton file for benchmark
7840         programs.
7841         * benchtests/exp-inputs: New input file for EXP function.
7842         * benchtests/pow-inputs: New input file for POW function.
7843         * scripts/bench.pl: New script to generate source files for
7844         benchmark programs.
7846 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7848         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7849         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7850         computations on mantissa.  Use macros for rounding and
7851         division.
7852         (denorm): Likewise.
7853         (__dbl_mp): Likewise.
7854         (add_magnitudes): Likewise.
7855         (sub_magnitudes): Likewise.
7856         (__mul): Likewise.
7857         (__sqr): Likewise.
7858         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7859         powers of two in terms of TWOPOW macro.
7860         (mp_no): Make type of mantissa as MANTISSA_T.
7861         [!RADIXI]: Define RADIXI.
7862         [!TWO52]: Define TWO52.
7863         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7865         * manual/nptl.texi (cindex): Modify threads to pthreads.
7867 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
7869         * sysdeps/x86_64/preconfigure: Regenerated.
7871 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
7873         [BZ #14155]
7874         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7875         0x1p28 and above.
7876         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7877         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7878         0x1p28 and above.
7879         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7880         * math/libm-test.inc (j0_test): Do not allow one spurious
7881         underflow exception.
7882         (y1_test): Likewise.
7884 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7886         * manual/Makefile (chapters): Add nptl.
7887         * manual/debug.texi (Debugging Support): Add link to Threads
7888         chapter.
7889         * manual/nptl.texi: New file.
7891         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7893 2013-03-14  Petr Baudis  <pasky@ucw.cz>
7895         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7896         for non-NULL pointer before the memory validity test. Pointed
7897         out by Holger Brunck <holger.brunck@keymile.com>.
7899 2013-03-13  Andreas Schwab  <schwab@suse.de>
7901         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7902         instead of .os.
7904 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
7906         * timezone/zic.c: Update from tzcode 2013b.
7908 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
7910         * manual/install.texi (Configuring and compiling):
7911         Mention i686 and i586.
7912         * INSTALL: Regenerate.
7914 2013-03-12  Roland McGrath  <roland@hack.frob.com>
7916         * sysdeps/init_array/elf-init.c: New file.
7917         * csu/elf-init.c
7918         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7919         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7921         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7922         __gmon_start__ as global, but as static with a .preinit_array pointer.
7923         * sysdeps/init_array/gmon-start.c: New file.  Use that.
7924         * sysdeps/init_array/crti.S: New file, empty except for comments.
7925         * sysdeps/init_array/crtn.S: Likewise.
7927 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
7929         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7930         definining bcopy.
7931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7932         Remove Prefer_SSE_for_memop.
7933         * sysdeps/x86_64/multiarch/init-arch.h: Remove
7934         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7935         HAS_PREFER_SSE_FOR_MEMOP.
7936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7937         memset-x86-64.
7938         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7939         Remove bzero, memset ifunc support.
7940         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7941         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7942         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7943         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7945 2013-03-11  Andreas Schwab  <schwab@suse.de>
7947         [BZ #15234]
7948         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7949         by SHLIB_COMPAT.
7950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7951         (GLIBC_2.16): Remove pthread_atfork.
7953 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7955         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7956         (ptestcases.h): Likewise.
7958 2013-03-08  Roland McGrath  <roland@hack.frob.com>
7960         * Makeconfig ($(common-objpfx)config.status): Depend on
7961         sysdeps/*/preconfigure{,.in} too.
7963 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
7965         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7966         (__free_hook): Use void * instead of __malloc_ptr_t.
7967         (__malloc_hook): Likewise.
7968         (__realloc_hook): Likewise.
7969         (__memalign_hook): Likewise.
7970         (__after_morecore_hook): Likewise.
7971         * malloc/arena.c (save_malloc_hook): Likewise.
7972         (save_free_hook): Likewise.
7973         * malloc/hooks.c (malloc_hook_ini): Likewise.
7974         (realloc_hook_ini): Likewise.
7975         (memalign_hook_ini): Likewise.
7976         * malloc/malloc.c (malloc_hook_ini): Likewise.
7977         (realloc_hook_ini): Likewise.
7978         (memalign_hook_ini): Likewise.
7979         (__free_hook): Likewise.
7980         (__malloc_hook): Likewise.
7981         (__realloc_hook): Likewise.
7982         (__memalign_hook): Likewise.
7983         (__libc_malloc): Likewise.
7984         (__libc_free): Likewise.
7985         (__libc_realloc): Likewise.
7986         (__libc_memalign): Likewise.
7987         (__libc_valloc): Likewise.
7988         (__libc_pvalloc): Likewise.
7989         (__libc_calloc): Likewise.
7990         (__posix_memalign): Likewise.
7991         * malloc/morecore.c (__sbrk): Likewise.
7992         (__default_morecore): Likewise.
7994         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7996         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7997         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7998         __malloc_ptrdiff_t.
8000         * malloc/malloc.h (__malloc_size_t): Remove macro.
8001         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8002         __malloc_size_t.
8003         (old_memalign_hook): Likewise.
8004         (old_realloc_hook): Likewise.
8005         (struct hdr): Likewise.
8006         (flood): Likewise.
8007         (mallochook): Likewise.
8008         (memalignhook): Likewise.
8009         (reallochook): Likewise.
8010         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8011         (tr_old_realloc_hook): Likewise.
8012         (tr_old_memalign_hook): Likewise.
8013         (tr_mallochook): Likewise.
8014         (tr_reallochook): Likewise.
8015         (tr_memalignhook): Likewise.
8017 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8019         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8020         default_ldbl_pack and using as default implementation.
8021         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8022         implementation.
8023         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8024         redundant definition.
8025         (ldbl_insert_mantissa): Likewise.
8026         (ldbl_canonicalize): Likewise.
8027         (ldbl_nearbyint): Likewise.
8028         (ldbl_pack): Rename to ldbl_pack_ppc.
8029         (ldbl_unpack): Rename to ldbl_unpack_ppc.
8030         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8031         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8033 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8035         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8036         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8037         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8038         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8039         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8040         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8041         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8042         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8044 2013-03-07  Andreas Jaeger  <aj@suse.de>
8046         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8047         bits/mman-linux.h.
8049 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8051         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8052         Include mpa.h and declare __MPEXP.
8053         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8054         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8055         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8056         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8057         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8058         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8059         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8061         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8062         (__slowpow): Use long double EXPL and LOGL functions to
8063         compute POW.
8064         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8065         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8066         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8067         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8068         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8069         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8071         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8072         intermediate variable to calculate exponent.
8073         (__sqr): Likewise.
8074         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8075         Likewise.
8076         (__sqr): Likewise.
8078         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8079         [!NO__SQR]: Define __sqr.
8080         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8081         and NO__SQR.  Remove all code except __mul and __sqr.  Include
8082         sysdeps/ieee754/dbl-64/mpa.c.
8083         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8085         [BZ #12723]
8086         * posix/Makefile (tests): Add tst-pathconf.
8087         * posix/tst-pathconf.c: New test case.
8088         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8089         _PC_PIPE_BUF.
8090         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8092 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
8094         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8096 2013-03-06  Andreas Jaeger  <aj@suse.de>
8098         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8099         definition via __MAP_ANONYMOUS.
8101         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8102         it's not part of Linux headers.
8104         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8105         (MAP_HUGE_MASK): Define.
8107         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8108         Define.
8109         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8110         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8111         Define.
8112         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8113         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8114         Define.
8115         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8116         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8117         Define.
8118         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8120         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8121         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8122         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8123         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8124         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8125         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8127         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8128         Handle f2fs.
8130         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8131         Handle f2fs and efivarfs.
8133         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8134         f2fs.
8136         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8137         (EFIVARFS_MAGIC): Add.
8138         (F2FS_LINK_MAX): Add.
8140 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8142         * stdio-common/vfprintf.c: Replace __builtin_expect with
8143         __glibc_unlikely.
8145 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
8147         [BZ #13550]
8148         * sysdeps/generic/bp-sym.h: Remove file.
8149         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8150         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8151         <bp-sym.h> and <bp-asm.h>.
8152         (__longjmp): Don't use BP_SYM.
8153         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8154         and <bp-asm.h>.
8155         (memcpy): Don't use BP_SYM.
8156         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8157         <bp-sym.h> and <bp-asm.h>.
8158         (memcpy): Don't use BP_SYM.
8159         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8160         <bp-asm.h>.
8161         (memcpy): Don't use BP_SYM.
8162         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8163         <bp-asm.h>.
8164         (memset): Don't use BP_SYM.
8165         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8166         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8167         (__bzero): Don't use BP_SYM.
8168         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8169         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8170         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8171         <bp-sym.h> and <bp-asm.h>.
8172         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8173         pointers.
8174         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8175         <bp-sym.h> and <bp-asm.h>.
8176         (memcpy): Don't use BP_SYM.
8177         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8178         <bp-sym.h> and <bp-asm.h>.
8179         (memset): Don't use BP_SYM.
8180         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8181         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8182         (__bzero): Don't use BP_SYM.
8183         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8184         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8185         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8186         <bp-sym.h> and <bp-asm.h>.
8187         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8188         pointers.
8189         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8190         <bp-sym.h> and <bp-asm.h>.
8191         (memcpy): Don't use BP_SYM.
8192         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8193         <bp-sym.h> and <bp-asm.h>.
8194         (memset): Don't use BP_SYM.
8195         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8196         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8197         (__bzero): Don't use BP_SYM.
8198         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8199         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8200         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8201         <bp-sym.h> and <bp-asm.h>.
8202         (__memchr): Don't use BP_SYM.
8203         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8204         <bp-sym.h> and <bp-asm.h>.
8205         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8206         pointers.
8207         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8208         <bp-sym.h> and <bp-asm.h>.
8209         (memcpy): Don't use BP_SYM.
8210         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8211         <bp-sym.h> and <bp-asm.h>.
8212         (__mempcpy): Don't use BP_SYM.
8213         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8214         <bp-sym.h> and <bp-asm.h>.
8215         (__memrchr): Don't use BP_SYM.
8216         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8217         <bp-sym.h> and <bp-asm.h>.
8218         (memset): Don't use BP_SYM.
8219         (__bzero): Likewise.
8220         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8221         <bp-sym.h> and <bp-asm.h>.
8222         (__rawmemchr): Don't use BP_SYM.
8223         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8224         <bp-sym.h> and <bp-asm.h>.
8225         (__STRCMP): Don't use BP_SYM.
8226         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8227         <bp-sym.h> and <bp-asm.h>.
8228         (strchr): Don't use BP_SYM.
8229         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8230         <bp-sym.h> and <bp-asm.h>.
8231         (__strchrnul): Don't use BP_SYM.
8232         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8233         <bp-sym.h> and <bp-asm.h>.
8234         (strlen): Don't use BP_SYM.
8235         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8236         <bp-sym.h> and <bp-asm.h>.
8237         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8238         pointers.
8239         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8240         <bp-sym.h> and <bp-asm.h>.
8241         (__strnlen): Don't use BP_SYM.
8242         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8243         <bp-sym.h> and <bp-asm.h>.
8244         (__GI__setjmp): Don't use BP_SYM.
8245         (_setjmp): Likewise.
8246         (__sigsetjmp): Likewise.
8247         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8248         (L(start_addresses)): Don't use BP_SYM.
8249         (_start): Likewise.
8250         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8251         <bp-asm.h>.
8252         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8253         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8254         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8255         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8256         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8257         <bp-asm.h>.
8258         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8259         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
8260         about bounded pointers.
8261         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8262         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8263         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8264         <bp-asm.h>.
8265         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8266         about bounded pointers.  Remove GKM FIXME comments.
8267         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8268         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8269         <bp-asm.h>.
8270         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8271         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
8272         Remove GKM FIXME comments.
8273         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8274         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8275         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8276         <bp-asm.h>.
8277         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8278         about bounded pointers.  Remove GKM FIXME comment.
8279         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8280         and <bp-asm.h>.
8281         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8282         pointers.
8283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8284         <bp-sym.h> and <bp-asm.h>.
8285         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8287         <bp-sym.h> and <bp-asm.h>.
8288         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8289         comment.
8291 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8293         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8294         call free(NULL).
8296 2013-03-05  David S. Miller  <davem@davemloft.net>
8298         * po/es.po: Update from translation team.
8300 2013-03-05  Andreas Jaeger  <aj@suse.de>
8302         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8303         <bits/mman-linux.h>.
8304         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8305         is fine.
8306         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8307         <bits/mman-linux.h> to end of file.
8308         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8309         is fine.
8310         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8311         <bits/mman-linux.h> to end of file.
8312         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8313         is fine.
8314         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8315         <bits/mman-linux.h> to end of file.
8317         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8318         (MCL_CURRENT, MCL_FUTURE): Define here.
8320 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8322         [BZ #15232]
8323         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8324         attribute_hidden.
8325         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8327 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8329         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8330         fourth parameter needed for rt_sigprocmask syscall.
8331         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8332         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8333         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8334         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8335         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8336         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8338 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
8340         [BZ #13550]
8341         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8342         comment about bounded pointers.
8343         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8344         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8346 2013-03-04  Andreas Jaeger  <aj@suse.de>
8348         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8349         common definitions.
8351         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8352         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8353         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8354         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8355         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8356         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8358 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8360         [BZ #15055]
8361         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8362         __ieee754_sqrl instead of __sqrl.
8364 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
8366         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8367         * sysdeps/powerpc/fpu_control.h: ... here.
8368         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8369         * sysdeps/powerpc/bits/fenvinline.h: ... here.
8370         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8371         * sysdeps/powerpc/bits/mathinline.h: ... here.
8373 2013-03-01  Roland McGrath  <roland@hack.frob.com>
8375         * elf/dl-hwcaps.c (_dl_important_hwcaps):
8376         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8377         to just [NEED_DL_SYSINFO_DSO].
8378         * elf/dl-support.c: Likewise.
8379         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8380         * elf/rtld.c (dl_main): Likewise.
8381         * elf/setup-vdso.h (setup_vdso): Likewise.
8382         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8383         * sysdeps/unix/sysv/linux/dl-sysdep.c
8384         (_dl_discover_osversion): Likewise.
8386 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
8388         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8389         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8391 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8393         * NEWS: Mention libm performance improvements and non-x86 PI
8394         futex support.
8396         * csu/libc-start.c (__pthread_initialize_minimal): Change
8397         function arguments.
8398         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8400 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
8402         [BZ #13550]
8403         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8404         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8405         <bp-sym.h> and <bp-asm.h>.
8406         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8407         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8408         and <bp-asm.h>.
8409         (memcpy): Don't use BP_SYM.
8410         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8411         <bp-asm.h>.
8412         (__mpn_add_n): Don't use BP_SYM.
8413         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8414         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8415         and <bp-asm.h>.
8416         (__mpn_addmul_1): Don't use BP_SYM.
8417         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8418         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8419         <bp-sym.h>.
8420         (_setjmp): Don't use BP_SYM.
8421         (__novmx_setjmp): Likewise.
8422         (__GI__setjmp): Likewise.
8423         (__vmx_setjmp): Likewise.
8424         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8425         <bp-sym.h>.
8426         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8427         (__bzero): Don't use BP_SYM.
8428         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8429         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8430         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8431         <bp-sym.h> and <bp-asm.h>.
8432         (memcpy): Don't use BP_SYM.
8433         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8434         <bp-sym.h> and <bp-asm.h>.
8435         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8436         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8437         <bp-sym.h> and <bp-asm.h>.
8438         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8439         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8440         <bp-asm.h>.
8441         (__mpn_lshift): Don't use BP_SYM.
8442         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8443         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8444         <bp-asm.h>.
8445         (memset): Don't use BP_SYM.
8446         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8447         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8448         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8449         <bp-asm.h>.
8450         (__mpn_mul_1): Don't use BP_SYM.
8451         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8452         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8453         <bp-sym.h> and <bp-asm.h>.
8454         (memcmp): Don't use BP_SYM.
8455         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8456         <bp-sym.h> and <bp-asm.h>.
8457         (memcpy): Don't use BP_SYM.
8458         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8459         <bp-sym.h> and <bp-asm.h>.
8460         (memset): Don't use BP_SYM.
8461         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8462         <bp-sym.h> and <bp-asm.h>.
8463         (strncmp): Don't use BP_SYM.
8464         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8465         <bp-sym.h> and <bp-asm.h>.
8466         (memcpy): Don't use BP_SYM.
8467         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8468         <bp-sym.h> and <bp-asm.h>.
8469         (memset): Don't use BP_SYM.
8470         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8471         <bp-sym.h> and <bp-asm.h>.
8472         (__memchr): Don't use BP_SYM.
8473         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8474         <bp-sym.h> and <bp-asm.h>.
8475         (memcmp): Don't use BP_SYM.
8476         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8477         <bp-sym.h> and <bp-asm.h>.
8478         (memcpy): Don't use BP_SYM.
8479         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8480         <bp-sym.h> and <bp-asm.h>.
8481         (__mempcpy): Don't use BP_SYM.
8482         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8483         <bp-sym.h> and <bp-asm.h>.
8484         (__memrchr): Don't use BP_SYM.
8485         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8486         <bp-sym.h> and <bp-asm.h>.
8487         (memset): Don't use BP_SYM.
8488         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8489         <bp-sym.h> and <bp-asm.h>.
8490         (__rawmemchr): Don't use BP_SYM.
8491         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8492         <bp-sym.h> and <bp-asm.h>.
8493         (__STRCMP): Don't use BP_SYM.
8494         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8495         <bp-sym.h> and <bp-asm.h>.
8496         (strchr): Don't use BP_SYM.
8497         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8498         <bp-sym.h> and <bp-asm.h>.
8499         (__strchrnul): Don't use BP_SYM.
8500         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8501         <bp-sym.h> and <bp-asm.h>.
8502         (strlen): Don't use BP_SYM.
8503         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8504         <bp-sym.h> and <bp-asm.h>.
8505         (strncmp): Don't use BP_SYM.
8506         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8507         <bp-sym.h> and <bp-asm.h>.
8508         (__strnlen): Don't use BP_SYM.
8509         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8510         <bp-asm.h>.
8511         (__mpn_rshift): Don't use BP_SYM.
8512         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8513         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8514         <bp-sym.h> and <bp-asm.h>.
8515         (__sigsetjmp): Don't use BP_SYM.
8516         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8517         (L(start_addresses)): Don't use BP_SYM.
8518         (_start): Likewise.
8519         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8520         <bp-asm.h>.
8521         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8522         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8523         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8524         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8525         <bp-asm.h>.
8526         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8527         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8528         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8529         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8530         <bp-asm.h>.
8531         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8532         comments.
8533         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8534         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8535         <bp-asm.h>.
8536         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
8537         FIXME comments.
8538         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8539         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8540         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8541         <bp-asm.h>.
8542         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8543         comment.
8544         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8545         and <bp-asm.h>.
8546         (strncmp): Don't use BP_SYM,
8547         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8548         <bp-asm.h>.
8549         (__mpn_sub_n): Don't use BP_SYM.
8550         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8551         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8552         and <bp-asm.h>.
8553         (__mpn_submul_1): Don't use BP_SYM.
8554         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8556         <bp-sym.h> and <bp-asm.h>.
8557         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8559         <bp-sym.h> and <bp-asm.h>.
8560         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8561         comment.
8563 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8565         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8566         Use ZK to minimize writes to Z.
8567         (sub_magnitudes): Simplify code a bit.
8568         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8569         Use ZK to minimize writes to Z.
8570         (sub_magnitudes): Simplify code a bit.
8572 2013-02-27  Roland McGrath  <roland@hack.frob.com>
8574         * csu/gmon-start.c: Add special exception to license text.
8576 2013-02-27  Richard Henderson  <rth@redhat.com>
8578         * scripts/config.guess: Update from config.git.
8579         * scripts/config.sub: Likewise.
8581 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8583         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8585         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8587         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8589         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8591         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8593 2013-02-26  Roland McGrath  <roland@hack.frob.com>
8595         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8596         [$(build-shared = yes].
8598 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8600         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8601         (__mul): Reduce iterations for calculating mantissa.
8603         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8604         MPTWO.
8605         (__mpranred): Likewise.
8607         [BZ #15160]
8608         * malloc/memusagestat.c (main): Draw graphs for heap and stack
8609         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8611 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
8613         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8614         Define __attribute__.
8616 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8618         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8619         unused.
8620         * posix/regex_internal.h (__attribute): Remove.
8621         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8622         (re_string_context_at): Likewise.
8623         (bitset_not): Use __attribute__ and mark function as possibly
8624         unused.
8625         (bitset_merge): Likewise.
8626         (bitset_mask): Likewise.
8627         (re_string_char_size_at): Likewise.
8628         (re_string_wchar_at): Likewise.
8629         (re_string_elem_size_at): Likewise.
8631 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8633         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8634         code.
8635         (cc32): Likewise.
8637         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8638         (__acr): Likewise.
8639         (__cpy): Likewise.
8640         (norm): Likewise.
8641         (denorm): Likewise.
8642         (__dbl_mp): Likewise.
8643         (add_magnitudes): Likewise.
8644         (sub_magnitudes): Likewise.
8645         (__mul): Likewise.
8646         (__inv): Likewise.
8648         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8649         style.
8651         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8652         style.
8654         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8655         code.
8657         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8658         up changes with default code.
8659         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8660         Likewise.
8662 2013-02-24  Allan McRae  <allan@archlinux.org>
8664         * manual/socket.texi (The Internet Namespace): Order menu items
8665         to match that in the file.
8667         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8668         node listing of the info page menu.
8670 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
8672         [BZ #13550]
8673         * sysdeps/i386/bp-asm.h: Remove file.
8674         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8675         (PARMS): Do not use macros from bp-asm.h.
8676         (S1): Likewise.
8677         (S2): Likewise.
8678         (SIZE): Likewise.
8679         (__mpn_add_n): Do not use BP_SYM
8680         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8681         "bp-asm.h".
8682         (PARMS): Do not use macros from bp-asm.h.
8683         (S1): Likewise.
8684         (SIZE): Likewise.
8685         (__mpn_addmul_1): Do not use BP_SYM
8686         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8687         "bp-asm.h".
8688         (PARMS): Do not use macros from bp-asm.h.
8689         (SIGMSK): Likewise.
8690         (_setjmp): Likewise.  Do not use BP_SYM.
8691         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8692         "bp-asm.h".
8693         (PARMS): Do not use macros from bp-asm.h.
8694         (SIGMSK): Likewise.
8695         (setjmp): Likewise.  Do not use BP_SYM.
8696         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8697         "bp-asm.h".
8698         (PARMS): Do not use macros from bp-asm.h.
8699         (__frexp): Do not use BP_SYM.
8700         (frexp): Likewise.
8701         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8702         "bp-asm.h".
8703         (PARMS): Do not use macros from bp-asm.h.
8704         (__frexpf): Do not use BP_SYM.
8705         (frexpf): Likewise.
8706         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8707         "bp-asm.h".
8708         (PARMS): Do not use macros from bp-asm.h.
8709         (__frexpl): Do not use BP_SYM.
8710         (frexpl): Likewise.
8711         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8712         "bp-asm.h".
8713         (PARMS): Do not use macros from bp-asm.h.
8714         (__remquo): Do not use BP_SYM.
8715         (remquo): Likewise.
8716         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8717         "bp-asm.h".
8718         (PARMS): Do not use macros from bp-asm.h.
8719         (__remquof): Do not use BP_SYM.
8720         (remquof): Likewise.
8721         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8722         "bp-asm.h".
8723         (PARMS): Do not use macros from bp-asm.h.
8724         (__remquol): Do not use BP_SYM.
8725         (remquol): Likewise.
8726         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8727         "bp-asm.h".
8728         (PARMS): Do not use macros from bp-asm.h.
8729         (DEST): Likewise.
8730         (SRC): Likewise.
8731         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
8732         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8733         "bp-asm.h".
8734         (PARMS): Do not use macros from bp-asm.h.
8735         (strlen): Do not use BP_SYM.
8736         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8737         "bp-asm.h".
8738         (PARMS): Do not use macros from bp-asm.h.
8739         (S1): Likewise.
8740         (S2): Likewise.
8741         (SIZE): Likewise.
8742         (__mpn_add_n): Do not use BP_SYM.
8743         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8744         "bp-asm.h".
8745         (PARMS): Do not use macros from bp-asm.h.
8746         (S1): Likewise.
8747         (SIZE): Likewise.
8748         (__mpn_addmul_1): Do not use BP_SYM.
8749         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8750         weak_alias.
8751         (bzero): Likewise.
8752         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8753         "bp-asm.h".
8754         (PARMS): Do not use macros from bp-asm.h.
8755         (S): Likewise.
8756         (SIZE): Likewise.
8757         (__mpn_lshift): Do not use BP_SYM.
8758         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8759         "bp-asm.h".
8760         (PARMS): Do not use macros from bp-asm.h.
8761         (DEST): Likewise.
8762         (SRC): Likewise.
8763         (LEN): Likewise.
8764         (memcpy): Likewise.  Do not use BP_SYM.
8765         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8766         libc_hidden_def and weak_alias.
8767         (mempcpy): Do not use BP_SYM in weak_alias.
8768         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8769         "bp-asm.h".
8770         (PARMS): Do not use macros from bp-asm.h.
8771         (DEST): Likewise.
8772         (LEN): Likewise.
8773         [!BZERO_P] (CHR): Likewise.
8774         (memset): Likewise.  Do not use BP_SYM.
8775         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8776         "bp-asm.h".
8777         (PARMS): Do not use macros from bp-asm.h.
8778         (S1): Likewise.
8779         (SIZE): Likewise.
8780         (__mpn_mul_1): Do not use BP_SYM.
8781         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8782         "bp-asm.h".
8783         (PARMS): Do not use macros from bp-asm.h.
8784         (S): Likewise.
8785         (SIZE): Likewise.
8786         (__mpn_rshift): Do not use BP_SYM.
8787         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8788         "bp-asm.h".
8789         (PARMS): Do not use macros from bp-asm.h.
8790         (STR): Likewise.
8791         (CHR): Likewise.
8792         (strchr): Likewise.  Do not use BP_SYM.
8793         (index): Do not use BP_SYM in weak_alias.
8794         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8795         "bp-asm.h".
8796         (PARMS): Do not use macros from bp-asm.h.
8797         (DEST): Likewise.
8798         (SRC): Likewise.
8799         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
8800         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8801         "bp-asm.h".
8802         (PARMS): Do not use macros from bp-asm.h.
8803         (strlen): Do not use BP_SYM.
8804         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8805         "bp-asm.h".
8806         (PARMS): Do not use macros from bp-asm.h.
8807         (S1): Likewise.
8808         (S2): Likewise.
8809         (SIZE): Likewise.
8810         (__mpn_sub_n): Do not use BP_SYM.
8811         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8812         "bp-asm.h".
8813         (PARMS): Do not use macros from bp-asm.h.
8814         (S1): Likewise.
8815         (SIZE): Likewise.
8816         (__mpn_submul_1): Do not use BP_SYM.
8817         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8818         "bp-asm.h".
8819         (PARMS): Do not use macros from bp-asm.h.
8820         (S1): Likewise.
8821         (S2): Likewise.
8822         (SIZE): Likewise.
8823         (__mpn_add_n): Do not use BP_SYM.
8824         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8825         weak_alias.
8826         (bzero): Likewise.
8827         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8828         "bp-asm.h".
8829         (PARMS): Do not use macros from bp-asm.h.
8830         (BLK2): Likewise.
8831         (LEN): Likewise.
8832         (memcmp): Do not use BP_SYM.
8833         (bcmp): Do not use BP_SYM in weak_alias.
8834         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8835         "bp-asm.h".
8836         (PARMS): Do not use macros from bp-asm.h.
8837         (DEST): Likewise.
8838         (SRC): Likewise.
8839         (LEN): Likewise.
8840         (memcpy): Likewise.  Do not use BP_SYM.
8841         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8842         "bp-asm.h".
8843         (PARMS): Do not use macros from bp-asm.h.
8844         (DEST): Likewise.
8845         (SRC): Likewise.
8846         (LEN): Likewise.
8847         (memmove): Likewise.  Do not use BP_SYM.
8848         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8849         "bp-asm.h".
8850         (PARMS): Do not use macros from bp-asm.h.
8851         (DEST): Likewise.
8852         (SRC): Likewise.
8853         (LEN): Likewise.
8854         (__mempcpy): Likewise.  Do not use BP_SYM.
8855         (mempcpy): Do not use BP_SYM in weak_alias.
8856         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8857         "bp-asm.h".
8858         (PARMS): Do not use macros from bp-asm.h.
8859         (DEST): Likewise.
8860         (LEN): Likewise.
8861         [!BZERO_P] (CHR): Likewise.
8862         (memset): Likewise.  Do not use BP_SYM.
8863         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8864         "bp-asm.h".
8865         (PARMS): Do not use macros from bp-asm.h.
8866         (STR2): Likewise.
8867         (strcmp): Do not use BP_SYM.
8868         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8869         "bp-asm.h".
8870         (PARMS): Do not use macros from bp-asm.h.
8871         (STR): Likewise.
8872         (DELIM): Likewise.
8873         [USE_AS_STRTOK_R] (SAVE): Likewise.
8874         (FUNCTION): Likewise.  Do not use BP_SYM.
8875         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8876         aliases.
8877         (strtok_r): Likewise.
8878         (__GI___strtok_r): Likewise.
8879         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8880         (PARMS): Do not use macros from bp-asm.h.
8881         (S): Likewise.
8882         (SIZE): Likewise.
8883         (__mpn_lshift): Do not use BP_SYM.
8884         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8885         (PARMS): Do not use macros from bp-asm.h.
8886         (STR): Likewise.
8887         (CHR): Likewise.
8888         (__memchr): Do not use BP_SYM.
8889         (memchr): Do not use BP_SYM in weak_alias.
8890         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8891         (PARMS): Do not use macros from bp-asm.h.
8892         (BLK2): Likewise.
8893         (LEN): Likewise.
8894         (memcmp): Do not use BP_SYM.
8895         (bcmp): Do not use BP_SYM in weak_alias.
8896         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8897         (PARMS): Do not use macros from bp-asm.h.
8898         (S1): Likewise.
8899         (SIZE): Likewise.
8900         (__mpn_mul_1): Do not use BP_SYM.
8901         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8902         "bp-asm.h".
8903         (PARMS): Do not use macros from bp-asm.h.
8904         (STR): Likewise.
8905         (CHR): Likewise.
8906         (__rawmemchr): Do not use BP_SYM.
8907         (rawmemchr): Do not use BP_SYM in weak_alias.
8908         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8909         (PARMS): Do not use macros from bp-asm.h.
8910         (S): Likewise.
8911         (SIZE): Likewise.
8912         (__mpn_rshift): Do not use BP_SYM.
8913         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8914         (PARMS): Do not use macros from bp-asm.h.
8915         (SIGMSK): Likewise.
8916         (__sigsetjmp): Likewise.  Do not use BP_SYM.
8917         * sysdeps/i386/start.S: Do not include "bp-sym.h".
8918         (_start): Do not use BP_SYM.
8919         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8920         (PARMS): Do not use macros from bp-asm.h.
8921         (DEST): Likewise.
8922         (SRC): Likewise.
8923         (__stpcpy): Likewise.  Do not use BP_SYM.
8924         (stpcpy): Do not use BP_SYM in weak_alias.
8925         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8926         "bp-asm.h".
8927         (PARMS): Do not use macros from bp-asm.h.
8928         (DEST): Likewise.
8929         (SRC): Likewise.
8930         (LEN): Likewise.
8931         (__stpncpy): Likewise.  Do not use BP_SYM.
8932         (stpncpy): Do not use BP_SYM in weak_alias.
8933         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8934         (PARMS): Do not use macros from bp-asm.h.
8935         (STR): Likewise.
8936         (CHR): Likewise.
8937         (strchr): Likewise.  Do not use BP_SYM.
8938         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8939         "bp-asm.h".
8940         (PARMS): Do not use macros from bp-asm.h.
8941         (STR): Likewise.
8942         (CHR): Likewise.
8943         (__strchrnul): Likewise.  Do not use BP_SYM.
8944         (strchrnul): Do not use BP_SYM in weak_alias.
8945         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8946         "bp-asm.h".
8947         (PARMS): Do not use macros from bp-asm.h.
8948         (STOP): Likewise.
8949         (strcspn): Do not use BP_SYM.
8950         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8951         "bp-asm.h".
8952         (PARMS): Do not use macros from bp-asm.h.
8953         (STR): Likewise.
8954         (STOP): Likewise.
8955         (strpbrk): Likewise.  Do not use BP_SYM.
8956         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8957         "bp-asm.h".
8958         (PARMS): Do not use macros from bp-asm.h.
8959         (STR): Likewise.
8960         (CHR): Likewise.
8961         (strrchr): Likewise.  Do not use BP_SYM.
8962         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8963         (PARMS): Do not use macros from bp-asm.h.
8964         (SKIP): Likewise.
8965         (strspn): Do not use BP_SYM.
8966         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8967         (PARMS): Do not use macros from bp-asm.h.
8968         (STR): Likewise.
8969         (DELIM): Likewise.
8970         (SAVE): Likewise.
8971         (FUNCTION): Likewise.  Do not use BP_SYM.
8972         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8973         aliases.
8974         (strtok_r): Likewise.
8975         (__GI___strtok_r): Likewise.
8976         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8977         (PARMS): Do not use macros from bp-asm.h.
8978         (S1): Likewise.
8979         (S2): Likewise.
8980         (SIZE): Likewise.
8981         (__mpn_sub_n): Do not use BP_SYM.
8982         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8983         "bp-asm.h".
8984         (PARMS): Do not use macros from bp-asm.h.
8985         (S1): Likewise.
8986         (SIZE): Likewise.
8987         (__mpn_submul_1): Do not use BP_SYM.
8988         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8989         <bp-sym.h>.
8990         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8991         and <bp-asm.h>.
8992         (PARMS): Do not use macros from bp-asm.h.
8993         (FLAGS): Likewise.
8994         (PTID): Likewise.
8995         (TLS): Likewise.
8996         (CTID): Likewise.
8997         (__clone): Do not use BP_SYM.
8998         (clone): Do not use BP_SYM in weak_alias.
8999         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9000         and <bp-asm.h>.
9001         (PARMS): Do not use macros from bp-asm.h.
9002         (LEN): Likewise.
9003         (__mmap64): Do not use BP_SYM.
9004         (mmap64): Do not use BP_SYM in weak_alias.
9005         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9006         <bp-sym.h> and <bp-asm.h>.
9007         (PARMS): Do not use macros from bp-asm.h.
9008         (__posix_fadvise64_l64): Do not use BP_SYM.
9009         * sysdeps/unix/sysv/linux/i386/semtimedop.S
9010         (PARMS): Do not use macros from bp-asm.h.
9011         (NSOPS): Likewise.
9012         (semtimedop): Do not use BP_SYM.
9013         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9014         and <bp-asm.h>.
9016 2013-02-21  Allan McRae  <allan@archlinux.org>
9018         * manual/message.texi (Charset conversion in gettext):
9019         Move @end statement to beginning of line.
9021 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9023         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9024         static.
9025         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9026         Likewise.
9028         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9029         (denorm): Likewise.
9030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9031         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9033 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9035         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9036         tail-call to the resolved function if pltexit isn't needed.
9038 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9041         or Y being zero as being unlikely.
9042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9043         Likewise.
9045 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
9047         * manual/nss.texi (System Databases and Name Service Switch):
9048         Remove frobnicate @pxref.
9050 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9052         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9053         __attribute__ ((unused)) to __attribute__ ((__unused__)).
9055 2013-02-20  Petr Machata  <pmachata@redhat.com>
9057         * elf/elf.h (R_ARM_TARGET1): New macro.
9058         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9059         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9060         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9061         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9062         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9063         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9064         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9065         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9066         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9067         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9068         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9069         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9070         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9071         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9072         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9073         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9074         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9075         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9076         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9077         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9078         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9079         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9080         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9081         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9082         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9083         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9084         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9085         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9086         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9087         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9088         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9089         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9090         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9091         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9092         (R_ARM_THM_GOT_BREL12): Likewise.
9093         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9094         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9095         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9096         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9097         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9098         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9099         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9100         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9101         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9103 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9105         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9106         __attribute_used__ to __attribute__ ((unused)).
9108 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9110         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9111         powerpc mpa.c.
9112         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9113         comment formatting.
9114         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9116 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
9118         [BZ #13550]
9119         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9120         Remove macro.
9121         (ENTER): Remove both macro definitions.
9122         (LEAVE): Likewise.
9123         (CHECK_BOUNDS_LOW): Likewise.
9124         (CHECK_BOUNDS_HIGH): Likewise.
9125         (CHECK_BOUNDS_BOTH): Likewise.
9126         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9127         (RETURN_BOUNDED_POINTER): Likewise.
9128         (RETURN_NULL_BOUNDED_POINTER): Likewise.
9129         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9130         (POP_ERRNO_LOCATION_RETURN): Likewise.
9131         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9132         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9133         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9134         macros.
9135         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9136         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9137         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9138         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9139         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9140         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9141         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9142         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9143         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9144         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9145         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9146         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9147         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9148         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9149         removed macros.
9150         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9151         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9152         macros.
9153         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9154         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9155         * sysdeps/i386/i586/memset.S (memset): Likewise.
9156         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9157         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9158         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9159         macros.
9160         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9161         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9162         Change uses of L(2) to L(out).
9163         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9164         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9165         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9166         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9167         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9168         removed macros.
9169         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9170         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9171         macros.
9172         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9173         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9174         (RETURN): Do not use macro LEAVE.
9175         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9176         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9177         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9178         * sysdeps/i386/i686/memset.S (memset): Likewise.
9179         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9180         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9181         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9182         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9183         Likewise.
9184         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9185         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
9186         L(1_2) and L(1_3) into L(1).
9187         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9188         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9189         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9190         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9191         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9192         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9193         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9194         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9195         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9196         macros.
9197         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9198         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9199         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9200         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9201         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9202         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9203         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9204         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9205         * sysdeps/i386/strcspn.S (strcspn): Likewise.
9206         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9207         * sysdeps/i386/strrchr.S (strrchr): Likewise.
9208         * sysdeps/i386/strspn.S (strspn): Likewise.
9209         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9210         conditional code.
9211         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9212         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9213         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9214         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
9215         L(1_3) into L(1_1).
9216         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9217         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9218         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9219         macros.
9220         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9222 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
9224         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9225         macro.
9227 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9229         * math/atest-exp.c (exp_mpn): Remove ROUND.
9230         * math/atest-exp2.c (exp_mpn): Likewise.
9231         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9233         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9234         * stdlib/tst-tls-atexit-lib.c: Likewise.
9235         * stdlib/tst-tls-atexit.c: Likewise.
9237 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9239         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9240         and __attribute_alloc_size__.
9242 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9244         * include/programs/xmalloc.h: Change __attribute_alloc_size to
9245         __attribute_alloc_size__.
9246         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9247         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9249 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9251         * include/programs/xmalloc.h: New file.
9252         * catgets/gencat.c: Include it.
9253         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9254         * elf/pldd.c: Likewise.
9255         * iconv/iconv_charmap.c: Likewise.
9256         * iconv/iconvconfig.c: Likewise.
9257         * iconv/strtab.c: Likewise.
9258         * locale/programs/locale.c: Likewise.
9259         * locale/programs/localedef.h: Likewise.
9260         * locale/programs/simple-hash.c: Likewise.
9261         * nscd/nscd.h: Likewise.
9262         * nss/makedb.c: Likewise.
9263         * sysdeps/generic/ldconfig.h: Likewise.
9265 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9267         * Versions.def: Add GLIBC_2.18.
9268         * include/link.h (struct link_map): New member l_tls_dtor_count.
9269         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9270         (__call_tls_dtors): Likewise.
9271         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9272         __cxa_thread_atexit_impl.
9273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9274         Likewise.
9275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9276         Likewise.
9277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9278         Likewise.
9279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9280         Likewise.
9281         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9283         Likewise.
9284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9285         Likewise.
9286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9288         Likewise.
9289         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9290         (tests): Add test case tst-tls-atexit.
9291         (modules-names): Add shared library for tst-tls-atexit.
9292         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9293         (GLIBC_PRIVATE): Add __call_tls_dtors.
9294         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9295         for libstdc++.
9296         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9297         * stdlib/tst-tls-atexit.c: New test case.
9298         * stdlib/tst-tls-atexit-lib.c: New test case.
9300         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9302         * elf/Versions (ld): Add _dl_find_dso_for_object.
9303         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9304         * elf/dl-open.c (_dl_find_dso_for_object): New function.
9305         (dl_open_worker): Use _dl_find_dso_for_object.
9306         * elf/dl-sym.c (do_sym): Likewise.
9307         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9309 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9311         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9312         Syntactic changes only.
9313         (_dl_runtime_profile): Do a tail-call to the resolved function.
9315 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
9317         [BZ #13550]
9318         * sysdeps/x86_64/bp-asm.h: Remove file.
9319         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9320         <bp-sym.h> and <bp-asm.h>.
9321         (__clone): Do not use BP_SYM.
9322         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9323         <bp-sym.h> and <bp-asm.h>.
9324         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9325         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9326         "bp-asm.h".
9327         (_setjmp): Do not use BP_SYM.
9328         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9329         "bp-asm.h".
9330         (setjmp): Do not use BP_SYM.
9331         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9332         libc_hidden_def.
9333         (mempcpy): Do not use BP_SYM in weak_alias.
9334         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9335         "bp-asm.h".
9336         (strchr): Do not use BP_SYM.
9337         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9338         "bp-asm.h".
9339         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9340         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9341         (_start): Do not use BP_SYM.
9342         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9343         "bp-asm.h".
9344         (strcat): Do not use BP_SYM.
9345         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9346         "bp-asm.h".
9347         (STRCMP): Do not use BP_SYM.
9348         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9349         "bp-asm.h".
9350         (STRCPY): Do not use BP_SYM.
9351         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9352         "bp-asm.h".
9353         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9354         "bp-asm.h".
9355         (FUNCTION): Do not use BP_SYM.
9356         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9357         weak_alias.
9358         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9360 2013-02-17  Andreas Jaeger  <aj@suse.de>
9362         * time/Versions: Sort entries.
9363         * string/Versions: Likewise.
9364         * resolv/Versions: Likewise.
9365         * posix/Versions: Likewise.
9366         * iconv/Versions: Likewise.
9367         * elf/Versions: Likewise.
9368         * wcsmbs/Versions: Likewise.
9370 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9372         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9373         loop termination condition.
9375         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9376         variable to calculate EZ.
9377         (__sqr): Likewise.
9379         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9380         the lower precision input.
9382 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
9384         [BZ #13550]
9385         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9386         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9387         (run-via-rtld-prefix): Do not handle %-bp tests.
9388         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9389         (all-object-suffixes): Remove .ob.
9390         (bppfx): Remove variable.
9391         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9392         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9393         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9394         [$(build-bounded) = yes] (libtype.ob): Likewise.
9395         * Makerules (elide-routines.ob): Remove variable.
9396         (do-tests-clean): Do not handle *-bp.out.
9397         (common-mostlyclean): Do not handle *-bp and *-bp.out.
9398         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9399         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9400         (tests): Do not include $(tests-bp.out).
9401         (xtests): Do not include $(xtests-bp.out).
9402         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9403         [$(build-bounded) = yes] ($(addprefix
9404         $(objpfx),$(binaries-bounded))): Remove rule.
9405         ($(objpfx)%-bp.out): Remove rule.
9406         * config.make.in (build-bounded): Remove variable.
9407         * crypt/Makefile [$(build-bounded) = yes]
9408         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9409         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9410         append to variable.
9411         [$(build-bounded) = yes] (install-lib): Likewise.
9412         [$(build-bounded) = yes] (generated): Likewise.
9413         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9414         Remove rule.
9415         * intl/Makefile [$(build-bounded) = yes]
9416         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9417         * math/Makefile [$(build-bounded) = yes]
9418         ($(tests:%=$(objpfx)%-bp): Likewise.
9419         * misc/Makefile [$(build-bounded) = yes]
9420         ($(objpfx)tst-tsearch-bp): Likewise.
9421         * nptl/Makeconfig (bounded-thread-library): Remove variable.
9422         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9423         Remove dependency.
9424         * string/Makefile (o-objects.ob): Remove variable.
9425         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9426         (CFLAGS-.ob): Remove variable.
9427         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9428         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9429         both definitions of variable.
9430         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9431         (ASFLAGS-.ob): Remove variable.
9433 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
9435         [BZ #13550]
9436         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9437         Remove __BOUNDED_POINTERS__ from condition.
9438         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9439         * string/bits/string2.h [!__NO_STRING_INLINES &&
9440         !__BOUNDED_POINTERS__]: Likewise.
9441         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9442         Likewise.
9443         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9444         Remove conditional code.
9445         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9446         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9447         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9448         condition.
9450         [BZ #13550]
9451         * csu/libc-start.c: Do not include <bp-sym.h>.
9452         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9453         * elf/dl-open.c: Do not include <bp-sym.h>.
9454         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9455         * math/fegetenv.c: Do not include <bp-sym.h>.
9456         (fegetenv): Do not use BP_SYM in versioned symbols.
9457         * nptl/sysdeps/pthread/bits/libc-lockP.h
9458         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9459         <bp-sym.h>.
9460         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9461         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9462         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9463         (__pthread_mutex_destroy): Likewise.
9464         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9465         (__pthread_mutex_lock): Likewise.
9466         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9467         (__pthread_mutex_trylock): Likewise.
9468         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9469         (__pthread_mutex_unlock): Likewise.
9470         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9471         (__pthread_mutexattr_init): Likewise.
9472         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9473         (__pthread_mutexattr_destroy): Likewise.
9474         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9475         (__pthread_mutexattr_settype): Likewise.
9476         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9477         (__pthread_rwlock_init): Likewise.
9478         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9479         (__pthread_rwlock_destroy): Likewise.
9480         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9481         (__pthread_rwlock_rdlock): Likewise.
9482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9483         (__pthread_rwlock_tryrdlock): Likewise.
9484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9485         (__pthread_rwlock_wrlock): Likewise.
9486         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9487         (__pthread_rwlock_trywrlock): Likewise.
9488         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9489         (__pthread_rwlock_unlock): Likewise.
9490         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9491         (__pthread_key_create): Likewise.
9492         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9493         (__pthread_setspecific): Likewise.
9494         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9495         (__pthread_getspecific): Likewise.
9496         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9497         Likewise.
9498         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9499         (_pthread_cleanup_push_defer): Likewise.
9500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9501         (_pthread_cleanup_pop_restore): Likewise.
9502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9503         (pthread_setcancelstate): Likewise.
9504         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9505         <bp-sym.h>.
9506         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9507         (memchr): Do not use BP_SYM in weak_alias.
9508         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9509         (fegetenv): Do not use BP_SYM in versioned symbols.
9510         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9511         (fesetenv): Do not use BP_SYM in versioned symbols.
9512         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9513         (feupdateenv): Do not use BP_SYM in versioned symbols.
9514         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9515         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9516         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9517         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9518         (open64): Do not use BP_SYM in weak_alias.
9519         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9520         (fegetenv): Do not use BP_SYM in versioned symbols.
9521         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9522         (fesetenv): Do not use BP_SYM in versioned symbols.
9523         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9524         (feupdateenv): Do not use BP_SYM in versioned symbols.
9525         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9526         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9527         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9528         (feraiseexcept): Do not use BP_SYM in versioned symbols.
9529         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9530         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9531         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9532         <bp-sym.h>.
9533         (__libc_start_main): Do not use BP_SYM.
9535 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9538         redundant return line.
9539         (norm): Likewise.
9540         (denorm): Likewise.
9541         (dbl_mp): Likewise.
9542         (sub_magnitudes): Likewise.
9543         (__add): Likewise.
9544         (__sub): Likewise.
9545         (__mul): Likewise.
9546         (__inv): Likewise.
9547         (__dvd): Likewise.
9548         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9549         (norm): Likewise.
9550         (denorm): Likewise.
9551         (dbl_mp): Likewise.
9552         (sub_magnitudes): Likewise.
9553         (__add): Likewise.
9554         (__sub): Likewise.
9555         (__mul): Likewise.
9556         (__inv): Likewise.
9557         (__dvd): Likewise.
9559         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9560         instead of __mul.
9561         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9562         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9563         (cc32): Likewise.
9565         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9566         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9567         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9568         of __mul for squares.
9569         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9570         function
9571         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9572         Likewise.
9573         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9574         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9576 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
9578         [BZ #13550]
9579         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9580         code.
9581         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9582         prototype or function definition.  Rename ubp_* variables and
9583         parameters.  Remove argv definitions conditional on
9584         [__BOUNDED_POINTERS__].
9585         * debug/backtrace.c (__backtrace): Do not use __unbounded.
9586         * elf/dl-runtime.c (_dl_fixup): Likewise.
9587         * include/set-hooks.h (RUN_HOOK): Likewise.
9588         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9589         definition.
9590         * string/strcpy.c (strcpy): Do not use __unbounded.
9591         * sysdeps/generic/frame.h (struct layout): Likewise.
9592         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9593         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9594         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9595         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9596         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9597         (__backtrace): Likewise.
9598         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9599         use __ptrvalue.
9600         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9601         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9602         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9603         Likewise.
9604         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9605         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9606         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9607         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9608         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9609         Do not use __unbounded.
9610         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9611         Rename __unboundedrlimits parameter to rlimits in prototype.
9612         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9613         Do not use __unbounded.
9614         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9615         not use __ptrvalue.
9616         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9617         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9618         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9619         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9620         __ptrvalue or __unbounded.
9621         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9622         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9623         use __unbounded.
9624         (__new_msgctl): Do not use __ptrvalue.
9625         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9626         __unbounded.
9627         (__libc_msgrcv): Do not use __ptrvalue.
9628         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9629         startup_info): Do not use __unbounded.
9630         (__libc_start_main): Likewise.  Rename ubp_* variables and
9631         parameters.  Remove argv definitions conditional on
9632         [__BOUNDED_POINTERS__].
9633         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9634         __ptrvalue.
9635         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9636         use __unbounded.
9637         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9638         or __ptrvalue.
9639         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9640         use __unbounded.
9641         (__new_shmctl): Do not use __ptrvalue.
9642         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9643         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9644         Likewise.
9645         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9646         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9647         (__libc_sigaction): Likewise.
9648         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9649         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9650         Likewise.
9651         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9653 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
9655         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9657         * string/mempcpy.c: Implement by calling memcpy.
9659 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9661         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9663         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9664         evaluation.
9666         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9667         values in the mantissa.
9669         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9670         minimize writes to Z.
9671         (sub_magnitudes): Simplify code a bit.
9673 2013-02-12  Roland McGrath  <roland@hack.frob.com>
9675         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9676         from the message.  The linker prefixes all warnings with that already.
9678 2013-02-12  Andreas Schwab  <schwab@suse.de>
9680         [BZ #15078]
9681         * posix/regexec.c (extend_buffers): Add parameter min_len.
9682         (check_matching): Pass minimum needed length.
9683         (clean_state_log_if_needed): Likewise.
9684         (get_subexp): Likewise.
9685         * posix/Makefile (tests): Add bug-regex34.
9686         (bug-regex34-ENV): Define.
9687         * posix/bug-regex34.c: New file.
9689         [BZ #11561]
9690         * posix/regcomp.c (parse_bracket_exp): When looking up collating
9691         elements compare against the byte sequence of it, not its name.
9692         * posix/Makefile (tests): Add bug-regex35.
9693         (bug-regex35-ENV): Define.
9694         * posix/bug-regex35.c: New file.
9696 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9698         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
9699         comment.
9700         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9701         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9702         (CHECK_EOL): Add undef.
9704 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
9706         * bits/stdlib-bsearch.h: New file.
9707         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9708         * stdlib/stdlib.h: Likewise.
9710 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9712         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9713         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9714         declaration.
9715         * manual/search.texi (Array Search Function): Add missing const in
9716         lfind prototype.
9717         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9718         declaration to use rlim_t.
9719         (Basic Scheduling Functions): Remove erroneous const from
9720         sched_getparam prototype.  Remove erroneous * from
9721         sched_get_priority_max and sched_get_priority_min prototypes.
9722         (Resource Usage): Fix summary @comment on vtimes to refer to
9723         sys/vtimes.h rather than vtimes.h.
9724         Add missing *s in vtimes prototype.
9725         (Limits on Resources): Fix ulimit prototype to return long int.
9726         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9727         prototypes to use long int rather than double.
9728         (BSD Random): Fix initstate and setstate to use char *, not void *.
9729         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9730         prototype to make second argument 'struct aiocb64 *const[]'.
9731         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9732         (Status of AIO Operations): Remove erroneous const in aio_return and
9733         aio_return64 prototypes.
9734         (Synchronizing I/O): Fix sync prototype to return void.
9735         * manual/startup.texi (Suboptions): Remove an erroneous const in
9736         getsubopt prototype.
9737         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9738         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9739         use size_t rather than int.
9740         (Scanning All Users): Likewise for getpwent_r.
9741         (Setting Groups): Add missing const to setgroups prototype.
9742         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9743         * manual/socket.texi (Host Names): Fix gethostbyaddr and
9744         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9745         'const void *' rather than 'const char *'.
9746         (Host Address Functions): Likewise for inet_ntop.
9747         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9748         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9749         ssize_t for return value.
9750         (Sending Data): Likewise for send, sendto, sendmsg.
9751         (Socket Option Functions): Add a missing const in setsockopt prototype.
9752         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9753         use wchar_t for the argument.
9754         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9755         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9756         take no arguments.
9757         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9758         double/float/long double for second argument.
9759         Fix return types of significand, significandf, significandl.
9760         * manual/filesys.texi (Setting Permissions): Use mode_t for second
9761         argument in fchmod prototype.
9762         (File Owner): Use uid_t and gid_t in fchown prototype.
9763         (File Times): Add const to utimes, futimes, and lutimes prototypes.
9764         (Making Special Files): Use mode_t and dev_t in mknod prototype.
9765         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9766         use 'const struct dirent **' as argument types to CMP function pointer
9767         argument.
9768         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9769         (File Times): Fix summary magic @comment for struct utimbuf and utime
9770         to refer to utime.h, not time.h.
9771         * manual/string.texi (Argz Functions): Add missing const in
9772         argz_extract and argz_next prototypes.
9773         (Finding Tokens in a String): Likewise for basename.
9774         (String/Array Comparison): Fix typo in wcscasecmp prototype.
9775         (Copying and Concatenation): Fix typo in wmemmove prototype.
9776         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9777         (Signal Stack): Remove erroneous const in sigstack prototype.
9778         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9779         prototype.
9780         (Simple Calendar Time): Likewise for stime.
9781         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9782         prototype.
9783         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9784         say sys/sysctl.h instead.
9785         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9786         and vsyslog prototypes.
9788 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9790         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9791         Remove.
9793 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9795         * misc/sys/mman.h: Fix typo in mremap comment.
9797 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9799         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9800         the '\0' terminator.
9802 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9804         [BZ #13550]
9805         * debug/segfault.c: Don't include <bp-checks.h>.
9806         * sysdeps/generic/bp-checks.h: Remove file.
9807         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9808         (__GETDENTS): Don't use CHECK_N.
9809         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9810         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9811         (__getgroups): Don't use CHECK_N.
9812         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9813         (setgroups): Don't use CHECK_N.
9814         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9815         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9816         (__libc_msgrcv): Don't use CHECK_N.
9817         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9818         (__libc_msgsnd): Don't use CHECK_N.
9819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9820         <bp-checks.h>.
9821         (__libc_pread): Don't use CHECK_N.
9822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9823         include <bp-checks.h>.
9824         (__libc_pread64): Don't use CHECK_N.
9825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9826         include <bp-checks.h>.
9827         (__libc_pwrite): Don't use CHECK_N.
9828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9829         include <bp-checks.h>.
9830         (__libc_pwrite64): Don't use CHECK_N.
9831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9832         <bp-checks.h>.
9833         (__libc_pread): Don't use CHECK_N.
9834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9835         include <bp-checks.h>.
9836         (__libc_pread64): Don't use CHECK_N.
9837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9838         include <bp-checks.h>.
9839         (__libc_pwrite): Don't use CHECK_N.
9840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9841         include <bp-checks.h>.
9842         (__libc_pwrite64): Don't use CHECK_N.
9843         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9844         (do_pread): Don't use CHECK_N.
9845         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9846         (do_pread64): Don't use CHECK_N.
9847         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9848         (do_pwrite): Don't use CHECK_N.
9849         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9850         (do_pwrite64): Don't use CHECK_N.
9851         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9852         (__libc_readv): Don't use CHECK_N.
9853         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9854         (semop): Don't use CHECK_N.
9855         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9856         <bp-checks.h>.
9857         (semtimedop): Don't use CHECK_N.
9858         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9859         (__libc_pread): Don't use CHECK_N.
9860         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9861         <bp-checks.h>.
9862         (__libc_pread64): Don't use CHECK_N.
9863         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9864         <bp-checks.h>.
9865         (__libc_pwrite): Don't use CHECK_N.
9866         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9867         <bp-checks.h>.
9868         (__libc_pwrite64): Don't use CHECK_N.
9869         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9870         <bp-checks.h>.
9871         (__libc_msgrcv): Don't use CHECK_N.
9872         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9873         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
9874         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9875         (__libc_writev): Don't use CHECK_N.
9877 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9879         * string/strcpy.c: Removed unused variable.
9881         * Makeconfig (+sysdep-includes): Define with := rather than =.
9882         Use an existing include/ subdir of each sysdeps dir before it.
9884 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9886         * nscd/connection.c (register_traced_file): Comment function.
9887         [HAVE_INOTIFY] (union __inev): Define.
9888         [HAVE_INOTIFY] (inotify_check_files): New function.
9889         [HAVE_INOTIFY] (clear_db_cache): Likewise.
9890         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9891         clear_db_cache.
9892         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9894 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9896         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9897         loaded if not already and that a failure is permanent.
9899 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9901         [BZ #15006]
9902         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9903         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9905 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9907         [BZ #13550]
9908         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9909         (CHECK_1_NULL_OK): Likewise.
9910         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9911         (__fxstat): Do not use CHECK_1.
9912         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9913         <bp-checks.h>.
9914         (___fxstat64): Do not use CHECK_1.
9915         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9916         <bp-checks.h>.
9917         (__fxstatat): Do not use CHECK_1.
9918         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9919         <bp-checks.h>.
9920         (__fxstatat64): Do not use CHECK_1.
9921         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9922         <bp-checks.h>.
9923         (__fxstat): Do not use CHECK_1.
9924         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9925         <bp-checks.h>.
9926         (__fxstatat): Do not use CHECK_1.
9927         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9928         <bp-checks.h>.
9929         (__getresgid): Do not use CHECK_1.
9930         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9931         <bp-checks.h>.
9932         (__getresuid): Do not use CHECK_1.
9933         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9934         <bp-checks.h>.
9935         (__lxstat): Do not use CHECK_1.
9936         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9937         <bp-checks.h>.
9938         (__old_msgctl): Do not use CHECK_1.
9939         (__new_msgctl): Likewise.
9940         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9941         <bp-checks.h>.
9942         (__new_setrlimit): Do not use CHECK_1.
9943         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9944         <bp-checks.h>.
9945         (__old_shmctl): Do not use CHECK_1.
9946         (__new_shmctl): Likewise.
9947         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9948         <bp-checks.h>.
9949         (__xstat): Do not use CHECK_1.
9950         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9951         (__lxstat): Do not use CHECK_1.
9952         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9953         <bp-checks.h>.
9954         (___lxstat64): Do not use CHECK_1.
9955         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9956         (__old_msgctl): Do not use CHECK_1.
9957         (__new_msgctl): Likewise.
9958         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9959         <bp-checks.h>.
9960         (__gettimeofday): Do not use CHECK_1.
9961         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9962         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9963         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9964         <bp-checks.h>.
9965         (__gettimeofday): Do not use CHECK_1.
9966         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9967         (__old_shmctl): Do not use CHECK_1_NULL_OK.
9968         (__new_shmctl): Do not use CHECK_1.
9969         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9970         <bp-checks.h>.
9971         (do_sigtimedwait): Do not use CHECK_1.
9972         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9973         <bp-checks.h>.
9974         (do_sigwaitinfo): Do not use CHECK_1.
9975         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9976         <bp-checks.h>.
9977         (msgctl): Do not use CHECK_1.
9978         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9979         <bp-checks.h>.
9980         (shmctl): Do not use CHECK_1.
9981         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9982         (ustat): Do not use CHECK_1.
9983         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9984         <bp-checks.h>.
9985         (__fxstat): Do not use CHECK_1.
9986         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9987         <bp-checks.h>.
9988         (__fxstatat): Do not use CHECK_1.
9989         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9990         <bp-checks.h>.
9991         (__lxstat): Do not use CHECK_1.
9992         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9993         <bp-checks.h>.
9994         (__xstat): Do not use CHECK_1.
9995         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9996         (__xstat): Do not use CHECK_1.
9997         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9998         (___xstat64): Do not use CHECK_1.
10000         [BZ #13550]
10001         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10002         definitions.
10003         (CHECK_BOUNDS_HIGH): Likewise.
10004         * string/strcpy.c: Do not include <bp-checks.h>.
10005         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10007 2013-02-07  Roland McGrath  <roland@hack.frob.com>
10009         * nscd/nscd-client.h (__nscd_drop_map_ref):
10010         Add __attribute__ ((unused)).
10011         * nis/nss-nisplus.h (niserr2nss): Likewise.
10013         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10014         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10016         * csu/libc-tls.c (init_static_tls, init_slotinfo):
10017         Remove inline keyword.
10018         * include/rounding-mode.h (round_away): Likewise.
10019         * libio/wfileops.c (adjust_wide_data): Likewise.
10020         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10021         (__m128i_strloadu_tolower): Likewise.
10022         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10023         (__m128i_strloadu_tolower): Likewise.
10024         * time/mktime.c (ydhms_diff): Likewise.
10025         * locale/elem-hash.h (elem_hash): Likewise.
10026         * locale/setlocale.c (setdata): Likewise.
10027         * posix/regex_internal.h (re_string_char_size_at): Likewise.
10028         (re_string_wchar_at): Likewise.
10029         (bitset_not, bitset_merge, bitset_mask): Likewise.
10030         [!(__GNUC__ > 3)] (inline): Remove macro.
10031         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10032         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10033         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10034         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10035         * string/memcmp.c (memcmp_bytes): Likewise.
10036         * locale/programs/locarchive.c (compute_hashval): Likewise.
10037         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10038         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10039         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10040         * nss/getent.c (print_rpc, print_protocols): Likewise.
10041         (print_passwd, print_group, print_aliases): Likewise.
10042         * nis/nss-nisplus.h (niserr2nss): Likewise.
10043         * nscd/connections.c (restart_p): Likewise.
10044         Change return type to bool.
10046 2013-02-05  Roland McGrath  <roland@hack.frob.com>
10048         * Makeconfig (all-Depend-files): Add existing
10049         $(sorted-subdirs:=/Depend) files.
10050         (all-subdirs): Remove nss.
10051         * sysdeps/unix/inet/Subdirs: Add it here instead.
10052         * hesiod/Depend: New file.
10054         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10055         instead of calling alloca.
10057         * io/lseek.c (__lseek): Rename to __libc_lseek.
10058         Define __lseek as an alias.
10060         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10062 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
10064         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10065         else clause and remove check for non-standard endianness.
10067 2013-02-04  David S. Miller  <davem@davemloft.net>
10069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10071 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
10073         [BZ #13550]
10074         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10075         (__ubp_memchr): Remove prototype.
10076         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10077         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10078         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10079         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10080         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10081         Remove alias.
10082         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10083         (__ubp_memchr): Likewise.
10084         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10085         (__ubp_memchr): Likewise.
10086         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10087         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10088         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10089         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10090         CHECK_STRING.
10091         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10092         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10093         (__getcwd): Do not use CHECK_STRING.
10094         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10095         <bp-checks.h>.
10096         (__real_chown): Do not use CHECK_STRING.
10097         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10098         <bp-checks.h>.
10099         (fchownat): Do not use CHECK_STRING.
10100         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10101         CHECK_STRING.
10102         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10103         <bp-checks.h>.
10104         (__lchown): Do not use CHECK_STRING.
10105         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10106         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10107         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10108         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10110         include <bp-checks.h>.
10111         (truncate64): Do not use CHECK_STRING.
10112         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10113         <bp-checks.h>.
10114         (__real_chown): Do not use CHECK_STRING.
10115         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10116         <bp-checks.h>.
10117         (__lchown): Do not use CHECK_STRING.
10118         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10119         <bp-checks.h>.
10120         (__chown): Do not use CHECK_STRING.
10121         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10122         <bp-checks.h>.
10123         (truncate64): Do not use CHECK_STRING.
10124         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10125         Likewise.
10126         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10127         (__xmknod): Do not use CHECK_STRING.
10128         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10129         <bp-checks.h>.
10130         (__xmknodat): Do not use CHECK_STRING.
10131         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10132         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10134 2013-02-04  Andreas Schwab  <schwab@suse.de>
10136         [BZ #14142]
10137         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10138         * include/netdb.h: Likewise for h_errno.
10139         * elf/tst-stackguard1.c: Include <tls.h>.
10141 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10143         * elf/link.h (struct link_map): Extend the l_addr comment.
10144         * include/link.h (struct link_map): Likewise.
10146 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
10148         [BZ #13550]
10149         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10150         (BOUNDED_1): Remove macro.
10151         * debug/backtrace.c: Don't include <bp-checks.h>.
10152         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10153         (__backtrace): Likewise.
10154         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10155         <bp-checks.h>.
10156         (__backtrace): Don't use BOUNDED_1.
10157         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10158         <bp-checks.h>.
10159         (__backtrace): Don't use BOUNDED_1.
10160         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10161         (__backtrace): Don't use BOUNDED_1.
10162         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10163         (shmat): Don't use BOUNDED_N.
10165 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
10167         [BZ #13550]
10168         * sysdeps/generic/bp-start.h: Remove file.
10169         * csu/libc-start.c: Don't include <bp-start.h>.
10170         (LIBC_START_MAIN): Set up __environ directly instead of using
10171         INIT_ARGV_and_ENVIRON.
10172         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10173         <bp-start.h>.
10175         [BZ #13550]
10176         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10177         definitions.
10178         (CHECK_FCNTL): Likewise.
10179         (CHECK_N_PAGES): Likewise.
10181         [BZ #13550]
10182         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10183         definitions.
10184         (CHECK_SIGSET_NULL_OK): Likewise.
10185         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10186         <bp-checks.h>.
10187         (sigpending): Don't use CHECK_SIGSET.
10188         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10189         <bp-checks.h>.
10190         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10191         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10192         <bp-checks.h>.
10193         (do_sigsuspend): Don't use CHECK_SIGSET.
10194         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10195         use CHECK_SIGSET.
10196         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10197         (do_sigwait): Don't use CHECK_SIGSET.
10198         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10199         use CHECK_SIGSET.
10200         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10201         include <bp-checks.h>.
10202         (sigpending): Don't use CHECK_SIGSET.
10203         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10204         include <bp-checks.h>.
10205         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10206         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10207         <bp-checks.h>.
10208         (sigpending): Don't use CHECK_SIGSET.
10209         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10210         <bp-checks.h>.
10211         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10213         [BZ #13550]
10214         * sysdeps/generic/bp-semctl.h: Remove file.
10215         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10216         <bp-checks.h> and <bp-semctl.h>.
10217         (__old_semctl): Don't use CHECK_SEMCTL.
10218         (__new_semctl): Likewise.
10219         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10220         and <bp-semctl.h>.
10221         (__old_semctl): Don't use CHECK_SEMCTL.
10222         (__new_semctl): Likewise.
10223         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10224         <bp-checks.h> and <bp-semctl.h>.
10225         (__old_semctl): Don't use CHECK_SEMCTL.
10226         (__new_semctl): Likewise.
10227         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10228         <bp-checks.h> and <bp-semctl.h>.
10229         (semctl): Don't use CHECK_SEMCTL.
10231         [BZ #13550]
10232         * Makerules (elide-bp-thunks): Remove variable.
10233         (elide-routines.oS): Don't use $(elide-bp-thunks).
10234         (elide-routines.os): Likewise.
10235         (elide-routines.o): Likewise.
10236         (elide-routines.op): Likewise.
10237         (elide-routines.og): Likewise.
10238         (objects): Don't use $(bp-thunks).
10239         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10240         include.
10241         (common-generated): Do not add s-proto-bp.d.
10242         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10243         (int): Likewise.
10244         (typ): Likewise.
10245         Do not generate makefile rules for bounded-pointer thunks.
10246         * sysdeps/generic/bp-thunks.h: Remove file.
10247         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10248         * sysdeps/unix/s-proto-bp.S: Likewise.
10250         [BZ #15062]
10251         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10252         parts of result separately when argument is not close to line from
10253         -i to i and one part of argument is small.
10254         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10255         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10256         * math/libm-test.inc (cacos_test): Add more tests.
10257         (casin_test): Likewise.
10258         (casinh_test): Likewise.
10259         * sysdeps/i386/fpu/libm-test-ulps: Update.
10260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10262 2013-01-31  David S. Miller  <davem@davemloft.net>
10264         * po/de.po: Update from translation team.
10266 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10268         * time/tzfile.c: Include stdint.h for SIZE_MAX.
10270 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
10272         * configure.in (_AC_PROG_CC_C89): New definition.
10273         * configure: Regenerate.
10275         * configure.in (AC_PROG_CPP): New definition.
10276         * configure: Regenerate.
10278 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10280         * debug/tst-backtrace.h: New file.
10281         * debug/tst-backtrace2.c: Include tst-backtrace.h.
10282         (ret): Remove variable.
10283         (x): Likewise.
10284         (FAIL): Remove macro.
10285         (NO_INLINE): Likewise.
10286         (fn1): Use match function instead of strstr.
10287         * debug/tst-backtrace3.c: Include tst-backtrace.h.
10288         (ret): Remove variable.
10289         (x): Likewise.
10290         (FAIL): Remove macro.
10291         (NO_INLINE): Likewise.
10292         (fn): Use match function instead of strstr.
10293         * debug/tst-backtrace4.c: Include tst-backtrace.h.
10294         (ret): Remove variable.
10295         (x): Likewise.
10296         (FAIL): Remove macro.
10297         (NO_INLINE): Likewise.
10298         (handle_signal): Use match function instead of strstr.
10299         * debug/tst-backtrace5.c: Include tst-backtrace.h.
10300         (ret): Remove variable.
10301         (x): Likewise.
10302         (FAIL): Remove macro.
10303         (NO_INLINE): Likewise.
10304         (handle_signal): Use match function instead of strstr.
10306 2013-01-23  Roland McGrath  <roland@hack.frob.com>
10308         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10310 2013-01-23  David S. Miller  <davem@davemloft.net>
10312         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10313         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10314         argument of CAS if possible.
10315         * sysdeps/sparc/sparc64/bits/atomic.h
10316         (__arch_compare_and_exchange_val_32_acq): Likewise.
10317         (__arch_compare_and_exchange_val_64_acq): Likewise.
10319 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
10321         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10322         * sysdeps/posix/ulimit.c: ... this.
10323         Include <limits.h>.
10324         * sysdeps/unix/bsd/ulimit.c: Remove file.
10326 2013-01-23  Adam Conrad  <adconrad@0c3.net>
10328         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10329         (LDFLAGS-tst-array5): Likewise.
10331 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10333         [BZ #15036]
10334         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10335         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10336         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10337         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10339 2013-01-21  David S. Miller  <davem@davemloft.net>
10341         * sysdeps/sparc/backtrace.c: New file.
10342         * sysdeps/sparc/sparc32/backtrace.h: New file.
10343         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10344         * sysdeps/sparc/sparc64/backtrace.h: New file.
10345         * sysdeps/sparc/sparc64/backtrace.c: Delete.
10346         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10347         -funwind-tables.
10349 2013-01-21  Andreas Schwab  <schwab@suse.de>
10351         [BZ #15020]
10352         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10353         closed its stdout.
10355 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
10357         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10358         "mpa2.h".
10359         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10361 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
10362             Mark Mitchell  <mark@codesourcery.com>
10363             Tom de Vries  <tom@codesourcery.com>
10364             Paul Pluzhnikov  <ppluzhnikov@google.com>
10366         * debug/tst-backtrace2.c: New file.
10367         * debug/tst-backtrace3.c: Likewise.
10368         * debug/tst-backtrace4.c: Likewise.
10369         * debug/tst-backtrace5.c: Likewise.
10370         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10371         (CFLAGS-tst-backtrace3.c): Likewise.
10372         (CFLAGS-tst-backtrace4.c): Likewise.
10373         (CFLAGS-tst-backtrace5.c): Likewise.
10374         (LDFLAGS-tst-backtrace2): Likewise.
10375         (LDFLAGS-tst-backtrace3): Likewise.
10376         (LDFLAGS-tst-backtrace4): Likewise.
10377         (LDFLAGS-tst-backtrace5): Likewise.
10378         (tests): Add new tests tst-backtrace2, tst-backtrace3,
10379         tst-backtrace4 and tst-backtrace5.
10381 2013-01-18  Anton Blanchard  <anton@samba.org>
10382             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10384         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10385         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10386         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10387         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10389         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10390         "+r" and remove output regs list as redundant.  Add explicit inline
10391         asm to specify register of return val to work around compiler codegen
10392         bug.  Remove (int) cast on return value.  Add return type parameter to
10393         use in macro so that this macro does not truncate return value for
10394         64-bit values.
10395         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10396         pass to INTERNAL_VSYSCALL_NCS.
10397         (INLINE_VSYSCALL): Add 'long int' as return type to
10398         INTERNAL_VSYSCALL_NCS macro invocation.
10399         (INTERNAL_VSYSCALL): Add 'long int' as return type to
10400         INTERNAL_VSYSCALL_NCS macro invocation.
10401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10403 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10405         [BZ #14496]
10406         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10407         Fix application of SIMD FP exception mask.
10409         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10410         mp_no from a power of two.
10411         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10412         __mpexp_twomm1.  Use __pow_mp.
10414         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10415         multiplication.
10417 2013-01-17  David S. Miller  <davem@davemloft.net>
10419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10421 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10423         [BZ #15023]
10424         * include/complex.h: Condition contents on [!_COMPLEX_H].
10425         (__kernel_casinhf): New prototype.
10426         (__kernel_casinh): Likewise.
10427         (__kernel_casinhl): Likewise.
10428         * math/Makefile (libm_calls): Add k_casinh.
10429         * math/k_casinh.c: New file.
10430         * math/k_casinhf.c: Likewise.
10431         * math/k_casinhl.c: Likewise.
10432         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10433         finite nonzero arguments.
10434         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10435         finite nonzero arguments.
10436         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10437         finite nonzero arguments.
10438         * math/s_casinh.c: Do not include <float.h>.
10439         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10440         * math/s_casinhf.c: Do not include <float.h>.
10441         (__casinhf): Move code for finite nonzero arguments to
10442         k_casinhf.c.
10443         * math/s_casinhl.c: Do not include <float.h>.
10444         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10445         redefine.
10446         (__casinhl): Move code for finite nonzero arguments to
10447         k_casinhl.c.
10448         * math/libm-test.inc (cacos_test): Add more tests.
10449         * sysdeps/i386/fpu/libm-test-ulps: Update.
10450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10452 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
10454         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10455         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10456         [!HAVE_MREMAP]: Remove [defined linux] case.
10457         * malloc/arena.c: Do not include <malloc-sysdep.h>.
10459 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10461         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10463 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
10465         * elf/elf.h (R_386_SIZE32): New relocation.
10466         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10467         R_386_SIZE32.
10468         (elf_machine_rela): Likewise.
10469         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10470         R_X86_64_SIZE64 and R_X86_64_SIZE32.
10472 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10474         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10475         (FP_FAST_FMA): Do not define.
10476         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10477         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10478         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10479         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10480         !_SOFT_FLOAT]: Likewise.
10481         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10482         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10483         value.
10484         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10485         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10486         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10487         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10488         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10489         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10490         file.
10492 2013-01-16  Andreas Schwab  <schwab@suse.de>
10494         [BZ #14327]
10495         * include/stdlib.h (__mktemp): Add declaration.
10496         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10497         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10499 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10501         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10502         definitions.
10503         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10504         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10505         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10506         definitions here.
10507         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10508         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10509         definitions.
10510         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10511         and ONE.
10512         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10513         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10514         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10515         definitions.
10516         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10517         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10518         definitions.
10519         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10521         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10523 2013-01-15  David S. Miller  <davem@davemloft.net>
10525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10526         trunc{,f} to libm-sysdep_routes.
10527         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10529         file.
10530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10532         file.
10533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10534         file.
10535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10537         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10538         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10539         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10540         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10541         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10542         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10545         nearbyint{,f} to libm-sysdep_routes.
10546         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10548         New file.
10549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10550         file.
10551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10552         New file.
10553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10554         file.
10555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10557         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10558         file.
10559         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10560         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10561         file.
10562         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10563         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10564         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10566         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10567         libc_feholdexcept and libc_fesetenv.
10569 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
10571         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10573 2013-01-14  David S. Miller  <davem@davemloft.net>
10575         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10576         (SPARC_ASM_VIS2_IFUNC): Likewise.
10577         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10579         use of 'siam' instruction.
10580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10581         Likewise.
10582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10583         Likewise.
10584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10585         Likewise.
10586         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10587         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10588         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10589         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10591         file.
10592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10593         file.
10594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10595         file.
10596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10597         file.
10598         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10599         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10600         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10601         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10603         new VIS2 routines.
10604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10607         Likewise.
10608         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10609         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10610         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10611         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10613         routines to libm-sysdep_routines.
10614         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10617         fdim/fdimf to libm-sysdep_routines.
10618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10619         file.
10620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10622         file.
10623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10626         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10627         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10628         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10629         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10631 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10633         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10634         to optimize copies.
10636         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10637         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10638         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10640         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10641         local variable MPTWO.
10642         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10643         Likewise.
10645 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10647         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10648         GLOB_NOESCAPE.
10650 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10652         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10654 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10656         * manual/pattern.texi (glob_t): Document gl_flags.
10657         (glob64_t): Likewise.
10659 2013-01-11  David S. Miller  <davem@davemloft.net>
10661         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10662         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10663         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
10664         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10665         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10666         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10667         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10668         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10669         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10670         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10671         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10672         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10673         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10675         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10676         sparc V9 rather than using V8 code.
10677         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10678         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10680         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10681         Move to...
10682         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10683         Here.
10685 2013-01-11  Roland McGrath  <roland@hack.frob.com>
10687         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10688         not in the main loop.
10689         * configure: Regenerated.
10691 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
10693         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10694         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10695         to just #else.
10696         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
10697         [!__GLIBC_HAVE_LONG_LONG] case.
10698         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10699         condition to just #else.
10700         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10701         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10702         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10703         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10704         unconditional.
10705         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10706         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10707         #elif condition to just #else.
10708         * sysdeps/unix/sysv/linux/sys/sysmacros.h
10709         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10710         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10711         #elif condition to just #else.
10713 2013-01-11  Steve Ellcey  <sellcey@mips.com>
10715         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10716         (EF_MIPS_ARCH_64): Fix value.
10717         (EF_MIPS_ARCH_32R2): New.
10718         (EF_MIPS_ARCH_64R2): New.
10720 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
10722         * Makeconfig (+link-pie-before-libc): New.
10723         (+link-pie-after-libc): Likewise.
10724         (+link-pie-tests): Likewise.
10725         (+link-pie): Rewritten.
10726         (link-before-libc): Remove $(config-LDFLAGS).
10727         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10728         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10729         (config-LDFLAGS): Renamed to ...
10730         (rtld-LDFLAGS): This.
10731         (rtld-tests-LDFLAGS): New macro.
10732         (link-libc-rpath-link): Likewise.
10733         (link-libc-tests-rpath-link): Likewise.
10734         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10735         (link-libc): Prepand $(link-libc-rpath-link).
10736         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10737         (test-program-prefix): New macro.
10738         (test-via-rtld-prefix): Likewise.
10739         (test-program-cmd): Likewise.
10740         (host-test-program-cmd): Likewise.
10741         * Makefile ($(common-objpfx)testrun.sh): Replace
10742         $(run-program-prefix) with $(test-program-prefix).
10743         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10744         $(rtld-LDFLAGS).
10745         ($(common-objpfx)shlib.lds): Likewise.
10746         (build-module-helper): Likewise.
10747         ($(common-objpfx)format.lds): Likewise.
10748         * Rules (binaries-pie-tests): New.
10749         (binaries-pie-notests): Likewise.
10750         (binaries-pie): Rewritten.
10751         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10752         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10753         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10754         (make-test-out): Replace $(host-built-program-cmd) with
10755         $(host-test-program-cmd).
10756         * config.make.in (build-hardcoded-path-in-tests): New variable.
10757         * configure.in (--enable-hardcoded-path-in-tests): New configure
10758         option.
10759         (hardcoded_path_in_tests): New AC_SUBST.
10760         * configure: Regenerated.
10761         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10762         $(built-program-cmd) with $(test-program-cmd).
10763         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10764         (test_program_cmd): This.
10765         * elf/Makefile ($(objpfx)order.out): Run test with
10766         $(test-program-prefix).
10767         ($(objpfx)order2.out): Likewise.
10768         ($(objpfx)tst-initorder.out): Likewise.
10769         ($(objpfx)tst-initorder2.out): Likewise.
10770         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10771         $(test-program-cmd).
10772         ($(objpfx)tst-array1-static.out): Likewise.
10773         ($(objpfx)tst-array2.out): Likewise.
10774         ($(objpfx)tst-array3.out): Likewise.
10775         ($(objpfx)tst-array4.out): Likewise.
10776         ($(objpfx)tst-array5.out): Likewise.
10777         ($(objpfx)tst-array5-static.out): Likewise.
10778         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10779         $(test-program-cmd).
10780         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10781         $(run-program-prefix) with $(test-program-prefix).
10782         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10783         (test_program_prefix): This.
10784         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10785         $(run-program-prefix) with $(test-program-prefix).
10786         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10787         (test_program_prefix): This.
10788         * iconvdata/tst-tables.sh: Likewise.
10789         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10790         $(run-program-prefix) with $(test-program-prefix).
10791         ($(objpfx)tst-translit.out): Likewise.
10792         ($(objpfx)tst-gettext2.out): Likewise.
10793         ($(objpfx)tst-gettext4.out): Likewise.
10794         ($(objpfx)tst-gettext6.out): Likewise.
10795         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10796         (test_program_prefix): This.
10797         * intl/tst-gettext2.sh: Likewise.
10798         * intl/tst-gettext4.sh  Likewise.
10799         * intl/tst-gettext6.sh: Likewise.
10800         * intl/tst-translit.sh: Likewise.
10801         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10802         with $(test-program-cmd).
10803         * libio/Makefile ($(objpfx)test-freopen.out): Replace
10804         $(run-program-prefix) with $(test-program-prefix).
10805         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10806         (test_program_prefix): This.
10807         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10808         $(run-program-prefix) with $(test-program-prefix).
10809         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10810         (test_program_prefix): This.
10811         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10812         * posix/Makefile ($(objpfx)globtest.out): Replace
10813         $(run-via-rtld-prefix) and $(test-wrapper) with
10814         $(test-program-prefix) and $(test-via-rtld-prefix).
10815         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10816         $(test-program-prefix).
10817         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10818         $(host-test-program-cmd).
10819         (tst-spawn-ARGS): Likewise.
10820         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10821         $(test-program-prefix).
10822         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10823         (test_via_rtld_prefix): This.
10824         (test_wrapper): Renamed to ...
10825         (test_program_prefix): This.
10826         (run_program_prefix): Replaced by test_program_prefix.
10827         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10828         (test_program_prefix): This.
10829         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10830         with $(host-test-program-cmd).
10831         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10832         $(run-program-prefix) with $(test-program-prefix).
10833         ($(objpfx)tst-printf.out): Likewise.
10834         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10835         $(test-program-cmd).
10836         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10837         (test_program_prefix): This.
10838         * stdio-common/tst-unbputc.sh: Likewise.
10839         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10840         $(run-program-prefix) with $(test-program-prefix).
10841         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10842         (test_program_prefix): This.
10843         * string/Makefile ($(objpfx)tst-svc.out):  Replace
10844         $(built-program-cmd) with $(test-program-cmd).
10846 2013-01-11  Andreas Jaeger  <aj@suse.de>
10848         [BZ #15003]
10849         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10850         value. Sync with Linux 3.7.
10852 2013-01-10  David S. Miller  <davem@davemloft.net>
10854         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10855         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10856         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10858 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10860         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10861         never set.
10862         * configure: Regenerated.
10864 2013-01-10  David S. Miller  <davem@davemloft.net>
10866         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10867         sparc V9 rather than using V8 code.
10868         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10869         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10871 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10873         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10874         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10875         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10876         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10877         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10878         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10879         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10880         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10881         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10882         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10883         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10884         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10885         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10886         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10887         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10888         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10889         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10890         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10891         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10892         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10893         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10894         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10895         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10896         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10897         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10898         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10899         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10901 2013-01-10  David S. Miller  <davem@davemloft.net>
10903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10905 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10907         * posix/Makefile (tests-static): New variable.
10908         (tests): Add $(tests-static).
10909         (tst-exec-static-ARGS): New variable.
10910         (tst-spawn-static-ARGS): Likewise.
10911         * posix/tst-exec-static.c: New file.
10912         * posix/tst-spawn-static.c: Likewise.
10913         * posix/tst-exec.c: Support run directly.
10914         * posix/tst-spawn.c: Likewise.
10916 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
10918         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10919         long.
10920         * math/bits/mathcalls.h (llrint): Likewise.
10921         (llround): Likewise.
10922         * stdlib/stdlib.h (struct drand48_data): Likewise.
10923         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10924         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10925         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10926         Likewise.
10927         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10928         Likewise.
10929         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10930         (elf_greg_t): Likewise.
10931         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10932         (__jmp_buf): Likewise.
10933         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10934         definitions.
10935         (llrint): Likewise, for all definitions.
10936         (llrintl): Likewise.
10938         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10939         Remove [__GNUC__] condition.
10940         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10941         condition to just [__USE_ISOC99].
10942         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10944 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10946         [BZ #14200]
10947         * sysdeps/unix/sysv/linux/x86/bits/environments.h
10948         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10949         defined.
10950         (_POSIX_V6_ILP32_OFF32): Likewise.
10951         (_XBS5_ILP32_OFF32): Likewise.
10952         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10953         (__ILP32_OFFBIG_LDFLAGS): Likewise.
10955 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10957         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10959         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10960         doubles __mpexp_twomm1.  Adjust usage.
10961         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10962         Remove.
10964 2013-01-10  Andreas Schwab  <schwab@suse.de>
10966         [BZ #14964]
10967         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10968         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10970 2013-01-09  David S. Miller  <davem@davemloft.net>
10972         [BZ #15003]
10973         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10974         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10975         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10976         TCP_FASTOPEN): Define.
10977         (tcp_repair_opt): New structure.
10978         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10979         enum values.
10980         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10981         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10982         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10983         (tcp_cookie_transactions): New structure.
10985 2013-01-09  Anton Blanchard  <anton@samba.org>
10987         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10988         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10989         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10990         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10992 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
10994         * include/features.h (__USE_ANSI): Remove.
10996 2013-01-09  Roland McGrath  <roland@hack.frob.com>
10998         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11000         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11002 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11004         * sysdeps/s390/fpu/libm-test-ulps: Update.
11006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11008         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11009         (__acr): Likewise.
11010         (__cpy): Likewise.
11011         (norm): Likewise.
11012         (denorm): Likewise.
11013         (__mp_dbl): Likewise.
11014         (__dbl_mp): Likewise.
11015         (add_magnitudes): Likewise.
11016         (sub_magnitudes): Likewise.
11017         (__add): Likewise.
11018         (__sub): Likewise.
11019         (__mul): Likewise.
11020         (__inv): Likewise.
11021         (__dvd): Likewise.
11022         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11023         (__acr): Likewise.
11024         (__cpy): Likewise.
11025         (norm): Likewise.
11026         (denorm): Likewise.
11027         (__mp_dbl): Likewise.
11028         (__dbl_mp): Likewise.
11029         (add_magnitudes): Likewise.
11030         (sub_magnitudes): Likewise.
11031         (__add): Likewise.
11032         (__sub): Likewise.
11033         (__mul): Likewise.
11034         (__inv): Likewise.
11035         (__dvd): Likewise.
11036         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11037         (__acr): Likewise.
11038         (__cpy): Likewise.
11039         (norm): Likewise.
11040         (denorm): Likewise.
11041         (__mp_dbl): Likewise.
11042         (__dbl_mp): Likewise.
11043         (add_magnitudes): Likewise.
11044         (sub_magnitudes): Likewise.
11045         (__add): Likewise.
11046         (__sub): Likewise.
11047         (__mul): Likewise.
11048         (__inv): Likewise.
11049         (__dvd): Likewise.
11051 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
11053         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11054         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11055         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11056         2 && __USE_EXTERN_INLINES]: Likewise.
11058 2013-01-08  Andreas Jaeger  <aj@suse.de>
11060         [BZ# 14985]
11061         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11062         Remove.
11063         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11064         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11066 2013-01-07  Anton Blanchard  <anton@samba.org>
11068         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11069         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11070         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11071         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11072         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11073         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11074         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11075         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11076         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11077         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11078         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11079         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11080         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11081         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11082         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11083         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11084         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11085         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11086         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11087         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11088         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11089         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11090         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11091         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11092         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11093         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11094         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11095         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11096         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11097         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11098         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11099         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11100         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11101         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11102         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11103         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11104         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11105         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11106         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11107         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11108         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11109         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11110         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11112 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
11114         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11115         (__MALLOC_PMT): Likewise.
11116         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11117         [__GNUC__], only on [_LIBC].
11118         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11119         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11120         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11121         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11122         forward declaration.
11123         (realloc_hook_ini): Likewise.
11124         (memalign_hook_ini): Likewise.
11125         (__libc_memalign): Do not use __MALLOC_PMT in variable
11126         declaration.
11127         (__libc_valloc): Likewise.
11128         (__libc_pvalloc): Likewise.
11129         (__libc_calloc): Likewise.
11130         (__posix_memalign): Likewise.
11132         [BZ #14996]
11133         * math/s_casinh.c: Include <float.h>.
11134         (__casinh): Do not do computation with squaring and square root
11135         for large arguments.
11136         * math/s_casinhf.c: Include <float.h>.
11137         (__casinhf): Do not do computation with squaring and square root
11138         for large arguments.
11139         * math/s_casinhl.c: Include <float.h>.
11140         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11141         (__casinhl): Do not do computation with squaring and square root
11142         for large arguments.
11143         * math/libm-test.inc (casin_test): Add more tests.
11144         (casinh_test): Likewise.
11145         * sysdeps/i386/fpu/libm-test-ulps: Update.
11146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11148 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
11150         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11151         (__x86_64_raw_data_cache_size): Likewise.
11152         (__x86_64_data_cache_size_half): Likewise.
11153         (__x86_64_raw_data_cache_size_half): Likewise.
11154         (__x86_64_shared_cache_size): Likewise.
11155         (__x86_64_raw_shared_cache_size): Likewise.
11156         (__x86_64_shared_cache_size_half): Likewise.
11157         (__x86_64_raw_shared_cache_size_half): Likewise.
11158         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11159         to ...
11160         (__x86_data_cache_size): This.
11161         (__x86_64_raw_data_cache_size): Renamed to ...
11162         (__x86_raw_data_cache_size): This.
11163         (__x86_64_data_cache_size_half): Renamed to ...
11164         (__x86_data_cache_size_half): This.
11165         (__x86_64_raw_data_cache_size_half): Renamed to ...
11166         (__x86_raw_data_cache_size_half): This.
11167         (__x86_64_shared_cache_size): Renamed to ...
11168         (__x86_shared_cache_size): This.
11169         (__x86_64_raw_shared_cache_size): Renamed to ...
11170         (__x86_raw_shared_cache_size): This.
11171         (__x86_64_shared_cache_size_half): Renamed to ...
11172         (__x86_shared_cache_size_half): This.
11173         (__x86_64_raw_shared_cache_size_half): Renamed to ...
11174         (__x86_raw_shared_cache_size_half): This.
11175         * sysdeps/x86_64/memcpy.S: Updated.
11176         * sysdeps/x86_64/memset.S: Likewise.
11177         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11178         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11179         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11181 2013-01-04  David S. Miller  <davem@davemloft.net>
11183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11185 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
11187         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11188         1 to avoid redefinition warning.
11189         (__USE_GNU): Don't define.
11190         (init_signaling_nan): Protoize.
11192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11194 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11196         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11197         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11198         (__cpymn): Likewise.
11199         (norm): Remove commented code.
11200         (denorm): Likewise.
11201         (__mp_dbl): Likewise.
11202         (__inv): Likewise.
11203         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11204         (__cpymn): Likewise.
11205         (norm): Remove commented code.
11206         (denorm): Likewise.
11207         (__mp_dbl): Likewise.
11208         (__inv): Likewise.
11210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11211         mp_no value for 1.0 and 2.0.
11212         (norm): Use RADIXI instead of radixi.d.
11213         (denorm): Likewise.
11214         (__mul): Use 0.0 instead of zero.d.
11215         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11216         mp_no value for 1.0 and 2.0.
11217         (norm): Use RADIXI instead of radixi.d.
11218         (denorm): Likewise.
11219         (__mul): Use 0.0 instead of zero.d.
11221 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
11223         [BZ #14994]
11224         * math/s_casinh.c (__casinh): Reduce finite argument to first
11225         quadrant then set signs of results at the end.
11226         * math/s_casinhf.c (__casinhf): Likewise.
11227         * math/s_casinhl.c (__casinhl): Likewise.
11228         * math/libm-test.inc (casin_test): Add more tests.
11229         (casinh_test): Likewise.
11230         * sysdeps/i386/fpu/libm-test-ulps: Update.
11231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11233 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11235         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11237         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11239         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11240         declarations.
11241         (denorm): Likewise.
11242         (__mp_dbl): Likewise.
11243         (__inv): Likewise.
11245         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11246         and adjust the header comment.
11248         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11249         variable name from declaration.
11251 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
11253         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11254         Initialize COMMON_CPUID_INDEX_7 element.
11255         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11256         (CPUID_RTM): Likewise.
11257         (HAS_RTM): Likewise.
11258         (COMMON_CPUID_INDEX_7): New enum.
11260 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
11262         [BZ #14981]
11263         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11264         size is zero, record memory as freed.
11266 2013-01-03  Andreas Jaeger  <aj@suse.de>
11268         * po/ia.po: Add new Interlingua translation.
11270 2012-01-03  Allan McRae  <allan@archlinux.org>
11272         * locale/programs/localedef.c: Fix description of '--posix' flag.
11274 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
11276         * NEWS: Update dates in second copyright notice.
11277         * README: Update copyright dates in example.
11278         * manual/libc.texinfo: Update copyright dates.
11279         * scripts/test-installation.pl: Update copyright date in --version
11280         output.
11282         * hurd/ctty-input.c: Fix copyright notice formatting.
11283         * hurd/ctty-output.c: Likewise.
11284         * hurd/dtable.c: Likewise.
11285         * hurd/hurd-raise.c: Likewise.
11286         * hurd/hurdprio.c: Likewise.
11287         * hurd/msgportdemux.c: Likewise.
11288         * misc/sys/file.h: Likewise.
11289         * misc/sys/ioctl.h: Likewise.
11290         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11291         * sysdeps/mach/hurd/chdir.c: Likewise.
11292         * sysdeps/mach/hurd/fchdir.c: Likewise.
11293         * sysdeps/mach/hurd/rename.c: Likewise.
11294         * sysdeps/mach/hurd/rmdir.c: Likewise.
11295         * sysdeps/mach/hurd/seekdir.c: Likewise.
11296         * sysdeps/mach/hurd/setsid.c: Likewise.
11297         * sysdeps/posix/wait3.c: Likewise.
11299         * All files with FSF copyright notices: Update copyright dates
11300         using scripts/update-copyrights.
11301         * intl/plural.c: Regenerated.
11302         * locale/programs/charmap-kw.h: Likewise.
11303         * locale/programs/locfile-kw.h: Likewise.
11305 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11307         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11308         four values.
11310         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11311         calculation loop and add branch prediction.
11313         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11314         check access beyond bounds of m1np.
11316         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11317         MPTWO.
11318         (__inv): Remove local variable MPTWO to use the global
11319         constant.
11320         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11321         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11322         variable MPTWO.
11323         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11324         MP3HALFS static const.
11326 2013-01-01  David S. Miller  <davem@davemloft.net>
11328         * po/ca.po: Update from translation team.
11330 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
11332         * scripts/update-copyrights: New file.
11333         * Makeconfig: Reformat copyright notice.
11334         * ctype/ctype.h: Likewise.
11335         * debug/swprintf_chk.c: Likewise.
11336         * elf/dl-cache.c: Likewise.
11337         * elf/dl-debug.c: Likewise.
11338         * elf/dl-object.c: Likewise.
11339         * grp/initgroups.c: Likewise.
11340         * hurd/Makefile: Likewise.
11341         * hurd/hurd/signal.h: Likewise.
11342         * hurd/hurdfault.c: Likewise.
11343         * hurd/hurdioctl.c: Likewise.
11344         * hurd/hurdlookup.c: Likewise.
11345         * hurd/intr-msg.c: Likewise.
11346         * iconv/gconv_open.c: Likewise.
11347         * libio/swprintf.c: Likewise.
11348         * locale/lc-ctype.c: Likewise.
11349         * locale/nl_langinfo.c: Likewise.
11350         * mach/Machrules: Likewise.
11351         * mach/Makefile: Likewise.
11352         * malloc/obstack.h: Likewise.
11353         * manual/Makefile: Likewise.
11354         * manual/tsort.awk: Likewise.
11355         * misc/bits/stab.def: Likewise.
11356         * nis/nis_print_group_entry.c: Likewise.
11357         * nis/nis_table.c: Likewise.
11358         * nis/nss_compat/compat-pwd.c: Likewise.
11359         * nis/nss_compat/compat-spwd.c: Likewise.
11360         * po/Makefile: Likewise.
11361         * posix/fnmatch.c: Likewise.
11362         * posix/regex.h: Likewise.
11363         * resolv/Makefile: Likewise.
11364         * resolv/nss_dns/dns-network.c: Likewise.
11365         * resolv/res_hconf.c: Likewise.
11366         * scripts/gen-sorted.awk: Likewise.
11367         * soft-fp/soft-fp.h: Likewise.
11368         * stdio-common/printf.h: Likewise.
11369         * stdlib/monetary.h: Likewise.
11370         * stdlib/random.c: Likewise.
11371         * stdlib/random_r.c: Likewise.
11372         * sysdeps/generic/Makefile: Likewise.
11373         * sysdeps/gnu/Makefile: Likewise.
11374         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11375         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11376         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11377         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11378         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11379         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11380         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11381         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11382         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11383         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11384         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11385         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11386         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11387         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11388         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11389         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11390         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11391         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11392         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11393         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11394         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11395         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11396         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11397         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11398         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11399         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11400         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11401         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11402         * sysdeps/mach/hurd/errnos.awk: Likewise.
11403         * sysdeps/mach/hurd/fork.c: Likewise.
11404         * sysdeps/mach/hurd/getcwd.c: Likewise.
11405         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11406         * sysdeps/mach/hurd/mmap.c: Likewise.
11407         * sysdeps/mach/hurd/utimes.c: Likewise.
11408         * sysdeps/mach/hurd/xmknod.c: Likewise.
11409         * sysdeps/posix/profil.c: Likewise.
11410         * sysdeps/posix/readdir_r.c: Likewise.
11411         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11412         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11413         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11414         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11416         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11417         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11418         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11419         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11420         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11421         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11422         * sysdeps/pthread/lio_listio.c: Likewise.
11423         * sysdeps/sparc/dl-procinfo.h: Likewise.
11424         * sysdeps/unix/i386/sysdep.S: Likewise.
11425         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11426         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11427         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11428         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11430         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11431         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11432         * sysdeps/unix/sysv/linux/speed.c: Likewise.
11433         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11434         * sysdeps/wordsize-32/divdi3.c: Likewise.
11435         * time/sys/time.h: Likewise.
11436         * wcsmbs/Makefile: Likewise.
11438 2013-01-01  David S. Miller  <davem@davemloft.net>
11440         * po/fr.po: Update from translation team.
11442         * catgets/gencat.c: Update copyright year.
11443         * csu/version.c: Likewise.
11444         * debug/catchsegv.sh: Likewise.
11445         * debug/pcprofiledump.c: Likewise.
11446         * debug/xtrace.sh: Likewise.
11447         * elf/ldconfig.c: Likewise.
11448         * elf/ldd.bash.in: Likewise.
11449         * elf/pldd.c: Likewise.
11450         * elf/sotruss.ksh: Likewise.
11451         * elf/sprof.c: Likewise.
11452         * iconv/iconv_prog.c: Likewise.
11453         * iconv/iconvconfig.c: Likewise.
11454         * locale/programs/locale.c: Likewise.
11455         * locale/programs/localedef.c: Likewise.
11456         * login/programs/pt_chown.c: Likewise.
11457         * malloc/memusage.sh: Likewise.
11458         * malloc/memusagestat.c: Likewise.
11459         * malloc/mtrace.pl: Likewise.
11460         * nscd/nscd.c: Likewise.
11461         * nss/getent.c: Likewise.
11462         * nss/makedb.c: Likewise.
11463         * posix/getconf.c: Likewise.
11465 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11467         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11468         numbers.
11470 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
11472         * math/bits/mathcalls.h (modf): Use __nonnull.
11474 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11476         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11477         (split): Use macro CN instead of the bare value.
11478         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11479         could be used.
11480         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11481         instead of the bare value.
11482         (power1): Likewise.
11484 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11486         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11487         __ATAN_TWOM.
11488         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11490         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11491         their values.
11492         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11493         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11494         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11495         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11497 2012-12-28  Andreas Jaeger  <aj@suse.de>
11499         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
11500         values are from Linux 3.7.
11502         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11503         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
11505 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11507         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11508         TRUE case.
11510         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11511         (norm): Likewise.
11512         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11513         variables with preprocessor constants.
11514         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11515         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11516         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11518 2012-12-27  Bruno Haible  <bruno@clisp.org>
11520         [BZ #14317]
11521         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11522         only if needed.
11524 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11526         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11527         and use variable directly.
11528         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11530         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11531         MPONE.
11532         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11533         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11534         variable MPONE.
11535         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11536         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11537         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11538         include directive.  Remove local variable MPONE.
11539         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11540         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11541         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11543 2012-12-25  David S. Miller  <davem@davemloft.net>
11545         * version.h (RELEASE): Set to "development".
11546         (VERSION): Set to "2.17.90".
11547         * NEWS: Add 2.18 section.
11549 2012-12-21  David S. Miller  <davem@davemloft.net>
11551         * po/hr.po: Update from translation team.
11553 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11555         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11557 2012-12-19  Steve Ellcey  <sellcey@mips.com>
11559         * NEWS:  Mention new memcpy for MIPS.
11561 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11563         * manual/contrib.texi (Contributors): Spelling correction.
11565 2012-12-15  David S. Miller  <davem@davemloft.net>
11567         * po/ru.po: Update from translation team.
11569 2012-12-13  David S. Miller  <davem@davemloft.net>
11571         * NEWS: Mention IFUNC testsuite enhancements.
11573         * po/pl.po: Update from translation team.
11574         * po/bg.po: Likewise.
11576         * manual/contrib.texi (Contributors): Update entries for Hongjiu
11577         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
11579 2012-12-11  David S. Miller  <davem@davemloft.net>
11581         * po/sv.po: Update from translation team.
11583         * po/vi.po: Update from translation team.
11585         * po/cs.po: Update from translation team.
11587         * po/de.po: Update from translation team.
11588         * po/eo.po: Likewise.
11589         * po/nl.po: Likewise.
11591 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11593         [BZ #14246]
11594         * manual/argp.texi (Argp Helper Functions): Move node to follow
11595         Argp Parsing State.
11597         [BZ #14872]
11598         * manual/conf.texi (Limits on File System Capacity): Mention if
11599         terminating null is included in the max size.
11601 2012-12-10  Andreas Jaeger  <aj@suse.de>
11603         * po/cs.po: Update from translation team.
11605 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11607         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11608         void pointer and cast to uintptr_t.
11609         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11610         path.
11611         * sysdeps/s390/s390-64/memcpy.S: Likewise.
11612         * sysdeps/s390/s390-64/memset.S: Likewise.
11614 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
11616         [BZ #14833]
11617         * menual/message.texi (Message Translation): Fix typos.
11618         (Helper programs for gettext): Likewise.
11620 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
11622         [BZ #14898]
11623         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11624         Change to -1.
11626 2012-12-07  David S. Miller  <davem@davemloft.net>
11628         * po/libc.pot: Update.
11630 2012-12-07  Richard Henderson  <rth@redhat.com>
11632         [BZ #10114]
11633         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11634         normal/normal case to before the switch.
11635         (_FP_DIV): Likewise.
11637 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
11638             Mike Frysinger  <vapier@gentoo.org>
11640         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11641         check for __NR_fadvise64_64.
11643 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
11645         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11646         0, not just to plain "0" as a statement.
11647         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11648         with cw.
11650 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
11652         * NEWS: Use sourceware.org in Bugzilla URL.
11654 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11657         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11659         * stdio-common/tst-put-error.c (do_test): Add newline to the
11660         padded test to ensure flush.
11662 2012-12-05  Jeff Law  <law@redhat.com>
11664         * sunrpc/etc.rpc (fedfs_admin): Add entry.
11666 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
11668         * README: Don't refer to ports add-on as distributed separately.
11669         Mention AArch64 in list of systems supported in the ports add-on.
11671         * LICENSES: Add more non-FSF copyright and license notices.
11673         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11674         ((unused)).
11676         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11678         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11679         10000 as width of padded output.
11681 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11683         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11685         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11686         variable LX with __attribute__ ((unused)).
11687         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11688         Likewise.
11689         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11690         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11691         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11692         with __attribute__ ((unused)).
11694 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
11696         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11698 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11700         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11701         (CFLAGS-nldbl-acos.c): New variable.
11702         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11703         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11704         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11705         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11706         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11707         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11708         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11709         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11710         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11711         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11712         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11713         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11714         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11715         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11716         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11717         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11718         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11719         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11720         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11721         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11722         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11723         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11724         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11725         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11726         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11727         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11728         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11729         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11730         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11731         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11732         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11733         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11734         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11735         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11736         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11737         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11738         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11739         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11740         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11741         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11742         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11743         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11744         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11745         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11746         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11747         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11748         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11749         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11750         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11751         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11752         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11753         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11754         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11755         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11756         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11757         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11758         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11759         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11760         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11761         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11762         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11763         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11764         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11765         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11766         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11767         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11768         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11769         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11770         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11771         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11772         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11773         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11774         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11775         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11776         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11777         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11778         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11779         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11780         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11781         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11782         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11783         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11784         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11785         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11786         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11787         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11788         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11789         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11790         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11791         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11792         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11793         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11794         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11795         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11796         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11797         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11798         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11801         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11803         [BZ #14914]
11804         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11805         whole low double instead of just low 47 bits when splitting values
11806         into two parts.
11808 2012-12-03  Allan McRae  <allan@archlinux.org>
11810         * manual/stdio.texi (Predefined Printf Handlers): Remove
11811         @hsep and @vsep usage.
11813 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
11815         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11816         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11818 2012-12-03  Jeff Law  <law@redhat.com>
11820         * time/sys/time.h (settimeofday): Do not mark TV argument
11821         as __nonnull.
11823 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
11825         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11826         when currently writing and seek to current position when not.
11827         * libio/Makefile (tests): Remove bug-fclose1.
11828         * libio/bug-fclose1.c: Delete.
11830 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
11832         * manual/arith.texi (feenableexcept): Fix typo.
11833         (fedisableexcept): Likewise.
11835 2012-11-30  Roland McGrath  <roland@hack.frob.com>
11837         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11838         second, differently-typed declaration, rather than a cast.
11840 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11842         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11843         * include/rpc/svc.h: ... here.
11845 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
11847         [BZ #13013]
11848         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11849         depending n and resplen2 to catch cases where answer
11850         equals answerp2.
11852 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
11854         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11855         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11857 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
11859         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11861 2012-11-29  Roland McGrath  <roland@hack.frob.com>
11863         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11865 2012-11-28  Jeff Law  <law@redhat.com>
11867         [BZ #13761]
11868         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11869         dataset_temporary.  Track alloca usage into alloca_used.
11870         If dataset is large allocate and release it via malloc/free.
11872 2012-06-04  Florian Weimer  <fweimer@redhat.com>
11874         [BZ #14197]
11875         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11877 2012-11-28  David S. Miller  <davem@davemloft.net>
11879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11881 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11883         [BZ #14803]
11884         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11885         of pi/2 rounded to nearest to 64 bits.
11886         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11887         nearest to 64 bits.
11888         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11889         bits.
11891 2012-11-28  Jeff Law <law@redhat.com>
11892             Martin Osvald <mosvald@redhat.com>
11894         [BZ #14889]
11895         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11896         * sunrpc/svc.c: Include time.h.
11897         (__svc_accept_failed): New function.
11898         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11899         any reason other than EINTR, call __svc_accept_failed.
11900         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11901         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11903 2012-11-28  Andreas Schwab  <schwab@suse.de>
11905         * scripts/abilist.awk: Also handle indirect functions in .opd
11906         section.
11908 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11910         [BZ #13881]
11911         * sysdeps/x86/fpu/powl_helper.c: New file.
11912         * sysdeps/x86/fpu/Makefile: Likewise.
11913         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11914         (p3): New object.
11915         (__ieee754_powl): Use __powl_helper for finite arguments except
11916         integer exponents below 8.
11917         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11918         (p3): New object.
11919         (__ieee754_powl): Use __powl_helper for finite arguments except
11920         integer exponents below 8.
11921         * math/libm-test.inc (pow_test): Add more tests and enable some
11922         previously disabled tests.
11923         * sysdeps/i386/fpu/libm-test-ulps: Update.
11924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11926 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11927             Carlos O'Donell  <carlos_odonell@mentor.com>
11929         * nss/makedb.c (is_prime): Assert that input is odd and greater
11930         than 4.  Note that fact in a comment too.
11931         (next_prime): Add 4 to input.
11933 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11935         [BZ #11741]
11936         * libio/Makefile (tests): Add test case tst-fwrite-error.
11937         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11938         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11939         * libio/tst-fwrite-error.c: New test case.
11941 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
11943         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11944         before casting to void *.
11945         * include/libc-internal.h (__pointer_type): New macro.
11946         (__integer_if_pointer_type_sub): Likewise.
11947         (__integer_if_pointer_type): Likewise.
11948         (cast_to_integer): Likewise.
11949         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11950         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11951         before casting to atomic64_t.
11952         (atomic_exchange_acq): Likewise.
11953         (__arch_exchange_and_add_body): Likewise.
11954         (__arch_add_body): Likewise.
11955         (atomic_add_negative): Likewise.
11956         (atomic_add_zero): Likewise.
11958 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
11960         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11961         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11962         (add_fdes): Likewise.
11963         (linear_search_fdes): Likewise.
11964         (binary_search_unencoded_fdes): Likewise.
11966 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
11968         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11970 2012-11-24  Adam Conrad  <adconrad@0c3.net>
11972         * configure.in: Autodetect C++ header directories.
11973         * configure: Regenerated.
11975 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
11977         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11979 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
11981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11983 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
11985         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11986         LDBL_MANT_DIG == 106]: Disable some tests.
11987         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11988         Likewise.
11989         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11990         Likewise.
11992         [BZ #14871]
11993         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11994         input for small inputs.  Return +/- pi/2 for large inputs.
11995         * math/libm-test.inc (atan_test): Add more tests.
11997         * sysdeps/generic/unwind-dw2-fde-glibc.c
11998         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11999         __attribute__ ((unused)).
12001         [BZ #14645]
12002         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12003         x * y if x and y are nonzero and z is zero.
12005         [BZ #14811]
12006         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12007         nonzero exponents with absolute value below 0x1p-117 to +/-
12008         0x1p-117.
12010         [BZ #14869]
12011         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12012         up arguments below 2**-450, not just those below 2**-500.
12013         * math/libm-test.inc (hypot_test): Add another test.
12015         [BZ #14868]
12016         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12017         Return a+b for ratio over 2**120, not 2**60.
12018         * math/libm-test.inc (hypot_test): Add another test.
12020         * math/libm-test.inc (clog_test): Use
12021         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12022         (clog10_test): Likewise.
12024         [BZ #6778]
12025         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12027 2012-11-22  Andreas Schwab  <schwab@suse.de>
12029         * sysdeps/i386/fpu/libm-test-ulps: Update.
12031 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
12033         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12034         printf output with newline.
12036 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
12038         [BZ #14865]
12039         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12040         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12041         -z nodlopen, -z initfirst and -z execstack support.
12042         * configure: Regenerated.
12044         * elf/elf.h (DF_1_NODIRECT): New macro.
12045         (DF_1_IGNMULDEF): Likewise.
12046         (DF_1_NOKSYMS): Likewise.
12047         (DF_1_NOHDR): Likewise.
12048         (DF_1_EDITED): Likewise.
12049         (DF_1_NORELOC): Likewise.
12050         (DF_1_SYMINTPOSE): Likewise.
12051         (DF_1_GLOBAUDIT): Likewise.
12052         (DF_1_SINGLETON): Likewise.
12053         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12054         DT_1_SUPPORTED_MASK bits.
12055         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12057 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
12059         * sysdeps/unix/make-syscalls.sh: Document prefixes.
12061 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
12063         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12064         macro.
12066         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12067         (sendmmsg): Move declarations...
12068         * socket/sys/socket.h: ... here.
12069         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12070         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12071         include it from...
12072         * socket/recvmmsg.c: ... this new file.
12073         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12074         (sendmmsg): Rename to __sendmmsg, create weak alias and make
12075         definition of __sendmmsg hidden.
12076         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12077         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12078         Move ENOSYS stub into and include it from...
12079         * socket/sendmmsg.c: ... this new file.
12080         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12081         (sysdep_routines): Move recvmmsg and sendmmsg...
12082         * socket/Makefile (routines): ... here.
12083         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12084         (GLIBC_PRIVATE): Add __sendmmsg.
12085         * include/sys/socket.h (__sendmmsg): Add declarations.
12086         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12087         sendmmsg.
12089 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
12091         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12092         variable I1 with __attribute__ ((unused)).
12093         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12095 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12097         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12098         DUMMY variables with __attribute__ ((unused)).
12100         * bits/byteswap.h: Include <bits/types.h>.
12101         (__bswap_64): Use __uint64_t instead of unsigned long long int.
12103 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12105         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12106         string_t.  Do not manually set errno.
12107         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12108         length with __strnlen.  Make sure to both set errno and return it on
12109         failure.
12111 2012-11-19  David S. Miller  <davem@davemloft.net>
12113         With help from Joseph Myers.
12114         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12115         very large arguments properly.
12116         * math/libm-test.inc (atan_test): New tests.
12117         (atan2_test): New tests.
12118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12119         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12121 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12123         [BZ #14856]
12124         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12125         Define to 3.
12127         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12128         [POSIX] (EADDRNOTAVAIL): Likewise.
12129         [POSIX] (EAFNOSUPPORT): Likewise.
12130         [POSIX] (EALREADY): Likewise.
12131         [POSIX] (ECONNABORTED): Likewise.
12132         [POSIX] (ECONNREFUSED): Likewise.
12133         [POSIX] (ECONNRESET): Likewise.
12134         [POSIX] (EDESTADDRREQ): Likewise.
12135         [POSIX] (EDQUOT): Likewise.
12136         [POSIX] (EHOSTUNREACH): Likewise.
12137         [POSIX] (EIDRM): Likewise.
12138         [POSIX] (EISCONN): Likewise.
12139         [POSIX] (ELOOP): Likewise.
12140         [POSIX] (EMULTIHOP): Likewise.
12141         [POSIX] (ENETDOWN): Likewise.
12142         [POSIX] (ENETUNREACH): Likewise.
12143         [POSIX] (ENOBUFS): Likewise.
12144         [POSIX] (ENODATA): Likewise.
12145         [POSIX] (ENOLINK): Likewise.
12146         [POSIX] (ENOMSG): Likewise.
12147         [POSIX] (ENOPROTOOPT): Likewise.
12148         [POSIX] (ENOSR): Likewise.
12149         [POSIX] (ENOSTR): Likewise.
12150         [POSIX] (ENOTCONN): Likewise.
12151         [POSIX] (ENOTSOCK): Likewise.
12152         [POSIX] (EOPNOTSUPP): Likewise.
12153         [POSIX] (EOVERFLOW): Likewise.
12154         [POSIX] (EPROTO): Likewise.
12155         [POSIX] (EPROTONOSUPPORT): Likewise.
12156         [POSIX] (EPROTOTYPE): Likewise.
12157         [POSIX] (ESTALE): Likewise.
12158         [POSIX] (ETIME): Likewise.
12159         [POSIX] (ETXTBSY): Likewise.
12160         [POSIX] (EWOULDBLOCK): Likewise.
12161         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12162         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12163         [POSIX] (SEEK_CUR): Likewise.
12164         [POSIX] (SEEK_END): Likewise.
12165         [POSIX || UNIX98] (mode_t): Do not require.
12166         [POSIX] (off_t): Likewise.
12167         [POSIX] (pid_t): Likewise.
12168         [POSIX] (sys/stat.h): Do not allow header.
12169         [POSIX] (unistd.h): Likewise.
12170         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12171         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12172         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12173         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12174         require.
12175         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12176         sigevent): Specify elements.
12177         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12178         entry.
12179         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12180         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12182         * conform/data/cpio.h-data [POSIX]: Disable whole file.
12183         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12184         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12185         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12186         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12187         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12188         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12189         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12190         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12191         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12192         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12193         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12194         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12195         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12196         Likewise.
12197         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12198         Likewise.
12199         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12200         Likewise.
12201         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12202         Likewise.
12203         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12204         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12205         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12206         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12207         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12208         Specify lower bound on value.
12209         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12210         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12211         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12212         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12213         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12214         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12215         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12216         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12217         value.
12218         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12219         as optional.
12220         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12221         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12222         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12223         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12224         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12225         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12226         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12227         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12228         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12229         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12230         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12231         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12232         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12233         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12234         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12235         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12236         entry.
12237         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12238         optional.
12239         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12240         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12241         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12242         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12243         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12244         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12245         Likewise.
12246         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12247         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12248         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12249         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12250         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
12251         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12252         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12253         as optional.
12254         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12255         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12256         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12257         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12258         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12259         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12260         specify as optional.
12261         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12262         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12263         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12264         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12265         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12266         [XPG3] (NL_LANGMAX): Likewise.
12267         [POSIX || XPG3] (NL_MSGMAX): Likewise.
12268         [POSIX || XPG3] (NL_NMAX): Likewise.
12269         [POSIX || XPG3] (NL_SETMAX): Likewise.
12270         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12271         [XPG3] (NZERO): Likewise.
12272         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12273         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12274         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12275         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12276         (REG_ERANGE): Expect.
12277         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12278         optional-constant.
12279         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12280         Use (void) in prototype.
12281         [POSIX] (*_t): Allow.
12282         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12283         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12284         (WRDE_BADVAL): Expect.
12286         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12287         expect.
12288         [XPG3 || XPG4] (O_RSYNC): Likewise.
12289         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12290         Likewise.
12291         [XPG3 || XPG4] (pthread_sigmask): Likewise.
12292         [XPG3 || XPG4] (sigqueue): Likewise.
12293         [XPG3 || XPG4] (sigtimedwait): Likewise.
12294         [XPG3 || XPG4] (sigwaitinfo): Likewise.
12295         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12296         [XPG3 || XPG4] (vsnprintf): Likewise.
12297         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12298         Likewise.
12299         [XPG3 || XPG4] (blksize_t): Likewise.
12300         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12301         Likewise.
12302         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12303         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12304         [XPG3 || XPG4] (struct itimerspec): Likewise.
12305         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12306         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12307         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12308         [XPG3 || XPG4] (clockid_t): Likewise.
12309         [XPG3 || XPG4] (timer_t): Likewise.
12310         [XPG3 || XPG4] (clock_getres): Likewise.
12311         [XPG3 || XPG4] (clock_gettime): Likewise.
12312         [XPG3 || XPG4] (clock_settime): Likewise.
12313         [XPG3 || XPG4] (nanosleep): Likewise.
12314         [XPG3 || XPG4] (timer_create): Likewise.
12315         [XPG3 || XPG4] (timer_delete): Likewise.
12316         [XPG3 || XPG4] (timer_gettime): Likewise.
12317         [XPG3 || XPG4] (timer_getoverrun): Likewise.
12318         [XPG3 || XPG4] (timer_settime): Likewise.
12319         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12320         [XPG3 || XPG4] (getlogin_r): Likewise.
12321         [XPG3 || XPG4] (pread): Likewise.
12322         [XPG3 || XPG4] (pthread_atfork): Likewise.
12323         [XPG3 || XPG4] (pwrite): Likewise.
12325         [BZ #14835]
12326         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12327         <bits/siginfo.h>.
12329 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12331         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12332         finalizing MALLSTREAM.
12334         * sysdeps/mach/hurd/syncfs.c: New file.
12336 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12338         [BZ #14719]
12339         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12340         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12341         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12342         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12343         (_nss_dns_gethostbyname4_r): Likewise.
12344         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12345         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12347 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
12349         [BZ #13763]
12350         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12352 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
12354         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12355         * elf/cache.c (print_entry): Print ",AArch64" for
12356         FLAG_AARCH64_LIB64
12358         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12359         * elf/cache.c (print_entry): Print ",hard-float" for
12360         FLAG_ARM_LIBHF.
12362 2012-11-18  David S. Miller  <davem@davemloft.net>
12364         With help from Joseph Myers.
12365         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12366         cutoff to 2**-13.
12367         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12368         cutoff to 2**-25.
12369         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12370         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12371         small.
12372         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12373         * math/libm-test.inc (y0_test): New tests.
12374         (y1_test): New tests.
12375         * sysdeps/i386/fpu/libm-test-ulps: Update.
12376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12379 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
12381         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12382         64-bit targets.
12383         * configure: Regenerated.
12385 2012-11-17  David S. Miller  <davem@davemloft.net>
12387         [BZ #14811]
12388         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12389         nonzero exponents with absolute value below 0x1p-128 to +/-
12390         0x1p-128.
12392 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
12394         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12396         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12398         * posix/getconf-speclist.c: New file.
12399         * posix/posix-envs.def: Likewise.
12400         * posix/confstr.c (START_ENV_GROUP): New macro.
12401         (END_ENV_GROUP): Likewise.
12402         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12403         (KNOWN_PRESENT_ENV_STRING): Likewise.
12404         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12405         (UNKNOWN_ENVIRONMENT): Likewise.
12406         (confstr): Include posix-envs.def instead of handling
12407         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12408         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12409         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12410         (END_ENV_GROUP): Likewise.
12411         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12412         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12413         (UNKNOWN_ENVIRONMENT): Likewise.
12414         (__sysconf): Include posix-envs.def instead of handling associated
12415         cases directly here.
12416         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12417         preprocessing getconf-speclist.c rather than running getconf or
12418         generating empty file.
12420 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
12422         * scripts/check-local-headers.sh: Ignore 'mach' headers.
12424 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
12426         [BZ #14672]
12427         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12429 2012-11-16  David S. Miller  <davem@davemloft.net>
12431         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12432         smaller than LDBL_EPSILON/2.0L, just return xm1.
12434 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
12436         * elf/tst-array1.c (init): Set constructor priority to 1000.
12437         (fini): Set destructor priority to 1000.
12438         * elf/tst-array2dep.c: Likewise.
12440 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12442         [BZ #11741]
12443         * libio/fileops.c (_IO_new_file_write): Correctly return error.
12444         (_IO_new_file_xsputn): Also return EOF if none of the input
12445         data was written when overflow failed.
12446         * libio/iopadn.c (_IO_padn): Likewise.
12447         * libio/iowpadn.c (_IO_wpadn): Likewise.
12448         * stdio-common/tst-put-error.c: Add copyright notice.
12449         (do_test): Add case for printing padded string.
12450         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12451         _IO_padn returned error.
12452         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12453         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12454         return EOF.
12456 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12458         * libio/libioP.h: Add comment note that the references to C++
12459         bits are now obsolete.
12461 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12463         * math/libm-test.inc (check_complex): Use asprintf.
12465 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
12467         * debug/pcprofiledump.c (print_version): Update copyright year.
12468         * malloc/memusagestat.c (print_version): Likewise.
12470 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12472         [BZ #14831]
12473         * elf/Makefile (tests): Add tst-audit8.
12474         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12475         ($(objpfx)tst-audit8.out): New target.
12476         (tst-audit8-ENV): New variable.
12477         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12478         audit if l_reloc_result is NULL.
12479         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12480         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12481         * elf/tst-audit8.c: New file.
12483 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12485         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12486         * misc/Makefile (CFLAGS-select.c): Define.
12487         * posix/Makefile (CFLAGS-pause.c): Define.
12489 2012-11-13  David S. Miller  <davem@davemloft.net>
12491         * crypt/Makefile: Move test targets after toplevel Rules
12492         inclusion.  Grab any necessary sysdep routines when linking.
12493         * crypt/md5.c (md5_process_block): Remove define, we will always
12494         name it __md5_process_block.
12495         (md5_finish_ctx): Update md5_process_block call.
12496         (md5_stream): Likewise.
12497         (md5_process_bytes): Likewise.
12498         (md5_process_block): Rename to __md5_process_block and move to ...
12499         * crypt/md5-block.c: ... here.
12500         * crypt/sha256.c (sha256_process_block): Move to ...
12501         * crypt/sha256-block.c: ... here.
12502         * crypt/sha512.c (sha512_process_block): Move to ...
12503         * crypt/sha512-block.c: ... here.
12504         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12505         path.
12506         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12507         * sysdeps/sparc/sparc64/multiarch/Makefile
12508         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12509         crypt subdir.
12510         (localedef-aux): Add md5 crypto assembler when in locale subdir.
12511         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12512         multiarch changes.
12513         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12514         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12515         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12516         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12517         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12518         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12519         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12520         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12521         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12522         file.
12523         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12524         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12525         file.
12526         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12528 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
12530         * timezone/tzselect.ksh: Update from tzcode git revision
12531         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12532         * timezone/zdump.c: Likewise.
12533         * timezone/zic.c: Likewise.
12534         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12535         in TZVERSION setting, not $(PKGVERSION).
12536         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
12537         REPORT_BUGS_TO settings.
12539         [BZ #14838]
12540         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12541         macro.
12543 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12545         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12546         detection to immediately after _FP_ROUND().
12547         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12548         bits are 0.
12550 2012-11-11  David S. Miller  <davem@davemloft.net>
12552         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12553         inttypes.h
12554         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12555         __close rather than their public counterparts.
12557 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
12559         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12560         file.
12561         [UNIX98] (sem_timedwait): Do not expect.
12562         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12563         [XPG4 || UNIX98] (sockatmark): Do not expect.
12564         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12565         (clock_getcpuclockid): Do not expect.
12566         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12567         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12568         Do not expect.
12569         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12570         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12571         [UNIX98] (vwscanf): Likewise.
12572         [UNIX98] (vswscanf): Likewise.
12574 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
12576         * timezone/version.h: Remove file.
12577         * timezone/README: Do not refer to version.h.
12578         * timezone/Makefile ($(objpfx)zic.o): New dependency on
12579         $(objpfx)version.h.
12580         ($(objpfx)zdump.o): Likewise.
12581         ($(objpfx)version.h): New target.
12583         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12584         2012i.
12585         * timezone/README: Don't mention modification to tzselect.ksh.
12586         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12587         work on unmodified tzselect.ksh.  Substitute version numbers in
12588         tzselect.ksh.
12590         * Makefile (format-me): Remove.
12591         (INSTALL): Adjust indentation.  Use commands directly instead of
12592         using $(format-me).
12594         * aclocal.m4 (ACX_PKGVERSION): New macro.
12595         (ACX_BUGURL): Likewise.
12596         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12597         (PKGVERSION): New AC_DEFINE_UNQUOTED.
12598         (REPORT_BUGS_TO): Likewise.
12599         * configure: Regenerated.
12600         * config.h.in (PKGVERSION): New macro.
12601         (REPORT_BUGS_TO): Likewise.
12602         * config.make.in (PKGVERSION): New variable.
12603         (PKGVERSION_TEXI): Likewise.
12604         (REPORT_BUGS_TO): Likewise.
12605         (REPORT_BUGS_TEXI): Likewise.
12606         * Makefile (format-me): Use -I$(common-objpfx)manual.
12607         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12608         ($(common-objpfx)manual/%): New target.
12609         (manual/%): Remove target.
12610         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12611         (print_version): Use PKGVERSION.
12612         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12613         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12614         and REPORT_BUGS_TO.
12615         ($(objpfx)xtrace): Likewise.
12616         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12617         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12618         (print_version): Use PKGVERSION.
12619         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12620         (do_version): Use PKGVERSION.
12621         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12622         REPORT_BUGS_TO.
12623         (common-ldd-rewrite): Likewise.
12624         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12625         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12626         (print_version): Use PKGVERSION.
12627         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12628         * elf/pldd.c (argp_program_bug_address): Remove variable.
12629         (more_help): New function.
12630         (argp): Use more_help.
12631         (print_version): Use PKGVERSION.
12632         * elf/sln.c (main): Use PKGVERSION.
12633         (usage): Use REPORT_BUGS_TO.
12634         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12635         (top level): Use PKGVERSION.
12636         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12637         (print_version): Use PKGVERSION.
12638         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12639         (print_version): Use PKGVERSION.
12640         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12641         (print_version): Use PKGVERSION.
12642         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12643         (print_version): Use PKGVERSION.
12644         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12645         (print_version): Use PKGVERSION.
12646         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12647         (print_version): Use PKGVERSION.
12648         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12649         and BUGURL.
12650         ($(objpfx)memusage): Likewise.
12651         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12652         (do_version): Use PKGVERSION.
12653         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12654         (print_version): Use PKGVERSION.
12655         * malloc/mtrace.pl ($PACKAGE): Remove variable.
12656         ($PKGVERSION): New variable.
12657         ($REPORT_BUGS_TO): Likewise.
12658         (usage): Use $REPORT_BUGS_TO.
12659         (top level): Use $PKGVERSION.
12660         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12661         ($(objpfx)pkgvers.texi): New rule.
12662         ($(objpfx)stamp-pkgvers): Likewise.
12663         * manual/install.texi: Include pkgvers.texi.
12664         (--with-pkgversion): Document new configure option.
12665         (--with-bugurl): Likewise.
12666         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12667         than necessarily for this particular distribution.  Use
12668         REPORT_BUGS_TO for where to report bugs.
12669         * INSTALL: Regenerated.
12670         * manual/libc.texinfo: Include pkgvers.texi.
12671         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12672         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12673         (print_version): Use PKGVERSION.
12674         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12675         (print_version): Use PKGVERSION.
12676         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12677         (print_version): Use PKGVERSION.
12678         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12679         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12680         macro.
12681         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12682         (print_version): Use PKGVERSION.
12683         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12684         (print_version): Use PKGVERSION.
12685         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12686         and PKGVERSION.
12688         * timezone/checktab.awk: Update from tzcode 2012i.
12689         * timezone/ialloc.c: Likewise.
12690         * timezone/private.h: Likewise.
12691         * timezone/scheck.c: Likewise.
12692         * timezone/tzfile.h: Likewise.
12693         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12694         (TZVERSION): Hardcode tzcode version number.
12695         * timezone/zdump.c: Update from tzcode 2012i.
12696         * timezone/zic.c: Likewise.
12697         * timezone/version.h: New file.
12698         * timezone/README: Describe version.h.  Update upstream location.
12700         [BZ #14824]
12701         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12702         (mktemp): Enable declaration.
12703         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12704         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12705         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12706         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12707         Likewise.
12708         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12709         Likewise.
12710         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12711         Likewise.
12712         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12713         Likewise.
12714         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12715         Likewise.
12716         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12717         Likewise.
12719         [BZ #14821]
12720         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12721         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
12722         for copies of such integer values.
12723         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12724         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12726 2012-11-09  Andreas Jaeger  <aj@suse.de>
12728         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12729         definitions and declarations that are provided by
12730         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12732 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12734         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12735         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12736         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12737         definition.
12739 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12741         * elf/elf.h: Update comment before AArch64 relocations.
12743 2012-11-07  David S. Miller  <davem@davemloft.net>
12745         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12746         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12747         (__start_context): Declare.
12748         (__makecontext_ret): Delete.
12749         (__makecontext): Hook up __start_context instead of
12750         __makecontext_ret.
12751         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12752         (sysdep_routines): Add __start_context when in stdlib.
12754 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12756         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12757         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12758         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
12759         hardcoded "nm".
12760         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
12761         (READELF): New variable.  Use it instead of hardcoded "readelf".
12763 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12765         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12766         * sysdeps/x86/Makefile: Here.
12767         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12768         * sysdeps/x86/tst-xmmymm.sh: This.
12770 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12772         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12773         expectations.
12774         [UNIX98] (pthread_barrier_t): Do not expect.
12775         [UNIX98] (pthread_barrierattr_t): Likewise.
12776         [UNIX98] (pthread_spinlock_t): Likewise.
12777         [UNIX98] (pthread_barrier_destroy): Likewise.
12778         [UNIX98] (pthread_barrier_init): Likewise.
12779         [UNIX98] (pthread_barrier_wait): Likewise.
12780         [UNIX98] (pthread_barrierattr_destroy): Likewise.
12781         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12782         [UNIX98] (pthread_barrierattr_init): Likewise.
12783         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12784         [UNIX98] (pthread_getcpuclockid): Likewise.
12785         [UNIX98] (pthread_mutex_timedlock): Likewise.
12786         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12787         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12788         [UNIX98] (pthread_sigmask): Likewise.
12789         [UNIX98] (pthread_spin_destroy): Likewise.
12790         [UNIX98] (pthread_spin_init): Likewise.
12791         [UNIX98] (pthread_spin_lock): Likewise.
12792         [UNIX98] (pthread_spin_trylock): Likewise.
12793         [UNIX98] (pthread_spin_unlock): Likewise.
12794         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12795         Do not expect.
12796         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12797         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12798         [XPG3 || XPG4] (pthread_cond_t): Likewise.
12799         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12800         [XPG3 || XPG4] (pthread_key_t): Likewise.
12801         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12802         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12803         [XPG3 || XPG4] (pthread_once_t): Likewise.
12804         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12805         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12806         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12807         [XPG3 || XPG4] (pthread_t): Likewise.
12809         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12810         not expect.
12811         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12813         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12814         Change function return type to int.
12816         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12817         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12818         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12819         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12820         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12821         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12822         [!POSIX] (posix_madvise): Likewise.
12823         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12824         && !UNIX98].
12825         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12826         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12827         (mode_t): Likewise.
12828         (posix_mem_offset): Likewise.
12829         (posix_typed_mem_get_info): Likewise.
12830         (posix_typed_mem_open): Likewise.
12832         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12833         Change condition to [XOPEN2K8].
12835         * conform/conformtest.pl: Preprocess allow-header data with -x c
12836         instead of from stdin.
12837         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12838         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12839         [C99-based standards] (cerfc): Likewise.
12840         [C99-based standards] (cexp2): Likewise.
12841         [C99-based standards] (cexpm1): Likewise.
12842         [C99-based standards] (clog10): Likewise.
12843         [C99-based standards] (clog1p): Likewise.
12844         [C99-based standards] (clog2): Likewise.
12845         [C99-based standards] (clgamma): Likewise.
12846         [C99-based standards] (ctgamma): Likewise.
12847         [C99-based standards] (cerff): Likewise.
12848         [C99-based standards] (cerfcf): Likewise.
12849         [C99-based standards] (cexp2f): Likewise.
12850         [C99-based standards] (cexpm1f): Likewise.
12851         [C99-based standards] (clog10f): Likewise.
12852         [C99-based standards] (clog1pf): Likewise.
12853         [C99-based standards] (clog2f): Likewise.
12854         [C99-based standards] (clgammaf): Likewise.
12855         [C99-based standards] (ctgammaf): Likewise.
12856         [C99-based standards] (cerfl): Likewise.
12857         [C99-based standards] (cerfcl): Likewise.
12858         [C99-based standards] (cexp2l): Likewise.
12859         [C99-based standards] (cexpm1l): Likewise.
12860         [C99-based standards] (clog10l): Likewise.
12861         [C99-based standards] (clog1pl): Likewise.
12862         [C99-based standards] (clog2l): Likewise.
12863         [C99-based standards] (clgammal): Likewise.
12864         [C99-based standards] (ctgammal): Likewise.
12865         * conform/data/inttypes.h-data [C99-based standards]: Include
12866         stdint.h-data.  Remove all expectations for stdint.h contents.
12867         [C99-based standards] (PRI*): Do not allow.
12868         [C99-based standards] (SCN*): Likewise.
12869         [C99-based standards] (*_t): Likewise.
12870         [C99-based-standards] (PRId8): Expect macro.
12871         [C99-based-standards] (PRIi8): Likewise.
12872         [C99-based-standards] (PRIo8): Likewise.
12873         [C99-based-standards] (PRIu8): Likewise.
12874         [C99-based-standards] (PRIx8): Likewise.
12875         [C99-based-standards] (PRIX8): Likewise.
12876         [C99-based-standards] (SCNd8): Likewise.
12877         [C99-based-standards] (SCNi8): Likewise.
12878         [C99-based-standards] (SCNo8): Likewise.
12879         [C99-based-standards] (SCNu8): Likewise.
12880         [C99-based-standards] (SCNx8): Likewise.
12881         [C99-based-standards] (PRIdLEAST8): Likewise.
12882         [C99-based-standards] (PRIiLEAST8): Likewise.
12883         [C99-based-standards] (PRIoLEAST8): Likewise.
12884         [C99-based-standards] (PRIuLEAST8): Likewise.
12885         [C99-based-standards] (PRIxLEAST8): Likewise.
12886         [C99-based-standards] (PRIXLEAST8): Likewise.
12887         [C99-based-standards] (SCNdLEAST8): Likewise.
12888         [C99-based-standards] (SCNiLEAST8): Likewise.
12889         [C99-based-standards] (SCNoLEAST8): Likewise.
12890         [C99-based-standards] (SCNuLEAST8): Likewise.
12891         [C99-based-standards] (SCNxLEAST8): Likewise.
12892         [C99-based-standards] (PRIdFAST8): Likewise.
12893         [C99-based-standards] (PRIiFAST8): Likewise.
12894         [C99-based-standards] (PRIoFAST8): Likewise.
12895         [C99-based-standards] (PRIuFAST8): Likewise.
12896         [C99-based-standards] (PRIxFAST8): Likewise.
12897         [C99-based-standards] (PRIXFAST8): Likewise.
12898         [C99-based-standards] (SCNdFAST8): Likewise.
12899         [C99-based-standards] (SCNiFAST8): Likewise.
12900         [C99-based-standards] (SCNoFAST8): Likewise.
12901         [C99-based-standards] (SCNuFAST8): Likewise.
12902         [C99-based-standards] (SCNxFAST8): Likewise.
12903         [C99-based-standards] (PRId16): Likewise.
12904         [C99-based-standards] (PRIi16): Likewise.
12905         [C99-based-standards] (PRIo16): Likewise.
12906         [C99-based-standards] (PRIu16): Likewise.
12907         [C99-based-standards] (PRIx16): Likewise.
12908         [C99-based-standards] (PRIX16): Likewise.
12909         [C99-based-standards] (SCNd16): Likewise.
12910         [C99-based-standards] (SCNi16): Likewise.
12911         [C99-based-standards] (SCNo16): Likewise.
12912         [C99-based-standards] (SCNu16): Likewise.
12913         [C99-based-standards] (SCNx16): Likewise.
12914         [C99-based-standards] (PRIdLEAST16): Likewise.
12915         [C99-based-standards] (PRIiLEAST16): Likewise.
12916         [C99-based-standards] (PRIoLEAST16): Likewise.
12917         [C99-based-standards] (PRIuLEAST16): Likewise.
12918         [C99-based-standards] (PRIxLEAST16): Likewise.
12919         [C99-based-standards] (PRIXLEAST16): Likewise.
12920         [C99-based-standards] (SCNdLEAST16): Likewise.
12921         [C99-based-standards] (SCNiLEAST16): Likewise.
12922         [C99-based-standards] (SCNoLEAST16): Likewise.
12923         [C99-based-standards] (SCNuLEAST16): Likewise.
12924         [C99-based-standards] (SCNxLEAST16): Likewise.
12925         [C99-based-standards] (PRIdFAST16): Likewise.
12926         [C99-based-standards] (PRIiFAST16): Likewise.
12927         [C99-based-standards] (PRIoFAST16): Likewise.
12928         [C99-based-standards] (PRIuFAST16): Likewise.
12929         [C99-based-standards] (PRIxFAST16): Likewise.
12930         [C99-based-standards] (PRIXFAST16): Likewise.
12931         [C99-based-standards] (SCNdFAST16): Likewise.
12932         [C99-based-standards] (SCNiFAST16): Likewise.
12933         [C99-based-standards] (SCNoFAST16): Likewise.
12934         [C99-based-standards] (SCNuFAST16): Likewise.
12935         [C99-based-standards] (SCNxFAST16): Likewise.
12936         [C99-based-standards] (PRId32): Likewise.
12937         [C99-based-standards] (PRIi32): Likewise.
12938         [C99-based-standards] (PRIo32): Likewise.
12939         [C99-based-standards] (PRIu32): Likewise.
12940         [C99-based-standards] (PRIx32): Likewise.
12941         [C99-based-standards] (PRIX32): Likewise.
12942         [C99-based-standards] (SCNd32): Likewise.
12943         [C99-based-standards] (SCNi32): Likewise.
12944         [C99-based-standards] (SCNo32): Likewise.
12945         [C99-based-standards] (SCNu32): Likewise.
12946         [C99-based-standards] (SCNx32): Likewise.
12947         [C99-based-standards] (PRIdLEAST32): Likewise.
12948         [C99-based-standards] (PRIiLEAST32): Likewise.
12949         [C99-based-standards] (PRIoLEAST32): Likewise.
12950         [C99-based-standards] (PRIuLEAST32): Likewise.
12951         [C99-based-standards] (PRIxLEAST32): Likewise.
12952         [C99-based-standards] (PRIXLEAST32): Likewise.
12953         [C99-based-standards] (SCNdLEAST32): Likewise.
12954         [C99-based-standards] (SCNiLEAST32): Likewise.
12955         [C99-based-standards] (SCNoLEAST32): Likewise.
12956         [C99-based-standards] (SCNuLEAST32): Likewise.
12957         [C99-based-standards] (SCNxLEAST32): Likewise.
12958         [C99-based-standards] (PRIdFAST32): Likewise.
12959         [C99-based-standards] (PRIiFAST32): Likewise.
12960         [C99-based-standards] (PRIoFAST32): Likewise.
12961         [C99-based-standards] (PRIuFAST32): Likewise.
12962         [C99-based-standards] (PRIxFAST32): Likewise.
12963         [C99-based-standards] (PRIXFAST32): Likewise.
12964         [C99-based-standards] (SCNdFAST32): Likewise.
12965         [C99-based-standards] (SCNiFAST32): Likewise.
12966         [C99-based-standards] (SCNoFAST32): Likewise.
12967         [C99-based-standards] (SCNuFAST32): Likewise.
12968         [C99-based-standards] (SCNxFAST32): Likewise.
12969         [C99-based-standards] (PRId64): Likewise.
12970         [C99-based-standards] (PRIi64): Likewise.
12971         [C99-based-standards] (PRIo64): Likewise.
12972         [C99-based-standards] (PRIu64): Likewise.
12973         [C99-based-standards] (PRIx64): Likewise.
12974         [C99-based-standards] (PRIX64): Likewise.
12975         [C99-based-standards] (SCNd64): Likewise.
12976         [C99-based-standards] (SCNi64): Likewise.
12977         [C99-based-standards] (SCNo64): Likewise.
12978         [C99-based-standards] (SCNu64): Likewise.
12979         [C99-based-standards] (SCNx64): Likewise.
12980         [C99-based-standards] (PRIdLEAST64): Likewise.
12981         [C99-based-standards] (PRIiLEAST64): Likewise.
12982         [C99-based-standards] (PRIoLEAST64): Likewise.
12983         [C99-based-standards] (PRIuLEAST64): Likewise.
12984         [C99-based-standards] (PRIxLEAST64): Likewise.
12985         [C99-based-standards] (PRIXLEAST64): Likewise.
12986         [C99-based-standards] (SCNdLEAST64): Likewise.
12987         [C99-based-standards] (SCNiLEAST64): Likewise.
12988         [C99-based-standards] (SCNoLEAST64): Likewise.
12989         [C99-based-standards] (SCNuLEAST64): Likewise.
12990         [C99-based-standards] (SCNxLEAST64): Likewise.
12991         [C99-based-standards] (PRIdFAST64): Likewise.
12992         [C99-based-standards] (PRIiFAST64): Likewise.
12993         [C99-based-standards] (PRIoFAST64): Likewise.
12994         [C99-based-standards] (PRIuFAST64): Likewise.
12995         [C99-based-standards] (PRIxFAST64): Likewise.
12996         [C99-based-standards] (PRIXFAST64): Likewise.
12997         [C99-based-standards] (SCNdFAST64): Likewise.
12998         [C99-based-standards] (SCNiFAST64): Likewise.
12999         [C99-based-standards] (SCNoFAST64): Likewise.
13000         [C99-based-standards] (SCNuFAST64): Likewise.
13001         [C99-based-standards] (SCNxFAST64): Likewise.
13002         [C99-based-standards] (PRIdMAX): Likewise.
13003         [C99-based-standards] (PRIiMAX): Likewise.
13004         [C99-based-standards] (PRIoMAX): Likewise.
13005         [C99-based-standards] (PRIuMAX): Likewise.
13006         [C99-based-standards] (PRIxMAX): Likewise.
13007         [C99-based-standards] (PRIXMAX): Likewise.
13008         [C99-based-standards] (SCNdMAX): Likewise.
13009         [C99-based-standards] (SCNiMAX): Likewise.
13010         [C99-based-standards] (SCNoMAX): Likewise.
13011         [C99-based-standards] (SCNuMAX): Likewise.
13012         [C99-based-standards] (SCNxMAX): Likewise.
13013         [C99-based-standards] (PRIdPTR): Likewise.
13014         [C99-based-standards] (PRIiPTR): Likewise.
13015         [C99-based-standards] (PRIoPTR): Likewise.
13016         [C99-based-standards] (PRIuPTR): Likewise.
13017         [C99-based-standards] (PRIxPTR): Likewise.
13018         [C99-based-standards] (PRIXPTR): Likewise.
13019         [C99-based-standards] (SCNdPTR): Likewise.
13020         [C99-based-standards] (SCNiPTR): Likewise.
13021         [C99-based-standards] (SCNoPTR): Likewise.
13022         [C99-based-standards] (SCNuPTR): Likewise.
13023         [C99-based-standards] (SCNxPTR): Likewise.
13024         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13025         allow.
13026         * conform/data/stdint.h-data: Update comments to clarify
13027         requirements.
13028         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
13029         type.
13030         [C99-based standards] (INT8_MAX): Likewise.
13031         [C99-based standards] (INT16_MIN): Likewise.
13032         [C99-based standards] (INT16_MAX): Likewise.
13033         [C99-based standards] (INT32_MIN): Likewise.
13034         [C99-based standards] (INT32_MAX): Likewise.
13035         [C99-based standards] (INT64_MIN): Likewise.
13036         [C99-based standards] (INT64_MAX): Likewise.
13037         [C99-based standards] (UINT8_MAX): Likewise.
13038         [C99-based standards] (UINT16_MAX): Likewise.
13039         [C99-based standards] (UINT32_MAX): Likewise.
13040         [C99-based standards] (UINT64_MAX): Likewise.
13041         [C99-based standards] (INT_LEAST8_MIN): Likewise.
13042         [C99-based standards] (INT_LEAST8_MAX): Likewise.
13043         [C99-based standards] (INT_LEAST16_MIN): Likewise.
13044         [C99-based standards] (INT_LEAST16_MAX): Likewise.
13045         [C99-based standards] (INT_LEAST32_MIN): Likewise.
13046         [C99-based standards] (INT_LEAST32_MAX): Likewise.
13047         [C99-based standards] (INT_LEAST64_MIN): Likewise.
13048         [C99-based standards] (INT_LEAST64_MAX): Likewise.
13049         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13050         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13051         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13052         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13053         [C99-based standards] (INT_FAST8_MIN): Likewise.
13054         [C99-based standards] (INT_FAST8_MAX): Likewise.
13055         [C99-based standards] (INT_FAST16_MIN): Likewise.
13056         [C99-based standards] (INT_FAST16_MAX): Likewise.
13057         [C99-based standards] (INT_FAST32_MIN): Likewise.
13058         [C99-based standards] (INT_FAST32_MAX): Likewise.
13059         [C99-based standards] (INT_FAST64_MIN): Likewise.
13060         [C99-based standards] (INT_FAST64_MAX): Likewise.
13061         [C99-based standards] (UINT_FAST8_MAX): Likewise.
13062         [C99-based standards] (UINT_FAST16_MAX): Likewise.
13063         [C99-based standards] (UINT_FAST32_MAX): Likewise.
13064         [C99-based standards] (UINT_FAST64_MAX): Likewise.
13065         [C99-based standards] (INTPTR_MIN): Likewise.
13066         [C99-based standards] (INTPTR_MAX): Likewise.
13067         [C99-based standards] (UINTPTR_MAX): Likewise.
13068         [C99-based standards] (INTMAX_MIN): Likewise.
13069         [C99-based standards] (INTMAX_MAX): Likewise.
13070         [C99-based standards] (UINTMAX_MAX): Likewise.
13071         [C99-based standards] (PTRDIFF_MIN): Likewise.
13072         [C99-based standards] (PTRDIFF_MAX): Likewise.
13073         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13074         [C99-based standards] (SIZE_MAX): Likewise.
13075         [C99-based standards] (WCHAR_MAX): Likewise.
13076         [C99-based standards] (WINT_MAX): Likewise.
13077         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
13078         constraint on value.
13079         [C99-based standards] (WCHAR_MIN): Likewise.
13080         [C99-based standards] (WINT_MIN): Likewise.
13081         [C99-based standards] (*_t): Allow.
13082         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13083         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13084         Include math.h-data and complex.h-data.  Remove all expectations
13085         of math.h and complex.h contents.
13086         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13087         at end of line.
13088         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13089         (struct tm): Expect tag.
13090         [C99-based-standards] (wcstof): Expect function.
13091         [C99-based-standards] (wcstold): Likewise.
13092         [C99-based-standards] (wcstoll): Likewise.
13093         [C99-based-standards] (wcstoull): Likewise.
13094         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13095         macro-int-constant.  Specify type.
13096         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
13097         constraint on value.
13098         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13099         Specify type.
13100         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13101         Specify value.
13102         [ISO C standards]: Do not allow headers.
13103         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13104         wcs[abcdefghijklmnopqrstuvwxyz]*.
13105         [ISO C standards] (*_t): Do not allow.
13106         * conform/data/wctype.h-data [C99-based standards] (iswblank):
13107         Expect function.
13108         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13109         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13110         Specify type.
13111         [ISO C standards]: Do not allow headers.
13112         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13113         is[abcdefghijklmnopqrstuvwxyz]*.
13114         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13115         to[abcdefghijklmnopqrstuvwxyz]*.
13116         [ISO C standards] (*_t): Do not allow.
13117         * conform/data/stdalign.h-data: New file.
13118         * conform/data/stdbool.h-data: Likewise.
13119         * conform/data/stdnoreturn.h-data: Likewise.
13121 2012-11-07  Roland McGrath  <roland@hack.frob.com>
13123         [BZ #14815]
13124         * manual/filesys.texi (Directory Entries): Typo fix.
13125         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13127 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13129         * elf/elf.h (EM_AARCH64): New macro.
13130         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13131         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13132         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13133         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13134         (R_AARCH64_TLSDESC): Likewise.
13135         (NT_ARM_TLS): Likewise.
13136         (NT_ARM_HW_BREAK): Likewise.
13137         (NT_ARM_HW_WATCH): Likewise.
13139 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13141         [BZ #14811]
13142         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13143         (__ieee754_powl): Saturate nonzero exponents with absolute value
13144         below 0x1p-79 to +/- 0x1p-79.
13145         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13146         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13147         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13148         nonzero exponents with absolute value below 0x1p-32 to +/-
13149         0x1p-32.
13150         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13151         (__ieee754_powl): Saturate nonzero exponents with absolute value
13152         below 0x1p-79 to +/- 0x1p-79.
13153         * math/libm-test.inc (pow_test): Add more tests.
13155 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13157         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13158         _dl_s390_cap_flags with kernel. Increase string length.
13159         (_dl_s390_platforms): Add z196 and zEC12.
13161 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13163         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13164         Change XOPEN21K to XOPEN2K.
13166 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
13168         * string/memmove.c: Use memcpy when possible.
13170 2012-11-06  Andreas Jaeger  <aj@suse.de>
13172         * po/eo.po: Update from translation team.
13174 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
13176         [BZ #14793]
13177         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13178         exponent and small x and y exponents, scale x or y up.  Increase
13179         by 2 the exponent used in scaling up.
13180         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13181         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13182         * math/libm-test.inc (fma_test): Add more tests.
13183         (fma_test_towardzero): Likewise.
13184         (fma_test_downward): Likewise.
13185         (fma_test_upward): Likewise.
13187 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
13189         [BZ #14805]
13190         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13191         fenv_t *.
13193         [BZ #14801]
13194         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13195         namespace for names of struct fields.
13196         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13197         fenv_t fields.
13198         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13199         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13201 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13203         [BZ #3665]
13204         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13206 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13208         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13209         PTR_DEMANGLE.
13211         [BZ #5246]
13212         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13213         PTR_DEMANGLE.
13215 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
13217         [BZ #14797]
13218         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13219         definitely overflow as x * y not x * y + z.
13220         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13221         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13222         * math/libm-test.inc (fma_test): Add more tests.
13223         (fma_test_towardzero): Likewise.
13224         (fma_test_downward): Likewise.
13225         (fma_test_upward): Likewise.
13227 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13229         [BZ #157]
13231         * include/stub-tag.h: Remove file.
13232         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13233         '#include' of it.
13234         * manual/maint.texi (Porting): Don't reference it.
13235         * Makerules ($(objpfx)stubs): Likewise.
13236         * dirent/closedir.c: Don't include <stub-tag.h>.
13237         * dirent/dirfd.c: Likewise.
13238         * dirent/fdopendir.c: Likewise.
13239         * dirent/getdents.c: Likewise.
13240         * dirent/getdents64.c: Likewise.
13241         * dirent/opendir.c: Likewise.
13242         * dirent/readdir.c: Likewise.
13243         * dirent/readdir64.c: Likewise.
13244         * dirent/readdir64_r.c: Likewise.
13245         * dirent/readdir_r.c: Likewise.
13246         * dirent/rewinddir.c: Likewise.
13247         * dirent/seekdir.c: Likewise.
13248         * dirent/telldir.c: Likewise.
13249         * gmon/profil.c: Likewise.
13250         * grp/setgroups.c: Likewise.
13251         * inet/if_index.c: Likewise.
13252         * io/access.c: Likewise.
13253         * io/chdir.c: Likewise.
13254         * io/chmod.c: Likewise.
13255         * io/chown.c: Likewise.
13256         * io/close.c: Likewise.
13257         * io/dup.c: Likewise.
13258         * io/dup2.c: Likewise.
13259         * io/dup3.c: Likewise.
13260         * io/euidaccess.c: Likewise.
13261         * io/faccessat.c: Likewise.
13262         * io/fchdir.c: Likewise.
13263         * io/fchmod.c: Likewise.
13264         * io/fchmodat.c: Likewise.
13265         * io/fchown.c: Likewise.
13266         * io/fchownat.c: Likewise.
13267         * io/fcntl.c: Likewise.
13268         * io/flock.c: Likewise.
13269         * io/fstatfs.c: Likewise.
13270         * io/fstatfs64.c: Likewise.
13271         * io/fstatvfs.c: Likewise.
13272         * io/fstatvfs64.c: Likewise.
13273         * io/futimens.c: Likewise.
13274         * io/fxstat.c: Likewise.
13275         * io/fxstat64.c: Likewise.
13276         * io/fxstatat.c: Likewise.
13277         * io/fxstatat64.c: Likewise.
13278         * io/getcwd.c: Likewise.
13279         * io/isatty.c: Likewise.
13280         * io/lchmod.c: Likewise.
13281         * io/lchown.c: Likewise.
13282         * io/link.c: Likewise.
13283         * io/linkat.c: Likewise.
13284         * io/lseek.c: Likewise.
13285         * io/lseek64.c: Likewise.
13286         * io/lxstat64.c: Likewise.
13287         * io/mkdir.c: Likewise.
13288         * io/mkdirat.c: Likewise.
13289         * io/mkfifo.c: Likewise.
13290         * io/mkfifoat.c: Likewise.
13291         * io/open.c: Likewise.
13292         * io/open64.c: Likewise.
13293         * io/openat.c: Likewise.
13294         * io/openat64.c: Likewise.
13295         * io/pipe.c: Likewise.
13296         * io/pipe2.c: Likewise.
13297         * io/poll.c: Likewise.
13298         * io/posix_fadvise.c: Likewise.
13299         * io/posix_fadvise64.c: Likewise.
13300         * io/posix_fallocate.c: Likewise.
13301         * io/posix_fallocate64.c: Likewise.
13302         * io/read.c: Likewise.
13303         * io/readlink.c: Likewise.
13304         * io/readlinkat.c: Likewise.
13305         * io/rmdir.c: Likewise.
13306         * io/sendfile.c: Likewise.
13307         * io/sendfile64.c: Likewise.
13308         * io/statfs.c: Likewise.
13309         * io/statfs64.c: Likewise.
13310         * io/statvfs.c: Likewise.
13311         * io/statvfs64.c: Likewise.
13312         * io/symlink.c: Likewise.
13313         * io/symlinkat.c: Likewise.
13314         * io/ttyname.c: Likewise.
13315         * io/ttyname_r.c: Likewise.
13316         * io/umask.c: Likewise.
13317         * io/unlink.c: Likewise.
13318         * io/unlinkat.c: Likewise.
13319         * io/utime.c: Likewise.
13320         * io/utimensat.c: Likewise.
13321         * io/write.c: Likewise.
13322         * io/xmknod.c: Likewise.
13323         * io/xmknodat.c: Likewise.
13324         * io/xstat.c: Likewise.
13325         * io/xstat64.c: Likewise.
13326         * login/getpt.c: Likewise.
13327         * login/grantpt.c: Likewise.
13328         * login/unlockpt.c: Likewise.
13329         * math/e_acoshl.c: Likewise.
13330         * math/e_acosl.c: Likewise.
13331         * math/e_asinl.c: Likewise.
13332         * math/e_atan2l.c: Likewise.
13333         * math/e_atanhl.c: Likewise.
13334         * math/e_coshl.c: Likewise.
13335         * math/e_expl.c: Likewise.
13336         * math/e_fmodl.c: Likewise.
13337         * math/e_gammal_r.c: Likewise.
13338         * math/e_hypotl.c: Likewise.
13339         * math/e_j0l.c: Likewise.
13340         * math/e_j1l.c: Likewise.
13341         * math/e_jnl.c: Likewise.
13342         * math/e_lgammal_r.c: Likewise.
13343         * math/e_log10l.c: Likewise.
13344         * math/e_log2l.c: Likewise.
13345         * math/e_logl.c: Likewise.
13346         * math/e_powl.c: Likewise.
13347         * math/e_rem_pio2l.c: Likewise.
13348         * math/e_sinhl.c: Likewise.
13349         * math/e_sqrtl.c: Likewise.
13350         * math/fclrexcpt.c: Likewise.
13351         * math/fedisblxcpt.c: Likewise.
13352         * math/feenablxcpt.c: Likewise.
13353         * math/fegetenv.c: Likewise.
13354         * math/fegetexcept.c: Likewise.
13355         * math/fegetround.c: Likewise.
13356         * math/feholdexcpt.c: Likewise.
13357         * math/fesetenv.c: Likewise.
13358         * math/fesetround.c: Likewise.
13359         * math/feupdateenv.c: Likewise.
13360         * math/fgetexcptflg.c: Likewise.
13361         * math/fraiseexcpt.c: Likewise.
13362         * math/fsetexcptflg.c: Likewise.
13363         * math/ftestexcept.c: Likewise.
13364         * math/k_cosl.c: Likewise.
13365         * math/k_rem_pio2l.c: Likewise.
13366         * math/k_sinl.c: Likewise.
13367         * math/k_tanl.c: Likewise.
13368         * math/s_asinhl.c: Likewise.
13369         * math/s_atanl.c: Likewise.
13370         * math/s_cbrtl.c: Likewise.
13371         * math/s_erfl.c: Likewise.
13372         * math/s_expm1l.c: Likewise.
13373         * math/s_log1pl.c: Likewise.
13374         * math/s_tanhl.c: Likewise.
13375         * misc/acct.c: Likewise.
13376         * misc/brk.c: Likewise.
13377         * misc/chflags.c: Likewise.
13378         * misc/chroot.c: Likewise.
13379         * misc/fchflags.c: Likewise.
13380         * misc/fgetxattr.c: Likewise.
13381         * misc/flistxattr.c: Likewise.
13382         * misc/fremovexattr.c: Likewise.
13383         * misc/fsetxattr.c: Likewise.
13384         * misc/fsync.c: Likewise.
13385         * misc/ftruncate.c: Likewise.
13386         * misc/futimes.c: Likewise.
13387         * misc/futimesat.c: Likewise.
13388         * misc/getdomain.c: Likewise.
13389         * misc/getdtsz.c: Likewise.
13390         * misc/gethostid.c: Likewise.
13391         * misc/gethostname.c: Likewise.
13392         * misc/getloadavg.c: Likewise.
13393         * misc/getpagesize.c: Likewise.
13394         * misc/getsysstats.c: Likewise.
13395         * misc/getxattr.c: Likewise.
13396         * misc/gtty.c: Likewise.
13397         * misc/ioctl.c: Likewise.
13398         * misc/lgetxattr.c: Likewise.
13399         * misc/listxattr.c: Likewise.
13400         * misc/llistxattr.c: Likewise.
13401         * misc/lremovexattr.c: Likewise.
13402         * misc/lsetxattr.c: Likewise.
13403         * misc/lutimes.c: Likewise.
13404         * misc/madvise.c: Likewise.
13405         * misc/mincore.c: Likewise.
13406         * misc/mlock.c: Likewise.
13407         * misc/mlockall.c: Likewise.
13408         * misc/mmap.c: Likewise.
13409         * misc/mprotect.c: Likewise.
13410         * misc/msync.c: Likewise.
13411         * misc/munlock.c: Likewise.
13412         * misc/munlockall.c: Likewise.
13413         * misc/munmap.c: Likewise.
13414         * misc/preadv.c: Likewise.
13415         * misc/preadv64.c: Likewise.
13416         * misc/ptrace.c: Likewise.
13417         * misc/pwritev.c: Likewise.
13418         * misc/pwritev64.c: Likewise.
13419         * misc/readv.c: Likewise.
13420         * misc/reboot.c: Likewise.
13421         * misc/remap_file_pages.c: Likewise.
13422         * misc/removexattr.c: Likewise.
13423         * misc/revoke.c: Likewise.
13424         * misc/select.c: Likewise.
13425         * misc/setdomain.c: Likewise.
13426         * misc/setegid.c: Likewise.
13427         * misc/seteuid.c: Likewise.
13428         * misc/sethostid.c: Likewise.
13429         * misc/sethostname.c: Likewise.
13430         * misc/setregid.c: Likewise.
13431         * misc/setreuid.c: Likewise.
13432         * misc/setxattr.c: Likewise.
13433         * misc/sstk.c: Likewise.
13434         * misc/stty.c: Likewise.
13435         * misc/swapoff.c: Likewise.
13436         * misc/swapon.c: Likewise.
13437         * misc/sync.c: Likewise.
13438         * misc/syncfs.c: Likewise.
13439         * misc/syscall.c: Likewise.
13440         * misc/truncate.c: Likewise.
13441         * misc/ualarm.c: Likewise.
13442         * misc/usleep.c: Likewise.
13443         * misc/ustat.c: Likewise.
13444         * misc/utimes.c: Likewise.
13445         * misc/vhangup.c: Likewise.
13446         * misc/writev.c: Likewise.
13447         * posix/_exit.c: Likewise.
13448         * posix/alarm.c: Likewise.
13449         * posix/execve.c: Likewise.
13450         * posix/fexecve.c: Likewise.
13451         * posix/fork.c: Likewise.
13452         * posix/fpathconf.c: Likewise.
13453         * posix/getaddrinfo.c: Likewise.
13454         * posix/getegid.c: Likewise.
13455         * posix/geteuid.c: Likewise.
13456         * posix/getgid.c: Likewise.
13457         * posix/getgroups.c: Likewise.
13458         * posix/getlogin.c: Likewise.
13459         * posix/getlogin_r.c: Likewise.
13460         * posix/getpgid.c: Likewise.
13461         * posix/getpid.c: Likewise.
13462         * posix/getppid.c: Likewise.
13463         * posix/getresgid.c: Likewise.
13464         * posix/getresuid.c: Likewise.
13465         * posix/getsid.c: Likewise.
13466         * posix/getuid.c: Likewise.
13467         * posix/glob64.c: Likewise.
13468         * posix/nanosleep.c: Likewise.
13469         * posix/pathconf.c: Likewise.
13470         * posix/pause.c: Likewise.
13471         * posix/posix_madvise.c: Likewise.
13472         * posix/pread.c: Likewise.
13473         * posix/pread64.c: Likewise.
13474         * posix/pwrite.c: Likewise.
13475         * posix/pwrite64.c: Likewise.
13476         * posix/sched_getaffinity.c: Likewise.
13477         * posix/sched_getp.c: Likewise.
13478         * posix/sched_gets.c: Likewise.
13479         * posix/sched_primax.c: Likewise.
13480         * posix/sched_primin.c: Likewise.
13481         * posix/sched_rr_gi.c: Likewise.
13482         * posix/sched_setaffinity.c: Likewise.
13483         * posix/sched_setp.c: Likewise.
13484         * posix/sched_sets.c: Likewise.
13485         * posix/sched_yield.c: Likewise.
13486         * posix/setgid.c: Likewise.
13487         * posix/setlogin.c: Likewise.
13488         * posix/setpgid.c: Likewise.
13489         * posix/setresgid.c: Likewise.
13490         * posix/setresuid.c: Likewise.
13491         * posix/setsid.c: Likewise.
13492         * posix/setuid.c: Likewise.
13493         * posix/sleep.c: Likewise.
13494         * posix/spawni.c: Likewise.
13495         * posix/sysconf.c: Likewise.
13496         * posix/times.c: Likewise.
13497         * posix/wait.c: Likewise.
13498         * posix/wait3.c: Likewise.
13499         * posix/wait4.c: Likewise.
13500         * posix/waitpid.c: Likewise.
13501         * resolv/gai_sigqueue.c: Likewise.
13502         * resource/getpriority.c: Likewise.
13503         * resource/getrlimit.c: Likewise.
13504         * resource/getrusage.c: Likewise.
13505         * resource/nice.c: Likewise.
13506         * resource/setpriority.c: Likewise.
13507         * resource/setrlimit.c: Likewise.
13508         * resource/ulimit.c: Likewise.
13509         * rt/aio_cancel.c: Likewise.
13510         * rt/aio_fsync.c: Likewise.
13511         * rt/aio_read.c: Likewise.
13512         * rt/aio_sigqueue.c: Likewise.
13513         * rt/aio_suspend.c: Likewise.
13514         * rt/aio_write.c: Likewise.
13515         * rt/clock_getres.c: Likewise.
13516         * rt/clock_gettime.c: Likewise.
13517         * rt/clock_nanosleep.c: Likewise.
13518         * rt/clock_settime.c: Likewise.
13519         * rt/lio_listio.c: Likewise.
13520         * rt/mq_close.c: Likewise.
13521         * rt/mq_getattr.c: Likewise.
13522         * rt/mq_notify.c: Likewise.
13523         * rt/mq_open.c: Likewise.
13524         * rt/mq_receive.c: Likewise.
13525         * rt/mq_send.c: Likewise.
13526         * rt/mq_setattr.c: Likewise.
13527         * rt/mq_timedreceive.c: Likewise.
13528         * rt/mq_timedsend.c: Likewise.
13529         * rt/mq_unlink.c: Likewise.
13530         * rt/shm_open.c: Likewise.
13531         * rt/shm_unlink.c: Likewise.
13532         * rt/timer_create.c: Likewise.
13533         * rt/timer_delete.c: Likewise.
13534         * rt/timer_getoverr.c: Likewise.
13535         * rt/timer_gettime.c: Likewise.
13536         * rt/timer_settime.c: Likewise.
13537         * setjmp/__longjmp.c: Likewise.
13538         * setjmp/setjmp.c: Likewise.
13539         * signal/kill.c: Likewise.
13540         * signal/killpg.c: Likewise.
13541         * signal/raise.c: Likewise.
13542         * signal/sigaction.c: Likewise.
13543         * signal/sigaltstack.c: Likewise.
13544         * signal/sigblock.c: Likewise.
13545         * signal/sigignore.c: Likewise.
13546         * signal/sigintr.c: Likewise.
13547         * signal/signal.c: Likewise.
13548         * signal/sigpause.c: Likewise.
13549         * signal/sigpending.c: Likewise.
13550         * signal/sigqueue.c: Likewise.
13551         * signal/sigreturn.c: Likewise.
13552         * signal/sigset.c: Likewise.
13553         * signal/sigsetmask.c: Likewise.
13554         * signal/sigstack.c: Likewise.
13555         * signal/sigsuspend.c: Likewise.
13556         * signal/sigtimedwait.c: Likewise.
13557         * signal/sigvec.c: Likewise.
13558         * signal/sigwait.c: Likewise.
13559         * signal/sigwaitinfo.c: Likewise.
13560         * signal/sysv_signal.c: Likewise.
13561         * socket/accept.c: Likewise.
13562         * socket/accept4.c: Likewise.
13563         * socket/bind.c: Likewise.
13564         * socket/connect.c: Likewise.
13565         * socket/getpeername.c: Likewise.
13566         * socket/getsockname.c: Likewise.
13567         * socket/getsockopt.c: Likewise.
13568         * socket/isfdtype.c: Likewise.
13569         * socket/listen.c: Likewise.
13570         * socket/recv.c: Likewise.
13571         * socket/recvfrom.c: Likewise.
13572         * socket/recvmsg.c: Likewise.
13573         * socket/send.c: Likewise.
13574         * socket/sendmsg.c: Likewise.
13575         * socket/sendto.c: Likewise.
13576         * socket/setsockopt.c: Likewise.
13577         * socket/shutdown.c: Likewise.
13578         * socket/sockatmark.c: Likewise.
13579         * socket/socket.c: Likewise.
13580         * socket/socketpair.c: Likewise.
13581         * stdio-common/ctermid.c: Likewise.
13582         * stdio-common/cuserid.c: Likewise.
13583         * stdio-common/remove.c: Likewise.
13584         * stdio-common/rename.c: Likewise.
13585         * stdio-common/renameat.c: Likewise.
13586         * stdio-common/tempname.c: Likewise.
13587         * stdlib/getcontext.c: Likewise.
13588         * stdlib/makecontext.c: Likewise.
13589         * stdlib/setcontext.c: Likewise.
13590         * stdlib/swapcontext.c: Likewise.
13591         * stdlib/system.c: Likewise.
13592         * streams/fattach.c: Likewise.
13593         * streams/fdetach.c: Likewise.
13594         * streams/getmsg.c: Likewise.
13595         * streams/getpmsg.c: Likewise.
13596         * streams/putmsg.c: Likewise.
13597         * streams/putpmsg.c: Likewise.
13598         * sysdeps/unix/bsd/getpt.c: Likewise.
13599         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13600         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13601         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13603         Likewise.
13604         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13605         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13606         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13607         * sysvipc/msgctl.c: Likewise.
13608         * sysvipc/msgget.c: Likewise.
13609         * sysvipc/msgrcv.c: Likewise.
13610         * sysvipc/msgsnd.c: Likewise.
13611         * sysvipc/semctl.c: Likewise.
13612         * sysvipc/semget.c: Likewise.
13613         * sysvipc/semop.c: Likewise.
13614         * sysvipc/semtimedop.c: Likewise.
13615         * sysvipc/shmat.c: Likewise.
13616         * sysvipc/shmctl.c: Likewise.
13617         * sysvipc/shmdt.c: Likewise.
13618         * sysvipc/shmget.c: Likewise.
13619         * termios/tcdrain.c: Likewise.
13620         * termios/tcflow.c: Likewise.
13621         * termios/tcflush.c: Likewise.
13622         * termios/tcgetattr.c: Likewise.
13623         * termios/tcgetpgrp.c: Likewise.
13624         * termios/tcsendbrk.c: Likewise.
13625         * termios/tcsetattr.c: Likewise.
13626         * termios/tcsetpgrp.c: Likewise.
13627         * time/adjtime.c: Likewise.
13628         * time/clock.c: Likewise.
13629         * time/getitimer.c: Likewise.
13630         * time/gettimeofday.c: Likewise.
13631         * time/setitimer.c: Likewise.
13632         * time/settimeofday.c: Likewise.
13633         * time/stime.c: Likewise.
13634         * time/time.c: Likewise.
13636 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
13638         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13639         /usr/old/bin.
13641         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13642         instead of spaces.
13643         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13645 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
13647         [BZ #14796]
13648         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13649         FE_TONEAREST before applying Dekker multiplication and Knuth
13650         addition.  Clear inexact exceptions and check for exact zero
13651         results afterwards.
13652         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13653         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13654         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13655         * math/libm-test.inc (fma_test): Add more tests.
13656         (fma_test_towardzero): Likewise.
13657         (fma_test_downward): Likewise.
13658         (fma_test_upward): Likewise.
13659         * sysdeps/generic/math_private.h (default_libc_fesetround): New
13660         function.
13661         (libc_fesetround): New macro.
13662         (libc_fesetroundf): Likewise.
13663         (libc_fesetroundl): Likewise.
13664         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13665         function.
13666         (libc_fesetround_387): Likewise.
13667         (libc_fesetroundf): New macro.
13668         (libc_fesetround): Likewise.
13669         (libc_fesetroundl): Likewise.
13670         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13671         function.
13672         (libc_fesetroundf): New macro.
13673         (libc_fesetround): Likewise.
13674         (libc_fesetroundl): Likewise.
13675         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13676         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13677         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13678         libm_hidden_ver.
13679         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13680         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13681         libm_hidden_def.
13682         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13683         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13684         libm_hidden_ver.
13685         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13686         libm_hidden_def.
13688         [BZ #3439]
13689         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13690         integer constant usable in #if and use that to give value to enum
13691         constant.
13692         (FE_DIVBYZERO): Likewise.
13693         (FE_UNDERFLOW): Likewise.
13694         (FE_OVERFLOW): Likewise.
13695         (FE_INVALID): Likewise.
13696         (FE_INVALID_SNAN): Likewise.
13697         (FE_INVALID_ISI): Likewise.
13698         (FE_INVALID_IDI): Likewise.
13699         (FE_INVALID_ZDZ): Likewise.
13700         (FE_INVALID_IMZ): Likewise.
13701         (FE_INVALID_COMPARE): Likewise.
13702         (FE_INVALID_SOFTWARE): Likewise.
13703         (FE_INVALID_SQRT): Likewise.
13704         (FE_INVALID_INTEGER_CONVERSION): Likewise.
13705         (FE_TONEAREST): Likewise.
13706         (FE_TOWARDZERO): Likewise.
13707         (FE_UPWARD): Likewise.
13708         (FE_DOWNWARD): Likewise.
13709         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13710         (FE_DIVBYZERO): Likewise.
13711         (FE_OVERFLOW): Likewise.
13712         (FE_UNDERFLOW): Likewise.
13713         (FE_INEXACT): Likewise.
13714         (FE_TONEAREST): Likewise.
13715         (FE_DOWNWARD): Likewise.
13716         (FE_UPWARD): Likewise.
13717         (FE_TOWARDZERO): Likewise.
13718         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13719         (FE_UNDERFLOW): Likewise.
13720         (FE_OVERFLOW): Likewise.
13721         (FE_DIVBYZERO): Likewise.
13722         (FE_INVALID): Likewise.
13723         (FE_TONEAREST): Likewise.
13724         (FE_TOWARDZERO): Likewise.
13725         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13726         (FE_OVERFLOW): Likewise.
13727         (FE_UNDERFLOW): Likewise.
13728         (FE_DIVBYZERO): Likewise.
13729         (FE_INEXACT): Likewise.
13730         (FE_TONEAREST): Likewise.
13731         (FE_TOWARDZERO): Likewise.
13732         (FE_UPWARD): Likewise.
13733         (FE_DOWNWARD): Likewise.
13734         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13735         (FE_DIVBYZERO): Likewise.
13736         (FE_OVERFLOW): Likewise.
13737         (FE_UNDERFLOW): Likewise.
13738         (FE_INEXACT): Likewise.
13739         (FE_TONEAREST): Likewise.
13740         (FE_DOWNWARD): Likewise.
13741         (FE_UPWARD): Likewise.
13742         (FE_TOWARDZERO): Likewise.
13744 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
13746         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13748 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
13750         * scripts/cross-test-ssh.sh (command): Use newlines to separate
13751         commands.  Quote $PWD.
13752         (blacklist_exports): Don't use remove_newlines.  Replace "declare
13753         -x" by "export".
13754         (remove_newlines): Remove.
13756 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
13758         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13759         * stdlib/stdlib.h (atof): Moved to ...
13760         * include/bits/stdlib-float.h: Here.  New file.
13761         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13762         * stdlib/bits/stdlib-float.h: New file.
13763         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13764         -mno-sse -mno-mmx.
13765         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13766         <xmmintrin.h>.
13768 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13770         * conform/conformtest.pl (@headers): Add fenv.h.
13771         * conform/data/fenv.h-data: New file.
13772         * include/fenv.h [_ISOMAC]: Disable all contents of file except
13773         include of <math/fenv.h>.
13775         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13776         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13777         && !UNIX98].  Enables tests for XOPEN2K8.
13778         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13779         POSIX2008]: Likewise.
13781         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13782         (struct rusage): Do not expect type or its members.
13784         [BZ #3439]
13785         * math/math.h (FP_NAN): Define macro to integer constant usable in
13786         #if and use that to give value to enum constant.
13787         (FP_INFINITE): Likewise.
13788         (FP_ZERO): Likewise.
13789         (FP_SUBNORMAL): Likewise.
13790         (FP_NORMAL): Likewise.
13792 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
13794         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13795         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13796         arguments.
13798 2012-11-02  Roland McGrath  <roland@hack.frob.com>
13800         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13801         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13802         autoconf-time if not.
13803         * configure.in: Remove AC_PREREQ.
13805 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13807         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13808         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13809         of the internal implementation.
13811 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13813         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13814         except include of <misc/sys/syslog.h>.
13816 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13819         function returns with a NULL context exit with zero.
13821 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13823         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13825 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
13827         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13828         (run_program_cmd): This.
13829         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13830         (tst_langinfo): New variable.  Use it.
13832 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
13834         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13835         floating point opcodes.
13837 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13839         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13840         variable.
13842         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13844         * sysdeps/mach/hurd/powerpc: Remove directory.
13845         * sysdeps/mach/powerpc: Likewise.
13847 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13849         * scripts/check-local-headers.sh: Ignore c++ headers.
13851 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13853         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13854         __libc_cleanup_region_start argument.
13856 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
13858         [BZ #14784]
13859         [BZ #14785]
13860         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13861         x * y using scaling, not as x * y + z.
13862         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13863         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13864         * math/libm-test.inc (fma_test): Add more tests.
13865         (fma_test_towardzero): Likewise.
13866         (fma_test_downward): Likewise.
13867         (fma_test_upward): Likewise.
13869 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13871         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13873 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13875         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13876         New variable.
13878 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
13880         * rt/tst-shm.c (worker): Correct checking for mmap failure.
13882 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13885         Fix sort order.
13886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13887         Likewise.
13889 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13892         Fix the order of the list for glibc 2.17.
13893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13894         Likewise.
13896 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13900 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13902         [BZ #14610]
13903         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13904         for low part of x being zero before using __atanl (y).
13905         * math/libm-test.inc (atan2_test): Add another test.
13907         * manual/install.texi (Configuring and compiling): Document
13908         general use of test-wrapper and test-wrapper-env.
13909         * INSTALL: Regenerated.
13911         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13912         (__fma): Do not extract and scale down low bits on after-rounding
13913         systems when result rounded to normal precision would have normal
13914         exponent.
13915         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13916         (__fmal): Do not extract and scale down low bits on after-rounding
13917         systems when result rounded to normal precision would have normal
13918         exponent.
13919         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13920         (__fmal): Do not extract and scale down low bits on after-rounding
13921         systems when result rounded to normal precision would have normal
13922         exponent.
13923         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13924         macro.
13925         (fma_test): Add more tests.
13926         (fma_test_towardzero): Likewise.
13927         (fma_test_downward): Likewise.
13928         (fma_test_upward): Likewise.
13930 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
13932         * sysdeps/i386/tininess.h: Renamed to ...
13933         * sysdeps/x86/tininess.h: This.
13934         * sysdeps/x86_64/tininess.h: Removed.
13936 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13938         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13939         input.  Use $(build-program-cmd).
13940         ($(objpfx)tst-array1-static.out): Likewise.
13941         ($(objpfx)tst-array2.out): Likewise.
13942         ($(objpfx)tst-array3.out): Likewise.
13943         ($(objpfx)tst-array4.out): Likewise.
13944         ($(objpfx)tst-array5.out): Likewise.
13945         ($(objpfx)tst-array5-static.out): Likewise.
13947 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
13949         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13950         if defined.
13952         * nss/nsswitch.h (nss_interface_function): Provide new
13953         macro for use with NSS functions.
13954         * grp/initgroups.c: Use new macro.
13955         * nss/getXXbyYY.c: Likewise.
13956         * nss/getXXbyYY_r.c: Likewise.
13957         * nss/getXXent.c: Likewise.
13958         * nss/getXXent_r.c: Likewise.
13959         * sysdeps/posix/getaddrinfo.c: Likewise.
13961 2012-10-30  Andreas Jaeger  <aj@suse.de>
13963         * po/ru.po: Update Russion translation from translation project.
13965 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13967         [BZ #14152]
13968         [BZ #14783]
13969         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13970         result and shift together with sticky bit instead of replicating
13971         round-to-nearest rounding.
13972         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13973         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13974         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
13975         missing underflow exceptions.
13976         (fma_test_towardzero): Add more tests.
13977         (fma_test_downward): Likewise.
13978         (fma_test_upward): Likewise.
13980         [BZ #14047]
13981         * sysdeps/generic/tininess.h: New file.
13982         * sysdeps/i386/tininess.h: Likewise.
13983         * sysdeps/sh/tininess.h: Likewise.
13984         * sysdeps/x86_64/tininess.h: Likewise.
13985         * stdlib/tst-strtod-underflow.c: Likewise.
13986         * stdlib/tst-tininess.c: Likewise.
13987         * stdlib/strtod_l.c: Include <tininess.h>.
13988         (round_and_return): Do not set errno for exact underflow cases.
13989         Force an underflow exception when setting errno for underflow.
13990         Determine underflow based on rounding to normal precision if
13991         TININESS_AFTER_ROUNDING.
13992         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13993         ERANGE for exact underflow cases.
13994         * stdlib/Makefile (tests): Add tst-tininess and
13995         tst-strtod-underflow.
13996         ($(objpfx)tst-tininess): Use $(link-libm).
13997         ($(objpfx)tst-strtod-underflow): Likewise.
13999 2012-10-30  Andreas Jaeger  <aj@suse.de>
14001         [BZ#14767]
14002         * elf/Makefile (tests): Remove conditional for have-initfini-array
14003         since this is now always required and the variable does not exist
14004         anymore.
14005         (tests-static): Likewise.
14006         (modules-names): Likewise.
14008         * po/eo.po: Add Esperanto translation from translation project.
14010         * elf/tst-array1.c (fini_array): Make writeable so that it can be
14011         merged with constructor/destructor.
14012         (init_array): Likewise.
14013         * elf/tst-array2dep.c (fini_array): Likewise.
14014         (init_array): Likewise.
14016 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
14018         * manual/message.texi: Delete @cartouche tags.
14020 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
14022         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14023         EOPNOTSUPP.
14024         * sysdeps/mach/hurd/fsync.c: Likewise.
14026         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14027         [_POSIX_REALTIME_SIGNALS]: Change condition to
14028         [_POSIX_REALTIME_SIGNALS > 0].
14030 2012-10-27  Andreas Jaeger  <aj@suse.de>
14032         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14033         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14034         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14035         [__WORDSIZE != 64]: Likewise.
14037 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
14039         *  iconvdata/tst-table.sh: Remove ${SHELL}.
14040         *  iconvdata/tst-tables.sh: Likewise.
14042 2012-10-25  David S. Miller  <davem@davemloft.net>
14044         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14045         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14046         of strtoull.
14048         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14049         ifunc-impl-list.c
14050         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14051         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14052         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14053         file.
14055 2012-10-25  Roland McGrath  <roland@hack.frob.com>
14057         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14058         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14059         __getdirentries.
14061 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14062             Jim Blandy  <jimb@codesourcery.com>
14064         * scripts/cross-test-ssh.sh: New file.
14065         * manual/install.texi (Configuring and compiling): Document use of
14066         cross-test-ssh.sh.
14067         * INSTALL: Regenerated.
14069 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
14071         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14072         EOPNOTSUPP.
14074 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14076         * Makeconfig (run-program-prefix): Fix comment.
14078 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14079             Jim Blandy  <jimb@codesourcery.com>
14081         * Makeconfig (test-wrapper): New variable,
14082         (test-wrapper-env): Likewise.
14083         [$(cross-compiling) = yes && $(test-wrapper) != ""]
14084         (run-built-tests): Define to yes.
14085         (run-program-prefix): Use $(test-wrapper).
14086         (built-program-cmd): Likewise.
14087         * Rules (make-test-out): Use $(test-wrapper-env) and
14088         $(host-built-program-cmd).
14089         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14090         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14091         tst-pathopt.sh.
14092         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14093         $(test-wrapper-env) to tst-rtld-load-self.sh.
14094         ($(objpfx)order2.out): Use $(test-wrapper).
14095         ($(objpfx)tst-initorder.out): Likewise.
14096         ($(objpfx)tst-initorder2.out): Likewise.
14097         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14098         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14099         (test_wrapper_env): New variable.  Use it to run ld.so.
14100         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14101         Use it to run ld.so.
14102         (test_wrapper_env): Likewise.
14103         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14104         $(test-wrapper) to run-iconv-test.sh.
14105         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14106         (ICONV): Use $test_wrapper.
14107         * posix/Makefile ($(objpfx)globtest.out): Pass
14108         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14109         globtest.sh, not $(run-program-prefix).
14110         * posix/globtest.sh (run_via_rtld_prefix): New variable.
14111         (test_wrapper): Likewise.
14112         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
14113         set together with run_via_rtld_prefix.
14114         (run_program_prefix): Define in terms of test_wrapper and
14115         run_via_rtld_prefix.
14117 2012-10-24  Roland McGrath  <roland@hack.frob.com>
14119         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14120         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14121         Targets removed.
14123         [BZ #14743]
14124         * include/time.h: Remove librt_hidden_proto (clock_gettime).
14125         Declare __clock_getres, __clock_gettime, __clock_settime,
14126         __clock_nanosleep, and __clock_getcpuclockid.
14127         * rt/clock_gettime.c: Define __clock_gettime as an alias.
14128         Remove librt_hidden_def (clock_gettime).
14129         * sysdeps/unix/clock_gettime.c: Likewise.
14130         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14131         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14132         * rt/clock_getres.c: Define __clock_getres as an alias.
14133         * sysdeps/posix/clock_getres.c: Likewise.
14134         * rt/clock_settime.c: Define __clock_settime as an alias.
14135         * sysdeps/unix/clock_settime.c: Likewise.
14136         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14137         * sysdeps/unix/clock_nanosleep.c: Likewise.
14138         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14139         * rt/clock-compat.c: New file.
14140         * rt/Makefile (librt-routines): Add clock-compat and move
14141         $(clock-routines) to ...
14142         (routines): ... here, new variable.
14143         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14144         Don't add get_clockfreq here.
14145         * rt/Versions (libc: GLIBC_2.17): New version set.
14146         Add clock_* symbols here.
14147         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
14148         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14149         (GLIBC_2.17): Add clock_* symbols.
14150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14152         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14154         Likewise.
14155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14156         Likewise.
14157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14161         * NEWS: Mention the move.
14163         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14164         Use __open, __read, __close rather than their public counterparts.
14165         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14166         (__get_clockfreq_via_cpuinfo): Likewise.
14167         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14168         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14170         * config.h.in (HAVE_IFUNC): New #undef.
14171         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14172         was successful.
14173         * configure: Regenerated.
14175 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14177         * configure.in: Move READELF check to start of file.
14178         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14179         libc_cv_asm_gnu_indirect_function in the process.
14180         * configure: Regenerated.
14182 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14184         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14185         send the output to /dev/null.
14186         (libc_cv_cc_with_libunwind): Likewise.
14187         (libc_cv_as_noexecstack): Likewise.
14188         * configure: Regenerate.
14190 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14192         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14194         * posix/globtest.sh (TMPDIR): Do not set.
14195         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14196         (testout): Likewise.
14198 2012-10-24  Andreas Jaeger  <aj@suse.de>
14200         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14201         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14202         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14203         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14204         posix_fadvise64, posix_fallocate64.
14206         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14207         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14208         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14209         Likewise.
14210         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14211         Likewise.
14212         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14214         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14215         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14216         <bits/fcntl-linux.h>.
14217         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14219         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14220         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14221         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14222         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14223         [__WORDSIZE != 64]: Likewise.
14225 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14227         * Makeconfig (run-built-tests): New variable.
14228         * Rules [$(cross-compiling) = yes]: Change condition to
14229         [$(run-built-tests) = no].
14230         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14231         to [$(run-built-tests) = yes].
14232         * elf/Makefile [$(cross-compiling) = no]: Likewise
14233         * grp/Makefile [$(cross-compiling) = no]: Likewise.
14234         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14235         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14236         * intl/Makefile [$(cross-compiling) = no]: Likewise.
14237         * io/Makefile [$(cross-compiling) = no]: Likewise.
14238         * libio/Makefile [$(cross-compiling) = no]: Likewise.
14239         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14240         * misc/Makefile [$(cross-compiling) = no]: Likewise.
14241         * posix/Makefile [$(cross-compiling) = no]: Likewise.
14242         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14243         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14244         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14245         * string/Makefile [$(cross-compiling) = no]: Likewise.
14247         * posix/Makefile ($(objpfx)globtest.out): Pass
14248         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14249         $(rtld-installed-name).
14250         * posix/globtest.sh (elf_objpfx): Remove variable.
14251         (rtld_installed_name): Likewise.
14252         (library_path): Likewise.
14253         (run_program_prefix): New variable.  Use for running globtest
14254         binary.
14256 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
14257             Joseph Myers  <joseph@codesourcery.com>
14259         * Makeconfig (host-built-program-cmd): New variable.
14260         * elf/Makefile (tst-stackguard1-ARGS): Use
14261         $(host-built-program-cmd).
14262         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14263         (tst-spawn-ARGS): Likewise.
14264         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14266 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14267             Jim Blandy  <jimb@codesourcery.com>
14269         * Makeconfig (run-via-rtld-prefix): New variable.
14270         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14271         (built-program-cmd): Likewise.
14273 2012-10-22  Andreas Jaeger  <aj@suse.de>
14275         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14276         __O_RSYNC if it exists, otherwise to O_SYNC.
14278 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
14279             Joseph Myers  <joseph@codesourcery.com>
14281         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14282         /dev/null.
14283         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14284         from /dev/null
14285         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14286         /dev/null.
14288 2012-10-22  Andreas Jaeger  <aj@suse.de>
14290         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14291         Define always.
14292         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14294         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14295         bits/fcntl-linux.h.
14297         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14298         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14300         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14301         to __O_LARGEFILE.
14302         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14303         to __O_LARGEFILE.
14305 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
14306             Joseph Myers  <joseph@codesourcery.com>
14308         * config.make.in (NM): New variable.
14310 2012-10-21  Andreas Jaeger  <aj@suse.de>
14312         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14313         definitions and declarations that are provided by
14314         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14316 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14318         [BZ #14683]
14319         * elf/Makefile (tests-static): Add tst-leaks1-static.
14320         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14321         ($(objpfx)tst-leaks1-static): New rule.
14322         ($(objpfx)tst-leaks1-static-mem): Likewise.
14323         (tst-leaks1-static-ENV): New macro.
14324         * elf/dl-open.c (dl_open_worker): Check the main application
14325         only if SHARED is defined.
14326         * elf/tst-leaks1-static.c: New file.
14328 2012-10-20  Andreas Jaeger  <aj@suse.de>
14330         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14331         generic values for Linux.
14332         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14333         and declarations that are provided by <bits/fcntl-linux.h> and
14334         include <bits/fcntl-linux.h>.
14335         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14336         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14338 2012-10-20  Roland McGrath  <roland@hack.frob.com>
14340         * io/fcntl.h: Move include of <bits/types.h> to the top and
14341         include it unconditionally.
14343 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14345         * wcsmbs/Makefile (tests-ifunc): New variable.
14346         (tests): Add $(tests-ifunc).
14347         * wcsmbs/test-wcschr-ifunc.c: New file.
14348         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14349         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14350         * wcsmbs/test-wcslen-ifunc.c: Likewise.
14351         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14352         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14354         * string/Makefile (tests-ifunc): New variable.
14355         (tests): Add $(tests-ifunc).
14356         * string/test-memccpy.c (TEST_NAME): New macro.
14357         * string/test-memchr.c (TEST_NAME): Likewise.
14358         * string/test-memcmp.c (TEST_NAME): Likewise.
14359         * string/test-memcpy.c (TEST_NAME): Likewise.
14360         * string/test-memmem.c (TEST_NAME): Likewise.
14361         * string/test-memmove.c (TEST_NAME): Likewise.
14362         * string/test-memset.c (TEST_NAME): Likewise.
14363         * string/test-rawmemchr.c (TEST_NAME): Likewise.
14364         * string/test-stpcpy.c (TEST_NAME): Likewise.
14365         * string/test-stpncpy.c (TEST_NAME): Likewise.
14366         * string/test-strcasecmp.c (TEST_NAME): Likewise.
14367         * string/test-strcasestr.c (TEST_NAME): Likewise.
14368         * string/test-strcat.c (TEST_NAME): Likewise.
14369         * string/test-strchr.c (TEST_NAME): Likewise.
14370         * string/test-strcmp.c(TEST_NAME): Likewise.
14371         * string/test-strcpy.c (TEST_NAME): Likewise.
14372         * string/test-strcspn.c (TEST_NAME): Likewise.
14373         * string/test-strlen.c (TEST_NAME): Likewise.
14374         * string/test-strncasecmp.c (TEST_NAME): Likewise.
14375         * string/test-strncmp.c (TEST_NAME): Likewise.
14376         * string/test-strncpy.c (TEST_NAME): Likewise.
14377         * string/test-strnlen.c (TEST_NAME): Likewise.
14378         * string/test-strpbrk.c (TEST_NAME): Likewise.
14379         * string/test-strrchr.c (TEST_NAME): Likewise.
14380         * string/test-strspn.c (TEST_NAME): Likewise.
14381         * string/test-strstr.c (TEST_NAME): Likewise.
14382         * string/test-bcopy-ifunc.c: New file.
14383         * string/test-bzero-ifunc.c: Likewise.
14384         * string/test-memccpy-ifunc.c: Likewise.
14385         * string/test-memchr-ifunc.c: Likewise.
14386         * string/test-memcmp-ifunc.c: Likewise.
14387         * string/test-memcpy-ifunc.c: Likewise.
14388         * string/test-memmem-ifunc.c: Likewise.
14389         * string/test-memmove-ifunc.c: Likewise.
14390         * string/test-mempcpy-ifunc.c: Likewise.
14391         * string/test-memset-ifunc.c: Likewise.
14392         * string/test-rawmemchr-ifunc.c: Likewise.
14393         * string/test-stpcpy-ifunc.c: Likewise.
14394         * string/test-stpncpy-ifunc.c: Likewise.
14395         * string/test-strcasecmp-ifunc.c: Likewise.
14396         * string/test-strcasestr-ifunc.c: Likewise.
14397         * string/test-strcat-ifunc.c: Likewise.
14398         * string/test-strchr-ifunc.c: Likewise.
14399         * string/test-strchrnul-ifunc.c: Likewise.
14400         * string/test-strcmp-ifunc.c: Likewise.
14401         * string/test-strcpy-ifunc.c: Likewise.
14402         * string/test-strcspn-ifunc.c: Likewise.
14403         * string/test-strlen-ifunc.c: Likewise.
14404         * string/test-strncasecmp-ifunc.c: Likewise.
14405         * string/test-strncat-ifunc.c: Likewise.
14406         * string/test-strncmp-ifunc.c: Likewise.
14407         * string/test-strncpy-ifunc.c: Likewise.
14408         * string/test-strnlen-ifunc.c: Likewise.
14409         * string/test-strpbrk-ifunc.c: Likewise.
14410         * string/test-strrchr-ifunc.c: Likewise.
14411         * string/test-strspn-ifunc.c: Likewise.
14412         * string/test-strstr-ifunc.c: Likewise.
14414         * debug/Makefile (tests-ifunc): New variable.
14415         (tests): Add $(tests-ifunc).
14416         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14417         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14418         * debug/test-stpcpy_chk-ifunc.c: New file.
14419         * debug/test-strcpy_chk-ifunc.c: Likewise.
14421 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14423         [BZ #13601]
14424         * elf/dl-load.c (open_verify): Retry read if the entire ELF
14425         header is not read in.
14427 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
14429         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
14430         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
14431         directly.  Pass built executable to script as
14432         $(built-program-cmd).
14433         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
14434         $testprogram without using LD_LIBRARY_PATH and $ldso.
14436         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14437         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14438         $(rtld-installed-name).
14439         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14440         (rtld_installed_name): Likewise.
14441         (library_path): Likewise.
14442         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
14443         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14444         $(run-program-prefix) to tst-tables.sh.
14445         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
14446         it to run tst-table-from and tst-table-to.
14447         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14448         Pass it to tst-table.sh.
14449         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14450         $(run-program-prefix) to tst-gettext.sh.
14451         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14452         tst-translit.sh.
14453         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14454         tst-gettext2.sh.
14455         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
14456         to run tst-gettext.
14457         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
14458         to run tst-gettext2.
14459         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
14460         to run tst-translit.
14461         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14462         $(run-program-prefix) to tst-mtrace.sh.
14463         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
14464         to run tst-mtrace.
14465         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14466         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14467         $(rtld-installed-name).
14468         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14469         (rtld_installed_name): Likewise.
14470         (run_program_prefix): New variable.  Use it to run wordexp-test.
14472         * Makeconfig (ARCH): Remove all definitions.
14473         (machine): Likewise.
14474         [ARCH]: Remove conditional code.
14475         [!objdir]: Give error.
14476         [!objdir] (objpfx): Remove.
14477         [!objdir] (common-objpfx): Likewise.
14478         [!objdir] (common-objdir): Likewise.
14479         * configure.in (config_makefile): Remove.  Hardcode Makefile in
14480         AC_CONFIG_FILES call.
14481         * configure: Regenerated.
14483         [BZ #13888]
14484         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14485         or TMPDIR.
14486         (testout): Likewise.
14488         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14489         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14490         $(rtld-installed-name).
14491         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14492         (rtld_installed_name): Likwise.
14493         (runit): Remove function.
14494         (run_getconf): New variable,  Use it for running getconf binary.
14496 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
14498         [BZ #14716]
14499         * string/test-memmem.c (check_result): New function.
14500         (do_one_test): Use it.
14501         (check1): New function.
14502         (test_main): Use it.
14504 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
14506         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14508 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
14510         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14511         (_G_LSEEK64): Likewise.
14512         (_G_MMAP64): Likewise.
14513         (_G_FSTAT64): Likewise.
14514         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14515         (_G_LSEEK64): Likewise.
14516         (_G_MMAP64): Likewise.
14517         (_G_FSTAT64): Likewise.
14518         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14519         unconditional.  Call __mmap64 directly.
14520         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14521         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
14522         __lseek64 directly.
14523         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14524         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
14525         __mmap64 directly.
14526         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14527         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14528         __lseek64 directly.
14529         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14530         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14531         __lseek64 directly.
14532         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14533         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
14534         __lseek64 directly.
14535         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14536         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
14537         __fxstat64 directly.
14538         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14539         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14540         unconditional.
14541         (freopen64) [!_G_OPEN64]: Remove conditional code.
14542         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14543         unconditional.
14544         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14545         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14546         unconditional.
14547         (ftello64) [!_G_LSEEK64]: Remove conditional code.
14548         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14549         unconditional.
14550         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14551         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14552         unconditional.
14553         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14554         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14555         unconditional.
14556         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14557         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14558         unconditional.
14559         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14560         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14561         unconditional.
14562         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14564 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14566         [BZ #12140]
14567         * manual/memory.texi (Malloc Tunable Parameters): Add note
14568         about free list pointers overwriting some perturb bytes.
14569         Wording suggested by Roland McGrath.
14571 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
14573         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14574         (lgamma_test): Likewise.
14575         (tgamma_test): Likewise.
14577 2012-10-16  Florian Weimer  <fweimer@redhat.com>
14579         [BZ #14700]
14580         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14581         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14583 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
14585         * NEWS: Mention BZ #14716.
14586         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14587         when removing AVAILABLE1_USES_J macro.
14589 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14591         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14592         (__bswap_64): __uint64_t for unsigned 64-bit int.
14594 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
14596         * include/string.h (memmem): Declare libc hidden alias.
14597         * string/memmem.c (memmem): Define libc hidden alias.
14598         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14599         __read, __close instead of open, read, close.
14601 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
14603         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14604         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14605         global and hidden.
14606         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14607         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14608         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14609         Likewise.
14610         (__rawmemchr_sse2): Likewise.
14611         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14612         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14613         (__strchr_sse2): Likewise.
14614         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14615         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14616         (__strcasecmp_sse2): Likewise.
14617         (__strncasecmp_sse2): Likewise.
14618         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14619         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14620         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14621         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14622         (__strrchr_sse2): Likewise.
14623         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14624         ifunc-impl-list.c.
14625         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14626         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14627         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14628         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14629         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14630         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14631         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14632         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14633         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14634         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14635         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14636         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14637         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14638         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14639         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14640         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14641         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14642         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14643         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14644         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14645         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14646         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14647         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14648         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14649         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14650         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14651         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14652         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14653         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14654         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14656         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14657         global and hidden.
14658         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14659         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14660         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14661         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14662         Likewise.
14663         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14664         Likewise.
14665         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14666         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14667         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14668         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14669         ifunc-impl-list.c.
14670         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14671         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14672         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14673         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14674         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14675         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14676         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14677         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14678         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14679         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14680         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14681         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14682         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14683         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14684         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14685         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14686         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14687         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14688         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14689         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14690         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14691         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14692         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14693         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14694         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14695         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14696         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14697         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14698         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14699         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14700         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14701         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14702         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14703         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14704         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14705         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14706         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14707         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14708         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14709         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14710         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14712         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14713         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14714         * include/ifunc-impl-list.h: New file.
14715         * misc/ifunc-impl-list.c: Likewise.
14716         * misc/Makefile (routines): Add ifunc-impl-list.
14717         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14718         * string/test-string.h: Include <ifunc-impl-list.h>.
14719         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14720         impl_array): New variables.
14721         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14722         are defined.
14723         (test_init): Call __libc_ifunc_impl_list to initialize
14724         func_list if TEST_IFUNC and TEST_NAME are defined.
14726         * string/Makefile (strop-tests): Add bcopy and bzero.
14727         * string/test-bcopy.c: New file.
14728         * string/test-bzero.c: Likewise.
14729         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14730         defined.
14731         * string/test-memset.c: Support bzero test if TEST_BZERO is
14732         defined.
14733         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14734         __libc_memmove.
14735         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14736         __libc_memset.
14737         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14738         of memset.
14740 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
14742         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14743         * configure: Regenerated.
14745         * Makeconfig (+link-static-before-libc): Don't include
14746         $(link-static-libc).
14748         * libio/libio.h (_IO_pos_t): Remove.
14750 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14752         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
14753         McGrath.
14755 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14757         * crypt/crypt-entry.c: Include fips-private.h.
14758         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14759         * crypt/md5c-test.c (main): Tolerate disabled MD5.
14760         * sysdeps/unix/sysv/linux/fips-private.h: New file.
14761         * sysdeps/generic/fips-private.h: New file, dummy fallback.
14763 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14765         * crypt/crypt-private.h: Include stdbool.h.
14766         (_ufc_setup_salt_r): Return bool.
14767         * crypt/crypt-entry.c: Include errno.h.
14768         (__crypt_r): Return NULL with EINVAL for bad salt.
14769         * crypt/crypt_util.c (bad_for_salt): New.
14770         (_ufc_setup_salt_r): Check that salt is long enough and within
14771         the specified alphabet.
14772         * crypt/badsalttest.c: New file.
14773         * crypt/Makefile (tests): Add it.
14774         ($(objpfx)badsalttest): New.
14776 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
14778         * NEWS: Add entry for BZ #14602.
14780 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14782         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14783         type-generic.
14784         * math/libm-test.inc: Update comment listing what functions and
14785         macros are tested.
14786         (isgreater_test): New function.
14787         (isgreaterequal_test): Likewise.
14788         (isless_test): Likewise.
14789         (islessequal_test): Likewise.
14790         (islessgreater_test): Likewise.
14791         (isunordered_test): Likewise.
14792         (main): Call the new functions.
14794 2012-10-09  Roland McGrath  <roland@hack.frob.com>
14796         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14797         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14798         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14799         * sysdeps/i386/configure: Regenerated.
14800         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14801         * sysdeps/mach/configure: Regenerated.
14802         * sysdeps/mach/hurd/configure: Regenerated.
14803         * sysdeps/powerpc/configure: Regenerated.
14804         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14805         * sysdeps/powerpc/powerpc64/configure: Regenerated.
14806         * sysdeps/s390/s390-32/configure: Regenerated.
14807         * sysdeps/s390/s390-64/configure: Regenerated.
14808         * sysdeps/sh/configure: Regenerated.
14809         * sysdeps/sparc/configure: Regenerated.
14810         * sysdeps/unix/sysv/linux/configure: Regenerated.
14811         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14812         * sysdeps/x86_64/configure: Regenerated.
14814         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14815         defined.  Don't check if MAP is NULL.
14817 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14819         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14820         (_G_stat64): Likewise.
14821         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14822         (_G_stat64): Likewise.
14823         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14824         instead of struct _G_stat64.
14825         * libio/fileops.c (mmap_remap_check): Likewise.
14826         (decide_maybe_mmap): Likewise.
14827         (_IO_new_file_seekoff): Likewise.
14828         (_IO_file_stat): Likewise.
14829         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14830         _G_off64_t.
14831         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14832         instead of struct _G_stat64.
14833         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14835 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
14837         [BZ #14602]
14838         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14839         Replace with ...
14840         (CHECK_EOL): New macro.
14841         (two_way_short_needle): Check beginning of haystack for EOL.  Use
14842         CHECK_EOL.
14843         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14844         Replace with CHECK_EOL.
14845         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14846         Replace with CHECK_EOL.
14848 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
14850         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14851         type-generic.
14852         * math/libm-test.inc: Update comment listing what functions and
14853         macros are tested.
14854         (finite_test): New function.
14855         (isinf_test): Likewise.
14856         (isnan_test): Likewise.
14857         (fpclassify_test): Test subnormal input.
14858         (isfinite_test): Likewise.
14859         (isnormal_test): Likewise.
14860         (main): Call the new functions.
14862 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
14864         [BZ #14660]
14865         * Makerules (%.dynsym): Force C locale when running
14866         $(OBJDUMP) --dynamic-syms.
14868 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
14870         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14871         <stdint.h>.
14873 2012-10-06  David S. Miller  <davem@davemloft.net>
14875         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14876         upper 32-bits of the length value in %o2 since we use branch-on-register
14877         tests which consider the entire 64-bit register.
14879 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
14881         * string/test-strstr.c (check2): Add a test for page boundary.
14883 2012-10-05  David S. Miller  <davem@davemloft.net>
14885         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14886         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14887         file.
14888         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14889         sysdep_routines.
14890         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14891         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14892         and bzero when HWCAP_SPARC_CRYPTO is present.
14894 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
14896         [BZ #14602]
14897         * string/test-strstr.c (check2): New function.
14898         (test_main): Call check2.
14900         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14901         and bug-strchr1.
14902         * string/bug-strcasestr1.c (do_test): Moved to ...
14903         * string/test-strcasestr.c (check1): Here.  New function.
14904         (do_one_test): Break out result checking code into ...
14905         (check_result): This.  New function.
14906         (do_one_test): Call check_result.
14907         (test_main): Call check1.
14908         * string/bug-strchr1.c (do_test): Moved to ...
14909         * string/test-strchr.c (check1): Here.  New function.
14910         (do_one_test): Break out result checking code into ...
14911         (check_result): This.  New function.
14912         (do_one_test): Call check_result.
14913         (test_main): Call check1.
14914         * string/bug-strstr1.c (main): Moved to ...
14915         * string/test-strstr.c (check1): Here.  New function.
14916         (do_one_test): Break out result checking code into ...
14917         (check_result): This.  New function.
14918         (do_one_test): Call check_result.
14919         (test_main): Call check1.
14920         * string/bug-strcasestr1.c: Removed.
14921         * string/bug-strchr1.c: Likewise.
14922         * string/bug-strstr1.c: Likewise.
14924         * elf/Makefile (dl-routines): Add hwcaps.
14925         * elf/dl-support.c (_dl_important_hwcaps): Removed.
14926         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14927         (_dl_important_hwcaps): Moved to ...
14928         * elf/dl-hwcaps.c: Here.  New file.
14929         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14931         [BZ #14557]
14932         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14933         if IS_IN_rtld isn't defined.
14935         * elf/dl-support.c (_dl_sysinfo_map): New.
14936         Include "get-dynamic-info.h" and "setup-vdso.h".
14937         (_dl_non_dynamic_init): Call setup_vdso.
14938         * elf/dynamic-link.h: Don't include <assert.h>.
14939         (elf_get_dynamic_info): Moved to ...
14940         * elf/get-dynamic-info.h: Here.  New file.
14941         * elf/dynamic-link.h: Include "get-dynamic-info.h".
14942         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14943         * elf/setup-vdso.h: Here.  New file.
14944         * elf/rtld.c: Include "setup-vdso.h".
14945         (dl_main): Call setup_vdso.
14947 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
14949         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14950         creal in comment listing functions tested.  List finite, isinf,
14951         isnan, isless, islessequal, isgreater, isgreaterequal,
14952         islessgreater, isunordered, lgamma_r and pow10 as functions and
14953         macros not tested.  Mention which functions not tested are aliases
14954         for other functions.  Fix typo.  Note that signs of NaNs are not
14955         tested.
14957         * scripts/config.guess: Update from config.git.
14958         * scripts/config.sub: Likewise.
14960 2012-10-04  Roland McGrath  <roland@hack.frob.com>
14962         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14963         * misc/madvise.c (madvise): Renamed to __madvise.
14964         Make madvise a weak alias.
14965         * include/sys/mman.h: Declare __madvise.
14966         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14967         * sysdeps/unix/syscalls.list
14968         (madvise): Make __madvise the strong name, and madvise a weak alias.
14969         * sysdeps/unix/sysv/linux/syscalls.list
14970         (madvise, mmap): Remove redundant entries.
14971         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14972         * malloc/malloc.c (mtrim): Likewise.
14973         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14975 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14977         * sysdeps/mach/hurd/dl-cache.c: File removed.
14978         * config.h.in (USE_LDCONFIG): New #undef.
14979         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14980         * configure: Regenerated.
14981         * elf/Makefile (dl-routines): Add dl-cache only under
14982         [$(use-ldconfig) = yes].
14983         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14984         cache on [USE_LDCONFIG].
14985         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14986         [USE_LDCONFIG].
14987         * elf/rtld.c (dl_main): Likewise.
14989 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
14991         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14992         _SC_LEVEL4_CACHE_LINESIZE.
14994 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14996         * sysdeps/unix/bsd/confstr.h: File removed.
14998 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
15000         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15001         sys/sdt-config.h.
15003 2012-10-02  Roland McGrath  <roland@hack.frob.com>
15005         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15006         Make 'mapoff' field ElfW(Off) rather than off_t.
15008 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
15010         * nscd/Makefile: Remove nscd-cflags and all its users.
15011         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15012         (CFLAGS-nonlib): Add compiler flags for nscd modules.
15014         [BZ #10631]
15015         * malloc.c (malloc_printerr): Clarify error message.
15017 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
15019         [BZ #14648]
15020         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15021         Set bit_FMA_Usable if FMA is supported.
15022         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15023         macro.
15024         (bit_FMA4_Usable): Updated.
15025         (index_FMA_Usable): New macro.
15026         (CPUID_FMA): Likewise
15027         (HAS_FMA): Defined with bit_FMA_Usable.
15029 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15031         * bits/types.h (__swblk_t): Type removed.
15032         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15033         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15034         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15035         (__SWBLK_T_TYPE): Likewise.
15036         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15037         (__SWBLK_T_TYPE): Likewise.
15038         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15039         (__SWBLK_T_TYPE): Likewise.
15040         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15041         (__SWBLK_T_TYPE): Likewise.
15043 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
15044             Honza Horak <hhorak@redhat.com>
15046         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15047         (xdr_mapname): Use YPMAXMAP as maxsize.
15048         (xdr_peername): Use YPMAXPEER as maxsize.
15049         (xdr_keydat): Use YPAXRECORD as maxsize.
15050         (xdr_valdat): Use YPMAXRECORD as maxsize.
15052 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15054         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15056         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15057         * csu/init-first.c: ... here.
15058         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15059         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15060         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15061         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15062         * sysdeps/i386/init-first.c: File removed.
15063         * sysdeps/sh/init-first.c: File removed.
15065 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
15067         [BZ #14645]
15068         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15069         if x * y might underflow to zero and z is zero.
15070         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15071         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15072         * math/libm-test.inc (min_subnorm_value): New variable.
15073         (fma_test): Add more tests.
15074         (fma_test_towardzero): Likewise.
15075         (fma_test_downward): Likewise
15076         (fma_test_upward): Likewise.
15077         (initialize): Set min_subnorm_value.
15079 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
15081         [BZ #14638]
15082         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15083         0 + 0.
15084         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15085         mode for addition resulting in exact zero.
15086         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15087         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15088         exact 0 + 0.
15089         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15090         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15091         * math/libm-test.inc (fma_test): Add more tests.
15092         (fma_test_towardzero): New function.
15093         (fma_test_downward): Likewise.
15094         (fma_test_upward): Likewise.
15095         (main): Call the new functions.
15097 2012-09-28  David S. Miller  <davem@davemloft.net>
15099         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15101 2012-09-28  Roland McGrath  <roland@hack.frob.com>
15103         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15104         instead of SIGALRM.
15106         * sysdeps/gnu/_G_config.h: Moved to ...
15107         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15108         * sysdeps/mach/hurd/_G_config.h: Moved to ...
15109         * sysdeps/generic/_G_config.h: ... here.
15111         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
15113         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15115         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15116         Conditionalize target on [libnss_test1.so-version].
15118         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15120         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15121         (elfobjdir): Move out of conditionals.
15123         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15124         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15125         (__nss_lookup_function): Conditionalize label remove_from_tree on
15126         [!DO_STATIC_NSS || SHARED], matching its only use.
15128 2012-09-28  David S. Miller  <davem@davemloft.net>
15130         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15131         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15132         file.
15133         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15134         sysdep_routines.
15135         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15136         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15137         when HWCAP_SPARC_CRYPTO is present.
15139 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15141         * io/tst-mknodat.c: Create a FIFO instead of a socket.
15143 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15145         [BZ #6530]
15146         * stdio-common/vfprintf.c (process_string_arg): Revert
15147         2000-07-22 change.
15149 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
15151         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15152         for testcase.
15153         * stdio-common/tst-sprintf.c: Include <locale.h>
15154         (main): Test sprintf's handling of incomplete multibyte
15155         characters.
15157 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
15159         * elf/dl-runtime.c (VERSYMIDX): Removed.
15160         * elf/dl-version.c (VERSYMIDX): Likewise.
15161         * elf/do-rel.h (VERSYMIDX): Likewise.
15162         (VALIDX): Likewise.
15163         * elf/dynamic-link.h (VERSYMIDX): Likewise.
15164         * elf/rtld.c (VALIDX): Likewise.
15165         (ADDRIDX): Likewise.
15166         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15167         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15168         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15169         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15170         (VALIDX): Likewise.
15171         (ADDRIDX): Likewise.
15173 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15175         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15177 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
15179         [BZ #11438]
15180         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15181         to global scope.
15182         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15183         addresses are in the same scope as 192.0.2/24.
15184         * posix/gai.conf: Document new scope table defaults.
15186 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15188         [BZ #5298]
15189         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15190         for ftell.  Compute offsets from write pointers instead.
15191         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15193 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15195         [BZ #14543]
15196         * libio/Makefile (tests): New test case tst-fseek.
15197         * libio/tst-fseek.c: New test case to verify that fseek/ftell
15198         combination works in wide mode.
15199         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15200         state when the external buffer state changes.
15202 2012-09-27  David S. Miller  <davem@davemloft.net>
15204         [BZ #14376]
15205         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15206         pass reloc->r_addend in as the 'high' argument to
15207         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15211 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15213         * rt/tst-aio2.c: Include <pthread.h>.
15214         * rt/tst-aio3.c: Likewise.
15216 2012-09-27  Steve Ellcey  <sellcey@mips.com>
15218         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15220 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
15222         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15223         contents on [SHARED].
15225 2012-09-26  Marek Polacek  <polacek@redhat.com>
15227         [BZ #14530]
15228         [BZ #13741]
15229         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15230         for C++ and GCC <4.3 as well as for non GCC compilers.
15232 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15234         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15236 2012-09-25  Roland McGrath  <roland@hack.frob.com>
15238         * Makefile.in (all, install): Declare with .PHONY.
15239         Reported by Michael Hope <michael.hope@linaro.org>.
15241 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15243         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15244         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15245         system header.
15246         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15247         Likewise.
15248         (sydep_routines): Add the new and the internal functions.
15249         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15250         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15252         (GLIBC_2.17): Add the new function.
15253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15254         (GLIBC_2.17): Likewise.
15255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15256         (GLIBC_2.17): Likewise.
15257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15258         (GLIBC_2.17): Likewise.
15259         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15261 2012-09-25  Alan Modra  <amodra@gmail.com>
15263         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15264         Add release barrier before setting once_control to say
15265         initialisation is done.  Add hints on lwarx.  Use macro in
15266         place of isync.
15267         (clear_once_control): Add release barrier.
15269 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15271         [BZ #13629]
15272         * math/s_clog.c (__clog): Handle more values close to |z| = 1
15273         specially.
15274         * math/s_clog10.c (__clog10): Likewise.
15275         * math/s_clog10f.c (__clog10f): Likewise.
15276         * math/s_clog10l.c (__clog10l): Likewise.
15277         * math/s_clogf.c (__clogf): Likewise.
15278         * math/s_clogl.c (__clogl): Likewise.
15279         * math/Makefile (libm-calls): Add x2y2m1.
15280         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15281         (__x2y2m1): Likewise.
15282         (__x2y2m1l): Likewise.
15283         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15284         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15285         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15286         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15287         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15288         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15289         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15290         * sysdeps/i386/fpu/libm-test-ulps: Update.
15291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15293         [BZ #14621]
15294         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15295         int as type of variable DEPTH.
15296         (glob): Use size_t instead of int as type of variables NEWCOUNT
15297         and OLD_PATHC.
15299 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15301         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15302         Add s_sincosf-sse2.
15303         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15304         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15305         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15306         macros for using routine as __sincosf_ia32.
15307         Use macro for function declaration and weak_alias.
15308         * sysdeps/i386/fpu/libm-test-ulps: Update.
15310         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15311         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15313         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15314         subnormal argument.
15315         * math/s_cexpf.c (__cexpf): Likewise.
15316         * math/s_csinf.c (__csinf): Likewise.
15317         * math/s_csinhf.c (__csinhf): Likewise.
15318         * math/s_ctanf.c (__ctanf): Likewise.
15319         * math/s_ctanhf.c (__ctanhf): Likewise.
15320         * math/s_ccosh.c (__ccoshf): Likewise.
15321         * math/s_cexp.c (__cexpl): Likewise.
15322         * math/s_csin.c (__csin): Likewise.
15323         * math/s_csinh.c (__csinh): Likewise.
15324         * math/s_ctan.c (__ctan): Likewise.
15325         * math/s_ctanh.c (ctanh): Likewise.
15326         * math/s_ccoshl.c (__ccoshl): Likewise.
15327         * math/s_cexpl.c (__cexpl): Likewise.
15328         * math/s_csinl.c (__csinl): Likewise.
15329         * math/s_csinhl.c (__csinhl): Likewise.
15330         * math/s_ctanl.c (__ctanl): Likewise.
15331         * math/s_ctanhl.c (__ctanhl): Likewise.
15333 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15335         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15336         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15337         (_IO_off_t): Define to __off_t, not _G_off_t.
15338         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15339         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15340         (_IO_wint_t): Define to wint_t, not _G_wint_t.
15341         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15342         type of __dummy and __dummy2 fields.
15343         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15344         (_G_ssize_t): Likewise.
15345         (_G_off_t): Likewise.
15346         (_G_pid_t): Likewise.
15347         (_G_uid_t): Likewise.
15348         (_G_wchar_t): Likewise.
15349         (_G_wint_t): Likewise.
15350         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15351         (_G_ssize_t): Likewise.
15352         (_G_off_t): Likewise.
15353         (_G_pid_t): Likewise.
15354         (_G_uid_t): Likewise.
15355         (_G_wchar_t): Likewise.
15356         (_G_wint_t): Likewise.
15357         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15358         (_G_ssize_t): Likewise.
15359         (_G_off_t): Likewise.
15360         (_G_pid_t): Likewise.
15361         (_G_uid_t): Likewise.
15362         (_G_wchar_t): Likewise.
15363         (_G_wint_t): Likewise.
15365 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15367         * malloc/arena.c: Include malloc-sysdep.h.
15368         (shrink_heap): Use check_may_shrink_heap to decide if madvise
15369         is sufficient to shrink the heap or an unmap is needed.
15370         * sysdeps/generic/malloc-sysdep.h: New file.  Define
15371         new function check_may_shrink_heap.
15372         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
15373         new function check_may_shrink_heap.
15375 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15377         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15378         comments.
15380 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
15382         * catgets/test-gencat.sh: Add "set -e".
15383         * elf/tst-pathopt.sh: Likewise.
15384         * grp/tst_fgetgrent.sh: Likewise.
15385         * iconvdata/run-iconv-test.sh: Likewise.
15386         * intl/tst-gettext.sh: Likewise.
15387         * intl/tst-gettext2.sh: Likewise.
15388         * intl/tst-gettext4.sh: Likewise.
15389         * intl/tst-gettext6.sh: Likewise.
15390         * intl/tst-translit.sh: Likewise.
15391         * io/ftwtest-sh: Likewise.
15392         * libio/test-freopen.sh: Likewise.
15393         * malloc/tst-mtrace.sh: Likewise.
15394         * posix/globtest.sh: Likewise.
15395         * posix/tst-getconf.sh: Likewise.
15396         * posix/wordexp-tst.sh: Likewise.
15397         * stdio-common/tst-printf.sh: Likewise.
15398         * stdio-common/tst-unbputc.sh: Likewise.
15399         * stdlib/tst-fmtmsg.sh: Likewise.
15400         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15401         * catgets/Makefile: Do not specify -e option when running
15402         testsuite shell scripts.
15403         * elf/Makefile: Likewise.
15404         * grp/Makefile: Likewise.
15405         * iconvdata/Makefile: Likewise.
15406         * intl/Makefile: Likewise.
15407         * io/Makefile: Likewise.
15408         * libio/Makefile: Likewise.
15409         * malloc/Makefile: Likewise.
15410         * posix/Makefile: Likewise.
15411         * stdio-common/Makefile: Likewise.
15412         * stdlib/Makefile: Likewise.
15413         * sysdeps/x86_64/Makefile: Likewise.
15415         * io/ftwtest-sh: Add copyright header.
15416         * posix/globtest.sh: Likewise.
15417         * posix/tst-getconf.sh: Likewise.
15418         * posix/wordexp-tst.sh: Likewise.
15419         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15421 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
15423         [BZ #13679]
15424         * Makeconfig (+link): Defined as $(+link-static) if
15425         $(build-shared) isn't yes.
15426         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15427         isn't yes.
15428         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15430         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15432         [BZ #14562]
15433         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15434         new chunk size with MALLOC_ALIGN_MASK.
15436 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
15438         [BZ #5044]
15439         * stdio-common/printf_fphex.c: Include <stdbool.h> and
15440         <rounding-mode.h>.
15441         (__printf_fphex): Determine rounding using get_rounding_mode and
15442         round_away.
15443         * stdio-common/tst-printf-round.c (struct hex_test): New
15444         structure.
15445         (hex_tests): New variable.
15446         (test_hex_in_one_mode): New function.
15447         (do_test): Also run tests for hex float output.
15449 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
15451         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15452         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15453         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15454         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15455         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15456         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15457         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15458         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15460 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
15462         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15463         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15464         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15465         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15467 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
15469         [BZ #14579]
15470         * elf/rtld.c (dl_main): Limit the check for self loading to normal
15471         mode only.
15472         * elf/tst-rtld-load-self.sh: New test.
15473         * elf/Makefile: Run it.
15475 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
15477         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15478         (tst-writev-ENV): Remove.
15479         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15481 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
15483         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15485 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
15487         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15488         unconditional.
15489         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15490         Likewise.
15491         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15492         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15493         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15494         Likewise.
15496 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
15498         [BZ #14587]
15499         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15500         * config.make.in (have-cpp-asm-debuginfo): Removed.
15501         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15502         * configure: Regenerated.
15504 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
15506         [BZ #5044]
15507         * stdio-common/printf_fp.c: Include <stdbool.h> and
15508         <rounding-mode.h>.
15509         (___printf_fp): Determine rounding using get_rounding_mode and
15510         round_away.
15511         * stdio-common/tst-printf-round.c: New file.
15512         * stdio-common/Makefile (tests): Add tst-printf-round.
15513         (link-libm): New variable.
15514         ($(objpfx)tst-printf-round): Depend in $(link-libm).
15516 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
15518         [BZ #14576]
15519         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15520         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15521         Likewise.
15522         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15523         Likewise.
15525 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
15527         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15528         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15529         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15530         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15532 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
15534         [BZ #14518]
15535         * include/rounding-mode.h: New file.
15536         * sysdeps/generic/get-rounding-mode.h: Likewise.
15537         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15538         * stdlib/strtod_l.c: Include <rounding-mode.h>.
15539         (MAX_VALUE): New macro.
15540         (MIN_VALUE): Likewise.
15541         (overflow_value): New function.
15542         (underflow_value): Likewise.
15543         (round_and_return): Use overflow_value and underflow_value to
15544         determine return values in overflow and underflow cases.  Use
15545         round_away to determine rounding depending on rounding mode.
15546         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15547         determine return values in overflow and underflow cases.
15548         * stdlib/tst-strtod-round.c: Include <fenv.h>.
15549         (struct test_results): New structure.
15550         (struct test): Use struct test_results to store expected results
15551         for all rounding modes.
15552         (TEST): Include expected results for all rounding modes.
15553         (test_in_one_mode): New function.
15554         (do_test): Use test_in_one_mode to compute and check results.
15555         Check results for all rounding modes.
15556         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15557         $(link-libm).
15559 2012-12-09  Allan McRae  <allan@archlinux.org>
15561         * sysdeps/i386/fpu/libm-test-ulps: Update
15563 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
15565         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15566         (_G_int32_t): Likewise.
15567         (_G_uint16_t): Likewise.
15568         (_G_uint32_t): Likewise.
15569         (_G_HAVE_BOOL): Likewise.
15570         (_G_HAVE_ATEXIT): Likewise.
15571         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15572         (_G_HAVE_IO_FILE_OPEN): Likewise.
15573         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15574         (_G_int32_t): Likewise.
15575         (_G_uint16_t): Likewise.
15576         (_G_uint32_t): Likewise.
15577         (_G_HAVE_BOOL): Likewise.
15578         (_G_HAVE_ATEXIT): Likewise.
15579         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15580         (_G_HAVE_IO_FILE_OPEN): Likewise.
15581         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15582         (_G_int32_t): Likewise.
15583         (_G_uint16_t): Likewise.
15584         (_G_uint32_t): Likewise.
15585         (_G_HAVE_BOOL): Likewise.
15586         (_G_HAVE_ATEXIT): Likewise.
15587         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15588         (_G_HAVE_IO_FILE_OPEN): Likewise.
15590 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
15592         * csu/libc-tls.c: Update copyright years.
15594 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
15596         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15597         [!_G_USING_THUNKS]: Remove conditional code.
15598         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15599         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15601         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15602         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15603         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15604         (_G_VTABLE_LABEL_PREFIX): Likewise.
15605         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15606         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15607         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15608         (_G_VTABLE_LABEL_PREFIX): Likewise.
15609         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15610         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15611         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15612         (_G_VTABLE_LABEL_PREFIX): Likewise.
15613         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15615 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
15617         * libio/Makefile: Include ../Makeconfig before tests.
15618         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15619         only if $(build-shared) is yes.
15621         * iconv/gconv_db.c: Update copyright years.
15623 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15625         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15626         unwind info if defined PIC. Fix special cases description.
15627         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15629         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15630         DP_HI_MASK entry.
15631         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15633 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
15635         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15637         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15638         is NULL.
15640         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15641         (LDLIBS-tst-chk4): This.
15642         (LDFLAGS-tst-chk5): Renamed to ...
15643         (LDLIBS-tst-chk5): This.
15644         (LDFLAGS-tst-chk6): Renamed to ...
15645         (LDLIBS-tst-chk6): This.
15646         (LDFLAGS-tst-lfschk4): Renamed to ...
15647         (LDLIBS-tst-lfschk4): This.
15648         (LDFLAGS-tst-lfschk5): Renamed to ...
15649         (LDLIBS-tst-lfschk5): This.
15650         (LDFLAGS-tst-lfschk6): Renamed to ...
15651         (LDLIBS-tst-lfschk6): This.
15653         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15654         on $(common-objpfx)soversions.mk.
15656 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
15658         [BZ #10014]
15659         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15660         example host name.
15662 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15664         * malloc/arena.c (arena_get_retry): New function that gets
15665         another arena for the caller to try its request on.
15666         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15667         current arena cannot fulfill the request.
15668         (__libc_memalign): Likewise.
15669         (__libc_memalign): Likewise.
15670         (__libc_pvalloc): Likewise.
15671         (__libc_calloc): Likewise.
15673 2012-09-05  John Tobey  <john.tobey@gmail.com>
15675         [BZ #13542]
15676         * manual/arith.texi (Operations on Complex): Fix description
15677         of carg branch cut.
15679 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15681         [BZ #10014]
15682         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15683         host name.
15685         [BZ #10038]
15686         * manual/memory.texi (Memory): Make order of menu items match
15687         order of sections.
15689 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15691         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15692         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
15693         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15695 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15697         * csu/libc-tls.c (static_dtv): Renamed to ...
15698         (_dl_static_dtv): This.  Make it global.
15699         (_dl_initial_dtv): Removed.
15700         (__libc_setup_tls): Updated.
15701         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15702         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15703         DL_INITIAL_DTV.
15705 2012-09-06  Petr Machata  <pmachata@redhat.com>
15707         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15708         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15709         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15710         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15712 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15714         [BZ #14545]
15715         * csu/libc-tls.c (_dl_initial_dtv): New variable.
15716         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15717         freeing dtv[-1].
15719 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15721         [BZ #14544]
15722         * Makeconfig (link-static-before-libc): Replace $(+prector)
15723         with $(+prectorT).
15724         (link-static-after-libc): Replace $(+postctor) with
15725         $(+postctorT).
15726         (link-bounded): Replace $(+prector)/$(+postctor) with
15727         $(+prectorT)/$(+postctorT).
15728         (+prectorT): New macro.
15729         (+postctorT): Likewise.
15731 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15733         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15734         (round_str): Handle values above the maximum for IBM long double
15735         as inexact.
15736         * stdlib/tst-strtod-round.c (tests): Regenerated.
15738 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15740         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15741         assembler flag.
15742         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15743         zarch_nohighgprs around the zarch optimized routines.
15744         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15745         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15746         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15747         for zarch.
15749 2012-09-05  David S. Miller  <davem@davemloft.net>
15751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15753         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15754         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15755         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15756         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15757         entries.
15759 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15761         * malloc/arena.c: Fold copyright years.
15762         * malloc/mcheck.c, malloc/memusage.c: Likewise.
15764 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15766         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15768 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15770         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
15772 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15774         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15775         change internal state upon failure.
15777 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15779         * malloc/mcheck.c (mcheck_check_all): Fix typo.
15780         * malloc/memusage.c (mmap): Likewise.
15781         (mmap64, mremap): Likewise.  Adjust name in comment.
15783 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15785         * libio/fileops.c: Fix typos in comments.
15786         * libio/oldfileops.c: Likewise.
15787         * libio/wfileops.c: Likewise.
15789 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15791         [BZ #1349]
15792         * malloc/Makefile (tests): Add tst-malloc-usable test case.
15793         (tst-malloc-usable-ENV): Set environment for test case.
15794         * malloc/hooks.c (malloc_check_get_size): New function to get
15795         requested size.
15796         * malloc/malloc.c (musable): Use malloc_check_get_size.
15797         * malloc/tst-malloc-usable.c: New test case.
15799 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15801         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15803 2012-09-05  Allan McRae  <allan@archlinux.org>
15805         [BZ #13966]
15806         * configure.in (CXX_SYSINCLUDES): Use compiler output to
15807         determine header location.
15808         * configure: Regenerated.
15810 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15812         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15813         float format.
15814         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15815         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15816         format.
15817         (test): Regenerate.
15819 2012-09-04  David S. Miller  <davem@davemloft.net>
15821         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15822         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15823         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15825 2012-09-04  Florian Weimer  <fweimer@redhat.com>
15827         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15828         failures.
15830         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15832 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
15834         [BZ #9914]
15835         * libio/iogetdelim.c: Include <limits.h>.
15836         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15837         + len + 1 would overflow.
15839 2012-09-03  Andreas Jaeger  <aj@suse.de>
15841         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15842         * sysdeps/i386/fpu/libm-test-ulps: Update.
15844 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15846         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15847         Add s_sinf-sse2, s_conf-sse2.
15849         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15850         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15851         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15852         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15854         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15855         for using routine as __sinf_ia32.
15856         Use macro for function declaration and weak_alias.
15857         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15858         for using routine as __cosf_ia32.
15859         Use macro for function declaration and weak_alias.
15861         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15862         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15864         * sysdeps/x86_64/fpu/s_sinf.S: New file.
15865         * sysdeps/x86_64/fpu/s_cosf.S: New file.
15866         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15868         * math/libm-test.inc (cos_test): Add more test cases.
15869         (sin_test): Likewise.
15870         (sincos_test): Likewise.
15872 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15874         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15875         (IFUNC_RESOLVE): Make pointers to the specialized implementations
15876         hidden.
15877         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15879 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
15881         [BZ #14538]
15882         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15883         first element of the GOT.
15884         (elf_machine_load_address): Return the difference between
15885         the runtime address of _DYNAMIC and elf_machine_dynamic ().
15887 2012-09-01  Allan McRae  <allan@archlinux.org>
15889         [BZ #13412]
15890         * configure.in (AWK): Require gawk version 3.0 or later.
15891         * configure: Regenerated.
15893 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
15895         * sysdeps/unix/sysv/linux/kernel-features.h
15896         (__ASSUME_POSIX_CPU_TIMERS): Remove.
15897         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15898         [__NR_clock_getres]: Make code unconditional.
15899         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15900         (clock_getcpuclockid): Remove code left unreachable by removal of
15901         conditionals.
15902         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15903         code unconditional.
15904         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15905         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15906         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15907         Make code unconditional.
15908         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15909         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15910         * sysdeps/unix/sysv/linux/clock_settime.c
15911         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15912         conditional code.
15913         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15914         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15916 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
15918         [BZ #14476]
15919         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15920         scripts/test-installation.pl.
15922         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15923         and $ld_so_version if it is set.
15925 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15927         [BZ #14516]
15928         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15929         failure if reading from procfs failed.
15930         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15932 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15934         * sysdeps/unix/sysv/linux/kernel-features.h
15935         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15936         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15937         Remove conditional code.
15938         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15939         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15940         Remove conditional code.
15941         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15942         * sysdeps/unix/sysv/linux/i386/fxstat.c
15943         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15944         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15945         * sysdeps/unix/sysv/linux/i386/fxstatat.c
15946         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15947         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15948         * sysdeps/unix/sysv/linux/i386/lxstat.c
15949         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15950         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15951         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15952         Remove conditional code.
15953         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15954         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15955         Remove conditional code.
15956         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15957         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15958         <kernel-features.h>.
15959         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15960         Remove.
15961         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15962         Remove conditional code.
15963         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15964         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15965         Remove conditional.
15967 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
15969         [BZ #5400]
15970         * NEWS: Add fixed bug number.
15972 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15974         [BZ #14519]
15975         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15976         underflowing exponent in case of negative sign.
15977         * stdlib/tst-strtod-round-data: Add more tests.
15978         * stdlib/tst-strtod-round.c (tests): Regenerated.
15980         [BZ #3479]
15981         * stdlib/strtod_l.c (NDIG): Remove.
15982         (HEXNDIG): Likewise.
15983         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15984         smallest representable value.
15985         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15986         lie within an exact representation of 1/2 ulp of the result.
15987         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15988         unconditionally.
15989         (TENS_P9_IDX): Define unconditionally.
15990         (TENS_P9_SIZE): Likewise.
15991         (TENS_P10_IDX): Likewise.
15992         (TENS_P10_SIZE): Likewise.
15993         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15994         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15995         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15996         entries for 10^2^13 and 10^2^14.
15997         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15998         (TENS_P13_IDX): Define.
15999         (TENS_P13_SIZE): Likewise.
16000         (TENS_P14_IDX): Likewise.
16001         (TENS_P14_SIZE): Likewise.
16002         (_fpioconst_pow10): Change array size to
16003         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
16004         unconditional.
16005         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16006         1024]: Add entries for 10^2^13 and 10^2^14.
16007         [LAST_POW10 > _LAST_POW10]: Remove #error.
16008         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16009         (_fpioconst_pow10): Change array size to
16010         FPIOCONST_POW10_ARRAY_SIZE.
16011         * stdlib/gen-fpioconst.c: New file.
16012         * stdlib/gen-tst-strtod-round.c: Likewise.
16013         * stdlib/tst-strtod-round-data: Likewise.
16014         * stdlib/tst-strtod-round.c: Likewise.
16015         * stdlib/Makefile (tests): Add tst-strtod-round.
16017         [BZ #14459]
16018         * stdlib/strtod_l.c: Include <stdint.h>.
16019         (NDEBUG): Do not define.
16020         (round_and_return): Change EXPONENT parameter to type intmax_t.
16021         Rearrange calculations to avoid internal overflow possibilities.
16022         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16023         Rearrange calculations to avoid internal overflow possibilities.
16024         Assert that number fits inside MPNSIZE limbs.
16025         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16026         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
16027         calculations and add assertions to avoid internal overflow
16028         possibilities.  Add casts to avoid signed/unsigned operations.
16029         * stdlib/tst-strtod-overflow.c: New file.
16030         * stdlib/Makefile (tests): Add tst-strtod-overflow.
16032 2012-08-25  Marek Polacek  <polacek@redhat.com>
16034         * time/time.h: Fix some typos in comments.
16036 2012-08-23  Roland McGrath  <roland@hack.frob.com>
16038         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16039         * posix/tst-rfc3484-2.c: Likewise.
16040         * posix/tst-rfc3484-3.c: Likewise.
16042 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
16044         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16045         (EF_ARM_ABI_FLOAT_HARD): Likewise.
16047 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
16049         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16050         #include of fxstatat64.c.
16052 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16054         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16055         * shadow/getspent_r.c: Likewise.
16056         * shadow/getspnam.c: Likewise.
16057         * shadow/getspnam_r.c: Likewise.
16058         * gshadow/getsgent.c: Likewise.
16059         * gshadow/getsgent_r.c: Likewise.
16060         * gshadow/getsgnam.c: Likewise.
16061         * gshadow/getsgnam_r.c: Likewise.
16062         * inet/getnetbyad.c: Likewise.
16063         * inet/getnetbyad_r.c: Likewise.
16064         * inet/getnetbynm.c: Likewise.
16065         * inet/getnetbynm_r.c: Likewise.
16066         * inet/getnetent.c: Likewise.
16067         * inet/getnetent_r.c: Likewise.
16068         * inet/getproto.c: Likewise.
16069         * inet/getproto_r.c: Likewise.
16070         * inet/getprtent.c: Likewise.
16071         * inet/getprtent_r.c: Likewise.
16072         * inet/getprtname.c: Likewise.
16073         * inet/getprtname_r.c: Likewise.
16074         * inet/getrpcbyname.c: Likewise.
16075         * inet/getrpcbyname_r.c: Likewise.
16076         * inet/getrpcbynumber.c: Likewise.
16077         * inet/getrpcbynumber_r.c: Likewise.
16078         * inet/getrpcent.c: Likewise.
16079         * inet/getrpcent_r.c: Likewise.
16080         * inet/getaliasent.c: Likewise.
16081         * inet/getaliasent_r.c: Likewise.
16082         * inet/getaliasname.c: Likewise.
16083         * inet/getaliasname_r.c: Likewise.
16084         * nscd/getgrgid_r.c: Likewise.
16085         * nscd/getgrnam_r.c: Likewise.
16086         * nscd/gethstbyad_r.c: Likewise.
16087         * nscd/gethstbynm3_r.c: Likewise.
16088         * nscd/getpwnam_r.c: Likewise.
16089         * nscd/getpwuid_r.c: Likewise.
16090         * nscd/getsrvbynm_r.c: Likewise.
16091         * nscd/getsrvbypt_r.c: Likewise.
16092         * nscd/gai.c: Likewise.
16094         * configure.in (build_nscd): New substituted variable, set
16095         by --disable-build-nscd and defaults to $use_nscd.
16096         * configure: Regenerated.
16097         * config.make.in (build-nscd): New substituted variable.
16098         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16099         Change conditional to require [$(build-nscd) = yes] as well.
16100         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16102         [BZ# 13696]
16103         * configure.in (use_nscd): New substituted variable, set by
16104         --disable-nscd.  If enabled, define USE_NSCD.
16105         * configure: Regenerated.
16106         * config.h.in: Add USE_NSCD.
16107         * config.make.in (use-nscd): New substituted variable.
16108         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16109         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16110         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16111         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16112         (CFLAGS-getgrnam_r.c): Likewise.
16113         (CFLAGS-initgroups.c): Likewise.
16114         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16115         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16116         Variables removed.
16117         * inet/getnetgrent_r.c
16118         (nscd_setnetgrent): New function, broken out of ...
16119         (setnetgrent): ... here.  Call it.
16120         (innetgr): Conditionalize nscd bits on [USE_NSCD].
16121         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16122         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16123         * nscd/Makefile (routines, aux): Move definitions after include of
16124         Makeconfig.  Conditionalize on [$(use-nscd) != no].
16125         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16126         Conditionalize on [USE_NSCD].
16127         (is_nscd, nscd_init_cb): Likewise.
16128         (nss_load_library): Conditionalize init callback on [USE_NSCD].
16129         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16130         * nss/nss_db/db-init.c: Likewise.
16131         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16132         [USE_NSCD].
16133         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16134         (make_request): Use it.
16135         (cache_valid_p): New function.
16136         (__check_pf): Use it.
16137         * NEWS: Add item for --disable-nscd.
16139 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
16141         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16142         to support sed >= 4.2.1-20-ga9bf076.
16143         * configure: Regenerated.
16145 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16147         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16148         Conditionalize whole body on [IREL].
16150 2012-08-22  Jeff Law <law@redhat.com>
16152         [BZ #14505]
16153         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16154         if the family is PF_UNSPEC.
16156 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
16158         * Makerules (lib-version): Rename from V.
16159         (install-lib-nosubdir): Change V to lib-version.
16161 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
16163         [BZ #14252]
16164         * powerpc32/power6/wcschr.c: New file.
16165         * powerpc32/power6/wcscpy.c: New file.
16166         * powerpc32/power6/wcsrchr.c: New file.
16167         * powerpc64/power6/wcschr.c: New file.
16168         * powerpc64/power6/wcscpy.c: New file.
16169         * powerpc64/power6/wcsrchr.c: New file.
16171 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16173         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16174         (two_way_short_needle): Use it.
16175         * string/strstr.c (AVAILABLE1_USES_J): Define.
16176         * string/strcasestr.c: Likewise.
16178         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16179         array references.
16180         * string/strcasestr.c (TOLOWER): Make side-effect safe.
16182         [BZ #11607]
16183         * NEWS: Add an entry.
16184         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16185         define their defaults.
16186         (two_way_short_needle): Detect end-of-string on-the-fly.
16187         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16188         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16189         * string/bug-strcasestr1.c: New test.
16190         * string/Makefile: Run it.
16192 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16194         [BZ #11607]
16195         * string/str-two-way.h (two_way_short_needle): Optimize matching of
16196         the first character.
16198 2012-08-21  Roland McGrath  <roland@hack.frob.com>
16200         * csu/elf-init.c (__libc_csu_irel): Function removed.
16201         * csu/libc-start.c (apply_irel): New function.
16202         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16204 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
16206         * sysdeps/unix/sysv/linux/kernel-features.h
16207         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16208         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16209         <kernel-features.h>.
16210         [__NR_fadvise64_64]: Make code unconditional.
16211         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16212         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16213         !__NR_fadvise64_64)]: Likewise.
16214         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16215         !__NR_fadvise64_64))]: Likewise.
16216         [__NR_fadvise64]: Make code unconditional.
16217         [!__NR_fadvise64]: Remove conditional code.
16218         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16219         <kernel-features.h>.
16220         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16221         unconditional.
16222         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16223         conditional code.
16224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16225         not include <kernel-features.h>.
16226         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16227         unconditional.
16228         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16229         conditional code.
16230         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16231         include <kernel-features.h>.
16232         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16233         unconditional.
16234         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16235         conditional code.
16237 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16239         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16240         slight instruction rearrangements per scrollpipe analysis.
16241         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16243 2012-08-20  Roland McGrath  <roland@hack.frob.com>
16245         * manual/syslog.texi (syslog; vsyslog, closelog):
16246         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16247         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16249         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16250         DSOCAPS to match condition on defining it.
16252 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
16254         * sysdeps/unix/sysv/linux/kernel-features.h
16255         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16257         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16258         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16260         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16261         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16263         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16264         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16266         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16267         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16269         * sysdeps/unix/sysv/linux/kernel-features.h
16270         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16271         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16272         unconditional.
16273         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16274         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16275         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16276         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16277         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16278         Make code unconditional.
16279         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16280         (__mmap64) [!__NR_mmap2]: Likewise.
16281         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16282         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16283         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16284         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16285         [__NR_mmap2]: Make code unconditional.
16286         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16287         (__mmap64) [!__NR_mmap2]: Likewise.
16289 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16291         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16293 2012-08-18  Andreas Jaeger  <aj@suse.de>
16295         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16297 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16299         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16300         * include/unistd.h (__have_sock_cloexec): Likewise.
16301         (__have_pipe2): Likewise.
16302         (__have_dup3): Likewise.
16304 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16306         [BZ #9685]
16307         * include/unistd.h (__have_pipe2): Change define into an extern int.
16308         (__have_dup3): Likewise.
16309         * socket/have_sock_cloexec.c: Include fcntl.h.
16310         (__have_pipe2): New variable.
16311         (__have_dup3): Likewise.
16313 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
16315         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16317 2012-08-17  Marek Polacek  <polacek@redhat.com>
16319         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16320         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16322 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16324         * configure.in: Add AC_SUBST for sysheaders.
16325         * configure: Regenerated.
16326         * config.make.in (sysheaders): New substituted variable.
16328         * sysdeps/unix/mkfifo.c: Moved ...
16329         * sysdeps/posix/mkfifo.c: ... here.
16330         * sysdeps/unix/mkfifoat.c: Moved ...
16331         * sysdeps/posix/mkfifoat.c: ... here.
16333         * sysdeps/unix/utime.c: Moved ...
16334         * sysdeps/posix/utime.c: ... here.
16336         * sysdeps/unix/time.c: Moved ...
16337         * sysdeps/posix/time.c: ... here.
16338         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16339         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16341         * sysdeps/unix/nice.c: Moved ...
16342         * sysdeps/posix/nice.c: ... here.
16344         * sysdeps/unix/alarm.c: Moved ...
16345         * sysdeps/posix/alarm.c: ... here.
16347         * intl/Makefile ($(codeset_mo)): Depend on the input file.
16349 2012-08-17  Jeff Law <law@redhat.com>
16351         * intl/Makefile (codeset_mo): New variable.
16352         ($(codeset_mo)): New target.
16353         (tst-codeset.out): Depend on that.  Remove explicit rule.
16354         (tst-gettext3.out, tst-gettext5.out): Likewise.
16355         (LOCPATH-ENV, tst-codeset-ENV): New variables.
16356         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16357         * intl/tst-codeset.sh: Remove.
16358         * intl/tst-gettext3.sh: Likewise.
16359         * intl/tst-gettext5.sh: Likewise.
16361 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16363         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
16364         * sysdeps/unix/syscalls.list: ... here.
16366         * sysdeps/posix/getaddrinfo.c
16367         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16368         (gaiconf_init, gaiconf_reload): Use them.
16369         [!_STATBUF_ST_NSEC]
16370         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16371         Define using time_t rather than struct timespec.
16373         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16374         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16375         Macros removed.
16376         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16377         [!NO_THREADS].
16378         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16379         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16380         Likewise.
16382         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16383         __libc_cleanup_push argument.
16385         * bits/param.h: New file.
16386         * misc/sys/param.h: New file.
16387         * include/sys/param.h: New file.
16388         * misc/Makefile (headers): Add bits/param.h.
16389         * sysdeps/generic/sys/param.h: File removed.
16390         * sysdeps/unix/sysv/linux/bits/param.h: New file.
16391         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16392         * sysdeps/mach/hurd/bits/param.h: New file.
16393         * sysdeps/mach/hurd/sys/param.h: File removed.
16395         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16396         last change.
16398         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16399         [_IO_MTSAFE_IO].
16400         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16401         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16402         New macros.
16404         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16405         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16406         rather than -D_IO_MTSAFE_IO conditionally.
16407         * stdio-common/Makefile (CPPFLAGS): Likewise.
16408         * wcsmbs/Makefile (CPPFLAGS): Likewise.
16409         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16410         Use $(libio-mtsafe).
16411         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16412         of -D_IO_MTSAFE_IO.
16413         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16414         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16415         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16416         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16417         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16418         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16419         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16420         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16421         (CFLAGS-fread_u_chk.c): Likewise.
16422         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16423         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16424         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16425         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16426         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16427         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16428         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16429         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16430         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16432         * libio/Makefile: Test [$(libc-reentrant) = yes]
16433         instead of [$(filter %REENTRANT, $(defines)) nonempty].
16435         * Makeconfig
16436         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16437         * sysdeps/pthread/configure: File removed.
16438         * sysdeps/pthread/Makeconfig: New file.
16439         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16440         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16442 2012-08-16  Gary Benson  <gbenson@redhat.com>
16444         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16445         unmapping the first object in a namespace.
16447 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16449         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16450         (__internal_setnetgrent): ... this.  Add internal_function to
16451         definition.  Add libc_hidden_def.
16452         (setnetgrent): Update caller.
16453         (internal_endnetgrent): Renamed to ...
16454         (__internal_endnetgrent): ... this.  Add internal_function to
16455         definition.  Add libc_hidden_def.
16456         (endnetgrent): Update caller.
16457         (internal_getnetgrent_r): Renamed to ...
16458         (__internal_getnetgrent_r): ... this.  Add internal_function to
16459         definition.  Add libc_hidden_def.
16460         (__getnetgrent_r): Update caller.
16461         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
16463 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16465         * stdlib/longlong.h: Update from GCC.
16467 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16469         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16470         on _QL, which is set by umul_ppmm but never used.
16471         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16472         variables, which are set by GMP macros but never used.
16473         * stdio-common/_itowa.c (_itowa): Likewise.
16474         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16475         * stdlib/mod_1.c (mpn_mod_1): Likewise.
16477 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
16479         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16480         struct La_sh_regs is not constant.
16481         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16482         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16483         and struct La_sparc64_regs are not constant.
16485 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16487         * sysdeps/unix/sysv/linux/kernel-features.h
16488         (__ASSUME_POSIX_TIMERS): Remove.
16489         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16490         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16491         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16492         Make code unconditional.
16493         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16494         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16495         Make code unconditional.
16496         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16497         * sysdeps/unix/sysv/linux/clock_nanosleep.c
16498         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16499         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16500         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16501         Make code unconditional.
16502         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16503         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16504         (__libc_missing_posix_timers): Remove.
16506 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16508         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16509         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16511         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16513         * elf/dl-sym.c: Include <stdlib.h>.
16515         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16516         constants, which avoids warnings in 32-bit builds.
16518         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16519         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16521         * misc/lseek.c: File moved to ...
16522         * io/lseek.c: ... here.
16524         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16526         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16527         shifting LEN more than 31 bits at once.
16529 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16531         [BZ #14195]
16532         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16533         segmentation fault for a case of two empty input strings.
16534         * string/test-strncasecmp.c (check1): Renamed to...
16535         (bz12205): ...this.
16536         (bz14195): Add new testcase for two empty input strings and N > 0.
16537         (test_main): Call new testcase, adapt for renamed function.
16539 2012-08-15  Andreas Jaeger  <aj@suse.de>
16541         [BZ #14090]
16542         * crypt/md5test2.c: New test, based on test supplied by Serge
16543         Belyshev <belyshev@depni.sinp.msu.ru>.
16544         * crypt/Makefile (xtests): Add md5test-giant..
16545         * crypt/Makefile ($(objpfx)md5test-giant): Add.
16547 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
16549         [BZ #14090]
16550         * crypt/md5.c (md5_process_block): Don't assume the buffer
16551         length is less than 2**32.
16552         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16553         length is less than 2**64.
16555 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16557         * string/str-two-way.h: Include <sys/param.h>.
16558         (MAX): Macro removed.
16560         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16561         Move #define and #undef of memmove to just before and after
16562         including <string.h>.
16564         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16565         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16566         and after including <string.h>.  Move declarations of
16567         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16568         to before #include "string/memmove.c".
16570         * include/dirent.h: Declare __getdirentries.
16572         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16573         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16575 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
16577         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16578         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16579         * sysdeps/i386/configure: Regenerated.
16580         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16581         STABS_CURRENT_FILE, and STABS_FUN.
16582         (END): Remove call to STABS_FUN_END.
16583         (STABS_CURRENT_FILE1): Delete.
16584         (STABS_CURRENT_FILE): Likewise.
16585         (STABS_FUN): Likewise.
16586         (STABS_FUN_END): Likewise.
16587         (STABS_FUN2): Likewise.
16588         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16589         * sysdeps/x86_64/configure: Regenerated.
16591 2012-08-14  Roland McGrath  <roland@hack.frob.com>
16593         * elf/dl-open.c: Include <atomic.h>.
16594         * elf/dl-lookup.c: Likewise.
16596 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
16598         * sysdeps/unix/sysv/linux/kernel-features.h
16599         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16600         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16601         unconditionally.
16602         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16603         unconditionally.
16604         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16605         condition on __ASSUME_CLONE_THREAD_FLAGS.
16607 2012-08-14  Andreas Jaeger  <aj@suse.de>
16609         * sysdeps/i386/fpu/libm-test-ulps: Update.
16611 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
16613         * include/atomic.h (atomic_exchange_and_add): Split into ...
16614         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16615         New atomic macros.
16617 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
16619         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16621 2012-08-13  Jeff Law <law@redhat.com>
16623         * manual/stdio.texi (snprintf): Clarify handling of the trailing
16624         null byte in the output string.
16626 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
16628         * sysdeps/unix/sysv/linux/kernel-features.h
16629         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16630         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16631         (__ASSUME_ARG_MAX_STACK_BASED): Define.
16632         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16633         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16634         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
16635         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16637 2012-08-09  Jeff Law <law@redhat.com>
16639         [BZ #13939]
16640         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16641         When avoid_arena is set, don't retry in the that arena.  Pick the
16642         next one, whatever it might be.
16643         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16644         (arena_lock): Pass in new parameter to arena_get2.
16645         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16646         arena_get2.
16647         (__libc_malloc): Unify retrying after main arena failure with
16648         __libc_memalign version.
16649         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16651 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16653         [BZ #14166]
16654         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16655         to __redirect_strstr.
16656         (__strstr_sse42): Use typeof __redirect_strstr.
16657         (__strstr_ia32): Likewise.
16658         (__libc_strstr): New prototype.
16659         (strstr): Renamed to ...
16660         (__libc_strstr): This.
16661         (strstr): New strong alias of __libc_strstr.
16662         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16663         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16664         __redirect_time.
16665         Include <time.h>.
16666         (__libc_time): New prototype.
16667         (time_ifunc): Replace time with __libc_time.
16668         (time): New strong alias and hidden definition of __libc_time.
16669         (__GI_time): Remove strong alias.
16670         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16671         Include <stddef.h>.
16672         (memmove): Redefined to __redirect_memmove.
16673         (__memmove_sse2): Use typeof __redirect_memmove.
16674         (__memmove_ssse3): Likewise.
16675         (__memmove_ssse3_back): Likewise.
16676         (__libc_memmove): New prototype.
16677         (memmove): Renamed to ...
16678         (__libc_memmove): This.
16679         (memmove): New strong alias of __libc_memmove.
16681 2012-08-08  Mark Salter  <msalter@redhat.com>
16683         * elf/elf.h
16684         (R_MN10300_TLS_GD): Define.
16685         (R_MN10300_TLS_LD): Likewise.
16686         (R_MN10300_TLS_LDO): Likewise.
16687         (R_MN10300_TLS_GOTIE): Likewise.
16688         (R_MN10300_TLS_IE): Likewise.
16689         (R_MN10300_TLS_LE): Likewise.
16690         (R_MN10300_TLS_DTPMOD): Likewise.
16691         (R_MN10300_TLS_DTPOFF): Likewise.
16692         (R_MN10300_TLS_TPOFF): Likewise.
16693         (R_MN10300_SYM_DIFF): Likewise.
16694         (R_MN10300_ALIGN): Likewise.
16695         (R_MN10300_NUM): Update.
16697 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
16699         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16700         Remove.
16702 2012-08-08  Roland McGrath  <roland@hack.frob.com>
16704         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16706         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16707         sysdeps/unix -> sysdeps/posix move.
16708         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16710 2012-08-07      Allan McRae     <allan@archlinux.org>
16712         [BZ #14303]
16713         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16714         (SUNOS_CPP): Likewise.
16715         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16716         not found.
16717         (open_input): Call CPP using execvp.
16719 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16721         * sysdeps/unix/sysv/linux/kernel-features.h
16722         (__ASSUME_PROT_GROWSUPDOWN): Remove.
16723         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16724         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16725         (__ASSUME_WAITID_SYSCALL): Likewise.
16726         * sysdeps/unix/sysv/linux/dl-execstack.c
16727         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16728         code unconditional.
16729         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16730         conditional code.
16731         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16732         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16733         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16734         code.
16735         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16736         unconditional.
16737         [__ASSUME_WAITID_SYSCALL]: Likewise.
16738         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16740 2012-08-07  Roland McGrath  <roland@hack.frob.com>
16742         * sysdeps/unix/closedir.c: Renamed to ...
16743         * sysdeps/posix/closedir.c: ... here.
16744         * sysdeps/unix/dirfd.c: Renamed to ...
16745         * sysdeps/posix/dirfd.c: ... here.
16746         * sysdeps/unix/dirstream.h: Renamed to ...
16747         * sysdeps/posix/dirstream.h: ... here.
16748         * sysdeps/unix/fdopendir.c: Renamed to ...
16749         * sysdeps/posix/fdopendir.c: ... here.
16750         * sysdeps/unix/opendir.c: Renamed to ...
16751         * sysdeps/posix/opendir.c: ... here.
16752         * sysdeps/unix/readdir.c: Renamed to ...
16753         * sysdeps/posix/readdir.c: ... here.
16754         * sysdeps/unix/readdir_r.c: Renamed to ...
16755         * sysdeps/posix/readdir_r.c: ... here.
16756         * sysdeps/unix/rewinddir.c: Renamed to ...
16757         * sysdeps/posix/rewinddir.c: ... here.
16758         * sysdeps/unix/seekdir.c: Renamed to ...
16759         * sysdeps/posix/seekdir.c: ... here.
16760         * sysdeps/unix/telldir.c: Renamed to ...
16761         * sysdeps/posix/telldir.c: ... here.
16762         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16763         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16764         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16765         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16767         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16768         * bits/fcntl.h: ... here.
16770         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16771         not 0.
16772         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16773         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16774         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16775         (struct flock): Move l_start, l_len to the beginning.
16776         Use __pid_t for l_pid.
16777         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16778         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16779         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16780         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16781         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16782         [__USE_LARGEFILE64] (struct flock64): New type.
16783         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16785         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16786         * bits/dirent.h: ... here.
16788         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16789         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16791 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16793         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16794         Change from 2.6.0 to 2.6.16.
16795         * sysdeps/unix/sysv/linux/configure: Regenerated.
16796         * sysdeps/unix/sysv/linux/kernel-features.h
16797         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16798         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16799         version.
16800         (__ASSUME_UTIMES): Likewise.
16801         (__ASSUME_CLONE_STOPPED): Remove.
16802         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16803         architectures, not kernel version.
16804         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16805         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16806         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16807         (__ASSUME_WAITID_SYSCALL): Likewise.
16808         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16809         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16810         * README: State 2.6.16 as minimum Linux kernel version.  Do not
16811         refer to older versions.
16813 2012-08-06  Roland McGrath  <roland@hack.frob.com>
16815         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16816         Define alphasort64 as an alias.
16817         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16818         Define versionsort64 as an alias.
16819         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16820         Define scandir64 as an alias.
16821         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16822         Define scandirat64 as an alias.
16823         * dirent/alphasort64.c (alphasort64):
16824         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16825         * dirent/versionsort64.c: Likewise.
16826         * dirent/scandir64.c: Likewise.
16827         * dirent/scandirat64.c: Likewise.
16828         * sysdeps/wordsize-64/alphasort.c: File removed.
16829         * sysdeps/wordsize-64/alphasort64.c: File removed.
16830         * sysdeps/wordsize-64/scandir.c: File removed.
16831         * sysdeps/wordsize-64/scandir64.c: File removed.
16832         * sysdeps/wordsize-64/scandirat.c: File removed.
16833         * sysdeps/wordsize-64/scandirat64.c: File removed.
16834         * sysdeps/wordsize-64/versionsort.c: File removed.
16835         * sysdeps/wordsize-64/versionsort64.c: File removed.
16836         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16837         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16838         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16839         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16840         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16841         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16842         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16843         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16845         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16846         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16847         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16848         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16849         [defined __arch64__ || defined __sparcv9]
16850         (__INO_T_MATCHES_INO64_T): New macro.
16851         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16852         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16853         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16854         * sysdeps/unix/sysv/linux/bits/dirent.h
16855         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16856         (_DIRENT_MATCHES_DIRENT64): New macro.
16858         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16859         Define lockf64 as an alias.
16860         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16861         Define fseeko64 as an alias.
16862         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16863         Define ftello64 as an alias.
16864         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16865         Define _IO_fgetpos64 and fgetpos64 as aliases.
16866         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16867         Define _IO_fsetpos64 and fsetpos64 as aliases.
16868         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16869         Conditionalize body on this.
16870         * libio/fseeko64.c: Likewise.
16871         * libio/ftello64.c: Likewise.
16872         * libio/iofgetpos64.c: Likewise.
16873         * libio/iofsetpos64.c: Likewise.
16874         * sysdeps/wordsize-64/lockf.c: File removed.
16875         * sysdeps/wordsize-64/lockf64.c: File removed.
16876         * sysdeps/wordsize-64/fseeko.c: File removed.
16877         * sysdeps/wordsize-64/fseeko64.c: File removed.
16878         * sysdeps/wordsize-64/ftello.c: File removed.
16879         * sysdeps/wordsize-64/ftello64.c: File removed.
16880         * sysdeps/wordsize-64/iofgetpos.c: File removed.
16881         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16882         * sysdeps/wordsize-64/iofsetpos.c: File removed.
16883         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16884         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16885         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16886         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16887         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16888         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16889         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16890         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16891         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16892         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16893         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16895         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16896         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16897         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16898         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16899         [defined __arch64__ || defined __sparcv9]
16900         (__OFF_T_MATCHES_OFF64_T): New macro.
16901         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16902         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16903         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16904         (__OFF_T_MATCHES_OFF64_T): New macro.
16906 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16908         * stdlib/secure-getenv.c (__secure_getenv): Replace
16909         GLIBC_2_16 with GLIBC_2_17.
16911 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16913         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16914         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16916 2012-08-03  David S. Miller  <davem@davemloft.net>
16918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16920 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16922         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16923         Remove.
16924         (__ASSUME_CORRECT_SI_PID): Likewise.
16925         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16926         (__ASSUME_TMPFS_NAME): Likewise.
16927         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16928         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16929         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16930         (HAVE_AUX_SECURE): Make definition unconditional.
16931         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16932         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16934 2012-08-03  Roland McGrath  <roland@hack.frob.com>
16936         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16937         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16938         * sysdeps/mach/hurd/eloop-threshold.h: New file.
16939         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16940         __eloop_threshold instead of SYMLOOP_MAX.
16942         * sysdeps/generic/eloop-threshold.h: New file.
16943         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16944         of MAXSYMLINKS.
16945         * elf/chroot_canon.c (chroot_canon): Likewise.
16947 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16949         [BZ #13717]
16950         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16951         Change to 2.6.0 everywhere.
16952         * sysdeps/unix/sysv/linux/configure: Regenerated.
16953         * sysdeps/unix/sysv/linux/kernel-features.h
16954         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16955         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16956         kernel versions.
16957         (__ASSUME_POSIX_TIMERS): Define unconditionally.
16958         (__ASSUME_FUTEX_REQUEUE): Remove.
16959         (__ASSUME_STATFS64): Define unconditionally.
16960         (__ASSUME_AT_SECURE): Likewise.
16961         (__ASSUME_CORRECT_SI_PID): Likewise.
16962         (__ASSUME_TGKILL): Define without depending on kernel version for
16963         i386.
16964         (__ASSUME_UTIMES): Likewise.
16965         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16966         kernel version.
16967         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16968         (__ASSUME_TMPFS_NAME): Likewise.
16969         * README: Update reference to Linux kernel versions.
16971 2012-08-02  Marek Polacek  <polacek@redhat.com>
16973         [BZ# 14150]
16974         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
16975         libc_cv_asm_type_prefix with %.
16976         * configure: Regenerated.
16977         * include/libc-symbols.h: Remove comment about
16978         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16979         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16980         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16981         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16982         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16983         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16984         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16985         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16986         * elf/tst-unique2mod1.c: Likewise.
16987         * elf/tst-unique1mod2.c: Likewise.
16988         * elf/tst-unique1mod1.c: Likewise.
16989         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16990         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16991         Replace ASM_TYPE_DIRECTIVE with .type.
16992         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16993         * sysdeps/i386/sysdep.h: Likewise.
16994         * sysdeps/x86_64/sysdep.h: Likewise.
16995         * sysdeps/sh/sysdep.h: Likewise.
16996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16997         Do not define ASM_TYPE_DIRECTIVE.
16998         * sysdeps/powerpc/sysdep.h: Likewise.
16999         * sysdeps/powerpc/powerpc32/sysdep.h:
17000         Replace ASM_TYPE_DIRECTIVE with .type.
17001         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17002         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17003         * sysdeps/i386/fpu/e_powf.S: Likewise.
17004         * sysdeps/i386/fpu/e_expl.S: Likewise.
17005         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17006         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17007         * sysdeps/i386/fpu/e_pow.S: Likewise.
17008         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17009         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17010         * sysdeps/i386/fpu/s_expm1.S: Likewise.
17011         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17012         * sysdeps/i386/fpu/e_log2.S: Likewise.
17013         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17014         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17015         * sysdeps/i386/fpu/e_powl.S: Likewise.
17016         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17017         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17018         * sysdeps/i386/fpu/e_logl.S: Likewise.
17019         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17020         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17021         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17022         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17023         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17024         * sysdeps/i386/fpu/e_log.S: Likewise.
17025         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17026         * sysdeps/i386/fpu/e_logf.S: Likewise.
17027         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17028         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17029         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17030         * sysdeps/i386/fpu/e_log10.S: Likewise.
17031         * sysdeps/i386/fpu/s_frexp.S: Likewise.
17032         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17033         * sysdeps/i386/fpu/s_asinh.S: Likewise.
17034         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17035         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17036         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17037         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17038         * sysdeps/i386/i686/strtok.S: Likewise.
17039         * sysdeps/i386/i386-mcount.S: Likewise.
17040         * sysdeps/i386/strtok.S: Likewise.
17041         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17042         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17043         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17044         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17045         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17046         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17047         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17048         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17049         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17050         * sysdeps/x86_64/_mcount.S: Likewise.
17051         * sysdeps/x86_64/strtok.S: Likewise.
17052         * sysdeps/sh/_mcount.S: Likewise.
17054 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17056         * libio/iofopen.c: Include <fcntl.h>.
17057         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17058         (_IO_fopen64, fopen64): Define as aliases.
17059         * libio/iofopen64.c: Include <fcntl.h>.
17060         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17061         Conditionalize body on this.
17062         * sysdeps/wordsize-64/iofopen.c: File removed.
17063         * sysdeps/wordsize-64/iofopen64.c: File removed.
17065 2012-08-01  Marek Polacek  <polacek@redhat.com>
17067         * libc/Makeconfig: Use elf in place of binfmt-subdir.
17068         Use dlfcn directly instead of a variable.
17069         (binfmt-subdir): Do not define.
17070         (dlfcn): Likewise.
17072 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
17074         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17075         Remove all definitions.
17076         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17077         <kernel-features.h>.
17078         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17079         (miss_F_GETOWN_EX): Remove all definitions.
17080         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17081         macro definition.
17082         [!__ASSUME_FCNTL64]: Remove conditional code.
17083         [__ASSUME_FCNTL64]: Make code unconditional.
17084         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17085         <kernel-features.h>.
17086         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17087         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17088         (lockf64) [__NR_fcntl64]: Make code unconditional.
17089         (lockf64) [__ASSUME_FCNTL64]: Likewise.
17091         * sysdeps/unix/sysv/linux/kernel-features.h
17092         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17093         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17094         Make code unconditional.
17095         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17096         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17098         [__NR_vfork]: Make code unconditional.
17099         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17100         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17102         [__NR_vfork]: Make code unconditional.
17103         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17104         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17106 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17108         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17109         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17111         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17112         Define mkstemp64 as an alias.
17113         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17114         Define mkstemps64 as an alias.
17115         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17116         Define mkostemp64 as an alias.
17117         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17118         Define mkostemps64 as an alias.
17119         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17120         Conditionalize body on this.
17121         * misc/mkostemp64.c: Likewise.
17122         * misc/mkostemps64.c: Likewise.
17123         * misc/mkstemps64.c: Likewise.
17124         * sysdeps/wordsize-64/mkstemp64.c: File removed.
17125         * sysdeps/wordsize-64/mkostemp64.c: File removed.
17126         * sysdeps/wordsize-64/mkostemp.c: File removed.
17127         * sysdeps/wordsize-64/mkstemp.c: File removed.
17128         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17129         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17130         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17131         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17133         [BZ #14138]
17134         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17135         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17136         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17137         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17139         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17140         compat_symbol macros from <shlib-compat.h> rather than the underlying
17141         default_symbol_version and symbol_version macros, so that DEFAULT
17142         lines in shlib-versions are respected.
17143         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17145 2012-08-01  Florian Weimer  <fweimer@redhat.com>
17147         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17148         Declare with warn_unused_result.
17149         (setgid, setregid, setegid, setresgid): Likewise.
17150         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17151         Likewise.
17152         * WUR-REPORT: Remove set*id functions.
17154 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
17156         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17158 2012-07-31  Roland McGrath  <roland@hack.frob.com>
17160         [BZ #10191]
17161         * include/sys/socket.h (__libc_accept, __libc_accept4):
17162         Add attribute_hidden.
17163         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17165         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17166         use of PTR_MANGLE.
17167         * inet/getnetgrent_r.c (setup): Likewise.
17169         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17171 2012-07-31  David S. Miller  <davem@davemloft.net>
17173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17175 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
17177         [BZ #13629]
17178         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17179         value between 1.0 and 2.0 and smaller part has absolute value less
17180         than 1.0.
17181         * math/s_clog10.c (__clog10): Likewise.
17182         * math/s_clog10f.c (__clog10f): Likewise.
17183         * math/s_clog10l.c (__clog10l): Likewise.
17184         * math/s_clogf.c (__clogf): Likewise.
17185         * math/s_clogl.c (__clogl): Likewise.
17186         * math/libm-test.inc (clog_test): Add more tests.
17187         (clog10_test): Likewise.
17188         * sysdeps/i386/fpu/libm-test-ulps: Update.
17189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17191 2012-07-31  Florian Weimer  <fweimer@redhat.com>
17193         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17194         Exit with zero in case no suitable GID is found, and write a
17195         message to standard error.
17197 2012-07-30  Roland McGrath  <roland@hack.frob.com>
17199         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17200         rather than to 1.
17201         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17202         (MAXPATHLEN): Removed.
17203         (NOGROUP, NODEV): New macros.
17204         (setbit, clrbit, isset, isclr): New macros.
17205         (howmany, roundup, powerof2): New macros.
17206         (DEV_BSIZE): New macro.
17208         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17209         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17211         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17212         definition on [!__NO_LONG_DOUBLE_MATH].
17214         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17215         PTR_MANGLE and PTR_DEMANGLE.
17217         * socket/accept4.c (accept4): Rename to __libc_accept4.
17218         Define accept4 as a weak alias.
17220         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17221         on [_DIRENT_HAVE_D_TYPE].
17222         * io/ftw.c (ftw_dir): Likewise.
17224         * io/xmknod.c (__xmknod): Don't check PATH for being null.
17226         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17228         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17229         Use the BSD numbers rather than the arbitrary ones we had.
17230         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17231         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17232         (SIGXCPU, SIGXFSZ): New macros.
17233         (_NSIG): Now 32.
17235         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17236         initializer on [_LIBC_REENTRANT].
17238         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17239         definitions inside [_POSIX_MAPPED_FILES].
17241         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17243         * dirent/opendir.c: Include <fcntl.h>.
17245         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17246         (__libc_getspecific): Likewise.
17247         (__libc_key_create): Likewise.
17249         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17250         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17251         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17252         (tmpfile64): Define as alias.
17253         * sysdeps/wordsize-64/tmpfile.c: File removed.
17254         * sysdeps/wordsize-64/tmpfile64.c: File removed.
17255         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17256         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17258         * stdio-common/vfscanf.c: Include <stdbool.h>.
17259         * nss/makedb.c: Likewise.
17260         * stdio-common/_i18n_number.h: Likewise.
17261         * argp/argp-help.c: Likewise.
17262         * posix/wordexp.c: Likewise.
17263         * sysdeps/posix/spawni.c: Likewise.
17264         * nss/nss_files/files-initgroups.c: Likewise.
17265         * stdio-common/reg-modifier.c: Include <stdlib.h>.
17266         * nss/nss_files/files-initgroups.c: Likewise.
17267         * nss/nss_db/db-netgrp.c: Likewise.
17268         * nss/nss_db/db-initgroups.c: Likewise.
17269         * io/fchmodat.c: Include <sys/stat.h>.
17271         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17272         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17274         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17275         [HAVE_MMAP].
17277         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17278         Add multiple inclusion protection.
17280 2012-07-27  David S. Miller  <davem@davemloft.net>
17282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17284 2012-07-27  Gary Benson  <gbenson@redhat.com>
17286         [BZ #14298]
17287         * elf/rtld.c: Include <stap-probe.h>.
17288         (dl_main): Added static probes "init_start" and "init_complete".
17289         * elf/dl-load.c: Include <stap-probe.h>.
17290         (lose): Take new parameter "nsid".
17291         Added static probe "map_failed".
17292         (_dl_map_object_from_fd): Pass namespace id to lose.
17293         Added static probe "map_start".
17294         (open_verify): Pass namespace id to lose.
17295         * elf/dl-open.c: Include <stap-probe.h>.
17296         (dl_open_worker) Added static probes "map_complete", "reloc_start"
17297         and "reloc_complete".
17298         * elf/dl-close.c: Include <stap-probe.h>.
17299         (_dl_close_worker): Added static probes "unmap_start" and
17300         "unmap_complete".
17301         * elf/rtld-debugger-interface.txt: New file documenting the above.
17303 2012-07-26  Roland McGrath  <roland@hack.frob.com>
17305         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17306         rather than a string variable.
17307         * sunrpc/rpc_main.c (h_output): Likewise.
17308         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17310 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
17312         * inet/check_native.c: New file.
17314 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
17316         [BZ #13629]
17317         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17318         if larger part has absolute value 1.0.
17319         * math/s_clog10.c (__clog10): Likewise.
17320         * math/s_clog10f.c (__clog10f): Likewise.
17321         * math/s_clog10l.c (__clog10l): Likewise.
17322         * math/s_clogf.c (__clogf): Likewise.
17323         * math/s_clogl.c (__clogl): Likewise.
17324         * math/libm-test.inc (clog_test): Add more tests.
17325         (clog10_test): Likewise.
17326         * sysdeps/i386/fpu/libm-test-ulps: Update.
17327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17329         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17330         (pltexit): Likewise.
17331         (La_regs): Likewise.
17332         (La_retval): Likewise.
17333         (int_retval): Likewise.
17334         Update #error for removed macros to refer only to definitions in
17335         tst-audit.h.
17336         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17337         macro.
17338         (pltexit): Likewise.
17339         (La_regs): Likewise.
17340         (La_retval): Likewise.
17341         (int_retval): Likewise.
17342         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17343         macro.
17344         (pltexit): Likewise.
17345         (La_regs): Likewise.
17346         (La_retval): Likewise.
17347         (int_retval): Likewise.
17348         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17349         macro.
17350         (pltexit): Likewise.
17351         (La_regs): Likewise.
17352         (La_retval): Likewise.
17353         (int_retval): Likewise.
17354         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17355         macro.
17356         (pltexit): Likewise.
17357         (La_regs): Likewise.
17358         (La_retval): Likewise.
17359         (int_retval): Likewise.
17360         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17361         macro.
17362         (pltexit): Likewise.
17363         (La_regs): Likewise.
17364         (La_retval): Likewise.
17365         (int_retval): Likewise.
17366         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17367         macro.
17368         (pltexit): Likewise.
17369         (La_regs): Likewise.
17370         (La_retval): Likewise.
17371         (int_retval): Likewise.
17372         * sysdeps/generic/tst-audit.h: Update comment to refer only to
17373         macro definitions in tst-audit.h.
17374         * sysdeps/i386/tst-audit.h: New file.
17375         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17376         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17377         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17378         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17379         * sysdeps/sh/tst-audit.h: Likewise.
17380         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17381         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17382         * sysdeps/x86_64/tst-audit.h: Likewise.
17384 2012-07-26  Andreas Jaeger  <aj@suse.de>
17386         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17387         ptrace.
17389         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17390         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17391         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17392         PTRACE_O_MASK.
17393         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17394         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17395         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17397         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17398         value.
17400         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17401         _sigsys.
17402         (si_call_addr, si_syscall, si_arch): Define new macro.
17403         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17404         _sigsys.
17405         (si_call_addr, si_syscall, si_arch): Define new marcro.
17406         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17407         _sigsys.
17408         (si_call_addr, si_syscall, si_arch): Define new macro.
17409         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17410         _sigsys.
17411         (si_call_addr, si_syscall, si_arch): Define new macro.
17413 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17415         [BZ #13717]
17416         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17417         Change to 2.4.21 where previously 2.4.1.
17418         * sysdeps/unix/sysv/linux/configure: Regenerated.
17419         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17420         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17421         Linux kernel version.
17422         (__ASSUME_STD_AUXV): Remove.
17423         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17424         kernel version.
17425         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17426         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17427         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17428         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17429         (__ASSUME_NETLINK_SUPPORT): Likewise.
17430         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17431         (__no_netlink_support): Remove conditional definition.
17432         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17433         Remove.
17434         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17435         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17436         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17437         (if_nameindex_ioctl): Remove.
17438         (if_nameindex_netlink): Do not handle __no_netlink_support.
17439         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17440         code.
17441         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17442         Remove conditional code.
17443         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17444         code.
17445         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17446         unconditional.
17447         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17448         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17449         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17450         Remove.
17451         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17452         [!__ASSUME_STD_AUXV]: Remove conditional code.
17453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17454         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17455         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17457         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17458         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17459         code.
17460         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17462         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17463         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17464         conditional code.
17465         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17467         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17468         code.
17469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17470         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17471         conditional code.
17472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17473         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17474         code unconditional.
17475         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17476         conditional code.
17477         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17478         unconditional.
17479         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17480         conditional code.
17481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17482         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17483         unconditional.
17484         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17485         conditional code.
17486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17487         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17488         code unconditional.
17489         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17490         conditional code.
17491         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17492         unconditional.
17493         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17494         conditional code.
17495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17496         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17497         code unconditional.
17498         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17499         conditional code.
17500         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17501         unconditional.
17502         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17503         conditional code.
17505 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
17507         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17508         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17509         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17510         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17511         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17512         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17513         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17514         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17515         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17516         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17517         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17518         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17519         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17520         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17521         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17522         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17523         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17524         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17525         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17526         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17527         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17528         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17529         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17531 2012-07-25  Florian Weimer  <fweimer@redhat.com>
17533         * Versions.def: Add GLIBC_2.17.
17534         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17535         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17536         Introduce __libc_secure_getenv.
17537         * stdlib/Versions (2.17): Add secure_getenv
17538         (GLIBC_PRIVATE): Add __libc_secure_getenv.
17539         * stdlib/secure-getenv.c: Rename __secure_getenv to
17540         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
17541         symbol __secure_getenv for GLIBC_2.0.
17542         * stdlib/tst-secure-getenv.c: New.
17543         * stdlib/Makefile (tests): Add testcase.
17544         * manual/startup.texi (Environment Access): Document
17545         secure_getenv.
17546         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17547         __libc_secure_getenv.
17548         * inet/ruserpass.c (ruserpass): Likewise.
17549         * malloc/mtrace.c (mtrace): Likewise.
17550         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17551         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17552         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17553         * sysdeps/posix/tempname.c: Likewise.  Evaluate
17554         HAVE_SECURE_GETENV.
17555         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17556         __secure_getenv to __libc_secure_getenv.
17557         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17559         Likewise.
17560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17561         Likewise.
17562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17564         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17570 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17572         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17573         (struct La_i86_retval): Likewise.
17574         (struct La_x86_64_regs): Likewise.
17575         (struct La_x86_64_retval): Likewise.
17576         (struct La_x32_regs): Likewise.
17577         (struct La_x32_retval): Likewise.
17578         (struct La_ppc32_regs): Likewise.
17579         (struct La_ppc32_retval): Likewise.
17580         (struct La_ppc64_regs): Likewise.
17581         (struct La_ppc64_retval): Likewise.
17582         (struct La_sh_regs): Likewise.
17583         (struct La_sh_retval): Likewise.
17584         (struct La_s390_32_regs): Likewise.
17585         (struct La_s390_32_retval): Likewise.
17586         (struct La_s390_64_regs): Likewise.
17587         (struct La_s390_64_retval): Likewise.
17588         (struct La_sparc32_regs): Likewise.
17589         (struct La_sparc32_retval): Likewise.
17590         (struct La_sparc64_regs): Likewise.
17591         (struct La_sparc64_retval): Likewise.
17592         (struct audit_ifaces): Remove architecture-specific pltenter and
17593         pltexit members.
17594         * sysdeps/i386/ldsodefs.h: New file.
17595         * sysdeps/powerpc/ldsodefs.h: Likewise.
17596         * sysdeps/s390/ldsodefs.h: Likewise.
17597         * sysdeps/sh/ldsodefs.h: Likewise.
17598         * sysdeps/sparc/ldsodefs.h: Likewise.
17599         * sysdeps/x86_64/ldsodefs.h: Likewise.
17601 2012-07-25  Marek Polacek  <polacek@redhat.com>
17603         [BZ #6808]
17604         * math/libm-test.inc (yn_test): Add another test.
17605         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17606         to ERANGE when the result is +-Inf.
17607         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17608         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17609         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17610         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17612 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
17614         * conform/data/time.h-data (NULL): Use macro-constant.  Require
17615         equal to 0.
17616         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
17617         clock_t.
17618         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
17620 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
17622         * configure.in <sysdeps resolving>: Correct printing
17623         Implies_before.
17624         * configure: Regenerate.
17626 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
17628         * math/w_ilogb.c: Include <limits.h>.
17629         * math/w_ilogbl.c: Likewise.
17631 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17633         * manual/lang.texi (__va_copy): Document primarily as ISO C99
17634         va_copy.  Document allowing for unavailable va_copy only as
17635         pre-C99 compatibility.
17636         * manual/string.texi (Copying and Concatenation): Use va_copy
17637         instead of __va_copy in concat example.
17639 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
17641         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17642         (__sendto): Use create_address_port.  Initialize APORT and deallocate
17643         it if not null.
17645         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17646         with O_NOLINK passed to __file_name_lookup.
17648         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17649         with O_NOLINK passed to __file_name_lookup.
17651         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17652         negative N or less than NGIDS.
17654         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17655         type to string_t.  Set ERANGE as errno and return it if NAME is not big
17656         enough.  Use memcpy instead of strncpy.
17658 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17660         * elf/Makefile (check-data): Remove.
17661         (localplt.data): New vpath directive.
17662         ($(objpfx)check-localplt.out): Use localplt.data from vpath
17663         instead of $(check-data).
17664         * scripts/data/localplt-generic.data: Move to ...
17665         * sysdeps/generic/localplt.data: ... here.
17666         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17667         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17668         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17670         ... here.
17671         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17673         ... here.
17674         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17676         ... here.
17677         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17679         ... here.
17680         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17682         ... here.
17683         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17685         ... here.
17687 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17689         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17690         PPC32 and PPC64 files.
17691         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17692         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17694 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17696         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17697         __makecontext_ret to ...
17698         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17699         ... here and call exit if uc_link is NULL.  New file.
17700         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17701         __makecontext_ret.S.
17702         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17703         __makecontext_ret to ...
17704         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17705         ... here and call exit if uc_link is NULL.  New file.
17706         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17707         __makecontext_ret.S.
17709 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17711         * elf/elf.h (R_390_IRELATIVE): New definition.
17712         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17713         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
17714         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17715         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17716         (elf_machine_lazy_rel): Likewise.
17717         * sysdeps/s390/dl-irel.h: New file.
17718         * sysdeps/s390/s390-64/memcpy.S: New asm code.
17719         * sysdeps/s390/s390-64/memset.S: New asm code.
17720         * sysdeps/s390/s390-64/memcmp.S: New asm code.
17721         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17722         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17723         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17724         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17725         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17726         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17727         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17728         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17729         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17730         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17731         * sysdeps/s390/s390-32/memcpy.S: New asm code.
17732         * sysdeps/s390/s390-32/memset.S: New asm code.
17733         * sysdeps/s390/s390-32/memcmp.S: New asm code.
17735 2012-07-17  Marek Polacek  <polacek@redhat.com>
17737         [BZ #14349]
17738         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17739         * sysdeps/s390/s390-64/configure.in: Likewise.
17740         * sysdeps/sparc/configure.in: Likewise.
17741         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17742         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17743         * sysdeps/i386/configure.in: Likewise.
17744         * sysdeps/x86_64/configure.in: Likewise.
17745         * sysdeps/sh/configure.in: Likewise.
17746         * sysdeps/s390/s390-32/configure: Regenerated.
17747         * sysdeps/s390/s390-64/configure: Likewise.
17748         * sysdeps/x86_64/configure: Likewise.
17749         * sysdeps/sh/configure: Likewise.
17750         * sysdeps/powerpc/powerpc64/configure: Likewise.
17751         * sysdeps/powerpc/powerpc32/configure: Likewise.
17752         * sysdeps/sparc/configure: Likwise.
17753         * sysdeps/i386/configure: Likewise.
17755         * elf/dl-open.c: Comment fixes.
17757 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
17759         * Makefile [CXX] (check-data): Remove.
17760         [CXX] (c++-types.data): New vpath directive.
17761         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17762         vpath.  Do not allow for C++ type data being missing.
17763         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17764         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17765         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17766         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17767         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17768         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17769         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17771         ... here.
17772         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17774         ... here.
17775         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17777         ... here.
17778         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17780         ... here.
17781         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17783         ... here.
17784         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17786         ... here.
17787         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17789         ... here.
17790         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17793         * elf/tls-macros.h (TLS_LE): Move architecture-specific
17794         definitions to architecture-specific files.
17795         (TLS_IE): Likewise.
17796         (TLS_LD): Likewise.
17797         (TLS_GD): Likewise.
17798         * sysdeps/i386/tls-macros.h: New file.
17799         * sysdeps/powerpc/tls-macros.h: Likewise.
17800         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17801         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17802         * sysdeps/sh/tls-macros.h: Likewise.
17803         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17804         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17805         * sysdeps/x86_64/tls-macros.h: Likewise.
17807 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17809         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17810         zero value for regular exit case.
17812         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17813         (__start_context): Preserve zero value for regular exit case.
17815 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17816             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17818         * manual/setjmp.texi (setcontext): Clarify normal process
17819         termination when uc_link is the null pointer.
17820         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17821         exit call.
17823 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
17825         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17826         preprocessor.  Test for each exception mask separately.
17828 2012-07-16  Andreas Jaeger  <aj@suse.de>
17830         * po/ru.po: Update from translation team.
17832 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
17834         * conform/data/string.h-data (NULL): Use macro-constant.  Require
17835         equal to 0.
17836         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17837         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17838         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17839         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17840         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17842 2012-07-13  Andreas Jaeger  <aj@suse.de>
17844         * po/fr.po: Update from translation team.
17846 2012-07-12  Marek Polacek  <polacek@redhat.com>
17848         [BZ #14173]
17849         * math/libm-test.inc (yn_test): Add test for BZ #14173.
17850         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17851         loop condition.
17853 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
17855         [BZ #13717]
17856         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17857         Change to 2.4.1 where previously 2.4.0.
17858         * sysdeps/unix/sysv/linux/configure: Regenerated.
17859         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17860         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17861         version.
17862         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17863         (__ASSUME_AT_CLKTCK): Remove.
17864         (__ASSUME_AT_PAGESIZE): Likewise.
17865         (__ASSUME_AT_XID): Likewise.
17866         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17867         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17868         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17869         unconditionally.
17870         (HAVE_AUX_PAGESIZE): Likewise.
17871         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17872         [__ASSUME_AT_CLKTCK]: Make code unconditional.
17873         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17875 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
17877         [BZ #14307]
17878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17879         the temporary buffer used to invoke __gethostbyname2_r,
17880         __gethostbyaddr_r and gethostbyname4_r to make room for struct
17881         host_data / struct gaih_addrtuple.
17882         * resolv/nss_dns/dns-host.c (global scope): Move definition of
17883         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17884         header file nss/nsswitch.h.
17885         * nss/nsswitch.h (global scope): Add definition of implementation
17886         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17887         resolv/nss_dns/dns-host.c).
17889 2012-07-11  Andreas Jaeger  <aj@suse.de>
17891         * po/fr.po: Update from translation team.
17893         * po/sv.po: Update from translation team
17894         * po/fr.po: Another update from translation team.
17896 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17898         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17899         for subnormals or multiply small sinh result by itself.
17900         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17903 2012-07-11  David S. Miller  <davem@davemloft.net>
17905         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17907 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
17909         [BZ #14347]
17910         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17911         (INTERNAL_MARK): Shift it here.
17913 2012-07-10  Marek Polacek  <polacek@redhat.com>
17915         [BZ #14151]
17916         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
17917         libc_cv_asm_global_directive with .globl.
17918         * configure: Regenerated.
17919         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17920         with .globl.
17921         * sysdeps/i386/configure: Regenerated.
17922         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17923         with .globl.
17924         * sysdeps/x86_64/configure: Regenerated.
17925         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17926         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17927         * elf/tst-unique2mod2.c: Likewise.
17928         * elf/tst-unique2mod1.c: Likewise.
17929         * elf/tst-unique1mod2.c: Likewise.
17930         * elf/tst-unique1mod1.c: Likewise.
17931         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17932         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17933         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17934         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17935         * sysdeps/mach/sysdep.h: Likewise.
17936         * sysdeps/i386/sysdep.h: Likewise.
17937         * sysdeps/i386/i386-mcount.S: Likewise.
17938         * sysdeps/x86_64/_mcount.S: Likewise.
17939         * sysdeps/x86_64/sysdep.h: Likewise.
17940         * sysdeps/sh/_mcount.S: Likewise.
17941         * sysdeps/sh/sysdep.h: Likewise.
17942         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17943         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17944         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17945         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17946         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17947         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17948         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17949         * locale/localeinfo.h: Likewise.
17950         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17951         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17953 2012-07-09  Roland McGrath  <roland@hack.frob.com>
17955         [BZ #14336]
17956         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17957         system".
17958         * manual/message.texi (The Uniforum approach): Likewise.
17959         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17960         (glibc iconv Implementation): Likewise.
17962 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
17964         [BZ #14337]
17965         * math/s_clog.c (__clog): Avoid scaling a value down where that
17966         could result in underflow.
17967         * math/s_clog10.c (__clog10): Likewise.
17968         * math/s_clog10f.c (__clog10f): Likewise.
17969         * math/s_clog10l.c (__clog10l): Likewise.
17970         * math/s_clogf.c (__clogf): Likewise.
17971         * math/s_clogl.c (__clogl): Likewise.
17972         * math/libm-test.inc (clog_test): Add more tests.
17973         (clog10_test): Likewise.
17974         * sysdeps/i386/fpu/libm-test-ulps: Update.
17975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17977 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
17979         [BZ #14283]
17980         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17981         by 7 not 8 to examine high bit of fractional part.
17983         [BZ #14042]
17984         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17985         for call to __mcount_internal.
17986         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17987         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17988         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17990 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
17992         [BZ #14154]
17993         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17994         approximation for values within 0x1p-13f of an odd multiple of
17995         pi/4.
17996         * math/libm-test.inc (tan_test): Do not allow spurious underflow
17997         exception.  Add more tests.
17998         * sysdeps/i386/fpu/libm-test-ulps: Update.
18000         [BZ #6778]
18001         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18002         inputs and return -1 for them.  Do not check for +Inf in case not
18003         reachable for +Inf.
18004         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18005         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18006         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18007         and return -1 for them.  Do not check for +Inf in case not
18008         reachable for +Inf.
18009         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18010         define.
18011         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18012         and return -1 for them.  Do not check for +Inf in case not
18013         reachable for +Inf.
18014         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
18015         spurious underflow.
18016         * sysdeps/i386/fpu/libm-test-ulps: Update.
18017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18019 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
18021         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18023 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
18025         [BZ #14157]
18026         [BZ #14331]
18027         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18028         could result in spurious underflow.  Scale down values above
18029         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18030         * math/s_csqrtf.c (__csqrtf): Likewise.
18031         * math/s_csqrtl.c (__csqrtl): Likewise.
18032         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
18033         spurious underflow.
18034         * sysdeps/i386/fpu/libm-test-ulps: Update.
18035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18037 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18039         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18040         xopen-msg.sed.
18041         * catgets/xopen-msg.awk: New file.
18042         * catgets/xopen-msg.sed: Removed.
18044         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18045         po2text.sed.
18046         * intl/po2test.awk: New file.
18047         * intl/po2test.sed: Removed.
18049 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
18051         [BZ #14328]
18052         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18053         or multiply small sinh result by itself.
18054         * math/s_ctanf.c (__ctanf): Likewise.
18055         * math/s_ctanh.c (__ctanh): Likewise.
18056         * math/s_ctanhf.c (__ctanhf): Likewise.
18057         * math/s_ctanhl.c (__ctanhl): Likewise.
18058         * math/s_ctanl.c (__ctanl): Likewise.
18059         * math/libm-test.inc (ctan_test_tonearest): New function.
18060         (ctan_test_towardzero): Likewise.
18061         (ctan_test_downward): Likewise.
18062         (ctan_test_upward): Likewise.
18063         (ctanh_test_tonearest): Likewise.
18064         (ctanh_test_towardzero): Likewise.
18065         (ctanh_test_downward): Likewise.
18066         (ctanh_test_upward): Likewise.
18067         (main): Call these new functions.
18068         * sysdeps/i386/fpu/libm-test-ulps: Update.
18069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18071 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
18073         * .gitignore: Delete /ports entry.
18075 2012-07-03  Andreas Jaeger  <aj@suse.de>
18077         * po/bg.po: Update from translation team.
18078         * po/cs.po: Likewise.
18079         * po/de.po: Likewise.
18080         * po/hr.po: Likewise.
18081         * po/nl.pl: Likewise.
18082         * po/pl.po: Likewise.
18083         * po/vi.po: Likewise.
18085 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
18087         * Makeconfig [!+link] (+link-before-libc): New variable.
18088         [!+link] (+link-after-libc): Likewise.
18089         [!+link] (+link-tests): Likewise.
18090         [!+link] (+link): Define in terms of $(+link-before-libc) and
18091         $(+link-after-libc).
18092         [!+link-static] (+link-static-before-libc): New variable.
18093         [!+link-static] (+link-static-after-libc): Likewise.
18094         [!+link-static] (+link-static-tests): Likewise.
18095         [!+link-static] (+link-static): Define in terms of
18096         $(+link-static-before-libc) and $(+link-static-after-libc).
18097         [build-shared] (link-libc-before-gnulib): New variable.
18098         [build-shared] (link-libc-tests): Likewise.
18099         [build-shared] (link-libc): Define in terms of
18100         $(link-libc-before-gnulib).
18101         [!build-shared] (link-libc-tests): New variable.
18102         (link-libc-static-tests): New variable.
18103         [!gnulib] (gnulib-arch): New variable.
18104         [!gnulib] (gnulib-tests): Likewise.
18105         [!gnulib] (static-gnulib-arch): Likewise.
18106         [!gnulib] (static-gnulib-tests): Likewise.
18107         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
18108         Define with "=" instead of ":=".
18109         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
18110         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
18111         * Rules (binaries-all-notests): New variable.
18112         (binaries-all-tests): Likewise.
18113         (binaries-static-notests): Likewise.
18114         (binaries-static-tests): Likewise.
18115         (binaries-all): Define using $(binaries-all-notests) and
18116         $(binaries-all-tests).
18117         (binaries-static): Define using $(binaries-static-notests) and
18118         $(binaries-static-tests).
18119         (binaries-shared-tests): New variable.
18120         (binaries-shared-notests): Likewise.
18121         (binaries-shared): Remove variable.
18122         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18123         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18124         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18125         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18126         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18127         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18128         * elf/Makefile (sln-modules): New variable.
18129         (extra-objs): Add $(sln-modules:=.o).
18130         (ldconfig-modules): Add static-stubs.
18131         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18132         * elf/static-stubs.c: New file.
18134         [BZ #14283]
18135         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18136         by 7 not 8 to examine high bit of fractional part.  Use volatile
18137         variables when splitting into final array of floats if
18138         __FLT_EVAL_METHOD__ != 0.
18139         * math/libm-test.inc (cos_test): Add another test.
18140         (sin_test): Likewise.
18141         * sysdeps/i386/fpu/libm-test-ulps: Update.
18143         [BZ #14273]
18144         * math/libm-test.inc (cosh_test): Add more tests.
18146         * version.h (RELEASE): Set to "development".
18147         (VERSION): Set to "2.16.90".
18149 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
18151         * NEWS: Update copyright. Remove last-updated date.
18152         Mention math library bug fixes and timezone data changes.
18153         * README: Mention GNU/Hurd, x32, and HPPA support status.
18155 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
18157         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18159 2012-06-27  Andreas Jaeger  <aj@suse.de>
18161         * manual/contrib.texi (Contributors): Add Samuel Thibault.
18163 2012-06-25  Andreas Jaeger  <aj@suse.de>
18165         * sysdeps/s390/fpu/libm-test-ulps: Update.
18167 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
18168             Thomas Schwinge  <thomas@codesourcery.com>
18170         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18171         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18172         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18173         fanotify_mark.
18175 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
18177         * sysdeps/mach/start.c: Remove file.
18178         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18179         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18180         * sysdeps/sh/init-first.c: Likewise.
18182         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18183         registers for frame unwinding purposes, add CFI directives.
18184         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18185         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18186         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18187         Likewise.
18189         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18190         __fortify_fail returning.
18191         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18193         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18194         sysdeps/sh/____longjmp_chk.S.
18195         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18196         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18197         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18198         (gen-as-const-headers): Append sigaltstack-offsets.sym.
18200         * sysdeps/sh/abort-instr.h: New file.
18201         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18202         process in case exit returns.
18204         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18205         initialize the GOT register before use.
18207         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18208         calculation of ARGC > 4.
18210         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18211         meaningful names to some local labels.
18213 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18214             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18216         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18217         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18218         (__arch_compare_and_exchange_val_16_acq): Likewise.
18219         (__arch_compare_and_exchange_val_32_acq): Likewise.
18220         (atomic_exchange_and_add): Fix gUSA sequence.
18221         (atomic_add): Likewise.
18222         (atomic_add_negative): Likewise.
18223         (atomic_add_zero): Likewise.
18224         (atomic_bit_test_set): Likewise.
18226 2012-06-22  Andreas Schwab  <schwab@redhat.com>
18228         [BZ #13579]
18229         * include/link.h (struct link_map): Add l_free_initfini.
18230         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18231         l_initfini.
18232         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18233         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18234         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18235         set.
18237 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
18239         * configure.in: Use AC_LANG_SOURCE.
18240         * configure: Regenerate.
18242 2012-06-22  Roland McGrath  <roland@hack.frob.com>
18244         * configure.in (libc_cv_localstatedir): New substituted variable.
18245         * configure: Regenerated.
18246         * config.make.in (localstatedir): New variable, substituted from
18247         libc_cv_localstatedir.
18248         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18249         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18250         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18251         * sysdeps/gnu/configure: Regenerated.
18253 2012-06-21  Jeff Law  <law@redhat.com>
18255         [BZ #14277]
18256         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18257         free.  Simplify list management for _LIBC case.
18259 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
18261         [BZ #14273]
18262         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18263         Clear sign bit of 64-bit integer value before comparing against
18264         overflow value.
18266         * sysdeps/mach/configure: Regenerated.
18268 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
18270         [BZ #14278]
18271         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18273 2012-06-21  Jeff Law  <law@redhat.com>
18275         [BZ #13882]
18276         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
18277         uint16_t for elements in the "seen" array to avoid char overflows.
18278         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18279         * elf/dl-open.c (dl_open_worker): Likewise.
18281 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
18283         * scripts/list-sources.sh: Scan PORTS for translations.
18284         * po/libc.pot: Regenerated.
18286 2012-06-21  Andreas Jaeger  <aj@suse.de>
18288         [BZ #12194]
18289         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18290         warning.
18291         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18292         * bits/byteswap-16.h (__bswap_16): Likewise.
18293         * bits/byteswap.h (__bswap_constant_16): Likewise.
18295 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
18297         [BZ #14117]
18298         * sysdeps/i386/fpu_control.h: Removed.
18299         * sysdeps/x86_64/fpu_control.h: Moved to ...
18300         * sysdeps/x86/fpu_control.h: Here.
18302         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18303         (_FPU_SETCW): Likewise.
18305 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
18307         [BZ #14117]
18308         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18309         * sysdeps/x86/fpu/bits/mathinline.h: This.
18310         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18312         [BZ #14050]
18313         [BZ #14117]
18314         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18315         functions if __x86_64__ is defined.
18317 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
18319         * string/endian.h: Add !__ASSEMBLER__ condition for including
18320         conversion interfaces.
18322 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
18324         [BZ #14241]
18325         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18326         of ABS(x) in calculating zero to negative powers other than odd
18327         integers.
18328         * math/libm-test.inc (pow_test): Add more tests.
18330 2012-06-15  Andreas Jaeger  <aj@suse.de>
18332         * manual/contrib.texi (Contributors): Update entry of Liubov
18333         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18334         Machado Filho.
18336 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
18338         * string/string.h: Add __wur to GNU version of strerror_r.
18340 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
18342         [BZ #14229]
18343         * string/Makefile (tests): Add tst-strtok_r.
18344         * string/tst-strtok_r.c: New file.
18345         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18346         RAX_LP/RDX_LP on SAVE_PTR.
18348 2012-06-14  Roland McGrath  <roland@hack.frob.com>
18350         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18352 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
18354         * libm_test.inc (csqrt_test): Allow more spurious underflow
18355         exceptions.
18356         (j0_test): Likewise.
18357         (j1_test): Likewise.
18358         (y0_test): Likewise.
18359         (y1_test): Likewise.
18361 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
18363         * po/Makefile (libc.pot): Use UTF-8 charset.
18365 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
18367         [BZ #14210]
18368         Suppress sign-conversion warning from FD_SET.
18369         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18370         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18371         not unsigned long int.
18372         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18374 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
18376         [BZ #14050]
18377         [BZ #14117]
18378         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18379         __extern_always_inline instead of __extern_inline.
18380         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18381         (__signbit): Likewise.
18382         (__signbitl): Support C++ namespace.
18383         (lrintf): New inline function.
18384         (lrint): Likewise.
18385         (llrintf): Likewise.
18386         (llrint): Likewise.
18387         (fmaxf): Likewise.
18388         (fmax): Likewise.
18389         (fminf): Likewise.
18390         (fmin): Likewise.
18391         (rint): Likewise.
18392         (rintf): Likewise.
18393         (ceil): Likewise.
18394         (ceilf): Likewise.
18395         (floor): Likewise.
18396         (floorf): Likewise.
18397         (nearbyint): Likewise.
18398         (nearbyintf): Likewise.
18400 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
18402         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18403         non-default versions.
18405 2012-06-11  Roland McGrath  <roland@hack.frob.com>
18407         [BZ #14218]
18408         * manual/argp.texi (Argp): Reword argp_parse description slightly.
18410 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
18412         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18413         (FE_UPWARD, FE_DOWNWARD): Don't define.
18414         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18415         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18417         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18418         reading it.
18419         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18420         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18422 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18424         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18425         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18426         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18427         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18429 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18431         [BZ #14117]
18432         * sysdeps/i386/fpu/bits/fenv.h: Removed.
18433         * sysdeps/i386/fpu/Implies: New file.
18434         * sysdeps/x86_64/fpu/Implies: Likewise.
18435         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18436         * sysdeps/x86/fpu/bits/fenv.h: This.
18438         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18439         __SSE_MATH__.
18441 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18443         [BZ #14134]
18444         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18445         character 0xffff that matches the last element of the
18446         conversion table.
18448 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18450         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18451         fmodl commit.
18453 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18455         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18456         values higher than 25.6283.
18458 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18460         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18461         subnormal exponent extraction and add some __builtin_expect.
18462         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18463         Fix for subnormal mantissa calculation.
18465 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
18467         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18468         cpu2 is -1 and errno is not ENOSYS.
18470 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
18472         [BZ #14117]
18473         * sysdeps/i386/i486/bits/string.h: Renamed to ...
18474         * sysdeps/x86/bits/string.h: This.
18475         * sysdeps/x86_64/bits/string.h: Removed.
18477         * sysdeps/i386/i486/bits/string.h: Define inline functions only
18478         if not compiling for x86-64, but compiling for >= i486.
18480         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18481         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18483         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18484         New macro from Linux kernel 3.4.0.
18485         (FP_XSTATE_MAGIC2): Likewise.
18486         (FP_XSTATE_MAGIC2_SIZE): Likewise.
18487         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18488         (struct _fpx_sw_bytes): New struct.
18489         (struct _xsave_hdr): Likewise.
18490         (struct _ymmh_state): Likewise.
18491         (struct _xstate): Likewise.
18493         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18494         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18495         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18496         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18497         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18498         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18500         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18501         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18502         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18503         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18504         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18505         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18507 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18509         [BZ #13743]
18510         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18511         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18512         (sysdep_headers): Include sys/platform/ppc.h.
18513         * sysdeps/powerpc/test-gettimebase.c: Test for
18514         __ppc_get_timebase() to catch future ISA opcode/insn changes.
18515         * manual/Makefile (appendices): Include platform.texi.
18516         * manual/contrib.texi (Contributors): Update @node pointers.
18517         * manual/maint.texi (Maintenance): Likewise.
18518         (Platform): New node.
18519         * manual/platform.texi: New file.  Document the new features.
18521 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18522             Jakub Jelinek  <jakub@redhat.com>
18524         [BZ #14188]
18525         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18526         where __builtin_expect is unavailable.
18528 2012-06-03  David S. Miller  <davem@davemloft.net>
18530         * stdlib/longlong.h: Updated from GCC.
18532 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
18534         [BZ #14042]
18535         * sysdeps/powerpc/powerpc32/mcount.c: New file.
18536         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18537         __mcount_internal.
18538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18539         (GLIBC_2.16): Likewise.
18541 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18543         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18545 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18548         (default-abi): New variable.
18549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18550         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18551         variable.
18552         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18553         Likewise.
18554         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18555         Likewise.
18556         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18557         Likewise.
18559         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18560         definition.  Document in comment.
18562 2012-06-01  David S. Miller  <davem@davemloft.net>
18564         * stdlib/longlong.h: Updated from GCC.
18566 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18568         [BZ #14117]
18569         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18570         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18571         sys/debugreg.h sys/io.h here.
18572         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18573         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18574         sys/io.h.
18575         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18576         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18577         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18578         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18579         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18580         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18582         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18583         Define only if __x86_64__ is defined.
18585 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18587         [BZ #14048]
18588         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18589         Use int64_t for variable i.
18590         * math/libm-test.inc (fmod_test): Add more tests.
18592         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18593         z computation is not scheduled after fetestexcept.
18594         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18595         Use math_force_eval instead of asm to ensure calculation scheduled
18596         before exception test.
18597         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18598         Ensure a1 + u.d computation is not scheduled after fetestexcept.
18600 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
18602         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18603         computation is not scheduled after fetestexcept.
18605 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18607         [BZ #14117]
18608         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18609         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18611 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18613         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18614         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18616 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18618         [BZ #14117]
18619         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18620         <bits/wordsize.h>.
18621         (__WCHAR_MIN): Support __WORDSIZE == 64.
18622         (__WCHAR_MAX): Likewise.
18624         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18625         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18627         [BZ #14183]
18628         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18629         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18631         [BZ #14117]
18632         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18633         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18635         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18636         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18638         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18639         Defined to 1 if __x86_64__ isn't defined.
18640         (_STAT_VER_LINUX_OLD): New.
18641         (st_atime): Remove duplicate.
18642         (st_mtime): Likewise.
18643         (st_ctime): Likewise.
18645 2012-05-31  David S. Miller  <davem@davemloft.net>
18647         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18648         entries.
18650 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
18652         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18653         gen-libm-test.pl.
18655         [BZ #14132]
18656         * elf/dl-reloc.c: Include <_itoa.h>.
18657         (_dl_reloc_bad_type): Remove use of INTUSE.
18658         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18659         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18660         * stdio-common/psiginfo.c (psiginfo): Likewise.
18661         * stdio-common/psignal.c (psignal): Likewise.
18662         * string/strsignal.c (strsignal): Likewise.
18663         * include/signal.h (_sys_siglist): Declare hidden proto.
18664         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
18665         INTVARDEF with libc_hidden_data_def.
18666         * stdio-common/itoa-udigits.c: Likewise.
18667         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18668         (_itoa_lower_digits_internal): Remove declaration.
18669         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18670         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18671         (_sys_sigabbrev_internal): Remove aliases.
18672         (_sys_siglist): Define hidden alias.
18674 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
18676         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18677         bits/sysctl.h.
18679 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18681         [BZ #14117]
18682         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18683         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18685         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18686         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18687         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18688         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18689         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18690         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18692         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18693         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18694         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18696         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18697         with __addr.
18698         (insw): Likewise.
18699         (insl): Likewise.
18700         (outsb): Likewise.
18701         (outsw): Likewise.
18702         (outsl): Likewise.
18704         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18705         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18706         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18708         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18709         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18710         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18711         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18712         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18713         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18715         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18716         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18718         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18719         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18721         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18722         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18723         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18725         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18726         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18727         to ...
18728         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18730         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18731         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18732         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18734         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18735         for x86-64.
18736         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18738 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
18740         * math/math.h (M_El): Use two more decimal places.
18741         (M_LOG2El): Likewise.
18742         (M_LOG10El): Likewise.
18743         (M_LN2l): Likewise.
18744         (M_LN10l): Likewise.
18745         (M_PIl): Likewise.
18746         (M_PI_2l): Likewise.
18747         (M_PI_4l): Likewise.
18748         (M_1_PIl): Likewise.
18749         (M_2_PIl): Likewise.
18750         (M_2_SQRTPIl): Likewise.
18751         (M_SQRT2l): Likewise.
18752         (M_SQRT1_2l): Likewise.
18754 2012-05-31  David S. Miller  <davem@davemloft.net>
18756         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18757         values between float registers.
18758         * sysdeps/sparc/sparc64/memset.S: Likewise.
18759         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18761 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
18763         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18764         -D_FORTIFY_SOURCE=1.
18765         (CPPFLAGS-tst-longjmp_chk.c): Define.
18766         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18767         (CPPFLAGS-tst-longjmp_chk2.c): Define.
18768         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18769         CFLAGS-tst-wchar-h.c.
18771 2012-05-31  Marek Polacek  <polacek@redhat.com>
18773         [BZ #14132]
18774         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18775         __endmntent_internal): Remove declaration.
18776         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18777         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18778         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18780 2012-05-30  David S. Miller  <davem@davemloft.net>
18782         * sysdeps/sparc/sparc32/soft-fp/q_util.c
18783         (___Q_simulate_exceptions): Use real FP ops rather than writing
18784         into the %fsr.
18785         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18786         Likewise.
18788 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18790         [BZ #14117]
18791         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18792         * sysdeps/x86/bits/xtitypes.h: This.
18794         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18795         * sysdeps/x86/bits/wordsize.h: This.
18797         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18798         * sysdeps/x86/bits/huge_vall.h: This.
18800         * sysdeps/i386/bits/select.h: Removed.
18801         * sysdeps/x86_64/bits/select.h: Renamed to ...
18802         * sysdeps/x86/bits/select.h: This.
18804         * sysdeps/i386/bits/setjmp.h: Removed.
18805         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18806         * sysdeps/x86/bits/setjmp.h: This.
18808         * sysdeps/i386/bits/mathdef.h: Removed.
18809         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18810         * sysdeps/x86/bits/mathdef.h: This.
18812 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
18814         [BZ #14132]
18815         * include/sys/socket.h (__connect_internal)
18816         (__libc_sa_len_internal): Remove declaration.
18817         (__connect, __libc_sa_len): Declare hidden_proto.
18818         (SA_LEN): Remove use of INTUSE.
18819         * socket/connect.c: Add libc_hidden_def.
18820         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18821         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18822         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18823         alias.
18824         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18825         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18826         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18827         of adding _internal alias.
18829 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18831         [BZ #14117]
18832         * sysdeps/i386/bits/link.h: Removed.
18833         * sysdeps/i386/bits/linkmap.h: Likewise.
18834         * sysdeps/x86_64/bits/link.h: Renamed to ...
18835         * sysdeps/x86/bits/link.h: This.
18836         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18837         * sysdeps/x86/bits/linkmap.h: This.
18839         * sysdeps/i386/bits/endian.h: Removed.
18840         * sysdeps/x86_64/bits/endian.h: Renamed to ...
18841         * sysdeps/x86/bits/endian.h: This.
18843         * sysdeps/i386/bits/byteswap.h: Removed.
18844         * sysdeps/i386/bits/byteswap-16.h: Likewise.
18845         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18846         * sysdeps/x86/bits/byteswap.h: This.
18847         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18848         * sysdeps/x86/bits/byteswap-16.h: This.
18849         * sysdeps/i386/Implies: Add x86.
18850         * sysdeps/x86_64/Implies: Likewise.
18852 2012-05-30  David S. Miller  <davem@davemloft.net>
18854         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18855         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18856         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18857         (FP_TRAPPING_EXCEPTIONS): Define.
18858         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18859         (FP_TRAPPING_EXCEPTIONS): Define.
18860         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18861         subnormals only when inexact has been signalled or underflow
18862         exceptions are enabled.
18863         (_FP_PACK_CANONICAL): Likewise.
18865 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18867         [BZ #14183]
18868         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18869         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18871 2012-05-30  Richard Henderson  <rth@twiddle.net>
18873         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18874         with #ifndef NOT_IN_libc.
18876         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
18877         marked to avoid plt entry.
18879 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18881         [BZ #14112]
18882         * Makeconfig (default-abi): New macro.
18883         (abi-includes): Likewise.
18884         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
18885         $(abi-$(default-abi)-lib-soname) for soname if defined.
18886         ($(common-objpfx)gnu/lib-names.stmp): Generate from
18887         abi-variants.
18888         * Makefile (installed-stubs): Likewise.
18889         * include/stubs-biarch.h: Removed.
18890         * scripts/lib-names.awk: Only handle one library at a time.
18891         * scripts/soversions.awk: Remove WORDSIZE support.
18892         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18893         entries.
18894         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18895         Removed.
18896         (syscall-list-default-condition): Likewise.
18897         (syscall-list-default-condition): Likewise.
18898         (syscall-list-includes): Likewise.
18899         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18900         syscall-list-* with abi-*.  Handle undefined abi-variants.
18901         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18902         * sysdeps/unix/sysv/linux/i386/Implies: New file.
18903         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18904         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18905         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18906         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18907         Removed.
18908         (syscall-list-32-options): Likewise.
18909         (syscall-list-32-condition): Likewise.
18910         (syscall-list-64-options): Likewise.
18911         (syscall-list-64-condition): Likewise.
18912         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18913         macro.
18914         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18915         Renamed to ...
18916         (abi-*): This.
18917         (abi-64-ld-soname): New macro.
18918         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18919         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18920         Renamed to ...
18921         (abi-*): This.
18922         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18923         * sysdeps/x86_64/x32/shlib-versions: Likewise.
18925 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
18927         * sysdeps/unix/sysv/linux/kernel-features.h
18928         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18929         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18930         include <kernel-features.h>.
18931         [!__NR_ftruncate64]: Remove conditional code.
18932         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18933         [__NR_ftruncate64]: Make code unconditional.
18934         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18935         * sysdeps/unix/sysv/linux/truncate64.c: Do not
18936         include <kernel-features.h>.
18937         [!__NR_ftruncate64]: Remove conditional code.
18938         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18939         [__NR_ftruncate64]: Make code unconditional.
18940         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18942         include <kernel-features.h>.
18943         [!__NR_ftruncate64]: Remove conditional code.
18944         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18945         [__NR_ftruncate64]: Make code unconditional.
18946         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18948         include <kernel-features.h>.
18949         [!__NR_ftruncate64]: Remove conditional code.
18950         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18951         [__NR_ftruncate64]: Make code unconditional.
18952         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18954         * configure.in (libc_cv_fpie): Weaken to a compile test using
18955         LIBC_TRY_CC_OPTION.
18956         * configure: Regenerated.
18958 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18964         Refreshed.
18965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18971         Refreshed.
18973 2012-05-27  David S. Miller  <davem@davemloft.net>
18975         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18976         (___Q_zero): New.
18977         (__Q_simulate_exceptions): Return void.  Change to simulate
18978         exceptions by writing into the %fsr.
18979         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18980         (__Qp_handle_exceptions): Likewise.
18981         (numbers): Delete.
18982         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18983         __Qp_handle_exceptions.
18984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18985         __Qp_handle_exceptions.
18986         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18987         as unused and give dummy FP_RND_NEAREST initializer.
18988         (FP_INHIBIT_RESULTS): Define.
18989         (___Q_simulate_exceptions): Update declaration.
18990         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18991         formatting.
18992         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18993         as unused and give dummy FP_RND_NEAREST initializer.
18994         (__Qp_handle_exceptions): Update declaration.
18995         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18996         formatting.
18998 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
19000         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19001         the temporary FPU control word.
19002         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19003         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19004         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19005         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19006         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19007         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19008         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19009         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19010         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19011         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19012         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19014 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19016         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19017         fields.
19019 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
19021         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19022         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19023         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19024         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19025         Likewise.
19026         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19027         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19028         Likewise.
19030 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
19032         * po/h.po: Update from translation team.
19034 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
19036         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19038         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19039         handling of denormals.
19040         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19041         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19042         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19043         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19044         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19045         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19046         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19047         Likewise.
19049 2012-05-26  Marek Polacek  <polacek@redhat.com>
19051         [BZ #14152]
19052         * math/libm-test.inc (fma_test): Don't always expect underflow
19053         exception.
19055 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19057         [BZ #12416]
19058         * elf/tst-execstack.c: Include stackinfo.h.
19059         (do_test): Adjust test case to ensure that pthread_getattr_np
19060         behaviour remains the same after marking stack executable.
19062 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19064         * sysdeps/unix/sysv/linux/kernel-features.h
19065         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19066         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19067         kernel-features.h.
19068         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19069         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19070         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19071         kernel-features.h.
19072         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19073         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19075 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
19077         * configure.in: Define the default includes to being none.
19078         * configure: Regenerated.
19080 2012-05-25  Roland McGrath  <roland@hack.frob.com>
19082         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19083         * sysdeps/x86_64/setjmp.S: Likewise.
19084         * sysdeps/i386/bsd-setjmp.S: Likewise.
19085         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19086         * sysdeps/i386/setjmp.S: Likewise.
19087         * sysdeps/i386/__longjmp.S: Likewise.
19088         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19089         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19091         * include/stap-probe.h: New file.
19092         * configure.in: Handle --enable-systemtap.
19093         * configure: Regenerated.
19094         * config.h.in (USE_STAP_PROBE): New #undef.
19095         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19096         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19097         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19099 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19101         [BZ #13717]
19102         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19103         to 2.4.0 where earlier.
19104         * sysdeps/unix/sysv/linux/configure: Regenerated.
19105         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19106         <kernel-features.h>.
19107         [__ASSUME_32BITUIDS]: Make code unconditional.
19108         [!__ASSUME_32BITUIDS]: Remove conditional code.
19109         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19110         <kernel-features.h>.
19111         [__ASSUME_32BITUIDS]: Make code unconditional.
19112         [!__ASSUME_32BITUIDS]: Remove conditional code.
19113         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19114         [__ASSUME_32BITUIDS]: Make code unconditional.
19115         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19116         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19117         <kernel-features.h>.
19118         [__ASSUME_32BITUIDS]: Make code unconditional.
19119         [!__ASSUME_32BITUIDS]: Remove conditional code.
19120         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19121         <kernel-features.h>.
19122         [__ASSUME_32BITUIDS]: Make code unconditional.
19123         [!__ASSUME_32BITUIDS]: Remove conditional code.
19124         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19125         <kernel-features.h>.
19126         [__ASSUME_32BITUIDS]: Make code unconditional.
19127         [!__ASSUME_32BITUIDS]: Remove conditional code.
19128         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19129         <kernel-features.h>.
19130         [__ASSUME_32BITUIDS]: Make code unconditional.
19131         [!__ASSUME_32BITUIDS]: Remove conditional code.
19132         * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.c: Do not include
19141         <kernel-features.h>.
19142         [__ASSUME_32BITUIDS]: Make code unconditional.
19143         [!__ASSUME_32BITUIDS]: Remove conditional code.
19144         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19145         <kernel-features.h>.
19146         [__ASSUME_32BITUIDS]: Make code unconditional.
19147         [!__ASSUME_32BITUIDS]: Remove conditional code.
19148         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19149         <kernel-features.h>.
19150         [__ASSUME_32BITUIDS]: Make code unconditional.
19151         [!__ASSUME_32BITUIDS]: Remove conditional code.
19152         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19153         <kernel-features.h>.
19154         [__ASSUME_32BITUIDS]: Make code unconditional.
19155         [!__ASSUME_32BITUIDS]: Remove conditional code.
19156         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19157         <kernel-features.h>.
19158         [__NR_setresgid] (__setresgid): Do not declare.
19159         [__ASSUME_32BITUIDS]: Make code unconditional.
19160         [!__ASSUME_32BITUIDS]: Remove conditional code.
19161         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19162         <kernel-features.h>.
19163         [__NR_setresuid] (__setresuid): Do not declare.
19164         [__ASSUME_32BITUIDS]: Make code unconditional.
19165         [!__ASSUME_32BITUIDS]: Remove conditional code.
19166         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19167         <kernel-features.h>.
19168         [__ASSUME_32BITUIDS]: Make code unconditional.
19169         [!__ASSUME_32BITUIDS]: Remove conditional code.
19170         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19171         <kernel-features.h>.
19172         [__ASSUME_32BITUIDS]: Make code unconditional.
19173         [!__ASSUME_32BITUIDS]: Remove conditional code.
19174         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19175         <kernel-features.h>.
19176         [__ASSUME_32BITUIDS]: Make code unconditional.
19177         [!__ASSUME_32BITUIDS]: Remove conditional code.
19178         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19179         <kernel-features.h>.
19180         [__ASSUME_32BITUIDS]: Make code unconditional.
19181         [!__ASSUME_32BITUIDS]: Remove conditional code.
19182         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19183         <kernel-features.h>.
19184         [__ASSUME_32BITUIDS]: Make code unconditional.
19185         [!__ASSUME_32BITUIDS]: Remove conditional code.
19186         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19187         <kernel-features.h>.
19188         [__ASSUME_32BITUIDS]: Make code unconditional.
19189         [!__ASSUME_32BITUIDS]: Remove conditional code.
19190         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19191         <kernel-features.h>.
19192         [__ASSUME_32BITUIDS]: Make code unconditional.
19193         [!__ASSUME_32BITUIDS]: Remove conditional code.
19194         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19195         <kernel-features.h>.
19196         [__ASSUME_32BITUIDS]: Make code unconditional.
19197         [!__ASSUME_32BITUIDS]: Remove conditional code.
19198         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19199         <kernel-features.h>.
19200         [__ASSUME_32BITUIDS]: Make code unconditional.
19201         [!__ASSUME_32BITUIDS]: Remove conditional code.
19202         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19203         <kernel-features.h>.
19204         [__ASSUME_32BITUIDS]: Make code unconditional.
19205         [!__ASSUME_32BITUIDS]: Remove conditional code.
19206         * sysdeps/unix/sysv/linux/kernel-features.h
19207         (__ASSUME_SETRESUID_SYSCALL): Remove.
19208         (__ASSUME_SETRESGID_SYSCALL): Likewise.
19209         (__ASSUME_32BITUIDS): Likewise.
19210         (__ASSUME_LDT_WORKS): Likewise.
19211         (__ASSUME_O_DIRECTORY): Likewise.
19212         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19213         architecture but not kernel version.
19214         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19215         (__ASSUME_MMAP2_SYSCALL): Likewise.
19216         (__ASSUME_STAT64_SYSCALL): Likewise.
19217         (__ASSUME_IPC64): Likewise.
19218         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19219         <kernel-features.h>.
19220         [__ASSUME_32BITUIDS]: Make code unconditional.
19221         [!__ASSUME_32BITUIDS]: Remove conditional code.
19222         * sysdeps/unix/sysv/linux/opendir.c: Do not include
19223         <kernel-features.h>.
19224         [__ASSUME_O_DIRECTORY]: Make code unconditional.
19225         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19226         132096]: Remove conditional code.
19227         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19228         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19229         <kernel-features.h>.
19230         [__ASSUME_32BITUIDS]: Make code unconditional.
19231         [!__ASSUME_32BITUIDS]: Remove conditional code.
19232         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19233         <kernel-features.h>.
19234         [__ASSUME_32BITUIDS]: Make code unconditional.
19235         [!__ASSUME_32BITUIDS]: Remove conditional code.
19236         * sysdeps/unix/sysv/linux/setegid.c: Do not include
19237         <kernel-features.h>.
19238         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19239         unconditional.
19240         (__setresgid): Do not declare.
19241         [__ASSUME_32BITUIDS]: Make code unconditional.
19242         [!__ASSUME_32BITUIDS]: Remove conditional code.
19243         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19244         <kernel-features.h>.
19245         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19246         unconditional.
19247         (__setresuid): Do not declare.
19248         [__ASSUME_32BITUIDS]: Make code unconditional.
19249         [!__ASSUME_32BITUIDS]: Remove conditional code.
19250         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19251         <kernel-features.h>.
19252         [__ASSUME_32BITUIDS]: Make code unconditional.
19253         [!__ASSUME_32BITUIDS]: Remove conditional code.
19254         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19255         <kernel-features.h>.
19256         [__ASSUME_32BITUIDS]: Make code unconditional.
19257         [!__ASSUME_32BITUIDS]: Remove conditional code.
19259 2012-05-25  Richard Henderson  <rth@twiddle.net>
19261         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19262         dl_hwcap to ifunc resolver.
19263         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19264         elf_ifunc_invoke.
19265         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19266         dl_hwcap to ifunc resolver.
19267         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19269 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19271         [BZ #14153]
19272         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19273         for |x| <= 2**-26, not 2**-57.
19274         * math/libm-test.inc (acos_test): Do not allow spurious underflow
19275         exception.
19277 2012-05-24  Jeff Law  <law@redhat.com>
19279         * stdio-common/Makefile (tests): Add bug25.
19280         * stdio-common/bug25.c: New test.
19282 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19284         [BZ #13576]
19285         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19286         multiple of MALLOC_ALIGNMENT in size.
19287         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19289 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19291         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19292         Require >= 256.
19293         (FILENAME_MAX): Use macro-int-constant.
19294         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
19295         (_IOFBF): Use macro-int-constant.
19296         (_IOLBF): Likewise.
19297         (_IONBF): Likewise.
19298         (SEEK_CUR): Likewise.
19299         (SEEK_END): Likewise.
19300         (SEEK_SET): Likewise.
19301         (TMP_MAX): Likewise.
19302         (EOF): Use macro-int-constant.  Require < 0.
19303         (NULL): Use macro-constant.  Require == 0.
19304         (stdin): Require type to be FILE *.
19305         (stdout): Likewise.
19306         (stderr): Likewise.
19307         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19308         macro-int-constant.
19309         (EXIT_SUCCESS): Likewise.
19310         (NULL): Use macro-constant.  Require == 0.
19311         (RAND_MAX): Use macro-int-constant.
19312         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19313         [C99-based standards] (strtof): Require function.
19314         [C99-based standards] (strtold): Likewise.
19315         [C99-based standards] (strtoll): Likewise.
19316         [C99-based standards] (strtoull): Likewise.
19317         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19318         [ISO || ISO99 || ISO11] (limits.h): Likewise.
19319         [ISO || ISO99 || ISO11] (math.h): Likewise.
19320         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19321         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19322         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19324 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
19326         [BZ #14132]
19327         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19328         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19329         * intl/dgettext.c (DCGETTEXT): Likewise.
19330         * intl/gettext.c (DCGETTEXT): Likewise.
19331         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19332         * posix/regex_internal.h (gettext): Likewise.
19333         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19334         Remove declaration.
19335         * include/argz.h (__argz_count_internal)
19336         (__argz_stringify_internal): Remove declaration.
19337         (__argz_count, __argz_stringify): Declare hidden proto.
19338         * intl/dcgettext.c: Remove use of INTDEF.
19339         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19340         * string/argz-stringify.c: Likewise.
19341         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19342         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19343         Declare hidden proto.
19344         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19345         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19346         Declare hidden proto.
19347         * include/stdio.h (__asprintf_internal): Don't declare.
19348         (__asprintf): Don't define as macro.  Declare hidden proto.
19349         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19350         (__fsetlocking): Declare hidden proto.
19351         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19352         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19353         hidden proto.
19354         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19355         (_IO_setlinebuf): Remove use of INTUSE.
19356         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19357         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19358         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19359         Remove declaration.
19360         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19361         (_IO_do_flush): Remove use of INTUSE.
19362         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19363         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19364         (_IO_adjust_column, _IO_least_wmarker)
19365         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19366         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19367         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19368         (_IO_default_doallocate, _IO_wdefault_doallocate)
19369         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19370         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19371         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19372         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19373         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19374         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19375         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19376         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19377         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19378         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19379         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19380         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19381         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19382         proto.
19383         (_IO_flush_all_internal, _IO_adjust_column_internal)
19384         (_IO_default_uflow_internal, _IO_default_finish_internal)
19385         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19386         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19387         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19388         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19389         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19390         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19391         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19392         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19393         (_IO_file_close_internal, _IO_file_close_it_internal)
19394         (_IO_file_underflow_internal, _IO_file_overflow_internal)
19395         (_IO_file_init_internal, _IO_file_attach_internal)
19396         (_IO_file_fopen_internal, _IO_file_read_internal)
19397         (_IO_file_sync_internal, _IO_file_seek_internal)
19398         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19399         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19400         (_IO_str_underflow_internal, _IO_str_overflow_internal)
19401         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19402         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19403         (_IO_list_all_internal, _IO_link_in_internal)
19404         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19405         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19406         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19407         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19408         (_IO_do_write_internal, _IO_padn_internal)
19409         (_IO_getline_info_internal, _IO_getline_internal)
19410         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19411         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19412         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19413         (_IO_vfscanf_internal, _IO_vfprintf_internal)
19414         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19415         (_IO_init_internal, _IO_un_link_internal): Don't declare.
19416         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19417         with libc_hidden_ver, remove use of INTUSE.
19418         * libio/genops.c: Likewise.
19419         * libio/freopen.c: Likewise.
19420         * libio/freopen64.c: Likewise.
19421         * libio/iofclose.c: Likewise.
19422         * libio/iofdopen.c: Likewise.
19423         * libio/iofflush.c: Likewise.
19424         * libio/iofflush_u.c: Likewise.
19425         * libio/iofgets.c: Likewise.
19426         * libio/iofgets_u.c: Likewise.
19427         * libio/iofopen.c: Likewise.
19428         * libio/iofopncook.c: Likewise.
19429         * libio/iofread.c: Likewise.
19430         * libio/iofread_u.c: Likewise.
19431         * libio/ioftell.c: Likewise.
19432         * libio/iofwrite.c: Likewise.
19433         * libio/iogetline.c: Likewise.
19434         * libio/iogets.c: Likewise.
19435         * libio/iogetwline.c: Likewise.
19436         * libio/iopadn.c: Likewise.
19437         * libio/iopopen.c: Likewise.
19438         * libio/ioseekoff.c: Likewise.
19439         * libio/ioseekpos.c: Likewise.
19440         * libio/iosetbuffer.c: Likewise.
19441         * libio/iosetvbuf.c: Likewise.
19442         * libio/ioungetc.c: Likewise.
19443         * libio/ioungetwc.c: Likewise.
19444         * libio/iovdprintf.c: Likewise.
19445         * libio/iovsprintf.c: Likewise.
19446         * libio/iovsscanf.c: Likewise.
19447         * libio/memstream.c: Likewise.
19448         * libio/obprintf.c: Likewise.
19449         * libio/oldfileops.c: Likewise.
19450         * libio/oldiofclose.c: Likewise.
19451         * libio/oldiofdopen.c: Likewise.
19452         * libio/oldiofopen.c: Likewise.
19453         * libio/oldiopopen.c: Likewise.
19454         * libio/oldstdfiles.c: Likewise.
19455         * libio/putc.c: Likewise.
19456         * libio/setbuf.c: Likewise.
19457         * libio/setlinebuf.c: Likewise.
19458         * libio/stdfiles.c: Likewise.
19459         * libio/strops.c: Likewise.
19460         * libio/vasprintf.c: Likewise.
19461         * libio/vscanf.c: Likewise.
19462         * libio/vsnprintf.c: Likewise.
19463         * libio/vswprintf.c: Likewise.
19464         * libio/wfiledoalloc.c: Likewise.
19465         * libio/wfileops.c: Likewise.
19466         * libio/wgenops.c: Likewise.
19467         * libio/wmemstream.c: Likewise.
19468         * libio/wstrops.c: Likewise.
19469         * libio/__fpurge.c: Likewise.
19470         * libio/__fsetlocking.c: Likewise.
19471         * assert/assert.c: Likewise.
19472         * debug/fgets_chk.c: Likewise.
19473         * debug/fgets_u_chk.c: Likewise.
19474         * debug/fread_chk.c: Likewise.
19475         * debug/fread_u_chk.c: Likewise.
19476         * debug/gets_chk.c: Likewise.
19477         * debug/obprintf_chk.c: Likewise.
19478         * debug/vasprintf_chk.c: Likewise.
19479         * debug/vdprintf_chk.c: Likewise.
19480         * debug/vsnprintf_chk.c: Likewise.
19481         * debug/vsprintf_chk.c: Likewise.
19482         * malloc/mtrace.c: Likewise.
19483         * misc/error.c: Likewise.
19484         * misc/syslog.c: Likewise.
19485         * stdio-common/asprintf.c: Likewise.
19486         * stdio-common/fxprintf.c: Likewise.
19487         * stdio-common/getw.c: Likewise.
19488         * stdio-common/isoc99_fscanf.c: Likewise.
19489         * stdio-common/isoc99_scanf.c: Likewise.
19490         * stdio-common/isoc99_vfscanf.c: Likewise.
19491         * stdio-common/isoc99_vscanf.c: Likewise.
19492         * stdio-common/isoc99_vsscanf.c: Likewise.
19493         * stdio-common/printf-prs.c: Likewise.
19494         * stdio-common/printf_fp.c: Likewise.
19495         * stdio-common/printf_fphex.c: Likewise.
19496         * stdio-common/printf_size.c: Likewise.
19497         * stdio-common/putw.c: Likewise.
19498         * stdio-common/scanf.c: Likewise.
19499         * stdio-common/sprintf.c: Likewise.
19500         * stdio-common/tmpfile.c: Likewise.
19501         * stdio-common/vfprintf.c: Likewise.
19502         * stdio-common/vfscanf.c: Likewise.
19503         * stdlib/strfmon_l.c: Likewise.
19504         * sunrpc/openchild.c: Likewise.
19505         * sunrpc/xdr_stdio.c: Likewise.
19506         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19507         * sysdeps/mach/hurd/tmpfile.c: Likewise.
19509 2012-05-24  Roland McGrath  <roland@hack.frob.com>
19511         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19513         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19514         in the third column, to generate for the shared library an IFUNC
19515         that uses _dl_vdso_vsym.
19516         * Makerules (COMPILE.c, compile-stdin.c): New variables.
19517         * Makeconfig (object-suffixes-noshared): New variable.
19519         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19520         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19521         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19522         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19524         [BZ #14132]
19525         * include/sys/time.h (__gettimeofday): Remove macro.
19526         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19527         * time/gettimeofday.c (__gettimeofday): Remove #undef.
19528         Remove INTDEF.
19529         (__gettimeofday): Add libc_hidden_def.
19530         (gettimeofday): Add libc_hidden_weak.
19531         * sysdeps/mach/gettimeofday.c: Likewise.
19532         * sysdeps/posix/gettimeofday.c: Likewise.
19533         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19534         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19535         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19536         (__gettimeofday_internal): Remove strong_alias.
19537         (__gettimeofday): Add libc_hidden_def.
19538         (gettimeofday): Add libc_hidden_weak.
19539         * sysdeps/unix/syscalls.list (gettimeofday):
19540         Remove __gettimeofday_internal alias.
19542 2012-05-24  Daniel Jacobowitz  <drow@false.org>
19543             H.J. Lu  <hongjiu.lu@intel.com>
19545         [BZ #12495]
19546         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19547         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19548         (largebin_index_32_big): New.
19549         (largebin_index): Use it for 16-byte alignment.
19550         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
19551         correction with front_misalign.
19553 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19555         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19556         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19557         Likewise.
19558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19559         Likewise.
19560         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19561         Likewise.
19562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19563         Likewise.
19564         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19565         Likewise.
19566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19567         Likewise.
19568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19569         Likewise.
19570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19571         Likewise.
19572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19573         Likewise.
19574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19575         Likewise.
19576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19577         Likewise.
19578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19579         Likewise.
19581         * scripts/data/c++-types-x32-linux-gnu.data: New file.
19582         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19584 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19586         [BZ #10846]
19587         [BZ #14036]
19588         * math/libm-test.inc (exp_test): Add test from bug 14036.
19589         (pow_test): Add test from bug 10846.
19591         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19592         and other flags.
19593         (special_function): Do not include flags in test name.
19594         (parse_args): Likewise.
19595         * sysdeps/i386/fpu/libm-test-ulps: Update.
19596         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19597         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19598         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19601         * math/gen-libm-test.pl (%beautify): Add entries for underflow
19602         exceptions.
19603         * math/libm-test.inc ("Philosophy"): Update comment about
19604         exception testing.
19605         (UNDERFLOW_EXCEPTION): New macro.
19606         (UNDERFLOW_EXCEPTION_OK): Likewise.
19607         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19608         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19609         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19610         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19611         (INVALID_EXCEPTION_OK): Update value.
19612         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19613         (OVERFLOW_EXCEPTION_OK): Likewise.
19614         (IGNORE_ZERO_INF_SIGN): Likewise.
19615         (test_exceptions): Handle underflow exceptions.
19616         (acos_test): Update for underflow exception expectations.
19617         (cexp_test): Likewise.
19618         (clog_test): Likewise.
19619         (clog10_test): Likewise.
19620         (csqrt_test): Likewise.
19621         (ctan_test): Likewise.
19622         (ctanh_test): Likewise.
19623         (exp_test): Likewise.
19624         (exp10_test): Likewise.
19625         (exp2_test): Likewise.
19626         (expm1_test): Likewise.
19627         (fma_test): Likewise.
19628         (j0_test): Likewise.
19629         (jn_test): Likewise.
19630         (nexttoward_test): Likewise.
19631         (pow_test): Likewise.
19632         (scalbn_test): Likewise.
19633         (scalbln_test): Likewise.
19634         (tan_test): Likewise.
19635         (y1_test): Likewise.
19636         * sysdeps/i386/fpu/libm-test-ulps: Update.
19637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19639 2012-05-23  David S. Miller  <davem@davemloft.net>
19641         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19642         (__libc_sigaction): Remove unused local variables.
19644 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19646         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19648 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
19650         mktime: avoid signed integer overflow
19651         * time/mktime.c (__mktime_internal): Do not mishandle the case
19652         where diff == INT_MIN.
19654         mktime: simplify computation of average
19655         * time/mktime.c (ranged_convert): Use new time_t_avg function
19656         instead of rolling our own (probably-slower) code.
19658         mktime: do not assume signed right shift propagates sign bit
19659         * time/mktime.c (isdst_differ): New static function.
19660         (__mktime_internal): No need to normalize tm_isdst now.
19661         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19662         tm_isdst values.
19664         mktime: merge another wrapv change from gnulib
19665         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19666         from some compilers.
19668         mktime: remove incorrect attempt at unusual arithmetics
19669         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19670         The code didn't really work on such machines anyway.
19671         (TYPE_MINIMUM): Assume two's complement.
19672         (twos_complement_arithmetic): Verify that long_int and time_t
19673         are two's complement (or unsigned, in the latter case).
19675         mktime: check signed shifts on long_int and time_t, too
19676         * time/mktime.c (SHR): Check that shifts work as desired
19677         on the types long_int and time_t too, as SHR is used on
19678         such types.
19680         mktime: do not assume 'long' is wide enough
19681         * time/mktime.c (verify): Move decl up.
19682         (long_int): New type.
19683         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19684         to remove assumption in the code that 'long' is wide enough to
19685         store year values.  This assumption is not true on x32 and on
19686         some non-glibc platforms.
19688         mktime: merge wrapv change from gnulib
19689         * time/mktime.c (WRAPV): New macro.
19690         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19691         (guess_time_tm, __mktime_internal): Do not assume that signed
19692         integer overflow wraps around; modern compilers generate code
19693         where this assumption is no longer valid.
19695 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19697         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19698         Replace "jmp L(pseudo_end)" with "ret".
19699         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19700         Likewise.
19702 2012-05-23  Andreas Jaeger  <aj@suse.de>
19704         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19705         * sysdeps/unix/sysv/linux/poll.c: Remove file.
19707 2012-05-23  Andreas Jaeger  <aj@suse.de>
19708             Maximilian Attems  <max@stro.at>
19710         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19711         New macros.
19713 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19715         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19716         code so that pseudo_end is just ret and the stack pointer is
19717         correct also for static library in error case.
19719 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
19721         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19722         move to syscalls.list.
19723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19728         * manual/install.texi (Running make install): Do not mention Linux
19729         kernel version for which pt_chown is not needed.
19730         (Linux): Do not mention problems with nscd with 2.0 kernels.
19731         * INSTALL: Regenerated.
19733 2012-05-23  Andreas Jaeger  <aj@suse.de>
19735         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19736         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19737         macro.
19738         * sysdeps/unix/sysv/linux/s390/bits/mman.h
19739         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19740         * sysdeps/unix/sysv/linux/sh/bits/mman.h
19741         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19742         * sysdeps/unix/sysv/linux/i386/bits/mman.h
19743         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19744         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19745         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19746         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19747         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19748         * sysdeps/unix/sysv/linux/bits/in.h
19749         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19751 2012-05-22  Roland McGrath  <roland@hack.frob.com>
19753         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19754         (PREPARE_VERSION): Just use assert instead, it will be elided
19755         under [NDEBUG] anyway.
19757 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19759         * sysdeps/unix/sysv/linux/Makefile: Include
19760         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19761         (sysdep_routines): Remove sysctl.
19762         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19763         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19764         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19765         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19766         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19768 2012-05-22  Andreas Jaeger  <aj@suse.de>
19770         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19771         that pseudo_end is just ret and the stack pointer is correct also
19772         for static library in error case.
19774 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19776         [BZ #14122]
19777         * nss/nsswitch.c (defconfig_entries): New variable.
19778         (__nss_database_lookup): Don't leak defconfig entries.
19779         (nss_parse_service_list): Don't leak on error paths.
19780         (free_database_entries): New function.
19781         (free_defconfig): New function.
19782         (free_mem): Move common code to free_database_entries.
19784 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19786         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19787         Add arch_prctl.
19788         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19790         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19791         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19792         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19793         New macro.
19794         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19795         (INTERNAL_SYSCALL_TYPES): Likewise.
19796         (LOAD_ARGS_TYPES_[1-6]): Likewise.
19797         (LOAD_REGS_TYPES_[1-6]): Likewise.
19798         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19799         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19801 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19803         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19804         copysignl for GLIBC_2_0.
19805         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19806         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19807         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19808         logbl for GLIBC_2_0.
19809         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19810         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19812 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19814         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19815         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19817         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19818         Use "neg %eax".
19820         * time/mktime.c: Update copyright years.
19822 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19824         mktime: merge comment-quoting-style change from gnulib
19825         * time/mktime.c: Quote 'like this' in comments.
19826         The GNU coding standards suggest that we no longer quote `like this',
19827         as "`" and "'" are typically rendered asymmetrically nowadays.
19828         The typical gnulib style is to quote 'like this' when quoting
19829         code, and "like this" when quoting English.
19831         * time/mktime.c (compile-command): Add "-I.".
19833         mktime: merge mktime-internal.h change from gnulib
19834         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19836         mktime: merge time_r change from gnulib
19837         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19839         mktime: merge DEBUG change from gnulib
19840         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19841         case system <time.h> has a #define.
19843         mktime: merge <sys/types.h> change from gnulib
19844         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19845         since <time.t> is now guaranteed to define time_t.
19847         mktime: merge HAVE_CONFIG_H change from gnulib
19848         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19850 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19852         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19853         Use "neg %eax".
19855         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19856         __rlim_t cast.
19857         (struct rusage): Use anonymous union to pad each field to
19858         __syscall_slong_t.
19860 2012-05-21  David S. Miller  <davem@davemloft.net>
19862         * Makefules (o-iterator): Remove .s cases.
19863         (compile-command.s): Delete.
19864         (COMPILE.s): Delete.
19865         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19867 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
19869         * configure.in (libc_cv_predef_stack_protector): Only consider
19870         "foobar" and "__stack_chk_fail" lines in libc_undefs.
19871         * configure: Regenerated.
19873 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19875         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19876         New macro.  Use R*LP on int and pointer.
19877         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19878         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19879         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19880         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19882         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19883         [__WORDSIZE_TIME64_COMPAT32] instead of
19884         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19885         (struct utmp): Likewise.
19886         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19887         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19888         Renamed to ...
19889         (__WORDSIZE_TIME64_COMPAT32): This.
19890         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19891         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19892         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19893         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19894         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19895         (__WORDSIZE_TIME64_COMPAT32): New macro.
19897 2012-05-21  Andreas Jaeger  <aj@suse.de>
19899         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19900         only if [SHARED]. Add prototype for __wcschr_ia32.
19902 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19904         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19905         of %rbp unmolested in the jmp_buf while mangling the low bits.
19906         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19907         unmolested high bits of %rbp while demangling the low bits.
19908         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19910 2012-05-21  Andreas Jaeger  <aj@suse.de>
19912         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19913         * sunrpc/svc_simple.c: Use it for registerrpc.
19914         * sunrpc/xcrypt.c: Use it for passwd2des.
19916         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19918 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19920         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19921         Don't define if [__SYSCALL_WORDSIZE != 32].
19922         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19923         New macro.
19925 2012-05-21  Bruno Haible  <bruno@clisp.org>
19926             Andreas Jaeger  <aj@suse.de>
19928         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19929         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19930         inptr and inend for must_buffer_ch.
19931         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19932         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19933         * stdio-common/Makefile (tests): Remove bug15.
19934         (bug15-ENV): Remove macro.
19935         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19936         anymore.
19938 2012-05-19  Andreas Jaeger  <aj@suse.de>
19939             Roland McGrath  <roland@hack.frob.com>
19941         * manual/contrib.texi: Completely rewritten. It contains now an
19942         alphabetical list of contributors and their contributions.
19944 2012-05-21  Richard Henderson  <rth@twiddle.net>
19946         * misc/getauxval.c (__getauxval): Use unsigned long int.
19947         * misc/sys/auxv.h: Include <sys/cdefs.h>.
19948         (getauxval): Use unsigned long int.
19950 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19952         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19954 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19956         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19957         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19958         __alignof__ (long double).
19960 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19964 2012-05-20  Richard Henderson  <rth@twiddle.net>
19966         * misc/getauxval.c: New file.
19967         * misc/sys/auxv.h: New file.
19968         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19969         (routines): Add getauxval.
19970         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19971         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19972         * elf/dl-sysdep.c (_dl_auxv): Remove.
19973         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19974         * elf/dl-support.c (_dl_auxv): New variable.
19975         (_dl_aux_init): Initialize it.
19976         * manual/startup.texi (Auxiliary Vector): New node.
19977         * sysdeps/generic/bits/hwcap.h: New file.
19978         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19979         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
19980         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19981         * sysdeps/sparc/sysdep.h: ... here.  Include it.
19982         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19983         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19985         Update.
19986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19989         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19995 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19999 2012-05-19  David S. Miller  <davem@davemloft.net>
20001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20003 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20005         [BZ #14123]
20006         * math/s_ccosh.c: Include <float.h>
20007         (__ccosh): Avoid internal overflow calculating sinh and cosh
20008         values before multiplying by sin and cos values.
20009         * math/s_ccoshf.c: Likewise.
20010         * math/s_ccoshl.c: Likewise.
20011         * math/s_csin.c: Likewise.
20012         * math/s_csinf.c: Likewise.
20013         * math/s_csinl.c: Likewise.
20014         * math/s_csinh.c: Likewise.
20015         * math/s_csinhf.c: Likewise.
20016         * math/s_csinhl.c: Likewise.
20017         * math/libm-test.inc (ccos_test): Add more tests.
20018         (ccosh_test): Likewise.
20019         (csin_test): Likewise.
20020         (csinh_test): Likewise.
20021         * sysdeps/i386/fpu/libm-test-ulps: Update.
20022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20024 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20026         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20027         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20029         * sysdeps/x86_64/x32/_itoa.h: Add comment.
20031 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20033         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20034         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20035         * sysdeps/powerpc/soft-fp/Versions: Likewise.
20036         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20037         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20038         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20039         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20040         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20041         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20042         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20043         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20044         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20045         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20046         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20047         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20048         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20049         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20050         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20051         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20052         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20053         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20054         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20055         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20056         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20057         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20058         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20059         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20060         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20061         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20062         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20063         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20065 2012-05-18  Andreas Jaeger  <aj@suse.de>
20067         * csu/.gitignore: Delete.
20069 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20071         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20072         (timex): Use __syscall_slong_t.
20074 2012-05-18  Andreas Jaeger  <aj@suse.de>
20075             Carlos O'Donell  <carlos_odonell@mentor.com>
20077         * manual/install.texi (Configuring and compiling): Update
20078         description about files modified in the source directory.
20079         * INSTALL: Regenerated.
20081 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20083         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20084         value.  Use "or" to set return value to -1.
20085         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20086         negate return value.
20088 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20090         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20091         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20092         failure if the compiler has Graphite support disabled.
20093         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20094         Likewise.
20095         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20096         CFLAGS-memmove.c): Likewise.
20097         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20098         Likewise.
20100 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20102         * sysdeps/x86_64/x32/_itoa.h: New file.
20104         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20105         getdents system call only if kernel and user dirents have the
20106         same d_ino and d_off.
20108         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20109         LLONG_MAX != LONG_MAX.
20110         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20111         (_fitoa_word): Likewise.
20113         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20114         years.
20115         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20116         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20117         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20119         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20120         include <bits/wordsize.h>.  Check __x86_64__ instead of
20121         __WORDSIZE.
20122         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20123         if __x86_64__ is defined.  Use anonymous union on fpstate.
20125         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20126         anonymous union.
20128 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
20130         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20131         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20132         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20133         Refer to _rtld_local_ro instead of _rtld_global_ro.
20134         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20135         Likewise.
20136         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20137         Likewise.
20138         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20139         Likewise.
20140         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20141         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20142         of _rtld_global, and rtld_progname instead of _dl_argv[0].
20144         * sysdeps/powerpc/powerpc32/dl-machine.c
20145         (__elf_machine_runtime_setup) [PROF]: Don't reference
20146         _dl_prof_resolve.
20148 2012-05-18  Andreas Jaeger  <aj@suse.de>
20150         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20151         function only available for GCCs before 3.4 since GCC 3.4
20152         introduced a builtin.
20153         (lrint): Likewise.
20154         (llrintf): Likewise.
20155         (llrint): Likewise.
20156         (fmaxf): Likewise.
20157         (fmax): Likewise.
20158         (fminf): Likewise.
20159         (fmin): Likewise.
20160         (rint): Likewise.
20161         (rintf): Likewise.
20162         (nearbyint): Likewise.
20163         (nearbyintf): Likewise.
20164         (ceil): Likewise.
20165         (ceilf): Likewise.
20166         (floor): Likewise.
20167         (floorf): Likewise.
20169 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20171         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20172         on both fields and cast pointer to __syscall_ulong_t.
20174         * bits/types.h (__fsword_t): New type.
20175         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20176         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20177         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20178         (__FSWORD_T_TYPE): Likewise.
20179         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20180         (__FSWORD_T_TYPE): Likewise.
20181         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20182         (__FSWORD_T_TYPE): Likewise.
20183         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20184         (__FSWORD_T_TYPE): Likewise.
20185         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20186         __SWORD_TYPE with __fsword_t.
20187         (statfs64): Likewise.
20189 2012-05-17  David S. Miller  <davem@davemloft.net>
20191         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20193 2012-05-17  Andreas Jaeger  <aj@suse.de>
20195         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20196         warning.
20198 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20200         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20202 2012-05-17  Andreas Jaeger  <aj@suse.de>
20204         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20205         when it is used.
20207 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20209         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20211 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20213         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20214         * sysdeps/x86_64/tst-mallocalign1.c: New file.
20216 2012-05-17  Andreas Jaeger  <aj@suse.de>
20217             Carlos O'Donell  <carlos_odonell@mentor.com>
20219         [BZ #14059]
20220         * sysdeps/x86_64/multiarch/init-arch.h
20221         (bit_YMM_Usable): Rename to...
20222         (bit_AVX_Usable): ... this.
20223         (bit_FMA4_Usable): New macro.
20224         (bit_XMM_state): New macro.
20225         (bit_YMM_state): New macro.
20226         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20227         [__ASSEMBLER__] (index_AVX_Usable): ... this.
20228         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20229         (CPUID_OSXSAVE): New macro.
20230         (CPUID_AVX): New macro.
20231         (CPUID_FMA4): New macro.
20232         (index_YMM_Usable): Rename to...
20233         (index_AVX_Usable): ... this.
20234         (HAS_AVX): Use HAS_ARCH_FEATURE.
20235         (HAS_FMA4): Likewise.
20236         (HAS_YMM_USABLE): Remove.
20237         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20238         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20239         are present.
20240         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20241         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20242         * sysdeps/x86_64/multiarch/Makefile: Likewise.
20243         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20244         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20246 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20248         * math/libm-test.c: Support platforms without multiple rounding modes.
20249         * math/bug-nextafter.c: Support platforms without FP exceptions.
20250         * math/bug-nexttoward.c: Likewise.
20251         * math/test-fenv.c: Likewise.
20252         * math/test-misc.c: Likewise.
20253         * stdlib/bug-getcontext.c: Likewise.
20255 2012-05-17  Andreas Jaeger  <aj@suse.de>
20257         * manual/examples/search.c (critter_cmp): Change signature to
20258         avoid warnings.
20259         * manual/string.texi (Collation Functions): Likewise.
20261 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20263         * bits/types.h: Fold copyright years.
20264         * bits/typesizes.h: Likewise.
20265         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20266         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20267         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20268         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20269         * time/time.h: Likewise.
20271 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
20273         [BZ #208]
20274         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20275         in instead of returning them.  Return void.
20276         (__libc_mallinfo): Accumulate over all arenas.
20277         (__malloc_stats): Adjust for change in int_mallinfo interface.
20279 2012-05-16  Roland McGrath  <roland@hack.frob.com>
20281         [BZ #10375]
20282         * configure.in (NM): Add AC_CHECK_TOOL for it.
20283         (libc_extra_cflags): New substituted variable.
20284         Check for -fstack-protector being used implicitly.
20285         * configure: Regenerated.
20286         * config.make.in (config-extra-cflags): New variable,
20287         gets @libc_extra_cflags@.
20288         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20290         [BZ #10375]
20291         * configure.in: Check for _FORTIFY_SOURCE being predefined.
20292         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20293         * configure: Regenerated.
20294         * config.make.in (CPPUNDEFS): New substituted variable.
20295         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20296         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20297         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20299 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20301         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20302         (mq_attr): Use __syscall_slong_t.
20304 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20306         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20307         Check __x86_64__ instead of __WORDSIZE.
20308         (_STAT_VER_LINUX): Likewise.
20309         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
20310         __syscall_ulong_t and __syscall_slong_t.
20311         (stat64): Likewise.
20313 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20315         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20317 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20319         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20321 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20323         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20324         __syscall_ulong_t.
20326         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20327         include <bits/wordsize.h>.  Check __x86_64__ instead of
20328         __WORDSIZE.
20329         (greg_t): Use "__extension__ long long int" if __x86_64__ is
20330         defined.
20331         (mcontext_t): Replace "unsigned long" with "unsigned long long".
20333         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20334         include <bits/wordsize.h>.  Check __x86_64__ instead of
20335         __WORDSIZE.
20336         (user_regs_struct): Use "__extension__ unsigned long long"
20337         instead of "unsigned long" if __x86_64__ is defined.
20338         (user): Likewise.  Pad after pointer field if __ILP32__ is
20339         defined.
20341 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
20343         * configure.in (makeinfo): Require version 4.5 or later.  Allow
20344         versions 5 to 9.
20345         * configure: Regenerated.
20346         * manual/install.texi (texinfo): Increase version requirement to
20347         4.5 or later.
20348         * INSTALL: Regenerated.
20350         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20352 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20354         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20356         * sysdeps/x86_64/x32/ffs.c: New file.
20358         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20359         __syscall_ulong_t.
20360         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20361         defined.  Use __syscall_ulong_t.
20362         (shminfo): Use __syscall_ulong_t.
20363         (shm_info): Likewise.
20365         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20366         __syscall_ulong_t.
20368         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20369         <bits/wordsize.h>.
20370         (msgqnum_t): Use __syscall_ulong_t.
20371         (msglen_t): Likewise.
20372         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
20373         __syscall_ulong_t.
20375         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20376         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20378         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20380         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20381         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20383         * sysvipc/sys/msg.h (msgbuf): Replace long int with
20384         __syscall_slong_t.
20386         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20387         include <bits/wordsize.h>.  Check __x86_64__ instead of
20388         __WORDSIZE.
20390         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20391         "unsigned long long int" if __x86_64__ is defined.
20392         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20394         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20395         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20396         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20398         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20399         <stdint.h>.
20400         (GET_PC): Cast to uintptr_t first.
20401         (GET_FRAME): Likewise.
20402         (GET_STACK): Likewise.
20404         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20405         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20406         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20407         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20408         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20409         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20410         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20411         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20412         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20413         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20414         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20415         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20416         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20417         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20418         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20419         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20420         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20421         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20422         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20423         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20424         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20425         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20426         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20427         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20428         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20429         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20430         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20431         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20432         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20434 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
20436         * Makerules (+depfiles): Also collect depfiles from .oS in
20437         $(extra-objs).
20438         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20439         .oS, $(libnldbl-routines)).
20441         * Makerules (native-compile-mkdep-flags): Define.
20442         * sunrpc/Makefile (extra-objs): Add $(addprefix
20443         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20444         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20445         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
20446         calling $(make-target-directory).
20448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20450         * bits/types.h (__snseconds_t): Removed.
20451         * time/time.h (struct timespec): Replace __snseconds_t with
20452         __syscall_slong_t.
20453         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20454         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20455         Likewise.
20456         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20457         (__SNSECONDS_T_TYPE): Likewise.
20458         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20459         (__SNSECONDS_T_TYPE): Likewise.
20460         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20461         (__SNSECONDS_T_TYPE): Likewise.
20463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20465         * sysdeps/mach/hurd/bits/typesizes.h
20466         (__SYSCALL_SLONG_TYPE): New macro.
20467         (__SYSCALL_ULONG_TYPE): Likewise.
20469 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20471         * bits/types.h (__syscall_slong_t): New type.
20472         (__syscall_ulong_t): Likewise.
20474         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20475         (__SYSCALL_ULONG_TYPE): Likewise.
20476         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20477         (__SYSCALL_SLONG_TYPE): Likewise.
20478         (__SYSCALL_ULONG_TYPE): Likewise.
20479         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20480         (__SYSCALL_SLONG_TYPE): Likewise.
20481         (__SYSCALL_ULONG_TYPE): Likewise.
20482         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20483         (__SYSCALL_SLONG_TYPE): Likewise.
20484         (__SYSCALL_ULONG_TYPE): Likewise.
20486 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20488         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20489         Add sigaltstack-offsets.sym.
20490         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20491         <sigaltstack-offsets.h>.
20492         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
20493         longjmp_msg pointer.
20494         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
20495         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20496         signal stack.
20497         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20499 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20501         * elf/stackguard-macros.h: Remove file.
20502         * sysdeps/generic/stackguard-macros.h: New file.
20503         * sysdeps/i386/stackguard-macros.h: Likewise.
20504         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20505         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20506         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20507         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20508         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20509         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20510         * sysdeps/x86_64/stackguard-macros.h: Likewise.
20511         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20512         <elf/stackguard-macros.h>.
20514         [BZ #14109]
20515         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20516         __aligned__ in attribute.
20517         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20518         (gregset_t): Likewise.
20520 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20522         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20523         * sysdeps/x86_64/64/Implies-after: Here.  New file.
20524         * sysdeps/x86_64/x32/Implies-after: New file.
20526 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20528         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20529         and access return value for _dl_profile_fixup.  Use R10_LP to
20530         load frame size.
20532 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20534         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20536 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20538         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20539         * sysdeps/x86_64/x32/sysdep.h: New file.
20541 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20543         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20544         * sysdeps/x86_64/setjmp.S: Likewise.
20546 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20548         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20549         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20550         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20551         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20552         remove unused global constant.
20554 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
20556         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20557         include of <not-cancel.h>.
20559 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20561         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20563 2012-05-15  Jeff Law  <law@redhat.com>
20564             Andreas Jaeger  <aj@suse.de>
20566         [BZ #13594]
20567         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20568         out from...
20569         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20570         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20571         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20572         code changing __hst_map_handle.map.
20574 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20576         * configure.in (sysnames): Look for Implies-before and Implies-after
20577         files.
20578         * configure: Regenerated.
20580 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20582         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20583         8-byte data alignment with LP_SIZE alignment.
20585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20587         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20588         into R10_LP.
20590 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20592         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20594 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20596         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20597         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20598         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20599         Likewise.
20600         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20602 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20604         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20605         (stackinfo_sub_sp): Likewise.
20607 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20609         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20610         RAX_LP.
20612 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20614         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20615         into R*_LP.
20617 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20619         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20620         sizes into R*_LP.
20622 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20624         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20626 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20628         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20629         into R11_LP and load __x86_64_shared_cache_size_half into
20630         R8_LP.
20632 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20634         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20635         R8_LP.
20637 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20639         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20640         logb for POWER7.
20641         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20642         logbf for POWER7.
20643         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20644         logbl for POWER7.
20645         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20646         powerpc32/power7/fpu/s_logb.c via #include.
20647         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20648         powerpc32/power7/fpu/s_logbf.c via #include.
20649         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20650         powerpc32/power7/fpu/s_logbl.c via #include.
20652 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20654         * README.libm: Remove file.
20656 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20658         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20659         count for x32.  Use R*_LP and omit operand-size suffix.
20661 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20663         * shlib-versions: Move x86_64-.*-linux.* entries to ...
20664         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
20665         * sysdeps/x86_64/x32/shlib-versions: New file.
20667 2012-05-14  Roland McGrath  <roland@hack.frob.com>
20669         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20670         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20671         Use _dl_fatal_printf instead.
20673 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20675         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20676         set if not set by the user.  Do not allow for being unset.
20677         * sysdeps/unix/sysv/linux/configure: Regenerated.
20679 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20681         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20682         the `q' suffix from lea and replace .quad with ASM_ADDR.
20684 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20686         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20687         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
20688         instead of $17.
20689         (PTR_DEMANGLE): Likewise.
20691 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20693         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20694         (LP_OP): Likewise.
20695         (ASM_ADDR): Likewise.
20696         (RAX_LP): Likewise.
20697         (RBP_LP): Likewise.
20698         (RBX_LP): Likewise.
20699         (RCX_LP): Likewise.
20700         (RDI_LP): Likewise.
20701         (RSI_LP): Likewise.
20702         (RSP_LP): Likewise.
20703         (R8_LP): Likewise.
20704         (R9_LP): Likewise.
20705         (R10_LP): Likewise.
20706         (R10_LP): Likewise.
20707         (R11_LP): Likewise.
20708         (R12_LP): Likewise.
20709         (R13_LP): Likewise.
20710         (R14_LP): Likewise.
20711         (R15_LP): Likewise.
20713 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20715         * sysdeps/x86_64/x32/dl-machine.h: New file.
20717 2012-05-14  Andreas Jaeger  <aj@suse.de>
20719         * manual/Makefile (subdir): Remove export of subdir.
20720         (all): Remove target.
20721         (.PHONY): Remove all from list.
20722         (mkinstalldirs): Remove.
20723         (.PHONY): Remove installdirs from list.
20724         ($(inst_infodir)/libc.info): Use make-target-directory.
20725         (installdirs): Remove.
20726         (subdir_%): Remove.
20727         (glibc-targets): Remove.
20728         (lib): Remove.
20729         (stubs): Remove.
20730         ($(objpfx)stubs ../po/manual.pot): Remove.
20731         ($(objpfx)stamp%): Remove.
20732         (make-target-directory): Remove.
20733         (subdir_install): Remove.
20734         (routines): Remove.
20735         (aux): Remove.
20736         (sources): Remove.
20737         (objects): Remove.
20738         (headers): Remove.
20740         [BZ #13750]
20741         * manual/.gitignore: Remove, it's not needed anymore.
20742         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20743         all files in it.
20744         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20745         directory.
20746         (texis): Renamed to $(objpfx)texis.
20747         (texis-path): New, contains path to generated files.
20748         (chapters.%): Use texis-path for complete path, add extra argument
20749         libc-texinfo.sh.
20750         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20751         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20752         (summary,texi, stamp-summary): Use complete path of
20753         files. Generate files in build dir.
20754         (dir-add.texi): Build in build dir.
20755         (libm-err.texi,stamp-libm-err): Likewise.
20756         (version.texi, stamp-version): Likewise.
20757         (.%c.texi): Likewise.
20758         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20759         (mostlyclean): Remove target.
20760         (realclean): Remove target.
20761         (generated): Add new variable with contents from mostlyclean and
20762         realclean, remove entries duplicated in common-mostlyclean, add
20763         stamp-libm-err and stamp-version.
20764         (generated-dirs): Add libc directory.
20765         ($(inst_infodir)/libc.info): Install files from build dir.
20767         * manual/install.texi (Configuring and compiling): Adjust since
20768         the info files are not part of the tar ball anymore.
20770 2012-05-14  Andreas Jaeger  <aj@suse.de>
20772         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20773         variable.
20775 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20777         [BZ #13717]
20778         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20779         to 2.2.0 where earlier.
20780         * sysdeps/unix/sysv/linux/configure: Regenerated.
20781         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20782         Remove conditional code.
20783         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20784         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20785         Remove conditional code.
20786         [!__NR_lchown]: Likewise.
20787         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20788         [__NR_lchown]: Likewise.
20789         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20790         comment referencing __ASSUME_LCHOWN_SYSCALL.
20791         * sysdeps/unix/sysv/linux/i386/sigaction.c
20792         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20793         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20794         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20795         Remove conditional code.
20796         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20797         (__protocol_available): Remove #if 0 code.
20798         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20799         conditional code.
20800         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20801         * sysdeps/unix/sysv/linux/kernel-features.h
20802         (__ASSUME_GETCWD_SYSCALL): Don't define.
20803         (__ASSUME_REALTIME_SIGNALS): Likewise.
20804         (__ASSUME_PREAD_SYSCALL): Likewise.
20805         (__ASSUME_PWRITE_SYSCALL): Likewise.
20806         (__ASSUME_POLL_SYSCALL): Likewise.
20807         (__ASSUME_LCHOWN_SYSCALL): Likewise.
20808         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20809         non-SPARC.
20810         (__ASSUME_SIOCGIFNAME): Don't define.
20811         (__ASSUME_MSG_NOSIGNAL): Likewise.
20812         (__ASSUME_SENDFILE): Define unconditionally.
20813         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20814         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20815         conditional code.
20816         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20817         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20818         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20819         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20820         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20821         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20822         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20824         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20825         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20827         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20828         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20830         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20831         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20833         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20834         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20836         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20837         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20839         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20840         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20842         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20843         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20845         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20846         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20847         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20848         Remove conditional code.
20849         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20850         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20851         Remove conditional code.
20852         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20853         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20854         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20855         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20856         Remove conditional code.
20857         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20858         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20859         Remove conditional code.
20860         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20861         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20862         Remove conditional code.
20863         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20864         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20865         Remove conditional code.
20866         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20867         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20868         Remove conditional code.
20869         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20870         * sysdeps/unix/sysv/linux/sh/pwrite64.c
20871         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20872         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20873         * sysdeps/unix/sysv/linux/sigaction.c
20874         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20875         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20876         * sysdeps/unix/sysv/linux/sigpending.c
20877         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20878         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20879         * sysdeps/unix/sysv/linux/sigprocmask.c
20880         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20881         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20882         * sysdeps/unix/sysv/linux/sigsuspend.c
20883         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20884         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20885         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20886         (__libc_missing_rt_sigs): Remove.
20887         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20888         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20889         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20890         Remove conditional code.
20891         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20892         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20893         return 1.
20894         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20895         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20896         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20897         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20899 2012-05-14  Andreas Jaeger  <aj@suse.de>
20901         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20902         it's not used in glibc.
20903         (__coshm1): Likewise.
20904         (__acosh1p): Likewise.
20905         (__sgn): Likewise.
20907         * manual/string.texi (Copying and Concatenation): Add missing
20908         variable in concat example.
20909         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20911 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20913         [BZ #14103]
20914         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20915         __builtin_clzl with __builtin_clzll.
20917 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20919         [BZ #14104]
20920         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20921         libc_freeres_ptr.
20923 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20925         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20926         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20927         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20928         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20930 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
20932         * NEWS: Update ia64 info.
20934 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
20936         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20937         used as bcopy.
20939 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
20941         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20942         * sysdeps/unix/syscalls.list (dup3): Likewise.
20943         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20944         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20946 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20948         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20949         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20951 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20953         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20954         thread pointer.
20955         (TLS_IE): Use mov/add instead of movq/addq to load thread
20956         pointer.
20957         (TLS_GD_PREFIX): New.
20958         (TLS_GD): Use it.
20960 2012-05-11  David S. Miller  <davem@davemloft.net>
20962         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20963         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20964         (_FPU_SETCW): Likewise.
20966 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20968         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20969         is 32-byte aligned.
20971 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
20973         [BZ #11837]
20974         * iconvdata/gb18030.c: Update tables.
20975         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
20976         characters specially.
20977         (BODY for TO_LOOP): Add encoding of missing ranges.
20979 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
20981         [BZ #13673]
20982         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20983         * sysdeps/mach/hurd/dup3.c: Likewise.
20984         * sysdeps/mach/hurd/readlinkat.c: Likewise.
20985         * sysdeps/powerpc/memmove.c:: Likewise.
20987 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20989         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20990         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20992 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20994         * elf/elf.h (R_X86_64_RELATIVE64): New.
20995         (R_X86_64_NUM): Updated.
20996         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20997         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
20998         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20999         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21000         tst-quad1pie tst-quad2pie
21001         (modules-names): Add tst-quadmod1 tst-quadmod2.
21002         ($(objpfx)tst-quad1): New dependency.
21003         ($(objpfx)tst-quad2): Likewise.
21004         ($(objpfx)tst-quad1pie): Likewise.
21005         ($(objpfx)tst-quad2pie): Likewise.
21006         * sysdeps/x86_64/tst-quad1.c: New file.
21007         * sysdeps/x86_64/tst-quad1pie.c: New file.
21008         * sysdeps/x86_64/tst-quad2.c: Likewise.
21009         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21010         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21011         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21012         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21013         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21015 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21017         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21018         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21019         * streams/stropts.h (t_scalar_t): Define type.
21021         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21022         (_PATH_PRESERVE): Set to "/var/lib".
21023         (_PATH_RWHODIR): Set to "/var/spool/rwho".
21025         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21026         instead of int.
21028         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21029         if __dir_mkfile succeeded.
21031         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21032         checking for _hurd_dtablesize.  Unlock it right after having
21033         finished _hurd_dtable allocation.
21035 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21037         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21038         * sysdeps/mach/hurd/configure: Regenerated.
21039         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21040         special-casing to...
21041         * sysdeps/gnu/configure.in: ... this new file.
21042         * sysdeps/unix/sysv/linux/configure: Regenerated.
21043         * sysdeps/gnu/configure: New generated file.
21045         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21046         for Linux: use nsec instead of usec, as well as:
21047         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21048         members of type struct timespec.
21049         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21050         New macros.
21051         (struct stat64): Likewise.
21052         (_STATBUF_ST_NSEC): New macro.
21053         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21055         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21056         __strtoul_internal rather than strtoul.
21058 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21060         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21061         and reject them.
21063 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21065         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21066         which preserves existing values.
21067         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21069 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21071         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21072         TIMEOUT values.  Return EINVAL for NFDS values either negative or
21073         greater than FD_SETSIZE.
21075 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21077         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21078         allocated, call __vm_protect to finish enabling the existing space, and
21079         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21080         allocate the remainder.
21082 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21084         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21085         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
21087 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21089         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21090         sysdeps/mach/hurd/readlink.c.
21092         * posix/tst-sysconf.c (posix_options): Only use
21093         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21094         _POSIX_SYNCHRONIZED_IO when they are defined
21095         * sysdeps/mach/hurd/bits/posix_opt.h:
21096         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21097         (_XOPEN_REALTIME): Undefine macro.
21098         (_XOPEN_REALTIME_THREADS): Undefine macro.
21099         (_XOPEN_SHM): Undefine macro.
21100         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21101         macro to -1.
21102         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21103         macro to -1.
21104         (_POSIX_ASYNC_IO): Undefine macro.
21105         (_POSIX_PRIORITIZED_IO): Undefine macro.
21106         (_POSIX_SPIN_LOCKS): Define macro to -1.
21108         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21109         SA_NODEFER, SA_RESETHAND.
21110         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21111         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21112         F_DUPFD_CLOEXEC.
21114 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21116         * elf/Makefile (pldd-modules): Define unconditionally.
21118 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21120         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21122 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21124         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21125         Return ENOENT when name is empty.
21126         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21128 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21130         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21132         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21134 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21136         Fix mlock in all cases except non-readable pages.
21137         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21138         instead of VM_PROT_ALL as parameter to __vm_wire function.
21140         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21141         (__mkdir): When path is `/', just fail with EEXIST.
21142         * sysdeps/mach/hurd/mkdirat.c: Likewise.
21144 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21146         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21147         <sys/uio.h> (for writev).
21148         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21149         and <sys/param.h> (for MIN).
21151 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21153         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21154         REQUESTED_TIME.  Properly set the remaining time and return EINTR
21155         if interrupted.
21157 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21159         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21160         Depend on against $(link-rpcuserlibs).
21162 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21164         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21165         (__libc_stack_end): Do not use attribute_relro.
21166         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21167         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21168         to libthread-provided value.
21169         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21170         attribute_relro.
21172 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21174         [BZ #3748]
21175         * bits/libc-lock.h (__libc_once_get): New macro.
21176         * sysdeps/mach/bits/libc-lock.h: Likewise.
21177         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21178         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21179         instead of using implementation details.
21181         * libio/fileops.c: Unconditionally include <kernel-features.h>.
21182         * libio/freopen.c: Likewise.
21183         * libio/freopen64.c: Likewise.
21184         * misc/syslog.c: Likewise.
21185         * nscd/connections.c: Likewise.
21186         * nscd/netgroupcache.c: Likewise.
21187         * sysdeps/posix/getcwd.c: Likewise.
21189 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21191         * math/w_ilogbf.c: Add #include <limits.h>.
21193 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21195         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21196         path instead of returning without unlocking.
21198         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21199         immediate-write ioctls.
21200         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21202 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21204         * sysdeps/mach/hurd/i386/init-first.c (init): Use
21205         __builtin_frame_address instead of making assumptions about the
21206         location of the return address relative to DATA.  Force early load of
21207         the return address.
21208         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21209         __builtin_frame_address.
21211         dup3 for GNU Hurd.
21212         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21213         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
21214         implement dup3 and do some further code clean-ups.
21215         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21216         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21218 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21220         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21222         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21223         HURD_CRITICAL_END around holding _hurd_dtable_lock.
21224         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21225         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21226         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21227         d->port.lock.
21229         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21230         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
21231         when handler == SIG_ERR, not when handler != SIG_ERR.
21233 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21235         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21236         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21237         definitions.
21239         accept4 for GNU Hurd.
21240         * include/sys/socket.h (__libc_accept4): New prototype.
21241         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
21242         to implement __libc_accept4.
21243         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21244         __libc_accept4.
21245         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21247         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21248         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21249         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21250         signal-defines.sym.
21252 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21254         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21256 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21258         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21259         assertion on O_CLOEXEC flag.
21260         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21261         * hurd/intern-fd.c: Likewise.
21262         * hurd/port2fd.c: Likewise.
21264 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21266         [BZ #3906]
21267         * bits/in.h (IPV6_PKTINFO): Define new macro.
21268         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21270 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21272         [BZ #13954]
21273         [BZ #13955]
21274         [BZ #13956]
21275         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21276         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21277         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21278         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21279         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21280         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21281         * math/libm-test.inc (logb_test) : Additional logb tests.
21283 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
21284             Andreas Jaeger  <aj@suse.de>
21286         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21287         * configure: Regenerated.
21288         * config.h.in (LINK_OBSOLETE_RPC): New macro.
21289         * config.make.in (link-obsolete-rpc): New substituted variable.
21290         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21291         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21292         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21293         (shared-only-routines): Don't set it under [link-obsolete-rpc],
21294         so that libc.a contains the symbols.
21295         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21296         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21297         * sunrpc/auth_none.c: Likewise.
21298         * sunrpc/auth_unix.c: Likewise.
21299         * sunrpc/authdes_prot.c: Likewise.
21300         * sunrpc/authuxprot.c: Likewise.
21301         * sunrpc/clnt_gen.c: Likewise.
21302         * sunrpc/clnt_perr.c: Likewise.
21303         * sunrpc/clnt_raw.c: Likewise.
21304         * sunrpc/clnt_simp.c: Likewise.
21305         * sunrpc/clnt_tcp.c: Likewise.
21306         * sunrpc/clnt_udp.c: Likewise.
21307         * sunrpc/clnt_unix.c: Likewise.
21308         * sunrpc/des_crypt.c: Likewise.
21309         * sunrpc/des_soft.c: Likewise.
21310         * sunrpc/get_myaddr.c: Likewise.
21311         * sunrpc/key_call.c: Likewise.
21312         * sunrpc/key_prot.c: Likewise.
21313         * sunrpc/netname.c: Likewise.
21314         * sunrpc/pm_getmaps.c: Likewise.
21315         * sunrpc/pm_getport.c: Likewise.
21316         * sunrpc/pmap_clnt.c: Likewise.
21317         * sunrpc/pmap_prot.c: Likewise.
21318         * sunrpc/pmap_prot2.c: Likewise.
21319         * sunrpc/pmap_rmt.c: Likewise.
21320         * sunrpc/publickey.c: Likewise.
21321         * sunrpc/rpc_cmsg.c: Likewise.
21322         * sunrpc/rpc_common.c: Likewise.
21323         * sunrpc/rpc_dtable.c: Likewise.
21324         * sunrpc/rpc_prot.c: Likewise.
21325         * sunrpc/rpc_thread.c: Likewise.
21326         * sunrpc/rtime.c: Likewise.
21327         * sunrpc/svc.c: Likewise.
21328         * sunrpc/svc_auth.c: Likewise.
21329         * sunrpc/svc_raw.c: Likewise.
21330         * sunrpc/svc_run.c: Likewise.
21331         * sunrpc/svc_tcp.c: Likewise.
21332         * sunrpc/svc_udp.c: Likewise.
21333         * sunrpc/svc_unix.c: Likewise.
21334         * sunrpc/svcauth_des.c: Likewise.
21335         * sunrpc/xcrypt.c: Likewise.
21336         * sunrpc/xdr.c: Likewise.
21337         * sunrpc/xdr_array.c: Likewise.
21338         * sunrpc/xdr_float.c: Likewise.
21339         * sunrpc/xdr_intXX_t.c: Likewise.
21340         * sunrpc/xdr_mem.c: Likewise.
21341         * sunrpc/xdr_rec.c: Likewise.
21342         * sunrpc/xdr_ref.c: Likewise.
21343         * sunrpc/xdr_sizeof.c: Likewise.
21344         * sunrpc/xdr_stdio.c: Likewise.
21346 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21348         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21349         change.  Update copyright years.
21351 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21353         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21355 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
21356             Joseph Myers  <joseph@codesourcery.com>
21357             Paul Pluzhnikov  <ppluzhnikov@google.com>
21359         [BZ #14012]
21360         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21361         requiring rpcgen.
21362         [cross-compiling] (extra-libs): Likewise.
21363         [cross-compiling] (extra-libs-others): Likewise.
21364         [cross-compiling] (librpcsvc-routines): Likewise.
21365         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21366         [cross-compiling] (omit-deps): Likewise.
21367         (sunrpc-CPPFLAGS): New variable.
21368         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21369         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21370         (cross-rpcgen-objs): New variable.
21371         (extra-objs): Append $(cross-rpcgen-objs).
21372         ($(cross-rpcgen-objs)): New rule.
21373         ($(objpfx)cross-rpcgen): Likewise.
21374         (rpcgen-cmd): Define to use $(built-program-file).  Expand
21375         comment.
21376         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21377         ($(objpfx)x%.stmp): Likewise.
21378         * sunrpc/proto.h [IS_IN_build] (_): Define.
21379         [IS_IN_build] (_libc_intl_domainname): Likewise.
21381 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21383         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21384         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21385         and R_X86_64_TPOFF64.
21387 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21389         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21390         sysdeps/unix/sysv/syscalls.list.
21391         (stime): Likewise.
21392         (utime): Likewise.
21393         * sysdeps/unix/sysv/syscalls.list: Remove file.
21395 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
21397         [BZ #3440]
21398         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21399         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21400         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21401         (__LC_IDENTIFICATION): Make these macros useful in #if
21402         expressions, as required by C99.
21404 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
21406         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21407         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
21408         after this.
21410 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
21412         * stdlib/longlong.h: Updated from GCC.
21414 2012-05-09  Andreas Jaeger  <aj@suse.de>
21416         * nscd/nscd.c (run_modes): Make named enum, reorder so that
21417         default is first entry.
21418         (run_mode): Set type.
21419         (main): Remove informal message about syslog.
21420         (options): Fix typo.
21422         [BZ #14053]
21423         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21424         to asm.
21425         (lrint): Likewise.
21426         (llrintf): Likewise.
21427         (llrint): Likewise.
21428         (rint): Likewise.
21429         (rintf): Likewise.
21430         (nearbyint): Likewise.
21431         (nearbyintf): Likewise.
21433 2012-05-09  Andreas Jaeger  <aj@suse.de>
21434             Pedro Alves  <palves@redhat.com>
21436         * nscd/nscd.c (run_mode): Use enum.
21437         (main): Cleanup coding style issue.
21439 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
21440             Andreas Jaeger  <aj@suse.de>
21442         * nscd/nscd.c (go_background): Replaced with...
21443         (run_mode): ... this.
21444         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21445         (options): Add -F --foreground.
21446         (main): Implement it.
21447         (parse_opt): Parse it.
21449 2012-05-09  Andreas Jaeger  <aj@suse.de>
21451         [BZ #14083]
21452         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21453         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21454         -Wconversion warning.
21455         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21456         Likewise.
21458 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
21460         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
21461         == 0.
21462         (LC_ALL): Use macro-int-constant.
21463         (LC_COLLATE): Likewise.
21464         (LC_CTYPE): Likewise.
21465         (LC_MESSAGES): Likewise.
21466         (LC_MONETARY): Likewise.
21467         (LC_NUMERIC): Likewise.
21468         (LC_TIME): Likewise.
21469         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21470         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21471         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21472         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21473         Specify type.
21474         [C99-based standards] (float_t): Expect type.
21475         [C99-based standards] (double_t): Expect type.
21476         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
21477         type.
21478         [C99-based standards] (HUGE_VALL): Likewise.
21479         [C99-based standards] (INFINITY): Likewise.
21480         [C99-based standards] (NAN): Likewise.
21481         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21482         [C99-based standards] (FP_NAN): Likewise.
21483         [C99-based standards] (FP_NORMAL): Likewise.
21484         [C99-based standards] (FP_SUBNORMAL): Likewise.
21485         [C99-based standards] (FP_ZERO): Likewise.
21486         [C99-based standards] (FP_FAST_FMA): Use
21487         optional-macro-int-constant.  Specify type.  Require == 1.
21488         [C99-based standards] (FP_FAST_FMAF): Likewise.
21489         [C99-based standards] (FP_FAST_FMAL): Likewise.
21490         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21491         [C99-based standards] (FP_ILOGBNAN): Likewise.
21492         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21493         Specify type.
21494         [C99-based standards] (MATH_ERREXCEPT): Likewise.
21495         [C99-based standards] (math_errhandling): Specify type.
21496         [ISO99 || ISO11] (signgam): Do not allow.
21497         [non-C99-based standards] (copysignf): Do not allow.
21498         [non-C99-based standards] (exp2f): Likewise.
21499         [non-C99-based standards] (log2f): Likewise.
21500         [non-C99-based standards] (modff): Allow.
21501         [non-C99-based standards] (erff): Do not allow.
21502         [non-C99-based standards] (erfcf): Likewise.
21503         [non-C99-based standards] (gammaf): Likewise.
21504         [non-C99-based standards] (hypotf): Likewise.
21505         [non-C99-based standards] (j0f): Likewise.
21506         [non-C99-based standards] (j1f): Likewise.
21507         [non-C99-based standards] (jnf): Likewise.
21508         [non-C99-based standards] (lgammaf): Likewise.
21509         [non-C99-based standards] (tgammaf): Likewise.
21510         [non-C99-based standards] (y0f): Likewise.
21511         [non-C99-based standards] (y1f): Likewise.
21512         [non-C99-based standards] (ynf): Likewise.
21513         [non-C99-based standards] (isnanf): Likewise.
21514         [non-C99-based standards] (acoshf): Likewise.
21515         [non-C99-based standards] (asinhf): Likewise.
21516         [non-C99-based standards] (atanhf): Likewise.
21517         [non-C99-based standards] (cbrtf): Likewise.
21518         [non-C99-based standards] (expm1f): Likewise.
21519         [non-C99-based standards] (ilogbf): Likewise.
21520         [non-C99-based standards] (log1pf): Likewise.
21521         [non-C99-based standards] (logbf): Likewise.
21522         [non-C99-based standards] (nextafterf): Likewise.
21523         [non-C99-based standards] (remainderf): Likewise.
21524         [non-C99-based standards] (rintf): Likewise.
21525         [non-C99-based standards] (scalbf): Likewise.
21526         [non-C99-based standards] (copysignl): Likewise.
21527         [non-C99-based standards] (exp2l): Likewise.
21528         [non-C99-based standards] (log2l): Likewise.
21529         [non-C99-based standards] (modfl): Allow.
21530         [non-C99-based standards] (erfl): Do not allow.
21531         [non-C99-based standards] (erfcl): Likewise.
21532         [non-C99-based standards] (gammal): Likewise.
21533         [non-C99-based standards] (hypotl): Likewise.
21534         [non-C99-based standards] (j0l): Likewise.
21535         [non-C99-based standards] (j1l): Likewise.
21536         [non-C99-based standards] (jnl): Likewise.
21537         [non-C99-based standards] (lgammal): Likewise.
21538         [non-C99-based standards] (tgammal): Likewise.
21539         [non-C99-based standards] (y0l): Likewise.
21540         [non-C99-based standards] (y1l): Likewise.
21541         [non-C99-based standards] (ynl): Likewise.
21542         [non-C99-based standards] (isnanl): Likewise.
21543         [non-C99-based standards] (acoshl): Likewise.
21544         [non-C99-based standards] (asinhl): Likewise.
21545         [non-C99-based standards] (atanhl): Likewise.
21546         [non-C99-based standards] (cbrtl): Likewise.
21547         [non-C99-based standards] (expm1l): Likewise.
21548         [non-C99-based standards] (ilogbl): Likewise.
21549         [non-C99-based standards] (log1pl): Likewise.
21550         [non-C99-based standards] (logbl): Likewise.
21551         [non-C99-based standards] (nextafterl): Likewise.
21552         [non-C99-based standards] (remainderl): Likewise.
21553         [non-C99-based standards] (rintl): Likewise.
21554         [non-C99-based standards] (scalbl): Likewise.
21555         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21556         [non-C99-based standards] (FP_*): Do not allow.
21557         [C99-based standards] (FP_*): Change to
21558         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21559         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21560         allow.
21561         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21562         (SIG_ERR): Likewise.
21563         [X/Open-based standards] (SIG_HOLD): Likewise.
21564         (SIG_IGN): Likewise.
21565         (SIGABRT): Use macro-int-constant.  Specify type.  Require
21566         positive value.
21567         (SIGFPE): Likewise.
21568         (SIGILL): Likewise.
21569         (SIGINT): Likewise.
21570         (SIGSEGV): Likewise.
21571         (SIGTER): Likewise.
21572         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21573         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21574         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21575         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21576         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21577         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21578         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21579         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21580         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21581         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21582         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21583         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21584         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21585         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21586         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21587         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21588         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21589         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21590         [X/Open-based standards] (SIGTRAP): Likewise.
21591         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21592         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21593         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21594         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21595         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21596         allow.
21598 2012-05-08  Ian Wienand  <ianw@vmware.com>
21600         [BZ #14080]
21601         * time/tzset.c (__tzset_parse_tz): Update default rules for
21602         daylight time changes in the Energy Policy Act of 2005.
21604 2012-05-09  Andreas Jaeger  <aj@suse.de>
21606         [BZ #13983]
21607         * elf/ldconfig.c (parse_conf): Change string to make clear that
21608         ldconfig only issued a warning if ld.so.conf does not exist.
21610 2012-05-08  David S. Miller  <davem@davemloft.net>
21612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21613         movxtod instead of popping the value on the stack.
21615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21617 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
21619         * config.h.in: Add HAVE_ARM_PCS_VFP.
21621 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
21623         [BZ #13979]
21624         * include/features.h: Warn if user requests __FORTIFY_SOURCE
21625         checking but the checks are disabled for any reason.
21627 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
21629         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21630         and ELF64_R_TYPE with ELFW(R_TYPE).
21632 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
21634         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21635         (ulimit): Likewise.
21637         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21638         (settimeofday): Likewise.
21640 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
21642         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
21643         a struct th_u2 inside the union, and move tu_block/tu_code into
21644         a new th_u3 union of tu_block/tu_code inside of that.  Move
21645         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
21646         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
21647         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21648         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21649         (th_stuff): Change to th_u1.tu_stuff.
21650         (th_data): Define.
21651         (th_msg): Change to th_u1.th_u2.tu_data.
21653 2012-05-07  David S. Miller  <davem@davemloft.net>
21655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21657         [BZ #14074]
21658         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21659         (SETUP_PIC_REG): Use it.
21660         (SETUP_PIC_REG_LEAF): Use it.
21662 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
21664         [BZ #13885]
21665         [BZ #13923]
21666         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21667         USE_AS_EXPM1L.
21668         (EXPL_FINITE): Likewise.
21669         (FLDLOG): Likewise.
21670         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21671         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21672         e_expl.S.
21673         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21674         USE_AS_EXPM1L.
21675         (EXPL_FINITE): Likewise.
21676         (FLDLOG): Likewise.
21677         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21678         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21679         e_expl.S.
21680         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
21681         test of -max_value argument for long double.
21682         * sysdeps/i386/fpu/libm-test-ulps: Update.
21683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21685 2012-05-06  David S. Miller  <davem@davemloft.net>
21687         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21688         quad soft-float symbols whose references which are compiler
21689         generated.
21690         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21692 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
21694         [BZ #13884]
21695         [BZ #13914]
21696         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21697         USE_AS_EXP10L.
21698         (EXPL_FINITE): Likewise.
21699         (FLDLOG): Likewise.
21700         (c0): Likewise.
21701         (c1): Likewise.
21702         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21703         Adjust comments for base varying.
21704         (__expl_finite): Change alias to EXPL_FINITE.
21705         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21706         e_expl.S.
21707         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21708         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21709         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21710         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21711         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21712         USE_AS_EXP10L.
21713         (EXPL_FINITE): Likewise.
21714         (FLDLOG): Likewise.
21715         (c0): Likewise.
21716         (c1): Likewise.
21717         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21718         Adjust comments for base varying.
21719         (__expl_finite): Change alias to EXPL_FINITE.
21720         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
21721         tests for bugs.
21722         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21724         [BZ #14064]
21725         * math/libm-test.inc (check_float_internal): Correct ulp
21726         calculation for subnormal expected results.
21728 2012-05-06  Andreas Jaeger  <aj@suse.de>
21730         * Makeconfig (+math-flags): New, set to -frounding-math.
21731         (+cflags): Add +math-flags so that all of glibc gets compiled with
21732         it.
21734         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21736 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
21738         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21739         Disable one test.
21741         [BZ #13787]
21742         [BZ #13922]
21743         [BZ #14036]
21744         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21745         (__ieee754_expl): Allow for and saturate large arguments.
21746         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21747         (u_threshold): Likewise.
21748         (__exp): Call __ieee754_exp before checking for overflow and
21749         underflow.
21750         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21751         (u_threshold): Likewise.
21752         (__expf): Call __ieee754_expf before checking for overflow and
21753         underflow.
21754         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21755         (u_threshold): Likewise.
21756         (__expl): Call __ieee754_expl before checking for overflow and
21757         underflow.
21758         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21759         (__ieee754_expl): Allow for and saturate large arguments.
21760         * math/libm-test.inc (exp_test): Add another test.  Do not allow
21761         missing overflow exception on overflow.
21762         (expm1_test): Do not allow missing overflow exception on overflow.
21764         * sysdeps/i386/fpu/e_expl.c: Move to ...
21765         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
21766         rather than using inline asm.
21767         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21768         * sysdeps/x86_64/fpu/e_expl.S: Copy from
21769         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21771         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21772         (nice): Likewise.
21773         (poll): Likewise.
21774         (signal): Likewise.
21775         (time): Likewise.
21776         (times): Likewise.
21778 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21780         * sysdeps/unix/syscalls.list (adjtime): Add entry from
21781         sysdeps/unix/common/syscalls.list.
21782         (fchmod): Likewise.
21783         (fchown): Likewise.
21784         (ftruncate): Likewise.
21785         (getrusage): Likewise.
21786         (gettimeofday): Likewise.
21787         (setpgid): Likewise.
21788         (setregid): Likewise.
21789         (setreuid): Likewise.
21790         (sigaction): Likewise.
21791         (truncate): Likewise.
21792         (vhangup): Likewise.
21793         * sysdeps/unix/common/syscalls.list: Remove file.
21794         * sysdeps/unix/bsd/Implies: Don't include unix/common.
21795         * sysdeps/unix/sysv/linux/Implies: Likewise.
21797 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
21799         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21801         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21802         Moved to ...
21803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21804         Here.
21805         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21806         to ...
21807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21808         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21809         to ...
21810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21811         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21812         to ...
21813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21814         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21815         to ...
21816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21817         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21818         to ...
21819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21820         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21821         to ...
21822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21823         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21824         to ...
21825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21826         Here.
21827         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21828         to ...
21829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21830         Here.
21831         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21832         to ...
21833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21834         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21835         Moved to ...
21836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21837         Here.
21838         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21839         to ...
21840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21842 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21844         * sysdeps/unix/common/bits/dirent.h: Remove file.
21845         * sysdeps/unix/common/bits/fcntl.h: Likewise.
21847         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21848         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21849         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21850         * sysdeps/unix/bsd/isatty.c: Likewise.
21851         * sysdeps/unix/bsd/tcdrain.c: Likewise.
21852         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21853         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21855 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21857         [BZ #13563]
21858         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21859         long double comparison inaccuracies.
21860         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21863 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
21865         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21866         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21868 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21870         [BZ #14049]
21871         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21872         nonzero digits before rounding a hex value.
21873         * stdlib/tst-strtod.c (tests): Add another test.
21875 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21877         * sysdeps/s390/fpu/libm-test-ulps: Update.
21879 2012-05-03  Andreas Jaeger  <aj@suse.de>
21881         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21882         does not get optimized out.
21883         (malloc_opt_barrier): New.
21885 2012-05-03  Andreas Jaeger  <aj@suse.de>
21886             Roland McGrath  <roland@hack.frob.com>
21888         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21889         intermediate file deletion.
21890         (generated): Add .symlist files.
21892 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
21894         [BZ #13775]
21895         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21896         Redirect under this condition.
21897         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21898         [__USE_GNU] (__dprintf_chk): Not under this condition.
21899         [__USE_GNU] (__vdprintf_chk): Likewise.
21900         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21901         under this condition.
21902         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21903         [__USE_XOPEN2K8] (dprintf): Define under this condition.
21904         [__USE_XOPEN2K8] (vdprintf): Likewise.
21905         [__USE_GNU] (__dprintf_chk): Not under this condition.
21906         [__USE_GNU] (__vdprintf_chk): Likewise.
21907         [__USE_GNU] (dprintf): Likewise.
21908         [__USE_GNU] (vdprintf): Likewise.
21910 2012-05-03  Roland McGrath  <roland@hack.frob.com>
21912         * elf/Makefile (common-generated): Set this instead of generated for
21913         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
21914         $(all-built-dso)-derived lists.
21916 2012-05-03  Andreas Jaeger  <aj@suse.de>
21918         * sysdeps/i386/fpu/libm-test-ulps: Update.
21920         * FAQ: Removed.
21921         * FAQ.in: Likewise.
21922         * scripts/gen-FAQ.pl: Likewise.
21923         * manual/install.texi (Installation): Point to online location of
21924         FAQ.
21925         * Makefile (files-for-dist): Remove FAQ.
21926         (FAQ): Remove.
21928 2012-05-02  Allan McRae  <allan@archlinux.org>
21930         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21931         (LDFLAGS-reldepmod5.so): Likewise.
21932         (LDFLAGS-reldep6mod1.so): Likewise.
21933         (LDFLAGS-reldep6mod4.so): Likewise.
21934         (LDFLAGS-reldep8mod3.so): Likewise.
21935         (LDFLAGS-unload4mod1.so): Likewise.
21936         (LDFLAGS-unload4mod2.so): Likewise.
21937         (LDFLAGS-tst-initorder): Likewise.
21938         (LDFLAGS-tst-initordera2.so): Likewise.
21939         (LDFLAGS-tst-initordera3.so): Likewise.
21940         (LDFLAGS-tst-initordera4.so): Likewise.
21941         (LDFLAGS-tst-initorderb2.so): Likewise.
21942         (LDFLAGS-noload): Likewise.
21943         (LDFLAGS-next): Likewise.
21944         (LDFLAGS-order2mod1.so): Likewise.
21945         (LDFLAGS-order2mod2.so): Likewise.
21946         (LDFLAGS-tst-initorder2): Likewise.
21947         (LDFLAGS-tst-initorder2a.so): Likewise.
21948         (LDFLAGS-tst-initorder2b.so): Likewise.
21949         (LDFLAGS-tst-initorder2c.so): Likewise.
21950         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21952 2012-05-02  David S. Miller  <davem@davemloft.net>
21954         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21956 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21958         [BZ #14055]
21959         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21961 2012-05-02  Andreas Jaeger  <aj@suse.de>
21963         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21964         since we manipulate rounding mode.
21965         (CPPFLAGS-test-idouble.c): Likewise.
21966         (CPPFLAGS-test-ifloat.c): Likewise.
21967         (CFLAGS-test-ldouble.c): Likewise.
21968         (CFLAGS-test-double.c): Likewise.
21969         (CFLAGS-test-float.c): Likewise.
21970         (CFLAGS-test-misc.c): Likewise.
21971         (CFLAGS-test-test-fenv.c): Likewise.
21973 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21975         [BZ #2550]
21976         [BZ #2570]
21977         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21978         comparisons to determine direction to adjust input.
21980 2012-05-01  Roland McGrath  <roland@hack.frob.com>
21982         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21983         output to the target.
21985         * scripts/localplt.awk: New file.
21986         * elf/Makefile ($(objpfx)check-localplt): Target removed.
21987         (check-localplt-CFLAGS): Variable removed.
21988         ($(all-built-dso:=.jmprel)): New static pattern rule.
21989         (generated): Add those targets.
21990         (localplt-built-dso): New variable.
21991         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21993         * elf/check-localplt.c: File removed.
21995         * scripts/check-execstack.awk: New file.
21996         * elf/Makefile ($(objpfx)check-execstack): Target removed.
21997         (check-execstack-CFLAGS): Variable removed.
21998         ($(objpfx)check-execstack.h): Target removed.
21999         ($(objpfx)execstack-default): New target.
22000         (generated): Add that instead of check-execstack.h.
22001         ($(all-built-dso:=.phdr)): New static pattern rule.
22002         (generated): Add those targets.
22003         * elf/check-execstack.c: File removed.
22005         * scripts/check-textrel.awk: New file.
22006         * elf/Makefile ($(objpfx)check-textrel): Target removed.
22007         (check-textrel-CFLAGS): Variable removed.
22008         (all-built-dso): Use := to define.o
22009         ($(all-built-dso:=.dyn)): New static pattern rule.
22010         (generated): Add those targets.
22011         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22012         * config.make.in (READELF): New substituted variable.
22013         * elf/check-textrel.c: File removed.
22015 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22017         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22018         allow.
22019         * conform/data/ctype.h-data [C99-based standards] (isblank):
22020         Expect function.
22021         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22022         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22023         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22024         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22025         Specify type.  Require positive value.
22026         (EILSEQ): Likewise.
22027         (ERANGE): Likewise.
22028         [ISO || POSIX] (EILSEQ): Do not expect.
22029         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22030         Specify type.  Require positive value.
22031         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22032         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22033         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22034         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22035         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22036         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22037         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22038         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22039         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22040         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22041         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22042         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22043         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22044         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22045         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22046         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22047         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22048         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22049         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22050         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22051         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22052         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22053         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22054         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22055         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22056         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22057         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22058         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22059         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22060         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22061         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22062         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22063         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22064         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22065         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22066         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22067         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22068         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22069         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22070         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22071         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22072         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22073         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22074         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22075         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22076         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22077         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22078         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22079         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22080         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22081         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22082         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22083         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22084         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22085         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22086         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22087         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22088         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22089         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22090         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22091         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22092         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22093         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22094         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22095         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22096         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22097         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22098         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22099         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22100         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22101         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22102         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22103         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22104         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22105         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22106         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22107         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22108         Require >= 2.
22109         (FLT_ROUNDS): Expect as macro, not constant.
22110         (FLT_MANT_DIG): Use macro-int-constant.
22111         (DBL_MANT_DIG): Likewise.
22112         (LDBL_MANT_DIG): Likewise.
22113         (FLT_DIG): Likewise.
22114         (DBL_DIG): Likewise.
22115         (LDBL_DIG): Likewise.
22116         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
22117         (DBL_MIN_EXP): Likewise.
22118         (LDBL_MIN_EXP): Likewise.
22119         (FLT_MAX_EXP): Use macro-int-constant.
22120         (DBL_MAX_EXP): Likewise.
22121         (LDBL_MAX_EXP): Likewise.
22122         (FLT_MAX_10_EXP): Likewise.
22123         (DBL_MAX_10_EXP): Likewise.
22124         (LDBL_MAX_10_EXP): Likewise.
22125         (FLT_MAX): Use macro-constant.
22126         (DBL_MAX): Likewise.
22127         (LDBL_MAX): Likewise.
22128         (FLT_EPSILON): Use macro-constant.  Give upper bound.
22129         (DBL_EPSILON): Likewise.
22130         (LDBL_EPSILON): Likewise.
22131         (FLT_MIN): Likewise.
22132         (DBL_MIN): Likewise.
22133         (LDBL_MIN): Likewise.
22134         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22135         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22136         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22137         [ISO11] (FLT_HAS_SUBNORM): Likewise.
22138         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22139         [ISO11] (DBL_DECIMAL_DIG): Likewise.
22140         [ISO11] (FLT_DECIMAL_DIG): Likewise.
22141         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22142         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22143         [ISO11] (FLT_TRUE_MIN): Likewise.
22144         [ISO11] (LDBL_TRUE_MIN): Likewise.
22145         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22146         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22147         (SCHAR_MIN): Use macro-int-constant.  Specify type.
22148         (SCHAR_MAX): Likewise.
22149         (UCHAR_MAX): Likewise.
22150         (CHAR_MIN): Likewise.
22151         (CHAR_MAX): Likewise.
22152         (MB_LEN_MAX): Use macro-int-constant.
22153         (SHRT_MIN): Use macro-int-constant.  Specify type.
22154         (SHRT_MAX): Likewise.
22155         (USHRT_MAX): Likewise.
22156         (INT_MAX): Likewise.
22157         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
22158         bound negative.
22159         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22160         bound with "U".
22161         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22162         bound with "L".
22163         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
22164         bound negative.  Suffix upper bound with "L".
22165         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22166         bound with "UL".
22167         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22168         Specify type.
22169         [C99-based standards] (LLONG_MAX): Likewise.
22170         [C99-based standards] (ULLONG_MAX): Likewise.
22171         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
22172         == 0.
22173         [ISO11] (max_align_t): Require type.
22174         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22176         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22177         from $CFLAGS, without defining away __attribute__ calls.
22178         (checknamespace): Use $CFLAGS_namespace.
22180         * conform/conformtest.pl (@keywords): Only include C99 keywords
22181         for standards based on C99 or C11.
22183         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22184         Disable tests.
22185         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22186         UNIX98]: Likewise.
22188         * conform/conformtest.pl: Handle "macro-int-constant" and test for
22189         usability of symbols in #if.
22191         * conform/conformtest.pl: If macro or constant types start
22192         "promoted:", expect the symbol to be of the following type
22193         promoted by the integer promotions.
22195         * conform/conformtest.pl: Parse all "constant" and "macro" lines
22196         in one place.  Also handle "macro-constant".
22198         * conform/conformtest.pl: Only accept expected macro values with
22199         "==".  Parse all "macro" lines in one place.
22200         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22202         * conform/conformtest.pl: Handle braced types on "constant" lines
22203         instead of handling "typed-constant".
22204         * conform/data/signal.h-data: Use "constant" instead of
22205         "typed-constant".
22207         * conform/conformtest.pl: Handle "optional-" at start of lines in
22208         one place rather than duplicating several cases.  Handle each
22209         format of "macro" line with initial "optional-".
22211         * conform/conformtest.pl: Only accept expected constant or
22212         optional-constant values with "==".  Parse all "constant" lines in
22213         one place.  Parse all "optional-constant" lines in one place.
22214         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22215         * conform/data/fmtmsg.h-data: Likewise.
22216         * conform/data/netinet/in.h-data: Likewise.
22217         * conform/data/tar.h-data: Likewise.
22218         * conform/data/limits.h-data: Use "==" form on "constant" and
22219         "optional-constant" lines.
22221         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22222         Use -std=c99 for XOPEN2K.
22223         (@knownproblems): Remove.
22224         (newtoken): Don't check %isknown.
22226         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22227         Do not expect macro.
22228         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22229         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22230         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22231         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22232         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22233         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22234         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22235         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22236         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22237         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22238         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22239         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22240         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22241         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22242         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22243         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22244         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22245         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22246         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22247         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22248         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22249         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22250         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22251         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22252         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22253         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22254         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22255         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22256         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22257         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22258         [XPG3] (acosh): Likewise.
22259         [XPG3] (asinh): Likewise.
22260         [XPG3] (atanh): Likewise.
22261         [XPG3] (cbrt): Likewise.
22262         [XPG3] (expm1): Likewise.
22263         [XPG3] (ilogb): Likewise.
22264         [XPG3] (log1p): Likewise.
22265         [XPG3] (logb): Likewise.
22266         [XPG3] (nextafter): Likewise.
22267         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22268         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22269         [XPG3] (remainder): Likewise.
22270         [XPG3] (rint): Likewise.
22271         [XPG3 || XPG4 || UNIX98] (round): Likewise.
22272         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22273         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22274         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22275         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22276         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22277         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22278         [UNIX98 || XOPEN2K] (scalb): Expect.
22279         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22280         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22281         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22282         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22283         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22284         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22285         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22286         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22287         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22288         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22289         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22290         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22291         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22292         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22293         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22294         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22295         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22296         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22297         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22298         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22299         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22300         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22301         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22302         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22303         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22304         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22305         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22306         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22307         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22308         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22309         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22310         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22311         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22312         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22313         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22314         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22315         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22316         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22317         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22318         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22319         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22320         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22321         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22322         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22323         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22324         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22325         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22326         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22327         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22328         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22329         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22330         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22331         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22332         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22333         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22334         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22335         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22336         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22337         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22338         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22339         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22340         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22341         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22342         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22343         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22344         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22345         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22346         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22347         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22348         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22349         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22350         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22351         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22352         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22353         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22354         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22355         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22356         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22357         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22358         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22359         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22360         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22361         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22362         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22363         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22364         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22365         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22366         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22367         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22368         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22369         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22370         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22371         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22372         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22373         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22374         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22375         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22376         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22377         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22378         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22379         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22380         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22381         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22382         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22383         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22384         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22385         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22386         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22387         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22388         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22389         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22390         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22391         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22392         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22393         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22394         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22395         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22396         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22397         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22398         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22399         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22400         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22401         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22402         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22403         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22404         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22405         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22406         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22407         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22408         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22409         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22410         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22411         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22412         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22413         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22414         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22415         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22417         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22418         _XOPEN_SOURCE_EXTENDED for XPG4.
22420         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22422         * Makeconfig (localtime): Remove variable.
22423         (inst_localtime-file): Likewise.
22425 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22428         Update.
22429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22430         Update.
22431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22432         Update.
22433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22434         Update.
22435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22436         Update.
22437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22438         Update.
22439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22440         Update.
22441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22442         Update.
22443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22444         Update.
22446 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22448         [BZ #2550]
22449         [BZ #2570]
22450         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22451         comparisons to determine direction to adjust input.
22452         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22453         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22454         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22455         Likewise.
22456         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22457         Likewise.
22458         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22459         Likewise.
22460         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22461         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22462         Likewise.
22463         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22464         Likewise.
22465         * math/libm-test.inc (nexttoward_test): Add more tests.
22467 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22469         [BZ #14040]
22470         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22471         in version GLIBC_2.1, not GLIBC_2.0.
22472         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22473         Likewise.
22475 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
22477         [BZ #13942]
22478         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22479         (1 - x) * (1 + x).
22480         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22481         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22482         * math/libm-test.inc (acos_test): Add more tests.
22483         (asin_test): Likewise.
22484         * sysdeps/i386/fpu/libm-test-ulps: Update.
22485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22487         [BZ #14034]
22488         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22489         of square root.
22490         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22491         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22492         * math/libm-test.inc (acos_test_tonearest): New function.
22493         (acos_test_towardzero): Likewise.
22494         (acos_test_downward): Likewise.
22495         (acos_test_upward): Likewise.
22496         (asin_test_tonearest): Likewise.
22497         (asin_test_towardzero): Likewise.
22498         (asin_test_downward): Likewise.
22499         (asin_test_upward): Likewise.
22500         (main): Call the new functions.
22501         * sysdeps/i386/fpu/libm-test-ulps: Update.
22502         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22504         [BZ #13884]
22505         [BZ #13924]
22506         * math/e_exp10.c: Include <float.h>.
22507         (__ieee754_exp10): Handle underflow here rather than multiplying
22508         large negative argument by M_LN10.
22509         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22510         of __ieee754_expf.
22511         * math/e_exp10l.c: Include <float.h>.
22512         (__ieee754_exp10l): Handle underflow here rather than multiplying
22513         large negative argument by M_LN10l.
22514         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
22515         spurious overflow exception on underflow.
22517 2012-04-29  Marek Polacek  <polacek@redhat.com>
22519         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22520         (__fortify_function): New macro.
22521         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22522         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22523         __extern_always_inline.
22524         * libio/bits/stdio2.h: Likewise.
22525         * libio/bits/stdio.h: Likewise.
22526         * string/string.h: Likewise.
22527         * string/bits/string3.h: Likewise.
22528         * include/stdio.h: Likewise.
22529         * stdlib/bits/stdlib.h: Likewise.
22530         * stdlib/stdlib.h: Likewise.
22531         * rt/bits/mqueue2.h: Likewise.
22532         * rt/mqueue.h: Likewise.
22533         * posix/bits/unistd.h: Likewise.
22534         * posix/unistd.h: Likewise.
22535         * io/bits/poll2.h: Likewise.
22536         * io/bits/fcntl2.h: Likewise.
22537         * io/fcntl.h: Likewise.
22538         * io/sys/poll.h: Likewise.
22539         * misc/bits/syslog.h: Likewise.
22540         * misc/bits/syslog-ldbl.h: Likewise.
22541         * misc/sys/syslog.h: Likewise.
22542         * socket/bits/socket2.h: Likewise.
22543         * socket/sys/socket.h: Likewise.
22544         * debug/tst-chk1.c: Likewise.
22545         * wcsmbs/bits/wchar2.h: Likewise.
22546         * wcsmbs/bits/wchar-ldbl.h: Likewise.
22547         * wcsmbs/wchar.h: Likewise.
22549 2012-04-29  Andreas Jaeger  <aj@suse.de>
22551         * Makerules (tests): Remove enable-check-abi protection.
22552         (check-abi-warn): Remove.
22553         (check-abi-%): Remove check-abi-warn usage.
22555         * configure.in: Remove check-abi configure option.
22556         * configure: Regenerated.
22557         * config.make.in (enable-check-abi): Remove.
22559 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
22561         [BZ #14033]
22562         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22563         double functions to double *_finite functions.
22565         [BZ #13941]
22566         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22567         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22568         LDBL_MIN_EXP.
22569         * stdio-common/Makefile (tests): Add tst-sprintf3.
22570         * stdio-common/tst-sprintf3.c: New file.
22572         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22573         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22575 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22577         * conform/conformtest.pl: Remove duplicate typed-constant
22578         handling.
22580 2012-04-28  David S. Miller  <davem@davemloft.net>
22582         * Makerules (%.abilist): Add vpath on sysdep_dirs.
22583         (check-abi-%): Remove AWK script prerequisite and explicit
22584         abilist directory.
22585         (check-abi): Rewrite to just diff the symlist with the abilist.
22586         (config-tls, config-abi-config): Delete, no longer used.
22587         (update-abi-%): Remove AWK script and explicit abilist directory.
22588         (update-abi): Rewrite to simply compare and conditionally copy the
22589         symlist and the sysdep abilist file.  Remove update-abi-config
22590         checks.
22591         * abilist/ld.abilist: Remove.
22592         * abilist/libBrokenLocale.abilist: Remove.
22593         * abilist/libanl.abilist: Remove.
22594         * abilist/libcrypt.abilist: Remove.
22595         * abilist/libdl.abilist: Remove.
22596         * abilist/librt.abilist: Remove.
22597         * abilist/libthread_db.abilist: Remove.
22598         * abilist/libutil.abilist: Remove.
22599         * scripts/extract-abilist.awk: Remove.
22600         * scripts/merge-abilist.awk: Remove.
22601         * sysdeps/generic/libcidn.abilist: New file.
22602         * sysdeps/generic/libnss_compat.abilist: New file.
22603         * sysdeps/generic/libnss_db.abilist: New file.
22604         * sysdeps/generic/libnss_dns.abilist: New file.
22605         * sysdeps/generic/libnss_files.abilist: New file.
22606         * sysdeps/generic/libnss_hesiod.abilist: New file.
22607         * sysdeps/generic/libnss_nis.abilist: New file.
22608         * sysdeps/generic/libnss_nisplus.abilist: New file.
22609         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22610         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22611         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22612         file.
22613         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22614         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22615         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22616         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22617         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22618         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22619         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22620         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22621         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22622         file.
22623         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22624         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22625         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22626         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22627         file.
22628         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22629         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22630         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22631         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22632         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22633         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22634         file.
22635         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22636         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22637         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22638         file.
22639         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22640         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22641         New file.
22642         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22643         New file.
22644         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22645         New file.
22646         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22647         New file.
22648         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22649         New file.
22650         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22651         New file.
22652         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22653         New file.
22654         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22655         New file.
22656         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22657         New file.
22658         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22659         New file.
22660         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22661         New file.
22662         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22663         New file.
22664         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22665         New file.
22666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22667         file.
22668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22669         New file.
22670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22671         New file.
22672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22673         file.
22674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22675         New file.
22676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22677         New file.
22678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22679         file.
22680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22681         New file.
22682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22683         New file.
22684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22685         New file.
22686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22687         New file.
22688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22689         New file.
22690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22691         New file.
22692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22694         file.
22695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22696         New file.
22697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22698         file.
22699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22700         file.
22701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22702         file.
22703         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22704         file.
22705         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22706         file.
22707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22708         New file.
22709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22710         file.
22711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22712         file.
22713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22714         New file.
22715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22716         file.
22717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22719         file.
22720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22721         New file.
22722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22723         file.
22724         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22725         file.
22726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22727         file.
22728         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22729         file.
22730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22731         file.
22732         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22733         New file.
22734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22735         file.
22736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22737         file.
22738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22739         New file.
22740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22741         file.
22742         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22743         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22744         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22745         file.
22746         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22747         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22748         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22749         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22750         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22751         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22752         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22753         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22754         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22755         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22758         file.
22759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22760         New file.
22761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22762         file.
22763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22764         file.
22765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22766         file.
22767         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22768         file.
22769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22770         file.
22771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22772         New file.
22773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22774         New file.
22775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22776         file.
22777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22778         New file.
22779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22780         file.
22781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22783         file.
22784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22785         New file.
22786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22787         file.
22788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22789         file.
22790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22791         file.
22792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22793         file.
22794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22795         file.
22796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22797         New file.
22798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22799         New file.
22800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22801         file.
22802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22803         New file.
22804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22805         file.
22807 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22809         * conform/conformtest.pl: Fix typo in handling typed-constant from
22810         allow-header.
22812 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22814         * README: Cut down references to pre-2.6 Linux kernels and
22815         Linuxthreads.  Update lists of configurations in libc and ports
22816         and sort alphabetically.  Say "or newer" with Linux kernel version
22817         requirements.
22819         * config.h.in [IS_IN_build]: Allow compiling without optimization.
22821 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22823         [BZ #887]
22824         * math/libm-test.inc (logb_test_downward): New test to expose
22825         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22826         rounding mode.
22828 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22830         [BZ #14027]
22831         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22832         to be done.
22833         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22834         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22836 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
22838         * sysdeps/unix/i386/brk.S: Remove file.
22839         * sysdeps/unix/i386/dl-brk.S: Likewise.
22840         * sysdeps/unix/i386/pipe.S: Likewise.
22841         * sysdeps/unix/i386/sigreturn.S: Likewise.
22842         * sysdeps/unix/i386/syscall.S: Likewise.
22843         * sysdeps/unix/i386/vfork.S: Likewise.
22844         * sysdeps/unix/i386/wait.S: Likewise.
22846         * sysdeps/unix/common/tcsendbrk.c: Move to ...
22847         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22849         * configure.in (arm*-none*): Do not allow without
22850         --enable-hacker-mode.
22851         (netbsd*): Remove case setting base_os.
22852         (386bsd*): Likewise.
22853         (freebsd*): Likewise.
22854         (bsdi*): Likewise.
22855         (osf*): Likewise.
22856         (sunos*): Likewise.
22857         (ultrix*): Likewise.
22858         (newsos*): Likewise.
22859         (dynix*): Likewise.
22860         (*bsd*): Likewise.
22861         (sysv*): Likewise.
22862         (isc*): Likewise.
22863         (esix*): Likewise.
22864         (sco*): Likewise.
22865         (minix*): Likewise.
22866         (irix4*): Likewise.
22867         (irix6*): Likewise.
22868         (solaris[2-9]*): Likewise.
22869         (none): Likewise.
22870         * configure: Regenerated.
22872 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22874         [BZ #11521]
22875         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22876         overflow or cancellation in calculating denominator.
22877         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22878         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22879         down expression to avoid unexpected rounding in newer GCCs.
22880         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22882 2012-04-26  David S. Miller  <davem@davemloft.net>
22884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22885         long-double compat symbols.
22886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22900 2012-04-25  David S. Miller  <davem@davemloft.net>
22902         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22903         HWCAP_* values only after the memory barriers have been defined.
22904         (atomic_full_barrier): Define.
22905         (atomic_read_barrier): Define.
22906         (atomic_write_barrier): Define.
22908 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22910         * shlib-versions: Add libgcc_s version information.
22911         * sysdeps/generic/libgcc_s.h: Remove.
22912         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22913         libgcc_s.h.
22914         * sysdeps/gnu/unwind-resume.c: Likewise.
22915         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22917 2012-04-25  David S. Miller  <davem@davemloft.net>
22919         * sysdeps/unix/sparc/brk.S: Delete.
22920         * sysdeps/unix/sparc/dl-brk.S: Delete.
22921         * sysdeps/unix/sparc/pipe.S: Delete.
22922         * sysdeps/unix/sparc/sysdep.S: Delete.
22923         * sysdeps/unix/sparc/sysdep.h: Delete.
22924         * sysdeps/unix/sparc/vfork.S: Delete.
22925         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22926         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22927         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22928         ret_ERRVAL, r0, r1, MOVE): Define.
22929         (JUMPTARGET): Remove.
22930         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22931         sysdeps/unix/sparc/sysdep.h
22932         (ENTRY, END): Remove.
22933         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22935 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
22937         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22938         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22939         -DIS_IN_build.
22941         * timezone/README: Update upstream location and email address for
22942         tzcode and tzdata.
22943         * timezone/zdump.c: Update from tzcode 2012b.
22944         * timezone/zic.c: Likewise.
22946         * configure.in (libc_cv_as_needed): Remove test.
22947         * configure: Regenerated.
22948         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22949         conditional definition.
22950         [$(have-as-needed) != yes] (no-as-needed): Likewise.
22951         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22952         * config.make.in (have-as-needed): Remove variable.
22954 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22955             Paul Pluzhnikov  <ppluzhnikov@google.com>
22957         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22958         strings correctly.
22960 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22962         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22963         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22964         * sysdeps/sh/strlen.S: Likewise.
22966 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22968         * sysdeps/unix/fork.S: Remove file.
22969         * sysdeps/unix/i386/fork.S: Likewise.
22970         * sysdeps/unix/sparc/fork.S: Likewise.
22972         * sysdeps/unix/system.c: Remove file.
22973         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22975         * sysdeps/unix/getegid.S: Remove file.
22976         * sysdeps/unix/geteuid.S: Likewise.
22978 2012-04-24  Roland McGrath  <roland@hack.frob.com>
22980         * scripts/check-localplt.awk: New file.
22981         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22982         of diff.
22983         * scripts/data/localplt-generic.data: Add a comment.
22985         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22986         NODE when __dir_mkfile failed.
22987         * sysdeps/mach/hurd/symlinkat.c: Likewise.
22988         Reported by Ludovic Courtès <ludo@gnu.org>.
22990 2012-04-24  Andreas Jaeger  <aj@suse.de>
22992         * Makerules (common-clean): Also remove gen-as-const-headers
22993         files.
22995 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22997         * Makerules (native-compile): Do not change working directory for
22998         build.  Use $(OUTPUT_OPTION) in command.
22999         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23001 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23003         [BZ #13886]
23004         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23005         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23006         * math/libm-test.inc (floor_test): Add more tests.
23007         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23009 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23011         * sysdeps/unix/getdents.c: Remove file.
23012         * sysdeps/unix/sysv/getdents.c: Likewise.
23013         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23015         * sysdeps/unix/syscalls.list (madvise): Add syscall from
23016         sysdeps/unix/mman/syscalls.list.
23017         (mmap): Likewise.
23018         (mprotect): Likewise.
23019         (msync): Likewise.
23020         (munmap): Likewise.
23021         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23022         * sysdeps/unix/mman/syscalls.list: Remove.
23023         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23025         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23026         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23027         * configure: Regenerated.
23028         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23029         $(libgcc_s_suffix).
23030         * config.make.in (libgcc_s_suffix): Remove variable.
23032 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
23034         * sysdeps/unix/sysv/gethostname.c: Move to ...
23035         * sysdeps/posix/gethostname.c: ... here.
23037         * sysdeps/unix/execve.S: Remove file.
23039         * sysdeps/unix/_exit.S: Remove file.
23041 2012-04-23  Andreas Jaeger  <aj@suse.de>
23043         [BZ #13739]
23044         * manual/Makefile: Remove make dist support, there's no
23045         need for a stand-alone documentation tar ball.
23046         (TEXI2DVI): Define always, it's not in Makeconfig.
23047         (dist): Removed.
23048         (tar-it): Removed.
23049         (edition): Removed.
23050         (glibc-doc-$(edition).tar): Removed
23051         (%.Z): Removed.
23052         (%.gz): Removed.
23053         (%.uu): Removed.
23054         (ETAGS): Remove, it's in Makeconfig.
23055         (move-if-change): Remove, it's in Makeconfig.
23057 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
23059         [BZ #13970]
23060         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23061         (strtod, strtof, strtold, strtol, strtoul, strtoq)
23062         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23063         (strtod_l, strtof_l, strtold_l): Remove __wur.
23064         It is not necessarily an error to ignore strtol's return value.
23065         One can reliably look at the stored endptr to decide whether
23066         the number had valid syntax.
23068 2012-04-21  Andreas Jaeger  <aj@suse.de>
23070         [BZ #13739]
23071         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23073 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
23075         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23076         * sysdeps/unix/sysv/Versions: Remove file.
23078 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
23080         [BZ #13927]
23081         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23083 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
23085         [BZ #7064]
23086         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23087         version from __vm86.
23089 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
23091         * sysdeps/unix/common/lxstat.c: Remove file.
23092         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23094         * sysdeps/unix/sysv/Makefile: Remove file.
23096         * sysdeps/unix/sysv/direct.h: Remove file.
23098         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23099         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23100         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23101         * sysdeps/unix/sysv/bits/signum.h: Likewise.
23102         * sysdeps/unix/sysv/bits/stat.h: Likewise.
23103         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23104         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23106         * sysdeps/unix/sysv/setrlimit.c: Remove file.
23108         * sysdeps/unix/xmknod.c: Remove file.
23109         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23111         * sysdeps/unix/sysv/settimeofday.c: Remove file.
23113         * sysdeps/unix/sysv/i386/time.S: Remove file.
23115         * sysdeps/unix/fxstat.c: Remove file.
23116         * sysdeps/unix/xstat.c: Likewise.
23117         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23119         * sysdeps/unix/sysv/sigaction.c: Remove file.
23121         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23122         (sysdep_headers): Remove variable.
23123         [termio.h not in sysdep_headers] (generated): Likewise.
23124         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23125         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23126         * sysdeps/unix/sysv/tcdrain.c: Likewise.
23127         * sysdeps/unix/sysv/tcflow.c: Likewise.
23128         * sysdeps/unix/sysv/tcflush.c: Likewise.
23129         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23130         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23131         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23132         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23133         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23135         * sysdeps/unix/siglist.c: Remove file.
23137         * sysdeps/unix/getppid.S: Remove file.
23139         * sysdeps/unix/mkdir.c: Remove file.
23140         * sysdeps/unix/rmdir.c: Likewise.
23142 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
23144         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23145         ERR_MAX value.
23146         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23147         errlist-compat value.
23149 2012-04-18  David S. Miller  <davem@davemloft.net>
23151         * sysdeps/generic/memcopy.h (reg_char): Delete.
23152         * debug/strcat_chk.c: Use char, not reg_char.
23153         * debug/strcpy_chk.c: Likewise.
23154         * debug/strncat_chk.c: Likewise.
23155         * debug/strncpy_chk.c: Likewise.
23156         * string/memchr.c: Likewise.
23157         * string/memrchr.c: Likewise.
23158         * string/rawmemchr.c: Likewise.
23159         * string/strcat.c: Likewise.
23160         * string/strchr.c: Likewise.
23161         * string/strchrnul.c: Likewise.
23162         * string/strcmp.c: Likewise.
23163         * string/strcpy.c: Likewise.
23164         * string/strncat.c: Likewise.
23165         * string/strncmp.c: Likewise.
23166         * string/strncpy.c: Likewise.
23168 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23170         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23171         __builtin_memcopy is called when src and dest ranges are known to not
23172         overlap.
23174 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23176         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23177         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23178         fwd_align_merge macro call.
23179         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23180         bwd_align_merge macro call.
23181         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23183 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23185         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23186         bwd_align_merge macros.
23187         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23188         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23189         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23191 2012-04-18  David S. Miller  <davem@davemloft.net>
23193         * sysdeps/sparc/sparc64/memcopy.h: Delete.
23195 2012-04-18  Andreas Jaeger  <aj@suse.de>
23197         [BZ# 6794]
23198         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23199         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23200         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23202         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23203         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23204         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23206         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23207         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23208         Adjust for changed ldbl-128 files.
23210         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23211         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23212         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23214 2012-04-17  David S. Miller  <davem@davemloft.net>
23216         * sysdeps/sparc/sparc32/memcopy.h: Delete.
23218 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
23220         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23221         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23222         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23223         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23224         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23225         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23227 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23229         [BZ #6794]
23230         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23231         * math/libm-test.inc: Add ilogb errno and exception tests.
23232         * math/w_ilogb.c: New file: ilogb wrapper.
23233         * math/w_ilogbf.c: New file: ilogbf wrapper.
23234         * math/w_ilogbl.c: New file: ilogbl wrapper.
23235         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23236         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23237         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23238         exception being thrown with 0.0 as argument.
23239         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23240         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23241         exception being thrown with 0.0 as argument.
23242         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23243         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23244         exception being thrown with 0.0 as argument.
23245         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23246         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23247         exception being thrown with 0.0 as argument.
23248         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23249         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23250         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23251         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23252         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23253         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23254         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23255         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23256         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23258 2012-04-17  Petr Baudis  <pasky@ucw.cz>
23260         * include/sys/uio.h: Change __vector to __iovec to avoid clash
23261         with altivec.
23263 2012-04-16  Marek Polacek  <polacek@redhat.com>
23265         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23267 2012-04-16  Marek Polacek  <polacek@redhat.com>
23269         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23270         operands of fdivp instruction.
23272 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23274         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23275         * elf/tst-auditmod3b.c: Likewise.
23276         * elf/tst-auditmod4b.c: Likewise.
23277         * elf/tst-auditmod5b.c: Likewise.
23278         * elf/tst-auditmod6b.c: Likewise.
23279         * elf/tst-auditmod6c.c: Likewise.
23280         * elf/tst-auditmod7b.c: Likewise.
23281         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23282         * sysdeps/x86_64/preconfigure.in: Likewise.
23283         * sysdeps/x86_64/preconfigure: Regenerated.
23285 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23287         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23288         __ILP32__.
23290 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
23292         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23293         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23295 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
23297         [BZ #13973]
23298         * locale/iso-639.def: Fix gl language name. Spotted by
23299         Yaron Shahrabani.
23301 2012-04-12  Roland McGrath  <roland@hack.frob.com>
23303         [BZ #2074]
23304         * libio/libio.h (__io_write_fn): Update comment.
23306 2012-04-12  Petr Baudis  <pasky@ucw.cz>
23308         [BZ #2074]
23309         * stdio.texi (Hook Functions): The user provided writer function
23310         is not allowed to return -1.
23312 2012-04-11  David S. Miller  <davem@davemloft.net>
23314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23316 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
23318         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23319         Add a leading slash to rtkaio.
23321 2012-04-11  Jim Meyering  <meyering@redhat.com>
23323         [BZ #11959]
23324         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23325         It is not necessarily an error to ignore fwrite's return
23326         value.  One can reliably use ferror to test for errors after
23327         the fact.
23329 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23331         * bits/types.h (__snseconds_t): New type.
23332         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23334         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23335         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23336         (__SNSECONDS_T_TYPE): Likewise.
23337         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23338         (__SNSECONDS_T_TYPE): Likewise.
23339         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23340         (__SNSECONDS_T_TYPE): Likewise.
23342 2012-04-10  Andreas Jaeger  <aj@suse.de>
23344         [BZ #2636]
23345         * manual/time.texi (Processor Time): Return type of times is
23346         elapsed real time since an arbitrary point in the past.
23347         (CPU Time): Move CLK_TCK from here...
23348         (Processor Time): ...to here.  Correct description.
23349         * manual/conf.texi (Constants for Sysconf): Correct description of
23350         _SC_CLK_TCK.
23352 2012-04-10  David S. Miller  <davem@davemloft.net>
23354         [BZ #13967]
23355         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23356         where the is a gap between DT_REL(A) and DT_JMPREL.
23358 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23360         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23361         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23362         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23364 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23366         * elf/dl-support.c (_dl_inhibit_cache): New variable.
23367         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23368         (dl_main): Handle --inhibit-cache.
23369         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23370         _dl_inhibit_cache.
23371         * elf/dl-load.c (_dl_map_object): Use it.
23372         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23374 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23376         [BZ #13872]
23377         * sysdeps/i386/fpu/e_powl.S (p78): New object.
23378         (__ieee754_powl): Saturate large exponents rather than testing for
23379         overflow of y*log2(x).
23380         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23381         * math/libm-test.inc (pow_test): Do not permit spurious overflow
23382         exceptions.
23384         [BZ #11521]
23385         * math/s_ctan.c: Include <float.h>.
23386         (__ctan): Avoid internal overflow or cancellation in calculating
23387         denominator.
23388         * math/s_ctanf.c: Likewise.
23389         * math/s_ctanl.c: Likewise.
23390         * math/s_ctanh.c: Likewise.
23391         * math/s_ctanhf.c: Likewise.
23392         * math/s_ctanhl.c: Likewise.
23393         * math/libm-test.inc (ctan_test): Add more tests.
23394         (ctanh_test): Likewise.
23395         * sysdeps/i386/fpu/libm-test-ulps: Update.
23396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23398 2012-04-09  Andreas Jaeger  <aj@suse.de>
23400         [BZ #6894]
23401         * manual/filesys.texi (Directory Entries): Mention that d_namlen
23402         is an optional BSD extension.
23404         [BZ #10254]
23405         * manual/stdio.texi (Opening Streams): Document additional fopen
23406         parameters.
23408 2012-04-09  Roland McGrath  <roland@hack.frob.com>
23410         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23411         %eax without telling the compiler.
23413 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
23415         [BZ # 13963]
23416         * manual/install.texi: Use sourceware.org.
23418 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23420         [BZ #13873]
23421         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23422         (__ieee754_pow): Generate overflow and underflow using huge*huge
23423         and tiny*tiny rather than just returning constant infinity or zero
23424         for large exponents.
23425         * math/libm-test.inc (pow_test): Require overflow exceptions for
23426         applicable cases of large exponents.
23428         [BZ #706]
23429         * sysdeps/i386/fpu/e_pow.S (p10): New object.
23430         (__ieee754_pow): Use iterative multiplication algorithm only for
23431         integer exponents with absolute value below 1024.  Check for odd
23432         integer exponents when using algorithm for real exponents.
23433         * math/libm-test.inc (pow_test): Add more tests.
23434         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23436 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
23438         [BZ #13705]
23439         * math/libm-test.inc (exp_test): Do not allow overflow exception
23440         on underflow test.
23442 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
23444         [BZ #13705]
23445         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23446         instead of __kernel_standard_f.
23448 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
23450         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23451         * sysdeps/x86_64/memset_chk.S: Likewise.
23453 2012-04-08  Andreas Jaeger  <aj@suse.de>
23455         [BZ #10153]
23456         * manual/startup.texi (Environment Access): Describe return value
23457         for putenv and setenv.
23459         [BZ #6895]
23460         * manual/filesys.texi (Directory Entries): Add description for
23461         DT_LNK.
23463         [BZ #6890]
23464         * manual/filesys.texi (Directory Entries): Clarify that it's file
23465         system not operating system in the description of DT_UNKNOWN.
23467         [BZ #6578]
23468         * manual/syslog.texi (closelog): Fix reference, it's openlog.
23470 2012-04-08  Stephen Compall  <s11@member.fsf.org>
23472         [BZ #6649]
23473         * manual/llio.texi (Opening and Closing Files): Add cross
23474         reference to explain mode argument.
23476 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
23478         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23479         * sysdeps/x86_64/memset_chk.S: Likewise.
23481 2012-04-07  David S. Miller  <davem@davemloft.net>
23483         * elf/elf.h (R_SPARC_WDISP10): Define.
23484         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23485         R_SPARC_SIZE32.
23486         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23487         R_SPARC_SIZE64 and R_SPARC_H34.
23489 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
23491         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23492         conditions and remove no longer applicable assertion.
23494 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23496         * bits/byteswap.h: Include <features.h>.
23497         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23498         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23500 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23502         * bits/byteswap.h (__bswap_16): Removed.
23503         Include <bits/byteswap-16.h> to get __bswap_16.
23504         * sysdeps/i386/bits/byteswap.h: Likewise.
23505         * sysdeps/s390/bits/byteswap.h: Likewise.
23506         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23507         * bits/byteswap-16.h: New file.
23508         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23509         * sysdeps/s390/bits/byteswap-16.h: Likewise.
23510         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23511         * string/Makefile (headers): Add bits/byteswap-16.h.
23513 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23515         [BZ #13895]
23516         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23517         extra indirection.
23518         * nss/Makefile (tests-static, tests): Add tst-nss-static.
23519         * nss/tst-nss-static.c: New.
23521 2012-04-06  Robert Millan  <rmh@gnu.org>
23523         [BZ #6486]
23524         * manual/llio.texi (File Position Primitive): lseek
23525         refers to WHENCE when it really means OFFSET.
23527 2012-04-06  Andreas Jaeger  <aj@suse.de>
23529         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23530         strncmp declarations.
23532         * abilist/libc.abilist: Add __poll and __ppoll.
23534 2012-04-05  David S. Miller  <davem@davemloft.net>
23536         * scripts/check-local-headers.sh: Accept a host triplet in the
23537         path matched by the exclude regexp.
23539         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23540         definition.
23541         * sysdeps/powerpc/powerpc32/dl-machine.h
23542         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23543         * sysdeps/s390/s390-32/dl-machine.h
23544         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23545         * sysdeps/sparc/sparc32/dl-machine.h
23546         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23547         * sysdeps/sparc/sparc64/dl-machine.h
23548         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23550         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23551         lazy binding.
23552         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23553         undefined symbol errors.
23555         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23556         DT_NEEDED entries.
23558 2012-04-05  Michael Matz  <matz@suse.de>
23560         [BZ #13592]
23561         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23563 2012-04-05  Andreas Jaeger  <aj@suse.de>
23565         [BZ #13908]
23566         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23567         comment.
23569 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23571         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23572         which ROUND is no valid rounding mode.
23574 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23576         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23577         read again.
23578         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23580 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23582         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23583         an exception using FPU order intentionally.
23585 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23587         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23588         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23589         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23590         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23592 2012-04-05  Simon Josefsson  <simon@josefsson.org>
23594         [BZ #12340]
23595         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23596         EINVAL when BUFLEN is too smal.
23598 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23600         [BZ #13553]
23601         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23602         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23604 2012-04-03  Andreas Jaeger  <aj@suse.de>
23606         [BZ #13938]
23607         * manual/setjmp.texi (System V contexts): Fix sentence.
23609         [BZ #13926]
23610         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23611         New macro for this case.
23612         [!__GNUC__] (__bswap_64): New inline function for this case.
23613         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23614         * bits/byteswap.h: Likewise.
23615         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23616         ull, guard with __GLIBC_HAVE_LONG_LONG.
23618         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23619         __GLIBC_HAVE_LONG_LONG.
23621         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23622         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23624 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23626         [BZ #13691]
23627         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23628         inptr and inend, rather than using last_ch.
23630 2012-04-02  David S. Miller  <davem@davemloft.net>
23632         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23633         * stdio-common/printf-parse.h (read_int): Change return type to
23634         'int', return -1 on INT_MAX overflow.
23635         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23636         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
23637         overflows INT_MAX.  Check for overflow of in-format-string precision
23638         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
23639         SIZE_MAX not INT_MAX for integer overflow test.
23640         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23641         skip the construct in the format string but do not record anything.
23642         * stdio-common/bug22.c: Adjust to test both width/prevision
23643         INT_MAX overflow as well as total length INT_MAX overflow.  Check
23644         explicitly for proper errno values.
23646 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23648         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23649         CHAR_MAX.
23650         * string/test-strcmp.c [! WIDE]: Likewise.
23651         * time/tst-mktime2.c: Likewise for INT_MAX.
23652         * string/test-string.h: #include <sys/param.h> for MIN.
23654         * csu/init-first.c (__libc_init_first): Call __ctype_init.
23655         * sysdeps/i386/init-first.c (init): Likewise.
23656         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23657         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23658         * sysdeps/sh/init-first.c (init): Likewise.
23660 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
23662         * po/ru.po: Update from translation team.
23663         * po/vi.po: Likewise.
23665 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23667         * resolv/nss_dns/dns-host.c: Merge copyright years.
23669 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23671         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23672         Optimize memcpy with prefetch if
23673         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
23674         src, dst pointers have unequal 16 byte alignments.
23676 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23678         [BZ #13928]
23679         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23680         from a CNAME entry and return the minimum ttl for the query.
23681         (gaih_getanswer_slice): Likewise.
23683 2012-03-30  Jeff Law  <law@redhat.com>
23685         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23686         due to long keys.
23687         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23688         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23690         * resolv/nss_dns/dns-host.c: Update copyright year.
23692 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
23694         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23695         requests to save a system call.  Fix check that all bytes are sent.
23697         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23698         comments for sendmmsg.
23700 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23702         [BZ #13691]
23703         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23704         with only 1 character between 0x0041 and 0x01b0.
23705         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23706         * wcsmbs/tst-mbsnrtowcs.c: New file.
23708 2012-03-29  David S. Miller  <davem@davemloft.net>
23710         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23711         small copies by hand.
23713 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23715         [BZ #13761]
23716         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23717         _nss_compat_initgroups_dyn): Fall back to malloc/free
23718         for large group memberships.
23720 2012-03-28  David S. Miller  <davem@davemloft.net>
23722         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23723         that branches into memcpy.
23724         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23725         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23726         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23727         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23728         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23729         bits.
23730         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23731         implementation too.
23732         * sysdeps/sparc/mempcpy.S: New file.
23734         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23735         the IFUNC routine in the libc case.
23736         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23738         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23739         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23740         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23741         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23742         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23743         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23744         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23745         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23747         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23748         loop to 256 bytes instead of 64 bytes and fix test signedness.
23750         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23751         * sysdeps/sparc/sparc32/Makefile: rather than here...
23752         * sysdeps/sparc/sparc64/Makefile: and here.
23754 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
23756         * malloc/mallocbug.c: Avoid warnings about unused variables.
23758 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23760         [BZ #13760]
23761         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23762         in the right place. Discard and retry query if response is
23763         larger than input buffer size.
23765 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
23767         [BZ #369]
23768         [BZ #2678]
23769         [BZ #3866]
23770         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23771         x for large integer exponent.
23772         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23773         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
23774         sign of result as needed afterwards.
23775         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23776         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23777         result for underflowing pow the same as for overflow.
23778         (__kernel_standard_l): Handle powl overflow and underflow here
23779         rather than calling __kernel_standard.
23780         * math/libm-test.inc (pow_test): Add more tests.
23782         [BZ #3868]
23783         [BZ #13879]
23784         [BZ #13910]
23785         [BZ #13911]
23786         [BZ #13912]
23787         [BZ #13913]
23788         [BZ #13915]
23789         [BZ #13916]
23790         [BZ #13917]
23791         [BZ #13918]
23792         [BZ #13919]
23793         [BZ #13920]
23794         [BZ #13921]
23795         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23796         * sysdeps/ieee754/k_standard.c: Include <float.h>.
23797         (__kernel_standard_l): New function.
23798         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23799         __kernel_standard.
23800         * math/w_acosl.c (__acosl): Likewise.
23801         * math/w_asinl.c (__asinl): Likewise.
23802         * math/w_atan2l.c (__atan2l): Likewise.
23803         * math/w_atanhl.c (__atanhl): Likewise.
23804         * math/w_coshl.c (__coshl): Likewise.
23805         * math/w_exp10l.c (__exp10l): Likewise.
23806         * math/w_exp2l.c (__exp2l): Likewise.
23807         * math/w_fmodl.c (__fmodl): Likewise.
23808         * math/w_hypotl.c (__hypotl): Likewise.
23809         * math/w_j0l.c (__j0l, __y0l): Likewise.
23810         * math/w_j1l.c (__j1l, __y1l): Likewise.
23811         * math/w_jnl.c (__jnl, __ynl): Likewise.
23812         * math/w_lgammal.c (__lgammal): Likewise.
23813         * math/w_log10l.c (__log10l): Likewise.
23814         * math/w_log2l.c (__log2l): Likewise.
23815         * math/w_logl.c (__logl): Likewise.
23816         * math/w_powl.c (__powl): Likewise.
23817         * math/w_remainderl.c (__remainderl): Likewise.
23818         * math/w_scalbl.c (sysv_scalbl): Likewise.
23819         * math/w_sinhl.c (__sinhl): Likewise.
23820         * math/w_sqrtl.c (__sqrtl): Likewise.
23821         * math/w_tgammal.c (__tgammal): Likewise.
23822         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23823         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23824         * math/libm-test.inc (acos_test): Add more tests.
23825         (acosh_test): Likewise.
23826         (asin_test): Likewise.
23827         (atanh_test): Likewise.
23828         (exp_test): Likewise.
23829         (exp10_test): Likewise.
23830         (exp2_test): Likewise.
23831         (expm1_test): Likewise.
23832         (lgamma_test): Likewise.
23833         (log_test): Likewise.
23834         (log10_test): Likewise.
23835         (log1p_test): Likewise.
23836         (log2_test): Likewise.
23837         (pow_test): Do not allow some spurious overflow exceptions.
23838         (sqrt_test): Add more tests.
23839         (tgamma_test): Likewise.
23840         (y0_test): Likewise.
23841         (y1_test): Likewise.
23842         (yn_test): Likewise.
23844 2012-03-27  Anton Blanchard  <anton@samba.org>
23846         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23847         MAP_HUGETLB.
23848         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23849         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23850         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23852 2012-03-27  David S. Miller  <davem@davemloft.net>
23854         * conform/Makefile: Run run-conformtest.sh using $(BASH).
23856         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23857         have-as-vis3 check.
23859 2012-03-27  Andreas Jaeger  <aj@suse.de>
23861         * sysdeps/x86_64/elf/configure.in: Moved to ...
23862         * sysdeps/x86_64/configure.in: ... here.
23863         * sysdeps/x86_64/elf/start.S: Moved to ...
23864         * sysdeps/x86_64/start.S: ... here.
23865         * sysdeps/x86_64/elf/configure: Delete.
23867         * sysdeps/x86_64/configure.in: Merge contents from
23868         sysdeps/i386/configure.in (without i686 check).
23870         * sysdeps/i386/elf/Versions: Merge into ...
23871         * sysdeps/i386/Versions: ... this.
23872         * sysdeps/i386/elf/Versions: Delete file.
23873         * sysdeps/i386/elf/start.S: Moved to ...
23874         * sysdeps/i386/start.S: ...here.
23875         * sysdeps/i386/elf/configure.in: Merge into...
23876         * sysdeps/i386/configure.in: ...here.
23877         * sysdeps/i386/elf/configure.in: Delete file.
23878         * sysdeps/i386/elf/configure: Delete file.
23880         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23881         * debug/backtracesyms.c: ... here.
23882         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23883         * debug/backtracesymsfd.c: ... here.
23884         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23885         * sysdeps/generic/ifunc-sel.h: ... here.
23887         * sysdeps/unix/i386/start.c: Delete file.
23888         * sysdeps/unix/sparc/start.c: Delete file.
23889         * sysdeps/unix/start.c: Delete file.
23891         * sysdeps/sh/elf/configure.in: Moved to ...
23892         * sysdeps/sh/configure.in: ... here.
23893         * sysdeps/sh/elf/start.S: Moved to ...
23894         * sysdeps/sh/start.S: ... here.
23895         * sysdeps/sh/elf/configure: Delete file.
23897         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23898         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23899         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23900         * sysdeps/powerpc/powerpc64/entry.h: ... here.
23901         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23902         * sysdeps/powerpc/powerpc64/start.S: here.
23903         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23904         * sysdeps/powerpc/powerpc64/Makefile: ... this.
23905         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23906         * sysdeps/powerpc/powerpc64/configure.in: ... this.
23907         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23909         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23910         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23911         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23912         * sysdeps/powerpc/powerpc32/start.S: ... here.
23913         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23914         * sysdeps/powerpc/powerpc32/configure.in: ... this.
23915         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23917         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23918         * sysdeps/powerpc/ifunc-sel.h: ... here.
23919         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23920         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23922         * sysdeps/sparc/elf/configure.in: Moved to ...
23923         * sysdeps/sparc/configure.in: ... here.
23924         * sysdeps/sparc/elf/configure: Delete file.
23925         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23926         * sysdeps/sparc/sparc32/start.S: ... here.
23927         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23928         * sysdeps/sparc/sparc64/start.S: ... here.
23929         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23930         * sysdeps/sparc/sparc32/Makefile: ... this.
23931         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23932         * sysdeps/sparc/sparc64/Makefile: ... this.
23934         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23935         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23936         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23937         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23938         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23939         * sysdeps/s390/s390-32/setjmp.S: ... here.
23940         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23941         * sysdeps/s390/s390-32/configure.in: ... here.
23942         * sysdeps/s390/s390-32/elf/configure: Delete file.
23943         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23944         * sysdeps/s390/s390-32/start.S: ... here.
23946         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23947         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23948         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23949         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23950         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23951         * sysdeps/s390/s390-64/setjmp.S: ... here.
23952         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23953         * sysdeps/s390/s390-64/configure.in: ... here
23954         * sysdeps/s390/s390-64/elf/configure: Delete file.
23955         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23956         * sysdeps/s390/s390-64/start.S: ... here.
23957         * sysdeps/s390/s390-64/elf/configure: Delete.
23959         * configure.in: Remove support for elf directories in sysdeps.
23961         * configure: Regenerated.
23962         * sysdeps/i386/configure: Regenerated.
23963         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23964         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23965         * sysdeps/s390/s390-32/configure: Regenerated.
23966         * sysdeps/s390/s390-64/configure: Regenerated.
23967         * sysdeps/sh/configure: Regenerated.
23968         * sysdeps/sparc/configure: Regenerated.
23969         * sysdeps/x86_64/configure: Regenerated.
23971 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
23973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23975         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23976         denormal result into account.
23978 2012-03-25  Roland McGrath  <roland@hack.frob.com>
23980         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23981         Reported by Allan McRae <allan@archlinux.org>.
23983 2012-03-23  Jeff Law  <law@redhat.com>
23985         * nss/getnssent.c (__nss_getent): Fix typo.
23987 2012-03-23  David S. Miller  <davem@davemloft.net>
23989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23991 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
23993         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23994         to pad to uint64_t for each field.
23995         (dl_tls_index): Replace unsigned long with uint64_t.
23997 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
23998         Paul Pluzhnikov  <ppluzhnikov@google.com>
24000         [BZ #6528]
24001         * grp/Makefile (otherlibs): Don't set it.
24002         * inet/Makefile (otherlibs): Likewise.
24003         * login/Makefile (otherlibs): Likewise.
24004         * nscd/Makefile (otherlibs): Likewise.
24005         * posix/Makefile (otherlibs): Likewise.
24006         * pwd/Makefile (otherlibs): Likewise.
24007         * rt/Makefile (otherlibs): Likewise.
24008         * sunrpc/Makefile (otherlibs): Likewise.
24009         * nss/Makefile (otherlibs): Likewise.
24010         Add libnss_files to routines and static-only-routines.
24011         ($(objpfx)getent): Remove rule.
24012         * resolv/Makefile: Add libnss_dns and libresolv to routines and
24013         static-only-routines.
24015 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24017         [BZ #13892]
24018         * math/s_cexp.c: Include <float.h>.
24019         (__cexp): Handle exp result overflowing not necessarily
24020         overflowing both real and imaginary parts of result.
24021         * math/s_cexpf.c: Likewise.
24022         * math/s_cexpl.c: Likewise.
24023         * math/libm-test.inc (cexp_test): Add more tests.
24024         * sysdeps/i386/fpu/libm-test-ulps: Update.
24025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24027 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24029         * include/link.h (ELFW): New macro.
24030         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24031         Replace ELF64_R_TYPE with ELFW(R_TYPE).
24033 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24035         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24036         with uint64_t.
24038 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24040         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24041         declaration.
24042         (struct La_x32_retval): Likewise.
24044 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24046         * sysdeps/x86_64/preconfigure.in: New file.
24047         * sysdeps/x86_64/preconfigure: New generated file.
24049 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24051         [BZ #13824]
24052         * math/e_exp2l.c: Include <float.h>.
24053         (__ieee754_exp2l): Handle overflow and underflow cases
24054         separately.  Only pass fractional part of argument to
24055         __ieee754_expl.
24056         * math/libm-test.inc (exp2_test): Add more tests.
24058         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24059         negating x to take absolute value.
24060         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24061         Likewise.
24062         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24063         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24064         Likewise.
24065         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24066         computing low part if x was negated.
24067         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24069 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24071         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24072         la_x32_gnu_pltexit.
24073         (pltexit): Cast int_retval to ptrdiff_t.
24074         * elf/tst-auditmod3b.c: Likewise.
24075         * elf/tst-auditmod4b.c: Likewise.
24076         * elf/tst-auditmod5b.c: Likewise.
24077         * elf/tst-auditmod6b.c: Likewise.
24078         * elf/tst-auditmod6c.c: Likewise.
24079         * elf/tst-auditmod7b.c: Likewise.
24081         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24082         and x32_gnu_pltexit.
24084         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24085         __ELF_NATIVE_CLASS.
24086         (La_x32_regs): New macro.
24087         (La_x32_retval): Likewise.
24088         (la_x32_gnu_pltenter): New function prototype.
24089         (la_x32_gnu_pltexit): Likewise.
24091 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
24093         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24094         exponent.
24096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24098         * configure.in (libc_cv_cc_nofma): Check for option to disable
24099         generation of FMA instructions.
24100         * configure: Regenerate.
24101         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24102         * sysdeps/ieee754/dbl-64/Makefile: New file.
24103         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24104         Remove brandred-fma4.
24105         (CFLAGS-brandred-fma4.c): Remove.
24106         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24107         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24108         define.
24109         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24110         define.
24112 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24114         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24115         LLONG_MAX != LONG_MAX.
24116         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24117         (_fitoa_word): Likewise.
24118         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24119         LLONG_MAX != LONG_MAX.
24120         * stdio-common/_itowa.h: Include <_itoa.h>.
24121         (_itowa_word): Use _ITOA_WORD_TYPE on value.
24122         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
24123         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
24124         only if not defined.
24125         (_ITOA_WORD_TYPE): Likewise.
24126         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24127         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24129 2012-03-21  David S. Miller  <davem@davemloft.net>
24131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24133 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24135         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24136         of x86_64 when setting libc_cv_slibdir, libdir and
24137         libc_cv_localedir.
24138         * sysdeps/unix/sysv/linux/configure: Regenerated.
24140 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24142         * manual/lang.texi (Old Varargs): Remove section.
24143         (How Variadic): Update menu.
24144         (va_start): Do not mention varargs.h.
24146 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24147             Joseph Myers  <joseph@codesourcery.com>
24149         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24150         link test.
24151         * configure: Regenerated.
24153 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24155         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24156         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24157         conformtest.pl
24159 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24161         * NOTES: Remove.
24162         * Makefile (files-for-dist): Remove NOTES.
24163         (NOTES): Remove rule.
24164         * README: Don't refer to NOTES.
24165         * manual/creature.texi: Don't include macros.texi.
24166         * manual/intro.texi (creature.texi): Remove comment referring to
24167         NOTES.
24169         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24170         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24171         * configure: Regenerated.
24172         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24173         LIBC_TRY_CC_OPTION.
24174         (libc_cv_as_i686): Likewise.
24175         (libc_cv_cc_avx): Likewise.
24176         (libc_cv_cc_sse2avx): Likewise.
24177         (libc_cv_cc_fma4): Likewise.
24178         (libc_cv_cc_novzeroupper): Likewise.
24179         * sysdeps/i386/configure: Regenerated.
24181         [BZ #13883]
24182         * sysdeps/i386/fpu/s_cexp.S: Remove.
24183         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24184         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24185         * math/libm-test.inc (cexp_test): Add more tests.
24186         * sysdeps/i386/fpu/libm-test-ulps: Update.
24187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24189 2012-03-21  Allan McRae  <allan@archlinux.org>
24191         * timezone/Makefile: Do not install iso3166.tab and zone.tab
24193 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24195         [BZ #13871]
24196         * math/w_exp2.c: Do not include <float.h>.
24197         (o_threshold, u_threshold): Remove.
24198         (__exp2): Calculate result before checking finiteness and calling
24199         __kernel_standard.
24200         * math/w_exp2f.c: Likewise.
24201         * math/w_exp2l.c: Likewise.
24202         * math/libm-test.inc (exp2_test): Require overflow exception for
24203         1e6 input.
24205         [BZ #3866]
24206         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24207         range of signed 64-bit integers before using fistpll.  Remove
24208         checks for whether integers fit in mantissa bits.
24209         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24210         the range of signed 32-bit integers before using fistpl.  Remove
24211         checks for whether integers fit in mantissa bits.
24212         * sysdeps/i386/fpu/e_powl.S (p64): New object.
24213         (__ieee754_powl): Test for y outside the range of signed 64-bit
24214         integers before using fistpll.  Reduce 64-bit values to 63-bit
24215         ones as needed.
24216         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24217         divide-by-zero is raised for zero to large negative powers.
24218         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24219         (__ieee754_powl): Test for y outside the range of signed 64-bit
24220         integers before using fistpll.  Reduce 64-bit values to 63-bit
24221         ones as needed.
24222         * math/libm-test.inc (pow_test): Add more tests.
24224 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24226         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24227         <stdio-common/_itoa.h>.
24228         * debug/segfault.c: Likewise.
24229         * elf/dl-cache.c: Likewise.
24230         * elf/dl-minimal.c: Likewise.
24231         * elf/dl-misc.c: Likewise.
24232         * elf/dl-sysdep.c: Likewise.
24233         * elf/dl-version.c: Likewise.
24234         * elf/rtld.c: Likewise.
24235         * hurd/hurdsock.c: Likewise.
24236         * hurd/lookup-retry.c: Likewise.
24237         * malloc/malloc.c: Likewise.
24238         * malloc/mtrace.c: Likewise.
24239         * nscd/nscd_getgr_r.c: Likewise.
24240         * nscd/nscd_getpw_r.c: Likewise.
24241         * nscd/nscd_getserv_r.c: Likewise.
24242         * posix/getopt_init.c: Likewise.
24243         * posix/wordexp.c: Likewise.
24244         * stdio-common/_itoa.c: Likewise.
24245         * stdio-common/printf_fphex.c: Likewise.
24246         * stdio-common/vfprintf.c: Likewise.
24247         * string/_strerror.c: Likewise.
24248         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24249         * sysdeps/i386/i686/hp-timing.h: Likewise.
24250         * sysdeps/mach/_strerror.c: Likewise.
24251         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24252         * sysdeps/mach/hurd/sethostid.c: Likewise.
24253         * sysdeps/mach/hurd/xmknodat.c: Likewise.
24254         * sysdeps/mach/xpg-strerror.c: Likewise.
24255         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24256         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24257         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24258         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24259         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24260         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24261         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24262         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24263         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24264         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24265         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24266         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24267         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24268         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24269         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24270         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24271         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24272         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24273         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24274         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24275         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24277         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24279         * stdio-common/_itoa.h: Moved to ...
24280         * sysdeps/generic/_itoa.h: Here.
24282         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24284         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24285         instead of "_itoa.h" and "_itowa.h".
24286         * stdio-common/vfprintf.: Likewise.
24288 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24290         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24291         <bits/wordsize.h>.
24292         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24293         (__signbit): Likwise.
24294         (llrintf): Likwise.
24295         (llrint): Likwise.
24297 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24299         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24300         __WORDSIZE != 64.
24302 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
24304         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24305         OVERFLOW_EXCEPTION_OK.
24306         * math/libm-test.inc ("Philosophy"): Update comment about
24307         exception testing.
24308         (OVERFLOW_EXCEPTION): Define.
24309         (OVERFLOW_EXCEPTION_OK): Likewise.
24310         (INVALID_EXCEPTION_OK): Renumber.
24311         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24312         (IGNORE_ZERO_INF_SIGN): Likewise.
24313         (test_exceptions): Handle FE_OVERFLOW.
24314         (exp10_test): Expect overflow exceptions.
24315         (exp2_test): Likewise.
24316         (expm1_test): Likewise.
24317         (nextafter_test): Likewise.
24318         (pow_test): Likewise.
24319         (scalbn_test): Likewise.
24320         (scalbln_test): Likewise.
24322 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24324         * sysdeps/x86_64/bits/atomic.h
24325         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24326         64bit integer.
24327         (atomic_exchange_acq): Likewise.
24328         (__arch_exchange_and_add_body): Likewise.
24329         (__arch_add_body): Likewise.
24330         (atomic_add_negative): Likewise.
24331         (atomic_add_zero): Likewise.
24333 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24335         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24336         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24338 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24340         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24341         Check __x86_64__ instead of __WORDSIZE.
24343 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24345         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24347 2012-03-19  David S. Miller  <davem@davemloft.net>
24349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24351         * sysdeps/sparc/fpu/fenv_private.h: New file.
24352         * sysdeps/sparc/fpu/math_private.h: Use it.
24353         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24354         Remove.
24355         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24356         (libc_feholdexcept_setroundl): Remove.
24357         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24358         Remove.
24359         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24360         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24362 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24364         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24365         int64_t instead of long int.
24366         (INSERT_WORDS64): Likwise.
24368 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24370         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24371         _Unwind_GetCFA return to _Unwind_Ptr first.
24373 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
24375         [BZ #13629]
24376         * math/s_clog.c: Include <float.h>.
24377         (__clog): Scale large or subnormal inputs.
24378         * math/s_clogf.c: Likewise.
24379         * math/s_clogl.c: Likewise.
24380         * math/s_clog10.c: Include <float.h>.
24381         (M_LOG10_2): Define.
24382         (__clog10): Scale large or subnormal inputs.
24383         * math/s_clog10f.c: Likewise.
24384         * math/s_clog10l.c: Likewise.
24385         * math/libm-test.inc (clog_test): Add more tests.
24386         (clog10_test): Likewise.
24387         * sysdeps/i386/fpu/libm-test-ulps: Update.
24388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24390         [BZ #11451]
24391         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24392         x and y.
24393         * math/libm-test.inc (atan2_test): Add another test.
24395         * Makerules (common-objdir-compile): Remove.
24396         * sysdeps/unix/Makefile (config-generated): Do not add
24397         $(unix-generated) to variable.
24398         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24399         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24400         Remove rule.
24401         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24402         Likewise.
24403         [generic bits/local_lim.h] (before-compile): Do not append to
24404         variable.
24405         [generic bits/local_lim.h] (common-generated): Likewise.
24406         [generic sys/param.h] (before-compile): Do not append to variable.
24407         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24408         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24409         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24410         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24411         include.
24412         [generic sys/param.h] (sys/param.h-includes): Remove variable.
24413         [generic sys/param.h] (sys/param.h-includes): Remove rule.
24414         [generic sys/param.h] ($(addprefix
24415         $(common-objpfx),$(sys/param.h-includes))): Likewise.
24416         [generic sys/param.h] (common-generated): Do not append to
24417         variable.
24418         [generic sys/param.h] (sysdep_headers): Likewise.
24419         [generic bits/errno.h] (before-compile): Do not append to
24420         variable.
24421         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24422         rule.
24423         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24424         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24425         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24426         [generic bits/errno.h] (common-generated): Do not append to
24427         variable.
24428         [generic bits/ioctls.h] (before-compile): Do not append to
24429         variable.
24430         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24431         rule.
24432         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24433         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24434         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24435         rule.
24436         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24437         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24438         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24439         [generic bits/ioctls.h] (common-generated): Do not append to
24440         variable.
24441         [generic sys/syscall.h] (syscall.h): Remove variable.
24442         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24443         rule.
24444         [generic sys/syscall.h] (before-compile): Do not append to
24445         variable.
24446         [generic sys/syscall.h] (common-generated): Likewise.
24447         * sysdeps/unix/errnos-tmpl.c: Remove file.
24448         * sysdeps/unix/errnos.awk: Likewise.
24449         * sysdeps/unix/ioctls-tmpl.c: Likewise.
24450         * sysdeps/unix/ioctls.awk: Likewise.
24451         * sysdeps/unix/mk-local_lim.c: Likewise.
24452         * sysdeps/unix/snarf-ioctls: Likewise.
24454 2012-03-19  Richard Henderson  <rth@twiddle.net>
24456         * sysdeps/i386/fpu/fenv_private.h: New file.
24457         * sysdeps/i386/fpu/math_private.h: Use it.
24458         (math_opt_barrier, math_force_eval): Remove.
24459         (libc_feholdexcept_setround_53bit): Remove.
24460         (libc_feupdateenv_53bit): Remove.
24461         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24462         (math_opt_barrier, math_force_eval): Remove.
24463         (libc_feholdexcept): Remove.
24464         (libc_feholdexcept_setround): Remove.
24465         (libc_fetestexcept, libc_fesetenv): Remove.
24466         (libc_feupdateenv_test): Remove.
24467         (libc_feupdateenv, libc_feholdsetround): Remove.
24468         (libc_feresetround): Remove.
24470         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24471         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24473         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24474         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24475         (libc_feupdateenv_testl): New.
24476         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24477         (libc_feupdateenv_testf): New.
24478         (libc_feupdateenv): Use libc_feupdateenv_test.
24479         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24480         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24482         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24483         (libc_feholdsetroundf, libc_feholdsetroundl): New.
24484         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24485         (libc_feresetround_noex): New.
24486         (libc_feresetround_noexf): New.
24487         (libc_feresetround_noexl): New.
24488         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24489         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24490         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24491         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24492         SET_RESTORE_ROUND.
24493         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24494         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24495         (__cos): Likewise.
24496         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24497         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24498         SET_RESTORE_ROUND_NOEX.
24499         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24500         SET_RESTORE_ROUND_NOEXF.
24501         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24502         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24503         (libc_feholdsetroundf): New.
24504         (libc_feresetround, libc_feresetroundf): New.
24506         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24507         (libc_feholdexcept_setround_53bit): Convert from macro to function.
24508         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
24510         * sysdeps/generic/math_private.h: Include <fenv.h>.
24511         (default_libc_feholdexcept): New.
24512         (default_libc_feholdexcept_setround): New.
24513         (default_libc_fesetenv, default_libc_feupdateenv): New.
24514         (libc_feholdexcept): Only define if undefined.
24515         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24516         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24517         (libc_feholdexcept_setroundl): Likewise.
24518         (libc_feholdexcept_setround_53bit): Likewise.
24519         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24520         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24521         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24522         (libc_feupdateenv_53bit): Likewise.
24523         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24524         (libc_feholdexcept): Convert from macro to inline function.
24525         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24526         (libc_fesetenv, libc_feupdateenv): Likewise.
24528         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24529         not previously defined.
24530         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24531         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24532         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24533         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24534         * sysdeps/ieee754/flt-32/math_private.h: New file.
24535         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24536         math_private.h below SET_FLOAT_WORD.
24537         (__isnan, __isinf_ns, __finite): Remove.
24538         (__isnanf, __isinf_nsf, __finitef): Remove.
24540 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
24542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24544 2012-03-17  David S. Miller  <davem@davemloft.net>
24546         [BZ #6471]
24547         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24548         for 2.16.
24550 2012-03-16  David S. Miller  <davem@davemloft.net>
24552         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24553         warnings.
24555         [BZ #6471]
24556         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24557         properly.
24558         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24559         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24560         sysdep_routines when subdir is sysvipc.
24561         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24562         __getshmlba helper.
24564         * sysdeps/sparc/fpu/libm-test/ulps: Update.
24566 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24568         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24569         [__LP64__].
24571 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24573         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24574         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24575         (__lround): Renamed to ...
24576         (__llround): This.  Replace long int with long long int.
24577         Define lround functions as aliases of llround functions.
24578         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24580 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24582         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24583         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
24584         adresses to uintptr_t.  Replace "long int" and "unsigned long
24585         int" with "greg_t" on va_arg.
24587 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24589         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24590         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24592         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24593         Move e_machine check before EI_CLASS check.  Handle x32
24594         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24595         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24596         SKIP_EM_IA_64 and include
24597         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24599         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24600         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24601         (add_system_dir): New macro.
24603         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24604         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24606 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24608         [BZ #2551]
24609         [BZ #2552]
24610         [BZ #2553]
24611         [BZ #2554]
24612         [BZ #2562]
24613         [BZ #2563]
24614         [BZ #2565]
24615         [BZ #2566]
24616         [BZ #2576]
24617         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24618         (y0): Likewise.
24619         * math/w_j0f.c (j0f): Likewise.
24620         (y0f): Likewise.
24621         * math/w_j0l.c (__j0l): Likewise.
24622         (__y0l): Likewise.
24623         * math/w_j1.c (j1): Likewise.
24624         (y1): Likewise.
24625         * math/w_j1f.c (j1f): Likewise.
24626         (y1f): Likewise.
24627         * math/w_j1l.c (__j1l): Likewise.
24628         (__y1l): Likewise.
24629         * math/w_jn.c (jn): Likewise.
24630         (yn): Likewise.
24631         * math/w_jnf.c (jnf): Likewise.
24632         (ynf): Likewise.
24633         * math/w_jnl.c (__jnl): Likewise.
24634         (__ynl): Likewise.
24635         * math/libm-test.inc (j0_test): Add more tests.
24636         (j1_test): Likewise.
24637         (jn_test): Likewise.  Add trailing semicolon to existing test.
24638         (y0_test): Likewise.
24639         (y1_test): Likewise.
24640         * sysdeps/i386/fpu/libm-test-ulps: Update.
24641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24643         [BZ #13851]
24644         [BZ #13854]
24645         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24646         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24647         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24648         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24649         (__tanl): Set errno for infinite argument.
24650         * sysdeps/i386/fpu/mptan.c: Remove.
24651         * sysdeps/i386/fpu/s_tan.S: Likewise.
24652         * sysdeps/i386/fpu/s_tanl.S: Likewise.
24653         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24654         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24655         * math/libm-test.inc (tan_test): Add more tests and enable more
24656         tests for double and long double.
24657         * sysdeps/i386/fpu/libm-test-ulps: Update.
24658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24660 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
24662         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24663         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24665 2012-03-16  Roland McGrath  <roland@hack.frob.com>
24667         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24668         * configure.in: Use it for both main tree and add-ons.
24669         * configure: Regenerated.
24671 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24673         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24675 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24677         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24678         in comment.
24680         [BZ #13851]
24681         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24682         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24683         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24684         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24685         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24686         infinite argument.
24687         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24688         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24689         != 0 for prec == 2.
24690         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24691         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24692         * sysdeps/i386/fpu/s_cosl.S: Likewise.
24693         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24694         * sysdeps/i386/fpu/s_sinl.S: Likewise.
24695         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24696         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24697         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24698         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24699         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24700         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24701         * math/libm-test.inc (cos_test): Add more tests and enable more
24702         tests for long double.
24703         (sin_test): Likewise.
24704         (sincos_test): Likewise.
24705         * sysdeps/i386/fpu/libm-test-ulps: Update.
24706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24708 2012-03-16  David S. Miller  <davem@davemloft.net>
24710         * sysdeps/sparc/fpu/math_private.h: New file.
24712 2012-03-15  David S. Miller  <davem@davemloft.net>
24714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24715         file.
24716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24718         file.
24719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24720         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24721         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24722         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24723         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24724         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24725         sysdep routines.
24726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24728         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24729         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24731         * sysdeps/sparc/sparc-ifunc.h: New file.
24732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24733         sparc-ifunc.h
24734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24736         Likewise.
24737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24738         Likewise.
24739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24743         Likewise.
24744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24749         Likewise.
24750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24751         Likewise.
24752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24756         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24757         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24758         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24759         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24760         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24761         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24762         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24763         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24764         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24765         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24766         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24767         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24768         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24769         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24770         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24771         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24772         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24773         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24774         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24775         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24777 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24779         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24780         scaling.
24781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24783 2012-03-15  Andreas Jaeger  <aj@suse.de>
24785         [BZ #13852]
24786         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24787         ieee754/flt-32 implementation for sin, cos and sincos.
24788         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24789         * sysdeps/i386/fpu/s_cosf.S: Likewise.
24790         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24791         * sysdeps/i386/fpu/s_sinf.S: Likewise.
24792         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24793         ieee754/flt-32 implementation for tan.
24795         * math/libm-test.inc (cos_test): Enable some large input tests for
24796         float as well
24797         (sin_test): Likewise.
24798         (sincos_test): Likewise.
24799         (tan_test): Add tests for large input.
24801         * sysdeps/i386/fpu/libm-test-ulps: Update.
24803 2012-03-15  Andreas Jaeger  <aj@suse.de>
24805         [BZ #13658]
24806         * math/libm-test.inc (cos_test): Add more test cases.
24807         (sin_test): Likewise.
24808         (sincos_test): Likewise.
24810 2012-03-15  Andreas Jaeger  <aj@suse.de>
24812         [BZ #13837]
24813         * math/libm-test.inc (cos_test): Add a test case for large input
24814         value.
24815         (sin_test): Likewise.
24816         (sincos_test): Likewise.
24818 2012-03-15  Andreas Jaeger  <aj@suse.de>,
24819         Joseph Myers  <joseph@codesourcery.com>
24821         [BZ #13658]
24822         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24823         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24824         * sysdeps/i386/fpu/branred.c: Likewise.
24825         * sysdeps/i386/fpu/dosincos.c: Likewise.
24826         * sysdeps/i386/fpu/mpa.c: Likewise.
24827         * sysdeps/i386/fpu/s_cos.S: Likewise.
24828         * sysdeps/i386/fpu/s_sin.S: Likewise.
24829         * sysdeps/i386/fpu/s_sincos.S: Likewise.
24830         * sysdeps/i386/fpu/sincos32.c: Likewise.
24832         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24833         Define.
24834         (libc_feupdateenv_53bit): Define.
24835         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24836         Define.
24837         (libc_feupdateenv_53bit): Define.
24839         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24840         53 bit (without extend i386 double precision).
24842         * math/libm-test.inc (sincos_test): Add tests for large input.
24843         (sin): Likewise.
24844         (cos): Likewise.
24846         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24848 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24852 2012-03-15  David S. Miller  <davem@davemloft.net>
24854         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24855         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24856         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24857         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24862         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24863         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24864         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24865         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24866         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24867         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24868         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24870         file.
24871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24873         file.
24874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24876         file.
24877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24879         file.
24880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24881         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24882         fmin/fmax sysdep routines.
24883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24885 2012-03-14  David S. Miller  <davem@davemloft.net>
24887         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24888         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24889         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24890         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24891         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24892         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24893         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24894         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24896         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24897         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24898         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24899         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24900         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24901         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24902         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24903         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24904         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24905         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24906         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24907         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24908         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24909         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24910         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24911         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24912         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24913         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24914         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24915         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24916         routines.
24917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24918         file.
24919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24921         file.
24922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24924         file.
24925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24927         file.
24928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24930         file.
24931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24933         file.
24934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24935         file.
24936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24937         file.
24938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24939         file.
24940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24941         New file.
24942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24943         file.
24944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24945         file.
24946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24948         file.
24949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24951         file.
24952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24954         file.
24955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24957         VIS3 routines.
24959         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24960         New file.
24962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24964         * sysdeps/sparc/configure.in: New file.
24965         * sysdeps/sparc/configure: Generate.
24966         * configure.in (libc_cv_sparc_as_vis3): Substitute.
24967         * configure: Regenerate.
24968         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24969         * config.make.in (have-as-vis3): New.
24970         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24971         available use -Av9d instead of -Av9a.
24972         * sysdeps/sparc/sparc64/Makefile: Likewise.
24973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24975         New file.
24976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24977         file.
24978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24979         New file.
24980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24981         file.
24982         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24983         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24984         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24985         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24986         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24988         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24989         fzeros/fnegs to load 0x80000000 into a float register instead of
24990         using the stack.
24991         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24993 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
24995         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24996         bits/syscall.h.
24997         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24998         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24999         ($(inst_includedir)/bits/syscall.h): Remove rule.
25000         ($(objpfx)bits/syscall.d): Include instead of
25001         $(objpfx)syscall-list.d.
25002         (generated): Change syscall-list.h and syscall-list.d to
25003         bits/syscall.h and bits/syscall.d.
25005 2012-03-14  Roland McGrath  <roland@hack.frob.com>
25007         [BZ #13846]
25008         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25010 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25012         [BZ #13841]
25013         * math/s_csqrt.c: Include <float.h>.
25014         (__csqrt): Scale large or subnormal inputs.
25015         * math/s_csqrtf.c: Likewise.
25016         * math/s_csqrtl.c: Likewise.
25017         * math/libm-test.inc (csqrt_test): Add more tests.
25018         * sysdeps/i386/fpu/libm-test-ulps: Update.
25019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25021         [BZ #13840]
25022         * math/libm-test.inc (hypot_test): Add more tests.
25024 2012-03-13  David S. Miller  <davem@davemloft.net>
25026         [BZ #13840]
25027         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25028         double-precision for the calculation instead of scaling.
25030 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
25032         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25033         manipulate bits before adding and subtracting TWO52[sx].
25034         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25035         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25036         Likewise.
25037         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25039 2012-03-13  David S. Miller  <davem@davemloft.net>
25041         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25042         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25043         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25044         rtld-global-offsets.h
25045         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25047         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25048         large parameters.
25050         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25052         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25053         'err' in the ifdef scope in which it is actually used.
25055         * nss/nss_db/db-init.c: Include string.h
25057 2012-03-12  David S. Miller  <davem@davemloft.net>
25059         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25060         masking out of the most significant byte of random value used.
25061         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25062         Fix coding style in previous change.
25064         * sysdeps/unix/sysv/linux/kernel-features.h
25065         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25066         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25067         expression.
25068         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25069         later.
25071 2012-03-11  David S. Miller  <davem@davemloft.net>
25073         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25074         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25075         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25076         for 'resultvar' otherwise things get truncated on 64-bit.
25078         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25079         Fix masking out of the most significant byte of random value used.
25081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25083 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
25085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25087 2012-03-09  David S. Miller  <davem@davemloft.net>
25089         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25090         variables with appropriate CPP guards.
25091         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25092         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
25093         on resulting framesize and the management of the outregs buffer for pltexit.
25094         Preserve floating point return values across _dl_call_pltexit call.
25095         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25096         framesize and the management of the outregs buffer for pltexit.
25097         Preserve floating point return values across _dl_call_pltexit
25098         call.
25099         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25100         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25101         (print_exit): Fix format string for return register value.
25103 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
25105         * sunrpc/Makefile (others): Add rpcgen.
25106         ($(objpfx)rpcgen): Remove special build rule and dependency on
25107         libc.
25108         * sunrpc/rpcgen.c: New file.
25110 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
25112         [BZ #13673]
25113         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25114         * stdio-common/bug-vfprintf-nargs.c: Likewise.
25115         * sysdeps/i386/crti.S: Likewise.
25116         * sysdeps/i386/crtn.S: Likewise.
25117         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25118         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25119         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25120         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25121         * sysdeps/sh/crti.S: Likewise.
25122         * sysdeps/sh/crtn.S: Likewise.
25123         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25125         [BZ #13673]
25126         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25127         with URL.
25128         * locale/programs/locfile-kw.gperf: Likewise.
25129         * locale/programs/charmap-kw.h: Regenerated.
25130         * locale/programs/locfile-kw.h: Likewise.
25132         [BZ #13673]
25133         * intl/plural.y: Replace FSF snail mail address with URL.
25134         * intl/plural.c: Regenerated.
25136 2012-03-09  Richard Henderson  <rth@twiddle.net>
25138         * include/math_private.h: Remove file.
25139         * math/math_private.h: Move file ...
25140         * sysdeps/generic/math_private.h: ... here.
25142         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25143         * sysdeps/powerpc/fpu/math_private.h: Likewise.
25144         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25146         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25147         and <math_private.h>.
25148         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25149         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25150         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25151         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25152         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25153         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25154         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25155         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25156         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25157         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25158         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25159         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25160         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25161         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25162         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25163         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25164         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25165         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25166         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25167         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25168         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25169         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25170         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25171         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25172         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25173         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25174         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25175         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25176         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25177         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25178         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25179         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25180         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25181         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25182         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25183         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25184         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25185         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25186         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25187         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25188         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25189         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25190         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25191         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25192         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25193         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25194         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25195         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25196         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25197         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25198         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25199         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25200         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25201         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25202         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25203         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25204         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25205         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25206         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25207         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25208         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25209         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25210         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25211         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25212         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25213         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25214         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25215         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25216         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25217         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25218         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25219         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25220         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25221         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25222         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25223         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25224         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25225         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25226         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25227         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25228         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25229         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25230         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25231         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25232         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25233         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25234         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25235         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25236         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25237         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25238         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25239         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25240         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25241         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25242         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25243         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25244         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25245         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25246         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25247         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25248         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25249         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25250         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25251         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25252         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25253         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25254         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25255         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25256         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25257         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25258         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25259         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25260         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25261         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25262         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25263         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25264         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25265         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25266         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25267         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25268         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25269         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25270         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25271         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25272         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25273         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25274         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25275         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25276         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25277         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25278         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25279         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25280         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25281         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25282         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25283         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25284         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25285         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25286         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25287         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25288         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25289         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25290         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25291         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25292         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25293         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25294         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25295         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25296         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25297         * sysdeps/ieee754/k_standard.c: Likewise.
25298         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25299         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25300         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25301         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25302         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25303         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25304         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25305         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25306         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25307         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25308         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25309         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25310         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25311         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25312         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25313         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25314         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25315         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25316         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25317         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25318         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25319         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25320         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25321         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25322         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25323         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25324         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25325         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25326         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25327         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25328         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25329         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25330         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25331         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25332         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25333         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25334         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25335         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25336         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25337         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25338         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25339         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25340         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25341         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25342         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25343         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25344         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25345         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25346         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25347         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25348         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25349         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25350         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25351         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25352         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25353         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25354         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25355         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25356         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25357         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25358         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25359         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25360         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25361         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25362         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25363         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25364         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25365         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25366         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25367         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25368         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25369         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25370         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25371         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25372         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25373         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25374         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25375         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25376         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25377         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25378         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25379         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25380         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25381         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25382         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25383         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25384         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25385         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25386         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25387         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25388         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25389         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25390         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25391         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25392         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25393         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25394         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25395         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25396         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25397         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25398         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25399         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25400         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25401         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25402         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25403         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25404         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25405         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25406         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25407         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25408         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25409         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25410         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25411         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25412         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25413         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25414         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25415         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25416         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25417         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25418         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25419         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25420         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25421         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25422         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25423         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25424         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25425         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25426         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25427         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25428         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25429         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25430         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25431         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25432         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25433         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25434         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25435         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25436         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25437         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25438         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25439         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25440         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25441         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25442         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25443         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25444         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25445         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25446         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25447         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25448         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25449         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25450         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25451         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25452         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25453         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25454         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25455         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25456         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25457         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25458         * sysdeps/ieee754/s_lib_version.c: Likewise.
25459         * sysdeps/ieee754/s_matherr.c: Likewise.
25460         * sysdeps/ieee754/s_signgam.c: Likewise.
25461         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25462         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25463         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25464         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25465         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25466         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25467         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25468         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25469         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25470         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25471         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25472         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25473         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25474         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25475         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25476         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25477         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25478         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25479         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25480         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25481         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25483 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25485         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25486         * sunrpc/rpc_main.c: Likewise.
25487         * sunrpc/rpc_svcout.c: Likewise.
25489 2012-03-09  David S. Miller  <davem@davemloft.net>
25491         * include/math_private.h: New file.
25493 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25495         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25496         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25497         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25498         from <bits/socket_type.h>.
25499         (enum __socket_type): Don't define here.
25500         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25501         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25502         bits/socket_type.h.
25504         [BZ #13566]
25505         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25506         checking __USE_GNU.
25508         * Makerules ($(inst_includedir)/%.h): New rule.
25509         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25510         (install-others): Remove variable setting.
25511         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25513 2012-03-08  Richard Henderson  <rth@twiddle.net>
25515         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25516         from macro to inline function; merge with the
25517         !__LIBC_INTERNAL_MATH_INLINES version.
25518         (__ieee754_sqrtf): Likewise.
25520         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25521         to inline function.
25522         (__rintf, __floor, __floorf): Likewise.
25524         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25525         macro to inline function.
25526         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25528         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25529         not <math/math_private.h>.
25531 2012-03-08  David S. Miller  <davem@davemloft.net>
25533         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25534         copyright year.
25535         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25537 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
25539         * resolv/gai_misc.c (handle_requests): Fix struct timespec
25540         normalization.
25541         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25542         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25544 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
25546         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
25547         be defined individually, they must be defined as a block.  Define
25548         S for printing a string instead of hidint the different by using a
25549         macro for adding the 'l'.
25550         * stdio-common/tst-fphex-wide.c: Adjust.
25552 2012-03-07  Marek Polacek  <polacek@redhat.com>
25554         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25556 2012-03-08  Marek Polacek  <polacek@redhat.com>
25558         [BZ #13806]
25559         * stdio-common/Makefile (tests): Add tst-fphex-wide.
25560         * stdio-common/tst-fphex.c: Define a few macros to make the
25561         test reusable.  Use them.
25562         * stdio-common/tst-fphex-wide.c: New file.
25564 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
25566         [BZ #6911]
25567         * manual/macros.texi (gnusystems): New macro.
25568         (nongnusystems): Likewise.
25569         (gnulinuxhurdsystems): Likewise.
25570         (gnuhurdsystems): Likewise..
25571         (gnulinuxsystems): Likewise.
25572         * manual/charset.texi: Use new macros or @theglibc{} to refer to
25573         variants of the GNU system, not "GNU system".
25574         * manual/conf.texi: Likewise.
25575         * manual/errno.texi: Likewise.  Update example of errno macro
25576         expansion.
25577         * manual/filesys.texi: Likewise.
25578         (getumask): Document as specific to GNU/Hurd.
25579         * manual/install.texi: Likewise.  Reword some references to
25580         GNU/Linux.
25581         * manual/intro.texi: Likewise.
25582         * manual/io.texi: Likewise.
25583         (File Name Portability): Detail which constraints are inapplicable
25584         to all GNU systems and which are only inapplicable to GNU/Hurd.
25585         * manual/job.texi: Likewise.
25586         * manual/llio.texi: Likewise.
25587         (O_NOCTTY): Document as present on GNU/Linux.
25588         * manual/maint.texi: Likewise.
25589         * manual/memory.texi: Likewise.
25590         * manual/pattern.texi: Likewise.
25591         * manual/pipe.texi: Likewise.
25592         * manual/process.texi: Likewise.
25593         * manual/resource.texi: Likewise.
25594         (RUSAGE_CHILDREN): Remove statement about specifying a particular
25595         child on GNU/Hurd.
25596         * manual/setjmp.texi: Likewise.
25597         * manual/signal.texi: Likewise.
25598         * manual/startup.texi: Likewise.
25599         * manual/stdio.texi: Likewise.
25600         * manual/terminal.texi: Likewise.
25601         (ONLCR): Document as POSIX.
25602         (OXTABS): Document availability on GNU/Linux as XTABS.
25603         (ONOEOT): Document availability separately from other bits.
25604         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25605         * manual/time.texi: Likewise.
25606         * manual/users.texi: Likewise.
25607         * INSTALL: Regenerated.
25608         * sysdeps/gnu/errlist.c: Regenerated.
25610         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25611         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25612         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
25613         puts.
25614         * configure: Regenerated.
25616 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
25618         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25619         default includes instead of AC_HEADER_CHECK.
25620         * sysdeps/i386/configure: Regenerated.
25622         [BZ #10716]
25623         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25624         * math/s_cacoshf.c (__cacoshf): Likewise.
25625         * math/s_cacoshl.c (__cacoshl): Likewise.
25626         * math/s_casinh.c (__casinh): Set signs of result from argument.
25627         * math/s_casinhf.c (__casinhf): Likewise.
25628         * math/s_casinhl.c (__casinhl): Likewise.
25629         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25630         (casinh_test): Add more tests.
25631         * sysdeps/i386/fpu/libm-test-ulps: Update.
25632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25634 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
25636         * po/zh_TW.po: Update from translation team.
25638         * login/Makefile (distribute): Remove variable.
25639         * catgets/Makefile: Likewise.
25640         * mach/Makefile: Likewise.
25641         * malloc/Makefile: Likewise.
25642         * misc/Makefile: Likewise.
25643         * iconv/Makefile: Likewise.
25644         * nscd/Makefile: Likewise.
25645         * hurd/Makefile: Likewise.
25646         * manual/Makefile: Likewise.
25647         * locale/Makefile: Likewise.
25648         * intl/Makefile: Likewise.
25649         * conform/Makefile: Likewise.
25650         * nss/Makefile: Likewise.
25651         * time/Makefile: Likewise.
25652         * soft-fp/Makefile: Likewise.
25653         * dirent/Makefile: Likewise.
25654         * gmon/Makefile: Likewise.
25655         * po/Makefile: Likewise.
25656         * rt/Makefile: Likewise.
25657         * socket/Makefile: Likewise.
25658         * math/Makefile: Likewise.
25659         * signal/Makefile: Likewise.
25660         * debug/Makefile: Likewise.
25661         * elf/Makefile: Likewise.
25662         * timezone/Makefile: Likewise.
25663         * stdlib/Makefile: Likewise.
25664         * iconvdata/Makefile: Likewise.
25665         * sunrpc/Makefile: Likewise.
25666         * io/Makefile: Likewise.
25667         * argp/Makefile: Likewise.
25668         * inet/Makefile: Likewise.
25669         * hesiod/Makefile: Likewise.
25670         * grp/Makefile: Likewise.
25671         * csu/Makefile: Likewise.
25672         * wctype/Makefile: Likewise.
25673         * crypt/Makefile: Likewise.
25674         * libio/Makefile: Likewise.
25675         * string/Makefile: Likewise.
25676         * nis/Makefile: Likewise.
25677         * resolv/Makefile: Likewise.
25678         * stdio-common/Makefile: Likewise.
25679         * wcsmbs/Makefile: Likewise.
25680         * dlfcn/Makefile: Likewise.
25681         * posix/Makefile: Likewise.
25683         [BZ #6959]
25684         * timezone/Makefile: Don't install timezone files, just the programs
25685         and scripts.
25687 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
25689         * nss/databases.def: Add missing gshadow entry.
25691         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
25693 2012-03-06  Marek Polacek  <polacek@redhat.com>
25695         [BZ #13726]
25696         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25697         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25698         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25699         * stdio-common/tst-long-dbl-fphex.c: New file.
25701 2012-03-06  David S. Miller  <davem@davemloft.net>
25703         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25704         (set_obp_int): New function.
25705         (get_obp_int): New function.
25706         (__get_clockfreq_via_dev_openprom): Likewise.
25707         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25708         Avoid unused variable warnings on 'val' and use builtin_expect.
25709         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25710         __builtin_expect.
25711         (INLINE_CLONE_SYSCALL): Likewise.
25713 2012-03-05  David S. Miller  <davem@davemloft.net>
25715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25717 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
25719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25721         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25722         only for |x| >= 40.
25723         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25725 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25727         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25728         Replace gettimeofday with __vdso_gettimeofday.
25730         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25731         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25732         __vdso_clock_gettime and __vdso_getcpu.
25734         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25735         time with __vdso_time.
25737 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25739         * manual/lang.texi (size_t): Note types to which size_t may be
25740         equivalent with the GNU C Library, but do not describe when
25741         differences between them are significant.
25743 2012-03-05  Andreas Jaeger  <aj@suse.de>
25745         * sysdeps/i386/fpu/libm-test-ulps: Update.
25747 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25749         [BZ #3976]
25750         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25751         (__ieee754_pow): Save and restore rounding mode and use
25752         round-to-nearest for main computations.
25753         * math/libm-test.inc (pow_test_tonearest): New function.
25754         (pow_test_towardzero): Likewise.
25755         (pow_test_downward): Likewise.
25756         (pow_test_upward): Likewise.
25757         (main): Call the new functions.
25758         * sysdeps/i386/fpu/libm-test-ulps: Update.
25759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25761         [BZ #3976]
25762         * math/libm-test.inc (cosh_test_tonearest): New function.
25763         (cosh_test_towardzero): Likewise.
25764         (cosh_test_downward): Likewise.
25765         (cosh_test_upward): Likewise.
25766         (sinh_test_tonearest): Likewise.
25767         (sinh_test_towardzero): Likewise.
25768         (sinh_test_downward): Likewise.
25769         (sinh_test_upward): Likewise.
25770         (main): Call the new functions.
25771         * sysdeps/i386/fpu/libm-test-ulps: Update.
25772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25774 2012-03-05  Tom de Vries  <tom@codesourcery.com>
25776         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25777         default stack guard is set in last bytes.
25778         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25780 2012-03-05  Kees Cook  <keescook@chromium.org>
25782         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25784         [BZ #13656]
25785         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25786         possibly allocate from heap instead of stack.
25787         * stdio-common/bug-vfprintf-nargs.c: New file.
25788         * stdio-common/Makefile (tests): Add nargs overflow test.
25790 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
25792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25794 2012-03-03  Marek Polacek  <polacek@redhat.com>
25796         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25797         * math/math_private.h: Likewise.
25798         * stdlib/tst-strtod.c: Likewise.
25799         * sysdeps/i386/i486/bits/atomic.h: Likewise.
25800         * sysdeps/x86_64/bits/atomic.h: Likewise.
25802 2012-03-02  David S. Miller  <davem@davemloft.net>
25804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25808         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25809         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25810         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25811         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25813 2012-03-02  Roland McGrath  <roland@hack.frob.com>
25815         [BZ #13792]
25816         * manual/examples/README: New file, says the example source files
25817         can be used under GPL>=2.
25818         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25819         line containing just "*/".
25820         * manual/examples/add.c: Add copyright header (GPL>=2).
25821         * manual/examples/argp-ex1.c: Likewise.
25822         * manual/examples/argp-ex2.c: Likewise.
25823         * manual/examples/argp-ex3.c: Likewise.
25824         * manual/examples/argp-ex4.c: Likewise.
25825         * manual/examples/atexit.c: Likewise.
25826         * manual/examples/db.c: Likewise.
25827         * manual/examples/dir.c: Likewise.
25828         * manual/examples/dir2.c: Likewise.
25829         * manual/examples/execinfo.c: Likewise.
25830         * manual/examples/filecli.c: Likewise.
25831         * manual/examples/filesrv.c: Likewise.
25832         * manual/examples/fmtmsgexpl.c: Likewise.
25833         * manual/examples/genpass.c: Likewise.
25834         * manual/examples/inetcli.c: Likewise.
25835         * manual/examples/inetsrv.c: Likewise.
25836         * manual/examples/isockad.c: Likewise.
25837         * manual/examples/longopt.c: Likewise.
25838         * manual/examples/memopen.c: Likewise.
25839         * manual/examples/memstrm.c: Likewise.
25840         * manual/examples/mkfsock.c: Likewise.
25841         * manual/examples/mkisock.c: Likewise.
25842         * manual/examples/mygetpass.c: Likewise.
25843         * manual/examples/pipe.c: Likewise.
25844         * manual/examples/popen.c: Likewise.
25845         * manual/examples/rprintf.c: Likewise.
25846         * manual/examples/search.c: Likewise.
25847         * manual/examples/select.c: Likewise.
25848         * manual/examples/setjmp.c: Likewise.
25849         * manual/examples/sigh1.c: Likewise.
25850         * manual/examples/sigusr.c: Likewise.
25851         * manual/examples/stpcpy.c: Likewise.
25852         * manual/examples/strdupa.c: Likewise.
25853         * manual/examples/strftim.c: Likewise.
25854         * manual/examples/strncat.c: Likewise.
25855         * manual/examples/subopt.c: Likewise.
25856         * manual/examples/swapcontext.c: Likewise.
25857         * manual/examples/termios.c: Likewise.
25858         * manual/examples/testopt.c: Likewise.
25859         * manual/examples/testpass.c: Likewise.
25860         * manual/examples/timeval_subtract.c: Likewise.
25862         [BZ #13792]
25863         * manual/time.texi (Elapsed Time): Move timeval_subtract example
25864         function to ...
25865         * manual/timeval_subtract.c.texi: ... here, new file.
25867 2012-03-02  David S. Miller  <davem@davemloft.net>
25869         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25871 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
25873         [BZ #3976]
25874         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25875         (__sin): Save and restore rounding mode and use round-to-nearest
25876         for all computations.
25877         (__cos): Save and restore rounding mode and use round-to-nearest
25878         for all computations.
25879         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25880         <fenv.h>.
25881         (tan): Save and restore rounding mode and use round-to-nearest for
25882         all computations.
25883         * math/libm-test.inc (cos_test_tonearest): New function.
25884         (cos_test_towardzero): Likewise.
25885         (cos_test_downward): Likewise.
25886         (cos_test_upward): Likewise.
25887         (sin_test_tonearest): Likewise.
25888         (sin_test_towardzero): Likewise.
25889         (sin_test_downward): Likewise.
25890         (sin_test_upward): Likewise.
25891         (tan_test_tonearest): Likewise.
25892         (tan_test_towardzero): Likewise.
25893         (tan_test_downward): Likewise.
25894         (tan_test_upward): Likewise.
25895         (main): Call the new functions.
25896         * sysdeps/i386/fpu/libm-test-ulps: Update.
25897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25899         [BZ #10135]
25900         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25901         small n, then large n, before computing and testing k+n.
25902         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25903         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25904         Likewise.
25905         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25906         Likewise.
25907         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25908         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25909         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25910         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25911         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25912         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25913         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25914         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25915         * math/libm-test.inc (scalbn_test): Add more tests.
25916         (scalbln_test): Likewise.
25918         * manual/filesys.texi (mode_t): Describe constraints on size and
25919         signedness, not exact equivalence to a particular type.
25920         (ino_t): Likewise.
25921         (ino64_t): Likewise.
25922         (dev_t): Likewise.
25923         (nlink_t): Likewise.
25924         (blkcnt_t): Likewise.
25925         (blkcnt64_t): Likewise.
25926         * manual/llio.texi (off_t): Likewise.
25928         [BZ #3976]
25929         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25930         (__ieee754_exp): Save and restore rounding mode and use
25931         round-to-nearest for all computations.
25932         * math/libm-test.inc (exp_test_tonearest): New function.
25933         (exp_test_towardzero): Likewise.
25934         (exp_test_downward): Likewise.
25935         (exp_test_upward): Likewise.
25936         (main): Call the new functions.
25937         * sysdeps/i386/fpu/libm-test-ulps: Update.
25938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25940 2012-03-01  Chris Demetriou  <cgd@google.com>
25942         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25943         have predictable order.
25945 2012-03-01  David S. Miller  <davem@davemloft.net>
25947         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25949         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25950         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25951         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25952         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25954         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25955         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25956         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25958         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25959         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25960         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25961         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25962         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25966         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25967         * sysdeps/sparc/fpu/libm-test-ulps: to here.
25968         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25970         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25971         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25972         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25973         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25974         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25975         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25976         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25977         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25978         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25979         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25980         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25981         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25982         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25983         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25984         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25985         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25986         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25987         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25988         * sysdeps/sparc/elf/configure: Regenerated.
25990 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
25992         * configure.in (AS, LD): Require binutils 2.20 or later.
25993         * configure: Regenerated.
25994         * manual/install.texi (Tools for Compilation): Give binutils 2.20
25995         as required minimum version.
25996         * INSTALL: Regenerated.
25998         [BZ #2541]
25999         [BZ #4108]
26000         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26001         before squaring exponent.
26002         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26003         bottom long double and 27 bits of top long double before squaring
26004         exponent.
26005         * math/libm-test.inc (erfc_test): Add more tests.
26006         * sysdeps/i386/fpu/libm-test-ulps: Update.
26007         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26010 2012-03-01  Kai Tietz  <ktietz@redhat.com>
26012         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26013         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26014         containing bit-fields.
26015         * soft-fp/extended.h (_FP_UNION_E): Likewise.
26016         * soft-fp/single.h (_FP_UNION_S): Likewise.
26017         * soft-fp/double.h (_FP_UNION_D): Likewise.
26019 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26021         [BZ #13786]
26022         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26023         not include ../strcmp.S.
26024         [USE_AS_STRNCASECMP_L]: Likewise.
26025         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26026         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26027         * sysdeps/i386/i686/multiarch/strncase_l-c.c
26028         (__strncasecmp_l_ia32): Define as alias to
26029         __strncasecmp_l_nonascii.
26031         [BZ #5794]
26032         * math/libm-test.inc (expm1_test): Add test for bug 5794.
26033         * sysdeps/i386/fpu/libm-test-ulps: Update.
26034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26036         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26039 2012-02-29  Jeff Law  <law@redhat.com>
26041         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26042         out of bounds read.
26044 2012-02-29  Marek Polacek  <polacek@redhat.com>
26046         [BZ #13706]
26047         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26048         * elf/Makefile: Add rules to run tst-unused-dep.out.
26050 2012-02-28  David S. Miller  <davem@davemloft.net>
26052         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26053         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26054         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26055         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26056         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26057         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26059 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26061         * math/libm-test.inc (llround_test): Move one test from
26062         lround_test.  Use TEST_f_L in moved test.
26063         (lround_test): Move misplaced test to llround_test.  Add testcase
26064         from bug 2561.
26066 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
26068         * sysdeps/x86_64/fpu/e_expf.S: New file.
26069         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26071 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
26073         [BZ #13637]
26074         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26075         of remain_len that may cause incomplete multi-byte character and
26076         false match.
26077         * posix/bug-regex33.c: New file.
26078         * posix/Makefile (tests): Add bug-regex33.
26080 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
26082         * manual/macros.texi: New file.
26083         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26084         * manual/libc.texinfo: Include macros.texi.
26085         * manual/creatute.texi: Likewise.
26086         * manual/install.texi: Likewise.
26087         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26088         @glibcadj{} in references to the GNU C Library.
26089         * manual/charset.texi: Likewise.
26090         * manual/conf.texi: Likewise.
26091         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
26092         when not using those macros.
26093         * manual/creature.texi: Likewise.
26094         * manual/crypt.texi: Likewise.
26095         * manual/errno.texi: Likewise.
26096         * manual/filesys.texi: Likewise.
26097         * manual/header.texi: Likewise.
26098         * manual/install.texi: Likewise.
26099         * manual/intro.texi: Likewise.
26100         * manual/io.texi: Likewise.
26101         * manual/job.texi: Likewise.
26102         * manual/lang.texi: Likewise.
26103         * manual/libc.texiinfo: Likewise.
26104         * manual/llio.texi: Likewise.
26105         * manual/locale.texi: Likewise.
26106         * manual/maint.texi: Likewise.
26107         * manual/math.texi: Likewise.
26108         * manual/memory.texi: Likewise.
26109         * manual/message.texi: Likewise.
26110         * manual/nss.texi: Likewise.
26111         * manual/pattern.texi: Likewise.
26112         * manual/process.texi: Likewise.
26113         * manual/resource.texi: Likewise.
26114         * manual/search.texi: Likewise.
26115         * manual/setjmp.texi: Likewise.
26116         * manual/signal.texi: Likewise.
26117         * manual/socket.texi: Likewise.
26118         * manual/startup.texi: Likewise.
26119         * manual/stdio.texi: Likewise.
26120         * manual/string.texi: Likewise.
26121         * manual/sysinfo.texi: Likewise.
26122         * manual/syslog.texi: Likewise.
26123         * manual/terminal.texi: Likewise.
26124         * manual/time.texi: Likewise.
26125         * manual/users.texi: Likewise.
26126         * INSTALL: Regenerated.
26127         * NOTES: Regenerated.
26128         * sysdeps/gnu/errlist.c: Regenerated.
26130 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
26132         * include/dirent.h: Include <dirstream.h> before
26133         <dirent/dirent.h>.
26135 2012-02-28  David S. Miller  <davem@davemloft.net>
26137         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26138         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26139         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26140         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26142 2012-02-27  David S. Miller  <davem@davemloft.net>
26144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26146         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26147         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26150         frame pointer instead of stack pointer relative arg slot.
26151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26152         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26153         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26155 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
26157         [BZ #3992]
26158         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26160 2012-02-27  David S. Miller  <davem@davemloft.net>
26162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26166         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26167         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26168         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26169         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26171 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26173         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26174         later.  Allow versions 5-9.
26175         * configure: Regenerated.
26176         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26177         required minimum version and 4.6 as recommended version.  Do not
26178         mention bugs in GCC 2.7 and 2.8.
26179         * INSTALL: Regenerated.
26181 2012-02-27  David S. Miller  <davem@davemloft.net>
26183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26187         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26188         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26189         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26190         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26192         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26193         manipulate bits before adding and subtracting TWO112[sx].
26194         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26196 2012-02-27  Roland McGrath  <roland@hack.frob.com>
26198         [BZ #13775]
26199         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26200         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26201         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26202         being in POSIX, because they are in 1003.1-2008.
26204         * rt/tst-aio.c: Include <fcntl.h>.
26205         * rt/tst-aio7.c: Likewise.
26206         * rt/tst-aio64.c: Likewise.
26208         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26210 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26212         * manual/install.texi (--with-headers): Describe headers as
26213         interface headers, not private headers.
26214         (Specific advice for GNU/Linux systems): Describe use of headers
26215         from "make headers_install", not private headers from older
26216         kernels.
26217         * INSTALL: Regenerated.
26218         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26219         Change to 2.6.19.
26220         * sysdeps/unix/sysv/linux/configure: Regenerated.
26222         * manual/llio.texi (fclean): Remove documentation.
26224         * manual/Makefile (libc-texi-generated): New variable.  Include
26225         version.texi.
26226         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26227         $(libc-texi-generated), not duplicated list of files.
26228         (version.texi, stamp-version): New rules.
26229         (realclean): Remove $(libc-texi-generated), not individual files
26230         from that list.  Do not remove dir-add.texinfo.
26231         * manual/libc.texinfo: Comment out uses of edition numbers and
26232         references to printed manual.  Remove last-updated dates.
26233         (EDITION): Comment out.
26234         (ISBN): Likewise.
26235         (VERSION, UPDATED): Remove.
26236         (version.texi): Include.
26238 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
26240         * sysdeps/posix/spawni.c: Include <signal.h>.
26241         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26242         * sysdeps/pthread/aio_fsync.c: Likewise.
26244 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
26246         * conform/Makefile (tests): Run only when not cross-compiling and
26247         when fast-check is not defined.
26249         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26250         * conform/data/limits.h-data: Fixes for POSIX2008.
26251         * conform/run-conformtest.sh: Run all tests.
26252         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26253         headers.
26254         * include/bits/dlfcn.h: Likewise.
26255         * include/langinfo.h: Likewise.
26256         * include/monetary.h: Likewise.
26257         * include/sys/poll.h: Likewise.
26259         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26260         for __USE_GNU.
26261         * posix/spawn.h: Define __need_sigset_t.
26262         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26263         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26264         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
26265         to get sigevent_t only.
26266         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26267         only for __USE_GNU.
26268         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26269         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26270         process_vm_writev only for __USE_GNU.
26271         * termios/termios.h: Declare tcgetsid also for POSIX2008.
26273         * conform/Makefile: For now ignore errors from run-conformtest.
26274         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
26275         POSIX to avoid namespace pollution.  Don't prepend headers.
26276         * conform/data/aio.h-data: Fixes for POSIX testing.
26277         * conform/data/fcntl.h-data: Likewise.
26278         * conform/data/glob.h-data: Likewise.
26279         * conform/data/grp.h-data: Likewise.
26280         * conform/data/pthread.h-data: Likewise.
26281         * conform/data/pwd.h-data: Likewise.
26282         * conform/data/signal.h-data: Likewise.
26283         * conform/data/spawn.h-data: Likewise.
26284         * conform/data/stdio.h-data: Likewise.
26285         * conform/data/stdlib.h-data: Likewise.
26286         * conform/data/stropts.h-data: Likewise.
26287         * conform/data/sys/mman.h-data: Likewise.
26288         * conform/data/sys/stat.h-data: Likewise.
26289         * conform/data/sys/types.h-data: Likewise.
26290         * conform/data/sys/wait.h-data: Likewise.
26291         * conform/data/time.h-data: Likewise.
26292         * conform/data/unistd.h-data: Likewise.
26293         * conform/data/utime.h-data: Likewise.
26295         * io/sys/stat.h: fchmod was always in POSIX.
26296         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26297         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26298         * rt/aio.h: Define __need_timespec before including <time.h>.
26299         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26300         struct.  Add forward declaration of pthread_attr_t and use it in
26301         sigevent.
26302         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26303         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26304         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26305         always remove CLK_TCK definition.
26307 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
26309         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26311 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
26313         * conform/run-conformtest.sh: New file.
26314         * conform/Makefile: Run run-conformtest for tests.
26315         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
26316         support.
26318         * conform/data/uchar.h-data: New file.
26319         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26320         * conform/data/arpa/inet.h-data: Likewise.
26321         * conform/data/assert.h-data: Likewise.
26322         * conform/data/complex.h-data: Likewise.
26323         * conform/data/cpio.h-data: Likewise.
26324         * conform/data/ctype.h-data: Likewise.
26325         * conform/data/dirent.h-data: Likewise.
26326         * conform/data/dlfcn.h-data: Likewise.
26327         * conform/data/errno.h-data: Likewise.
26328         * conform/data/fcntl.h-data: Likewise.
26329         * conform/data/float.h-data: Likewise.
26330         * conform/data/fmtmsg.h-data: Likewise.
26331         * conform/data/fnmatch.h-data: Likewise.
26332         * conform/data/ftw.h-data: Likewise.
26333         * conform/data/glob.h-data: Likewise.
26334         * conform/data/grp.h-data: Likewise.
26335         * conform/data/iconv.h-data: Likewise.
26336         * conform/data/inttypes.h-data: Likewise.
26337         * conform/data/langinfo.h-data: Likewise.
26338         * conform/data/libgen.h-data: Likewise.
26339         * conform/data/limits.h-data: Likewise.
26340         * conform/data/locale.h-data: Likewise.
26341         * conform/data/math.h-data: Likewise.
26342         * conform/data/monetary.h-data: Likewise.
26343         * conform/data/mqueue.h-data: Likewise.
26344         * conform/data/ndbm.h-data: Likewise.
26345         * conform/data/net/if.h-data: Likewise.
26346         * conform/data/netdb.h-data: Likewise.
26347         * conform/data/netinet/in.h-data: Likewise.
26348         * conform/data/nl_types.h-data: Likewise.
26349         * conform/data/poll.h-data: Likewise.
26350         * conform/data/pthread.h-data: Likewise.
26351         * conform/data/pwd.h-data: Likewise.
26352         * conform/data/regex.h-data: Likewise.
26353         * conform/data/sched.h-data: Likewise.
26354         * conform/data/search.h-data: Likewise.
26355         * conform/data/semaphore.h-data: Likewise.
26356         * conform/data/setjmp.h-data: Likewise.
26357         * conform/data/signal.h-data: Likewise.
26358         * conform/data/spawn.h-data: Likewise.
26359         * conform/data/stdarg.h-data: Likewise.
26360         * conform/data/stdio.h-data: Likewise.
26361         * conform/data/stdlib.h-data: Likewise.
26362         * conform/data/string.h-data: Likewise.
26363         * conform/data/strings.h-data: Likewise.
26364         * conform/data/stropts.h-data: Likewise.
26365         * conform/data/sys/ipc.h-data: Likewise.
26366         * conform/data/sys/mman.h-data: Likewise.
26367         * conform/data/sys/msg.h-data: Likewise.
26368         * conform/data/sys/resource.h-data: Likewise.
26369         * conform/data/sys/select.h-data: Likewise.
26370         * conform/data/sys/sem.h-data: Likewise.
26371         * conform/data/sys/shm.h-data: Likewise.
26372         * conform/data/sys/socket.h-data: Likewise.
26373         * conform/data/sys/stat.h-data: Likewise.
26374         * conform/data/sys/statvfs.h-data: Likewise.
26375         * conform/data/sys/time.h-data: Likewise.
26376         * conform/data/sys/timeb.h-data: Likewise.
26377         * conform/data/sys/times.h-data: Likewise.
26378         * conform/data/sys/types.h-data: Likewise.
26379         * conform/data/sys/uio.h-data: Likewise.
26380         * conform/data/sys/un.h-data: Likewise.
26381         * conform/data/sys/utsname.h-data: Likewise.
26382         * conform/data/sys/wait.h-data: Likewise.
26383         * conform/data/syslog.h-data: Likewise.
26384         * conform/data/tar.h-data: Likewise.
26385         * conform/data/termios.h-data: Likewise.
26386         * conform/data/utime.h-data: Likewise.
26387         * conform/data/utmpx.h-data: Likewise.
26388         * conform/data/varargs.h-data: Likewise.
26389         * conform/data/wchar.h-data: Likewise.
26390         * conform/data/wctype.h-data: Likewise.
26391         * conform/data/wordexp.h-data: Likewise.
26393         * include/stropts.h: New file.
26394         * include/uchar.h: New file.
26395         * include/aio.h: Changes to allow conformtest.pl to use the headers.
26396         * include/assert.h: Likewise.
26397         * include/ctype.h: Likewise.
26398         * include/dirent.h: Likewise.
26399         * include/dlfcn.h: Likewise.
26400         * include/fcntl.h: Likewise.
26401         * include/fnmatch.h: Likewise.
26402         * include/glob.h: Likewise.
26403         * include/grp.h: Likewise.
26404         * include/libio.h: Likewise.
26405         * include/locale.h: Likewise.
26406         * include/math.h: Likewise.
26407         * include/net/if.h: Likewise.
26408         * include/netdb.h: Likewise.
26409         * include/netinet/in.h: Likewise.
26410         * include/pthread.h: Likewise.
26411         * include/pwd.h: Likewise.
26412         * include/regex.h: Likewise.
26413         * include/sched.h: Likewise.
26414         * include/search.h: Likewise.
26415         * include/setjmp.h: Likewise.
26416         * include/signal.h: Likewise.
26417         * include/stdio.h: Likewise.
26418         * include/stdlib.h: Likewise.
26419         * include/string.h: Likewise.
26420         * include/sys/cdefs.h: Likewise.
26421         * include/sys/mman.h: Likewise.
26422         * include/sys/msg.h: Likewise.
26423         * include/sys/resource.h: Likewise.
26424         * include/sys/select.h: Likewise.
26425         * include/sys/socket.h: Likewise.
26426         * include/sys/stat.h: Likewise.
26427         * include/sys/statvfs.h: Likewise.
26428         * include/sys/time.h: Likewise.
26429         * include/sys/times.h: Likewise.
26430         * include/sys/uio.h: Likewise.
26431         * include/sys/utsname.h: Likewise.
26432         * include/sys/wait.h: Likewise.
26433         * include/termios.h: Likewise.
26434         * include/time.h: Likewise.
26435         * include/ulimit.h: Likewise.
26436         * include/unistd.h: Likewise.
26437         * include/utime.h: Likewise.
26438         * include/wchar.h: Likewise.
26439         * include/wctype.h: Likewise.
26440         * include/wordexp.h: Likewise.
26442         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26444         * time/time.h: TIME_UTC must be a macro.
26445         Make timespec_get available for ISO C11 only as well.
26447 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
26449         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26450         Reported by Peng Haitao <penght@cn.fujitsu.com>.
26452 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26454         * configure.in: Use -o not -a in test for unsupported multi-arch.
26456 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26458         * manual/texinfo.tex: Update to version 2012-01-19.16.
26460 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26462         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26464 2012-02-24  Roland McGrath  <roland@hack.frob.com>
26466         [BZ #13738]
26467         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26468         * manual/fdl-1.3.texi: New file.
26469         * manual/fdl-1.1.texi: File removed.
26471         [BZ #13738]
26472         * manual/libc.texinfo (FDL_VERSION): New @set.
26473         Use it for mention of FDL in cover text.
26474         (Documentation License): Use it in @include file name.
26476 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26477             Roland McGrath  <roland@hack.frob.com>
26479         [BZ #5461]
26480         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26481         not LONG_LONG_MAX and LONG_LONG_MIN.
26482         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26483         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
26484         name.
26485         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26487 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26489         [BZ #2547]
26490         [BZ #11365]
26491         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26492         manipulate bits before adding and subtracting TWO23[sx].
26493         * math/libm-test.inc (nearbyint_test): Add more tests.
26495 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26497         [BZ #2548]
26498         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26499         bits before adding and subtracting TWO23[sx].
26500         * math/libm-test.inc (rint_test): Add more tests.
26501         (rint_test_tonearest): Likewise.
26502         (rint_test_towardzero): Likewise.
26503         (rint_test_downward): Likewise.
26504         (rint_test_upward: Likewise.
26506 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26508         [BZ #10110]
26509         * include/stdc-predef.h: New file.  Extracted from features.h.
26510         * include/features.h: Include stdc-predef.h.
26511         * Makefile (headers): Add stdc-predef.h.
26512         * CONFORMANCE (Compiler limitations): Update.
26514 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26516         * manual/libc.texinfo (VERSION, UPDATED): Revert.
26518 2012-02-21  David S. Miller  <davem@davemloft.net>
26520         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26521         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26523 2012-02-20  David S. Miller  <davem@davemloft.net>
26525         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26526         using a normal save/restore sequence, rather than allocating a
26527         dummy stack frame just to store a frame pointer and restore.
26528         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26530 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26532         * manual/install.texi: Fix stray word in line-wrapped comment.
26534 2012-02-20  David S. Miller  <davem@davemloft.net>
26536         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26537         both binutils and gcc support GOTDATA.
26539         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26540         "rd %pc" in the PIC register setup sequences.
26542         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26543         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26544         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26545         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26546         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26547         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26548         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26549         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26550         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26551         (SYSCALL_ERROR_HANDLER): Likewise.
26552         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26553         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26554         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26555         (SYSCALL_ERROR_HANDLER): Likewise.
26557         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26558         (HAVE_GCC_GOTDATA): New.
26559         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26560         relocation support in both binutils and gcc.
26561         * sysdeps/sparc/elf/configure: Regenerate.
26563         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26564         * sysdeps/sparc/sparc32/elf/configure: Delete.
26565         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26566         * sysdeps/sparc/sparc64/elf/configure: Delete.
26567         * sysdeps/sparc/elf/configure.in: New file.
26568         * sysdeps/sparc/elf/configure: Generate.
26570         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26571         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26572         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26573         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26574         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26576 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26578         * manual/install.texi: Do not mention specific glibc version
26579         numbers.
26580         * manual/libc.texinfo (VERSION, UPDATED): Update.
26581         (@copying): Use @copyright{} and range of years.
26583 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26585         [BZ #13695]
26586         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26587         [crti.S not in sysdirs] (generated): Do not append.
26588         [crti.S not in sysdirs] (omit-deps): Likewise.
26589         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26590         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26591         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26592         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26593         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26594         Likewise.
26595         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26596         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26597         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26598         * csu/defs.awk: Remove file.
26599         * sysdeps/generic/initfini.c: Likewise.
26600         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26601         variable.
26602         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26603         Likewise.
26605 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26607         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26608         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26609         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26610         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26611         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26612         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26613         <bits/epoll.h>.
26614         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26615         (__EPOLL_PACKED): Define to empty if not defined by
26616         <bits/epoll.h>.
26617         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26618         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26619         bits/epoll.h.
26621 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26623         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26624         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26625         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26626         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26627         <bits/timerfd.h>.
26628         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26629         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26630         bits/timerfd.h.
26632 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26634         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26635         in C locale.
26636         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26637         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26638         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26641 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
26643         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26644         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26646 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
26648         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26649         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26650         defined.
26651         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26652         Likewise.
26653         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26654         entry for 2.16.
26656 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
26658         * math/w_acos.c: Use non-signaling floating-point comparisons.
26659         * math/w_acosf.c: Likewise.
26660         * math/w_acosh.c: Likewise.
26661         * math/w_acoshf.c: Likewise.
26662         * math/w_acoshl.c: Likewise.
26663         * math/w_acosl.c: Likewise.
26664         * math/w_asin.c: Likewise.
26665         * math/w_asinf.c: Likewise.
26666         * math/w_asinl.c: Likewise.
26667         * math/w_atanh.c: Likewise.
26668         * math/w_atanhf.c: Likewise.
26669         * math/w_atanhl.c: Likewise.
26670         * math/w_exp2.c: Likewise.
26671         * math/w_exp2f.c: Likewise.
26672         * math/w_exp2l.c: Likewise.
26673         * math/w_j0.c: Likewise.
26674         * math/w_j0f.c: Likewise.
26675         * math/w_j0l.c: Likewise.
26676         * math/w_j1.c: Likewise.
26677         * math/w_j1f.c: Likewise.
26678         * math/w_j1l.c: Likewise.
26679         * math/w_jn.c: Likewise.
26680         * math/w_jnf.c: Likewise.
26681         * math/w_log.c: Likewise.
26682         * math/w_log10.c: Likewise.
26683         * math/w_log10f.c: Likewise.
26684         * math/w_log10l.c: Likewise.
26685         * math/w_log2.c: Likewise.
26686         * math/w_log2f.c: Likewise.
26687         * math/w_log2l.c: Likewise.
26688         * math/w_logf.c: Likewise.
26689         * math/w_logl.c: Likewise.
26690         * math/w_sqrt.c: Likewise.
26691         * math/w_sqrtf.c: Likewise.
26692         * math/w_sqrtl.c: Likewise.
26693         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26694         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26695         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26696         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26697         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26699 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26701         [BZ #9739]
26702         * manual/string.texi (strnlen): Use correct parameter name in
26703         equivalent expression.
26705 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26707         [BZ #11174]
26708         * manual/users.texi (seteuid): Consistently use neweuid for
26709         argument name.
26711 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26713         [BZ #13704]
26714         * manual/nss.texi (Services in the NSS configuration): Correct
26715         list of services in example configuration file.
26717 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
26719         [BZ #11322]
26720         * manual/arith.texi: Remove statements about negative zero
26721         behaving identically to zero.
26723 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26725         [BZ #5993]
26726         * manual/install.texi: Do not document upgrading from libc5.
26728 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26730         [BZ #4596]
26731         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26733 2012-02-18  David S. Miller  <davem@davemloft.net>
26735         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26736         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26737         %o7 across the call.
26738         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26739         instead.
26740         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26741         SETUP_PIC_REG_LEAF.
26742         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26743         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26744         * sysdeps/sparc/crtn.S: Likewise.
26746 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
26748         * aout/Makefile: Remove.
26750 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
26752         [BZ #13058]
26753         * manual/examples/argp-ex1.c (main): Format definition in GNU
26754         style.
26755         * manual/examples/argp-ex2.c (main): Likewise.
26756         * manual/examples/argp-ex3.c (main): Likewise.
26757         * manual/examples/argp-ex4.c (main): Likewise.
26758         * manual/examples/longopt.c (main): Use new-style prototype
26759         definition.
26760         * manual/examples/strncat.c (main): Specify return type and use
26761         (void) for arguments.
26762         * manual/examples/subopt.c (main): Use char **argv argument.
26764 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26766         [BZ #5077]
26767         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26768         rounding modes.
26770 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
26772         [BZ #6907]
26773         * manual/string.texi (strchr): Change when strchrnul is
26774         recommended.
26776 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
26778         [BZ #174]
26779         * manual/locale.texi (setlocale): Document LOCPATH.
26781 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26783         [BZ #10210]
26784         * manual/process.texi (execle): Move @dots{} before last argument.
26786 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
26788         [BZ #12047]
26789         * manual/charset.texi (Generic Charset Conversion): Fix typo
26790         (LC_TYPE -> LC_CTYPE).
26792 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
26794         [BZ #5805]
26795         * manual/arith.texi (scalbn): Use @var{} on parameter names.
26796         (scalbnf): Likewise.
26797         (scalbnl): Likewise.
26798         (scalbln): Likewise.
26799         (scalblnf): Likewise.
26800         (scalblnl): Likewise.
26801         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26802         (vwarnx): Likewise.
26803         (verr): Likewise.
26804         (verrx): Likewise.
26805         * manual/filesys.texi (telldir): Use braces around return type.
26806         * manual/llio.texi (mmap): Add space after comma.
26807         (mmap64): Likewise.
26808         * manual/math.texi (jn): Use @var{} on parameter names.
26809         (jnf): Likewise.
26810         (jnl): Likewise.
26811         (yn): Likewise.
26812         (ynf): Likewise.
26813         (ynl): Likewise.
26814         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26815         line.
26816         * manual/resource.texi (ulimit): Use @dots{} instead of literal
26817         "...".
26818         (sched_get_priority_min): Remove semicolon on @deftypefun line.
26819         (sched_get_priority_max): Likewise.
26820         * manual/signal.texi (sigvec): Add space after comma.
26821         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26822         names.
26823         (if_indextoname): Likewise.
26824         (if_freenameindex): Likewise.
26825         (sendto): Use ',' instead of '.' in prototype.
26826         * manual/startup.texi (syscall): Use @dots{} instead of literal
26827         "...".
26828         * manual/stdio.texi (__fpending): Separate initial words of
26829         paragraph from @deftypefun line.
26830         * manual/syslog.texi (syslog): Use @dots{} instead of literal
26831         "...".
26832         (vsyslog): Use @var{} on parameter names.
26833         * manual/terminal.texi (stty): Use @var{} on parameter names.
26834         * manual/users.texi (getutmp): Use @var{} on parameter names.
26835         (getutmpx): Likewise.
26837 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26839         [BZ #6884]
26840         * manual/stdio.texi (fopen): Fix typos in description of
26841         ",ccs=STRING".
26843 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
26845         [BZ #4026]
26846         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26847         get clock_id definition.
26849 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
26851         [BZ #4822]
26852         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26853         (madvise): Cast every argument to void on its own.
26855 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26857         [BZ #9902]
26858         * manual/startup.texi (Exit Status): Fix typo.
26860 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26862         [BZ #10140]
26863         * manual/examples/argp-ex1.c: Include <stdlib.h>.
26864         * manual/examples/argp-ex2.c: Likewise.
26865         * manual/examples/argp-ex3.c: Likewise.
26867 2012-02-16  Richard Henderson  <rth@redhat.com>
26869         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26870         * sysdeps/s390/s390-32/initfini.c: Remove.
26871         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26872         * sysdeps/s390/s390-64/initfini.c: Remove.
26874 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26876         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26877         compiler output for sysdeps/generic/initfini.c.
26878         * sysdeps/sh/elf/initfini.c: Remove file.
26880 2012-02-16  David S. Miller  <davem@davemloft.net>
26882         [BZ #11494]
26883         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26885         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26886         * sysdeps/sparc/crti.S: New file.
26887         * sysdeps/sparc/crtn.S: New file.
26888         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26889         * sysdeps/sparc/sparc64/Makefile: Likewise.
26891 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
26893         [BZ #3335]
26894         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26896 2012-02-15  Roland McGrath  <roland@hack.frob.com>
26898         [BZ #4822]
26899         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26901         * mach/devstream.c (cookie_io_functions_t): Macro removed.
26902         (write, read, close): Likewise.
26903         Patch by Aurelien Jarno <aurelien@aurel32.net>.
26905 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
26907         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26908         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26909         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26910         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26911         <bits/signalfd.h>.
26912         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26913         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26914         bits/signalfd.h.
26916 2012-02-14  Marek Polacek  <polacek@redhat.com>
26918         * sysdeps/x86_64/crti.S: New file.
26919         * sysdeps/x86_64/crtn.S: New file.
26920         * sysdeps/x86_64/elf/initfini.c: Remove file.
26922 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26924         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26925         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26926         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26927         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26928         <bits/inotify.h>.
26929         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26930         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26931         bits/inotify.h.
26933 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26935         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26936         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26937         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26938         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26939         <bits/eventfd.h>.
26940         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26941         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26942         bits/eventfd.h.
26944 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
26946         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26947         __feraiseexcept instead of feraiseexcept.
26949         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26950         nanosleep invocations.
26951         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26952         strings, and add error checking for a nanosleep invocations.
26954 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
26956         Replace FSF snail mail address with URLs, as per GNU coding standards.
26957         Most of the snail mail addresses were wrong anyway, and omitting
26958         them makes the source code easier to maintain.  Almost all of the
26959         changes are to license notices and to locale LC_IDENTIFICATION
26960         addresses, except for this one:
26961         * manual/libc.texinfo: In "Published by", give the FSF's URL,
26962         not its snail mail address.
26964 2012-02-09  Richard Henderson  <rth@twiddle.net>
26966         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26967         of kernel-features.h.
26969         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26971 2012-02-08  Marek Polacek  <polacek@redhat.com>
26973         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26974         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26975         * sysdeps/gnu/_G_config.h: Likewise.
26976         * sysdeps/generic/_G_config.h: Likewise.
26978 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
26980         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26981         tests.
26982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26984         * sysdeps/powerpc/powerpc32/crti.S: New file.
26985         * sysdeps/powerpc/powerpc32/crtn.S: New file.
26986         * sysdeps/powerpc/powerpc64/crti.S: New file.
26987         * sysdeps/powerpc/powerpc64/crtn.S: New file.
26989         * Makeconfig (have-initfini): Don't set.
26990         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26991         * configure.in (nopic_initfini): Don't substitute.
26992         * config.h.in (HAVE_INITFINI): Don't #undef.
26993         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26994         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26996 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
26998         Support crti.S and crtn.S provided directly by architectures.
26999         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27000         [crti.S in sysdirs] (omit-deps): Likewise.
27001         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27002         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27003         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27004         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27005         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27006         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27007         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27008         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27009         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27010         compiler output for sysdeps/generic/initfini.c.
27011         * sysdeps/i386/elf/Makefile: Remove file.
27012         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27014 2012-02-07  Marek Polacek  <polacek@redhat.com>
27016         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27017         * sysdeps/gnu/_G_config.h: Likewise.
27018         * sysdeps/mach/hurd/_G_config.h: Likewise.
27020 2012-02-07  Marek Polacek  <polacek@redhat.com>
27022         * math/Makefile (tests): Add tst-CMPLX2.
27023         * math/tst-CMPLX2.c: New file.
27025 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
27027         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27029         * math/libm-test.inc (jn_test): Add missing L suffix.
27031 2012-02-06  Marek Polacek  <polacek@redhat.com>
27033         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27034         * sysdeps/i386/fpu/e_powf.S: Likewise.
27035         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27036         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27037         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27038         * sysdeps/i386/fpu/e_pow.S: Likewise.
27039         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27040         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27041         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27042         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27043         * sysdeps/i386/fpu/e_log2.S: Likewise.
27044         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27045         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27046         * sysdeps/i386/fpu/e_powl.S: Likewise.
27047         * sysdeps/i386/fpu/s_log1p.S: Likewise.
27048         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27049         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27050         * sysdeps/i386/fpu/e_logl.S: Likewise.
27051         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27052         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27053         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27054         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27055         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27056         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27057         * sysdeps/i386/fpu/e_log.S: Likewise.
27058         * sysdeps/i386/fpu/s_cexp.S: Likewise.
27059         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27060         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27061         * sysdeps/i386/fpu/e_logf.S: Likewise.
27062         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27063         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27064         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27065         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27066         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27067         * sysdeps/i386/fpu/e_log10.S: Likewise.
27068         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27069         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27070         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27071         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27072         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27073         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27074         * sysdeps/i386/asm-syntax.h: Likewise.
27075         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27076         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27077         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27078         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27079         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27080         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27081         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27082         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27083         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27084         * sysdeps/powerpc/sysdep.h: Likewise.
27085         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27086         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27088 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27090         [BZ #411]
27091         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27093 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27095         * sysdeps/i386/sysdep.h: Include <features.h>.
27096         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27097         version.
27099 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
27101         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27102         Define.
27103         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27104         LOAD_PIC_REG_STR.
27106 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27108         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27109         (SETUP_PIC_REG): Use GET_PC_THUNK.
27110         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27111         macro.
27113 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27115         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27116         for non-PIC compilation.
27117         (SETUP_PIC_REG): Add .p2align directive.
27118         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27119         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27120         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27121         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27122         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27123         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27124         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27125         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27126         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27127         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27128         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27129         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27130         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27131         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27132         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27133         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27134         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27135         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27136         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27137         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27138         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27139         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27140         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27141         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27142         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27143         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27144         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27145         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27146         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27147         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27148         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27149         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27150         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27151         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27152         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27153         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27154         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27155         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27156         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27157         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27158         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27160 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27162         * math/tst-CMPLX.c: Include <stdio.h>.
27164 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
27166         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27167         float.
27168         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27169         * sysdeps/sparc/bits/mathdef.h: Likewise.
27171 2012-01-31  Marek Polacek  <polacek@redhat.com>
27173         * libio/libio.h: Don't define _PARAMS.
27174         * locale/programs/config.h: Don't define PARAMS.
27175         * stdlib/strtol_l.c: Likewise.
27176         (__strtol_l): Remove PARAMS from the prototype.
27178 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
27180         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
27181         names.  Just use the correct names.  Remove unnecessary wrapper
27182         functions.
27183         * malloc/arena.c: Likewise.
27184         * malloc/hooks.c: Likewise.
27186         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27187         ARENA_TEST says not to.  Simplify test for creation of a new arena.
27188         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27190 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
27192         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27193         into tail calls.
27194         (update_get_addr): New function.
27195         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27196         GET_ADDR_MODULE parameter.
27198 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27200         * crypt/cert.c: Remove __STDC__ conditionals.
27201         * crypt/crypt-entry.c: Likewise.
27202         * crypt/crypt_util.c: Likewise.
27203         * libio/filedoalloc.c: Likewise.
27204         * libio/fileops.c: Likewise.
27205         * libio/genops.c: Likewise.
27206         * libio/iofclose.c: Likewise.
27207         * libio/iofdopen.c: Likewise.
27208         * libio/iofopen.c: Likewise.
27209         * libio/iofopen64.c: Likewise.
27210         * libio/iogetdelim.c: Likewise.
27211         * libio/iopopen.c: Likewise.
27212         * libio/obprintf.c: Likewise.
27213         * libio/oldfileops.c: Likewise.
27214         * libio/oldiofclose.c: Likewise.
27215         * libio/oldiofdopen.c: Likewise.
27216         * libio/oldiofopen.c: Likewise.
27217         * libio/oldiopopen.c: Likewise.
27218         * libio/wfiledoalloc.c: Likewise.
27219         * libio/wgenops.c: Likewise.
27220         * locale/programs/xmalloc.c: Likewise.
27221         * misc/syslog.c: Likewise.
27222         * stdio-common/xbug.c: Likewise.
27223         * string/memchr.c: Likewise.
27224         * string/memcmp.c: Likewise.
27225         * string/memrchr.c: Likewise.
27226         * string/rawmemchr.c: Likewise.
27227         * sysdeps/posix/getcwd.c: Likewise.
27228         * time/strftime_l.c: Likewise.
27230 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27232         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27233         * config.make.in (config-cflags-sse2avx): Define.
27234         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27235         Fix typo.
27237 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
27239         * scripts/config.guess: Update from upstream config git repository.
27240         * scripts/config.sub: Likewise.
27242 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
27244         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27245         (EM_NUM): Update.
27246         (R_TILEPRO_*, R_TILEGX_*): New macros.
27248         * scripts/firstversions.awk: Fix bug in version range handling.
27250         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27252         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27254         * include/sys/epoll.h: New file.
27255         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27256         libc_hidden_def.
27258 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
27260         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27261         Avoid unnecessary __WORDSIZE == 64 test.
27262         (fmaxf): Use VEX format if possible.
27263         (fmax): Likewise.
27264         (fminf): Likewise.
27265         (fmin): Likewise.
27267         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27268         * math/math_private.h: Remove libc_fegetround* and
27269         libc_fesetround*.
27270         * sysdeps/i386/configure.in: Check for -msse2avx.
27271         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27272         also if SSE2AVX is defined.
27273         Remove libc_fegetround* and libc_fesetround*.
27274         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27275         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
27276         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27277         of HAS_YMM_USABLE.
27278         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27279         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27280         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27281         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27282         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27284         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27286 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27288         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27289         size is not set.
27290         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27292 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
27294         [BZ #13618]
27295         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27296         relocation.
27297         * Makeconfig (libm): Define.
27298         * elf/Makefile: Add rules to build and run tst-relsort1.
27299         * elf/tst-relsort1.c: New file.
27300         * elf/tst-relsort1mod1.c: New file.
27301         * elf/tst-relsort1mod2.c: New file.
27303 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
27305         * math/s_ldexp.c: Remove __STDC__ conditionals.
27306         * math/s_ldexpf.c: Likewise.
27307         * math/s_ldexpl.c: Likewise.
27308         * math/s_nextafter.c: Likewise.
27309         * math/s_nexttowardf.c: Likewise.
27310         * math/s_significand.c: Likewise.
27311         * math/s_significandf.c: Likewise.
27312         * math/s_significandl.c: Likewise.
27313         * math/w_jnl.c: Likewise.
27314         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27315         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27316         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27317         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27318         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27319         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27320         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27321         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27322         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27323         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27324         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27325         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27326         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27327         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27328         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27329         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27330         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27331         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27332         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27333         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27334         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27335         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27336         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27337         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27338         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27339         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27340         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27341         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27342         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27343         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27344         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27345         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27346         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27347         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27348         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27349         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27350         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27351         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27352         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27353         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27354         * sysdeps/ieee754/k_standard.c: Likewise.
27355         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27356         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27357         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27358         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27359         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27360         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27361         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27362         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27363         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27364         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27365         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27366         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27367         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27368         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27369         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27370         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27371         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27372         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27373         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27374         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27375         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27376         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27377         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27378         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27379         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27380         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27381         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27382         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27383         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27384         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27385         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27386         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27387         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27388         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27389         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27390         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27391         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27392         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27393         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27394         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27395         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27396         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27397         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27398         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27399         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27400         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27401         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27402         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27403         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27404         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27405         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27406         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27407         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27408         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27409         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27410         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27411         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27412         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27413         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27414         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27415         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27416         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27417         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27418         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27419         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27420         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27421         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27422         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27423         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27424         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27425         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27426         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27427         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27428         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27429         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27430         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27431         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27432         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27433         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27434         * sysdeps/ieee754/s_matherr.c: Likewise.
27435         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27436         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27437         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27438         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27440 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27442         * crypt/md5.h: Remove __STDC__ conditionals.
27443         * libio/libioP.h: Likewise.
27444         * locale/programs/config.h: Likewise.
27445         * sysdeps/generic/sysdep.h: Likewise.
27446         * sysdeps/i386/asm-syntax.h: Likewise.
27447         * sysdeps/s390/asm-syntax.h: Likewise.
27448         * sysdeps/unix/sysdep.h: Likewise.
27449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27452 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27454         * libio/libio.h: Remove __STDC__ conditionals.
27455         * malloc/obstack.h: Likewise.
27456         * math/complex.h: Likewise.
27457         * math/math.h: Likewise.
27458         * sysdeps/generic/_G_config.h: Likewise.
27459         * sysdeps/gnu/_G_config.h: Likewise.
27460         * sysdeps/mach/hurd/_G_config.h: Likewise.
27461         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27462         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27463         * sysdeps/sparc/bits/mathdef.h: Likewise.
27465 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
27467         [BZ #13583]
27468         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27469         Clean up HAS_* macros.
27470         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27471         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27472         possible.
27473         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27474         HAS_AVX.
27475         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27476         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27477         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27478         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27479         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27481 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
27483         * elf/tst-unique3.cc (gets): Remove declaration.
27484         * elf/tst-unique3lib.cc (gets): Likewise.
27485         * elf/tst-unique3lib2.cc (gets): Likewise.
27486         * elf/tst-unique4.cc (gets): Likewise.
27488 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
27490         * include/stdio.h: Add C++ protection.  Add gets declarations and
27491         definitions.
27492         * debug/tst-chk1.c: Don't declare gets here.
27493         * stdio-common/tst-gets.c: Likewise.
27495 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27497         * posix/glob: Remove directory.
27499 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27501         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27503 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
27505         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27506         of the non-standard EPFNOSUPPORT.
27508 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27510         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27511         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27512         ANYWHERE set to 1 only on KERN_NO_SPACE error.
27514 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
27516         * wcsmbs/uchar.h: Test __STDC_VERSION__.
27518 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
27520         * nscd/aicache.c (addhstaiX): Do not cache negative results of
27521         transient errors.
27522         * nscd/grpcache.c (cache_addgr): Likewise.
27523         * nscd/hstcache.c (cache_addhst): Likewise.
27524         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27525         * nscd/pwdcache.c (cache_addpw): Likewise.
27526         * nscd/servicescache.c (cache_addserv): Likewise.
27528 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
27530         * malloc/malloc.c: Various cleanups.
27531         * malloc/hooks.c: Likewise.
27533         * stdlib/Makefile (tests): Add bug-fmtmsg1.
27534         * stdlib/bug-fmtmsg1.c: New file.
27536         * stdlib/fmtmsg.c (init): Add missing unlock.
27537         Patch by Peng Haitao <penght@cn.fujitsu.com>.
27539 2012-01-12  Marek Polacek  <polacek@redhat.com>
27541         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27542         and _GNU_SOURCE.
27544 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27546         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27547         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27548         macro to ensure uniqueness of label name.
27549         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27550         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27552 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
27554         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27556         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27557         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27558         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27559         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27561 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
27563         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27565         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27566         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27567         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27569         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27571         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27572         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27573         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27574         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27576         * math/bits/math-finite.h: Add ldexp support.
27578 2012-01-10  Marek Polacek  <polacek@redhat.com>
27580         * locale/programs/localedef.h (show_archive_content): Add noreturn
27581         attribute.
27583 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
27585         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27587 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27589         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27591         * io/Makefile (headers): Add bits/poll2.h.
27593 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
27595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27596         typo #include statement.
27598 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27600         * include/sys/cdefs.h: Define __attribute_alloc_size.
27601         * catgets/gencat.c: Add alloc_size attribute and apply consistently
27602         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27603         * elf/pldd.c: Likewise.
27604         * iconv/iconv_charmap.c: Likewise.
27605         * iconv/iconvconfig.c: Likewise.
27606         * iconv/strtab.c: Likewise.
27607         * locale/programs/locale.c: Likewise.
27608         * locale/programs/localedef.h: Likewise.
27609         * locale/programs/simple-hash.c: Likewise.
27610         * nscd/nscd.h: Likewise.
27611         * nss/makedb.c: Likewise.
27612         * sysdeps/generic/ldconfig.h: Likewise.
27613         * locale/programs/localedef.c: Remove xmalloc prototype.
27614         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27616 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27618         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27619         appropriate.
27621 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27623         * math/Makefile (tests): Add tst-CMPLX.
27624         * math/tst-CMPLX.c: New file.
27626         * math/complex.h (CMPLXL): Fix typo.
27628         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27629         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27630         GLIBC_2.16.
27631         * debug/tst-chk1.c: Add poll and ppoll tests.
27632         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27633         * include/sys/poll.h: Add hidden proto for ppoll.
27634         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27635         * sysdeps/mach/hurd/ppoll.c: Likewise.
27636         * io/ppoll.c: Likewise.
27637         * debug/poll_chk.c: New file.
27638         * debug/ppoll_chk.c: New file.
27639         * include/bits/poll2.h: New file.
27640         * io/bits/poll2.h: New file.
27642         [BZ #1350]
27643         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27645         * configure.in: static is always set to yes.  Remove.
27646         * config.make.in: Don't set build-static.
27647         * Makeconfig: Remove use of build-static.
27648         * dlfcn/Makefile: Likewise.
27649         * elf/Makefile: Likewise.
27650         * math/Makefile: Likewise.
27651         * misc/Makefile: Likewise.
27652         * nptl/Makefile: Likewise.
27653         * sysdeps/mach/hurd/Makefile: Likewise.
27655         * configure.in: PWD_P is not used anymore.
27656         * config.make.in: Remove PWD_P entry.
27658         * configure.in: Remove last remnants of RANLIB.
27659         No need to check for signed size_t anymore.
27660         Don't set libc_commonpagesize and libc_relro_required here for Alpha
27661         and IA-64.
27662         Remove __builtin_expect test because we require at least gcc 3.4.
27663         * aclocal.m4: Likewise.
27665         * wcsmbs/mbrtoc16.c: Implement using towc function.
27666         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27667         * wcsmbs/wcsmbsload.c: Likewise.
27668         * iconv/gconv_simple.c: Likewise.
27669         * iconv/gconv_int.h: Likewise.
27670         * iconv/gconv_builtin.h: Likewise.
27671         * iconv/iconv_prog.c: Remove CHAR16 handling.
27673         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27675         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27677         * configure.in: Remove --with-elf and --enable-bounded options.
27678         Dont set base_machine for ia64.  More non-ELF conditions removed.
27679         Remove testing and setting of leading underscore information.
27680         * config.make.in (build-bounded): Set to no.
27681         * config.h.in: Remove NO_UNDERSCORES entry.
27682         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
27683         them.
27684         * csu/start.c: Remove !NO_UNDERSCORE code.
27685         * locale/localeinfo.h: Likewise.
27686         * sysdeps/generic/machine-gmon.h: Likewise.
27687         * sysdeps/generic/sysdep.h: Likewise.
27688         * sysdeps/i386/sysdep.h: Likewise.
27689         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27690         * sysdeps/mach/sysdep.h: Likewise.
27691         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27692         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27693         * sysdeps/sh/sysdep.h: Likewise.
27694         * sysdeps/sparc/sparc32/alloca.S: Likewise.
27695         * sysdeps/unix/i386/sysdep.S: Likewise.
27696         * sysdeps/unix/sparc/start.c: Likewise.
27697         * sysdeps/unix/sparc/sysdep.S: Likewise.
27698         * sysdeps/unix/sparc/sysdep.h: Likewise.
27699         * sysdeps/unix/start.c: Likewise.
27700         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27701         * sysdeps/x86_64/sysdep.h: Likewise.
27703 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
27705         [BZ #13553]
27706         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27707         for non-gcc.
27708         * argp/argp-fmtstream.h: Use const instead __const.
27709         * argp/argp.h: Likewise.
27710         * assert/assert.h: Likewise.
27711         * bits/fenv.h: Likewise.
27712         * bits/sched.h: Likewise.
27713         * bits/sigset.h: Likewise.
27714         * bits/sigthread.h: Likewise.
27715         * catgets/nl_types.h: Likewise.
27716         * conform/data/pthread.h-data: Likewise.
27717         * crypt/crypt-private.h: Likewise.
27718         * crypt/crypt.h: Likewise.
27719         * crypt/crypt_util.c: Likewise.
27720         * ctype/ctype.h: Likewise.
27721         * debug/execinfo.h: Likewise.
27722         * debug/mbsnrtowcs_chk.c: Likewise.
27723         * debug/mbsrtowcs_chk.c: Likewise.
27724         * debug/wcsnrtombs_chk.c: Likewise.
27725         * debug/wcsrtombs_chk.c: Likewise.
27726         * debug/wcstombs_chk.c: Likewise.
27727         * dirent/dirent.h: Likewise.
27728         * dlfcn/dlfcn.h: Likewise.
27729         * elf/neededtest4.c: Likewise.
27730         * grp/grp.h: Likewise.
27731         * gshadow/gshadow.h: Likewise.
27732         * iconv/gconv.h: Likewise.
27733         * iconv/gconv_int.h: Likewise.
27734         * iconv/gconv_simple.c: Likewise.
27735         * iconv/iconv.h: Likewise.
27736         * iconv/loop.c: Likewise.
27737         * iconv/skeleton.c: Likewise.
27738         * include/aio.h: Likewise.
27739         * include/aliases.h: Likewise.
27740         * include/argz.h: Likewise.
27741         * include/arpa/inet.h: Likewise.
27742         * include/assert.h: Likewise.
27743         * include/dirent.h: Likewise.
27744         * include/dlfcn.h: Likewise.
27745         * include/execinfo.h: Likewise.
27746         * include/fcntl.h: Likewise.
27747         * include/fenv.h: Likewise.
27748         * include/glob.h: Likewise.
27749         * include/grp.h: Likewise.
27750         * include/libintl.h: Likewise.
27751         * include/mntent.h: Likewise.
27752         * include/netdb.h: Likewise.
27753         * include/pwd.h: Likewise.
27754         * include/rpc/netdb.h: Likewise.
27755         * include/sched.h: Likewise.
27756         * include/search.h: Likewise.
27757         * include/shadow.h: Likewise.
27758         * include/signal.h: Likewise.
27759         * include/stdio.h: Likewise.
27760         * include/stdlib.h: Likewise.
27761         * include/string.h: Likewise.
27762         * include/sys/socket.h: Likewise.
27763         * include/sys/stat.h: Likewise.
27764         * include/sys/statfs.h: Likewise.
27765         * include/sys/statvfs.h: Likewise.
27766         * include/sys/syslog.h: Likewise.
27767         * include/sys/time.h: Likewise.
27768         * include/sys/uio.h: Likewise.
27769         * include/time.h: Likewise.
27770         * include/unistd.h: Likewise.
27771         * include/utmp.h: Likewise.
27772         * include/wchar.h: Likewise.
27773         * include/wctype.h: Likewise.
27774         * inet/aliases.h: Likewise.
27775         * inet/arpa/inet.h: Likewise.
27776         * inet/netinet/ether.h: Likewise.
27777         * inet/netinet/in.h: Likewise.
27778         * intl/libintl.h: Likewise.
27779         * io/bits/fcntl2.h: Likewise.
27780         * io/fcntl.h: Likewise.
27781         * io/ftw.h: Likewise.
27782         * io/sys/poll.h: Likewise.
27783         * io/sys/stat.h: Likewise.
27784         * io/sys/statfs.h: Likewise.
27785         * io/sys/statvfs.h: Likewise.
27786         * io/utime.h: Likewise.
27787         * libio/bits/stdio.h: Likewise.
27788         * libio/bits/stdio2.h: Likewise.
27789         * libio/libio.h: Likewise.
27790         * libio/libioP.h: Likewise.
27791         * libio/stdio.h: Likewise.
27792         * locale/lc-ctype.c: Likewise.
27793         * locale/locale.h: Likewise.
27794         * login/utmp.h: Likewise.
27795         * malloc/arena.c: Likewise.
27796         * malloc/malloc.c: Likewise.
27797         * malloc/malloc.h: Likewise.
27798         * malloc/mcheck.c: Likewise.
27799         * malloc/mtrace.c: Likewise.
27800         * math/bits/mathcalls.h: Likewise.
27801         * math/fenv.h: Likewise.
27802         * math/math_private.h: Likewise.
27803         * misc/bits/error.h: Likewise.
27804         * misc/bits/syslog.h: Likewise.
27805         * misc/err.h: Likewise.
27806         * misc/error.h: Likewise.
27807         * misc/fstab.h: Likewise.
27808         * misc/mntent.h: Likewise.
27809         * misc/regexp.h: Likewise.
27810         * misc/search.h: Likewise.
27811         * misc/sgtty.h: Likewise.
27812         * misc/sys/mman.h: Likewise.
27813         * misc/sys/syslog.h: Likewise.
27814         * misc/sys/uio.h: Likewise.
27815         * misc/sys/xattr.h: Likewise.
27816         * misc/ttyent.h: Likewise.
27817         * nis/rpcsvc/ypclnt.h: Likewise.
27818         * nss/nss.h: Likewise.
27819         * posix/bits/unistd.h: Likewise.
27820         * posix/fnmatch.h: Likewise.
27821         * posix/glob.h: Likewise.
27822         * posix/sched.h: Likewise.
27823         * posix/spawn.h: Likewise.
27824         * posix/sys/wait.h: Likewise.
27825         * posix/unistd.h: Likewise.
27826         * posix/wordexp.h: Likewise.
27827         * pwd/pwd.h: Likewise.
27828         * resolv/netdb.h: Likewise.
27829         * resource/sys/resource.h: Likewise.
27830         * rt/aio.h: Likewise.
27831         * rt/bits/mqueue2.h: Likewise.
27832         * rt/mqueue.h: Likewise.
27833         * shadow/shadow.h: Likewise.
27834         * signal/signal.h: Likewise.
27835         * socket/send.c: Likewise.
27836         * socket/sendto.c: Likewise.
27837         * socket/sys/socket.h: Likewise.
27838         * stdio-common/printf.h: Likewise.
27839         * stdlib/bits/stdlib.h: Likewise.
27840         * stdlib/fmtmsg.h: Likewise.
27841         * stdlib/monetary.h: Likewise.
27842         * stdlib/stdlib.h: Likewise.
27843         * stdlib/ucontext.h: Likewise.
27844         * streams/stropts.h: Likewise.
27845         * string/argz.h: Likewise.
27846         * string/bits/string2.h: Likewise.
27847         * string/string.h: Likewise.
27848         * string/strings.h: Likewise.
27849         * sunrpc/rpc/auth.h: Likewise.
27850         * sunrpc/rpc/auth_des.h: Likewise.
27851         * sunrpc/rpc/clnt.h: Likewise.
27852         * sunrpc/rpc/netdb.h: Likewise.
27853         * sunrpc/rpc/pmap_clnt.h: Likewise.
27854         * sunrpc/rpc/xdr.h: Likewise.
27855         * sysdeps/generic/inttypes.h: Likewise.
27856         * sysdeps/generic/net/if.h: Likewise.
27857         * sysdeps/generic/sys/swap.h: Likewise.
27858         * sysdeps/gnu/net/if.h: Likewise.
27859         * sysdeps/gnu/utmpx.h: Likewise.
27860         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27861         * sysdeps/i386/i486/bits/string.h: Likewise.
27862         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27863         * sysdeps/s390/bits/string.h: Likewise.
27864         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27865         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27866         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27867         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27868         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27869         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27870         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27871         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27872         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27873         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27874         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27875         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27876         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27877         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27878         * sysdeps/unix/sysv/linux/readv.c: Likewise.
27879         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27880         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27881         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27882         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27883         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27884         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27885         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27886         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27887         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27888         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27889         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27890         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27891         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27892         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27893         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27894         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27895         * sysvipc/sys/ipc.h: Likewise.
27896         * sysvipc/sys/msg.h: Likewise.
27897         * sysvipc/sys/sem.h: Likewise.
27898         * sysvipc/sys/shm.h: Likewise.
27899         * termios/termios.h: Likewise.
27900         * time/sys/time.h: Likewise.
27901         * time/time.h: Likewise.
27902         * wcsmbs/bits/wchar2.h: Likewise.
27903         * wcsmbs/uchar.h: Likewise.
27904         * wcsmbs/wchar.h: Likewise.
27905         * wctype/wctype.h: Likewise.
27907         [BZ #13551]
27908         * Makeconfig: Remove all but ELF support including AIX support.
27909         * Makerules: Likewise.
27910         * config.h.in: Likewise.
27911         * config.make.in: Likewise.
27912         * configure: Likewise.
27913         * configure.in: Likewise.
27914         * csu/Makefile: Likewise.
27915         * csu/version.c: Likewise.
27916         * debug/Makefile: Likewise.
27917         * dlfcn/Makefile: Likewise.
27918         * elf/Makefile: Likewise.
27919         * extra-lib.mk: Likewise.
27920         * iconv/Makefile: Likewise.
27921         * include/libc-symbols.h: Likewise.
27922         * include/shlib-compat.h: Likewise.
27923         * resolv/Makefile: Likewise.
27924         * resolv/res_libc.c: Likewise.
27925         * rt/Makefile: Likewise.
27926         * sysdeps/i386/asm-syntax.h: Likewise.
27927         * sysdeps/i386/sysdep.h: Likewise.
27928         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27929         * sysdeps/mach/sysdep.h: Likewise.
27930         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27931         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27932         * sysdeps/s390/asm-syntax.h: Likewise.
27933         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27934         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27935         * sysdeps/sh/sysdep.h: Likewise.
27936         * sysdeps/unix/sparc/sysdep.h: Likewise.
27937         * sysdeps/wordsize-32/divdi3.c: Likewise.
27938         * sysdeps/x86_64/sysdep.h: Likewise.
27940         * argp/Versions: Remove _argp_unlock_xxx.
27942         [BZ #13559]
27943         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
27944         * abilist/libBrokenLocale.abilist: Likewise.
27945         * abilist/libanl.abilist: Likewise.
27946         * abilist/libc.abilist: Likewise.
27947         * abilist/libcrypt.abilist: Likewise.
27948         * abilist/libdl.abilist: Likewise.
27949         * abilist/libm.abilist: Likewise.
27950         * abilist/libnsl.abilist: Likewise.
27951         * abilist/libpthread.abilist: Likewise.
27952         * abilist/libresolv.abilist: Likewise.
27953         * abilist/librt.abilist: Likewise.
27954         * abilist/libthread_db.abilist: Likewise.
27955         * abilist/libutil.abilist: Likewise.
27956         * abilist/libnss_db.abilist: New file.
27958         * scripts/abilist.awk: Add support for indirect functions.
27960         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27962         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27964         * shlib-versions: Remove entries for ports architectures.
27966         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
27967         files in ports.
27968         * elf/stackguard-macros.h: Remove support for IA-64.
27969         * elf/tst-auditmod1.c: Likewise.
27970         * sysdeps/generic/ldsodefs.h: Likewise.
27972         * sysdeps/unix/sysv/linux/configure.in: Ports should define
27973         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27974         configure files.
27976         [BZ #13552]
27977         * configure.in: Remove --enable-omitfp support.
27978         * FAQ.in: Adjust.
27979         * config.make.in: Likewise.
27980         * Makeconfig: Likewise.
27981         * manual/install.texi: Likewise.
27983         In case anyone cares, the IA-64 architecture could move to ports.
27984         * sysdeps/ia64/*: Removed.
27985         * sysdeps/unix/sysv/linux/ia64/*: Removed.
27986         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27988         [BZ #13555]
27989         * configure.in: Remove entries for unsupported architectures.
27991         [BZ #13533]
27992         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27993         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
27994         routines.
27995         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27996         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27997         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
27998         fall back to using wcrtomb.
27999         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28000         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
28001         renaming.
28002         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28003         * wcsmbs/tst-c16c32-1.c: New file.
28005         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28006         local variable.
28008         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28010         * elf/tst-unique3.cc: Add explicit declaration of gets.
28011         * elf/tst-unique3lib.cc: Likewise.
28012         * elf/tst-unique3lib2.cc: Likewise.
28013         * elf/tst-unique4.cc: Likewise.
28015         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28017 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
28019         [BZ #13566]
28020         * assert/assert.h (static_assert): Don't define for C++.
28021         * libio/stdio.h (gets): Do declare for C++ <= C++11.
28022         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28024 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
28026         * iconv/loop.c (single loop): Fix assertion in storing of
28027         remaining bytes.
28029         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28031 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
28033         * posix/getconf.c: Update copyright year.
28034         * nss/getent.c: Likewise.
28035         * nss/makedb.c: Likewise.
28036         * iconv/iconvconfig.c: Likewise.
28037         * iconv/iconv_prog.c: Likewise.
28038         * elf/ldconfig.c: Likewise.
28039         * elf/pldd.c: Likewise.
28040         * elf/sotruss.ksh: Likewise.
28041         * catgets/gencat.c: Likewise.
28042         * csu/version.c: Likewise.
28043         * elf/ldd.bash.in: Likewise.
28044         * elf/sprof.c (print_version): Likewise.
28045         * locale/programs/locale.c: Likewise.
28046         * locale/programs/localedef.c: Likewise.
28047         * login/programs/pt_chown.c: Likewise.
28048         * nscd/nscd.c (print_version): Likewise.
28049         * debug/xtrace.sh: Likewise.
28050         * malloc/memusage.sh: Likewise.
28051         * malloc/mtrace.pl: Likewise.
28052         * debug/catchsegv.sh: Likewise.
28054 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
28056         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28057         pure attribute.
28059 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
28061         [BZ #13533]
28062         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28063         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28064         transformations.
28065         * iconv/gconv_int.h: Likewise.
28066         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28067         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28068         from libc for GLIBC_2.16.
28069         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28070         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28071         * wcsmbs/uchar.h: Really define mbstate_t.
28072         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28073         * wcsmbs/c16rtomb.c: New file.
28074         * wcsmbs/mbrtoc16.c: New file.
28075         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28076         for C/POSIX locale.
28077         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28078         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28080         * wcsmbs/wchar.h: Add missing __restrict.
28082 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28084         [BZ #13532]
28085         * time/Makefile (routines): Add timespec_get.
28086         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28087         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
28088         timespec for ISO C11.
28089         * time/timespec_get.c: New file.
28090         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28091         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28093         [BZ #13531]
28094         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28095         * stdlib/stdlib.h: Declare aligned_alloc.
28096         * Versions.def: Add GLIBC_2.16 for libc.
28097         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28099         [BZ 13527]
28100         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28101         ISO C11.
28103         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28104         code.
28106         [BZ #13528]
28107         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28109         [BZ #13529]
28110         * assert/assert.h (static_assert): Define.
28112         * version.h: Update for 2.16 development version.
28114         [BZ #13526]
28115         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28116         _ISOC11_SOURCE.
28118         * version.h (RELEASE): Bump for 2.15 release.
28119         * include/features.h (__GLIBC_MINOR__): Bump to 15.
28121         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28122         Patch by Marek Polacek <mpolacek@redhat.com>.
28124         * bits/byteswap.h: Protect long long constants with __extension__.
28125         * sysdeps/i386/bits/byteswap.h: Likewise.
28126         * sysdeps/ia64/bits/byteswap.h: Likewise.
28127         * sysdeps/s390/bits/byteswap.h: Likewise.
28128         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28130 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28132         [BZ #13540]
28133         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28134         destination buffer.
28135         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28137 2011-12-23  Marek Polacek  <polacek@redhat.com>
28139         * elf/dl-addr.c (determine_info): Add inline keyword.
28140         * elf/tst-auditmod4b.c (check_avx): Likewise.
28141         * elf/tst-auditmod6b.c (check_avx): Likewise.
28142         * elf/tst-auditmod6c.c (check_avx): Likewise.
28143         * elf/tst-auditmod7b.c (check_avx): Likewise.
28145 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28147         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28148         !__SSE_MATH__.
28150 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28152         [BZ #13540]
28153         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28154         processing for last bytes.
28156 2011-08-06  Bruno Haible  <bruno@clisp.org>
28158         [BZ #13061]
28159         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28160         U+0385, not to U+1FEE.
28162         [BZ #13062]
28163         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28164         entry for U+00A5 U+0301.
28166 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28168         [BZ #13166]
28169         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28170         buffer for the output is too small.
28172         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28173         optimization.
28175         [BZ #13185]
28176         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28177         SSE flags if possible.
28179 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28181         [BZ #13540]
28182         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28183         processing for last bytes.
28185 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
28187         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28188         (syscall-list-default-options, syscall-list-default-condition)
28189         (syscall-list-includes): Define.
28190         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28191         list of ABIs and options and #if conditions for each ABI.  Do not
28192         handle common syscalls between ABIs specially.
28193         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28194         Remove.
28195         (syscall-list-variants, syscall-list-32bit-options)
28196         (syscall-list-32bit-condition, syscall-list-64bit-options)
28197         (syscall-list-64bit-condition): Define.
28198         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28199         (syscall-list-variants, syscall-list-32bit-options)
28200         (syscall-list-32bit-condition, syscall-list-64bit-options)
28201         (syscall-list-64bit-condition): Define.
28202         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28203         Remove.
28204         (syscall-list-variants, syscall-list-32bit-options)
28205         (syscall-list-32bit-condition, syscall-list-64bit-options)
28206         (syscall-list-64bit-condition): Define.
28207         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28208         Remove.
28209         (syscall-list-variants, syscall-list-32bit-options)
28210         (syscall-list-32bit-condition, syscall-list-64bit-options)
28211         (syscall-list-64bit-condition): Define.
28213 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28215         * locale/iso-639.def: Add brx entry.
28217         [BZ #13328]
28218         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28219         Proposed by Mariusz_Cukr <marcukr@op.pl>.
28221         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28222         __feraiseexcept_renamed.
28224 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28226         [BZ #13538]
28227         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28228         EPOLLET with unsigned values.
28229         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28230         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28232         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28233         to large cancellation.
28234         * math/s_cacoshf.c: Likewise.
28235         * math/s_cacoshl.c: Likewise.
28237 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
28239         [BZ #13305]
28240         [BZ #12786]
28241         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28242         * math/s_cacoshf.c: Likewise.
28243         * math/s_cacoshl.c: Likewise.
28245 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28247         [BZ #13439]
28248         * iconv/gconv.h: Define __GCONV_SWAP.
28249         * iconvdata/unicode.c: The swap bit must be stored in __flags.
28250         * iconvdata/utf-16.c: Likewise.
28251         * iconvdata/utf-32.c: Likewise.
28253 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28255         [BZ #13524]
28256         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28257         numerator after shifting it by one limb.
28259 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
28261         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28262         under [__USE_EXTERN_INLINES].
28264 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28266         [BZ #13446]
28267         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28269 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28271         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28272         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28273         optimized code.
28274         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28275         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28276         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28277         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28278         for strncasecmp/strncasecmp_l compilation.
28279         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28280         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28282 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
28284         [BZ #13484]
28285         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28286         of __asm__.
28288 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28290         [BZ #13506]
28291         * time/tzfile.c (__tzfile_read): Check values from file header.
28293 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28295         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28296         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28297         * powerpc/powerpc32/dl-start.S: Likewise.
28298         * powerpc/powerpc32/elf/start.S: Likewise.
28299         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28300         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28301         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28302         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28303         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28304         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28305         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28306         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28307         * powerpc/powerpc32/fpu/s_round.S: Likewise.
28308         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28309         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28310         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28311         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28312         * powerpc/powerpc32/memset.S: Likewise.
28313         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28314         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28315         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28316         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28317         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28318         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28319         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28320         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28321         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28322         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28323         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28324         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28325         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28327 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28329         * math/libm-test.inc: Added more nearbyint tests.
28330         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28331         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28332         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28333         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28335 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
28337         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28338         FD_CLOEXEC.
28340 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28342         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28343         Add wcscpy-ssse3 wcscpy-c.
28344         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28345         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28346         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28347         * sysdeps/x86_64/wcschr.S: New file.
28348         * sysdeps/x86_64/wcsrchr.S: New file.
28349         * string/test-strcmp.c: Remove checking of wcscmp function for
28350         wrong alignments.
28351         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28352         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28353         wcsrchr-sse2 wcsrchr-c.
28354         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28355         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28356         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28357         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28358         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28359         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28360         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28361         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28362         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28363         * wcsmbc/wcschr.c (WCSCHR): New macro.
28365 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28367         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28368         * wcsmbs/test-wcsrchr.c: New file.
28369         * string/test-strrchr.c: Add wcsrchr support.
28370         (WIDE): New macro.
28371         * wcsmbs/test-wcscpy.c: New file.
28372         * string/test-strcpy.c: Add wcscpy support.
28373         (WIDE): New macro.
28375 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
28377         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28378         the inner loop.
28380 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
28382         [BZ #13472]
28383         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28385 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
28387         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28388         Minor optimizations.
28390         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28391         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28392         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28394 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
28396         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28397         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28398         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28399         for gcc to avoid warnings.
28400         * inet/Makefile (tests): Add tst-checks.
28401         * inet/tst-checks.c: New file.
28403         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28404         warning.
28406         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28407         __wmemcmp_sse2.
28409         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28410         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28412         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28414 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
28416         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28417         problem.
28419         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28421 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
28423         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28424         conditional on GCC version.
28425         (__arch_compare_and_exchange_val_8_acq)
28426         (__arch_compare_and_exchange_val_16_acq)
28427         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28428         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28429         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28431 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
28433         * sysdeps/sh/backtrace.c: New file.
28435 2011-12-02  Andreas Schwab  <schwab@redhat.com>
28437         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
28438         parenthesis.
28440 2011-12-01  Andreas Schwab  <schwab@redhat.com>
28442         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28443         falling back to utime.
28445 2011-11-30  Andreas Schwab  <schwab@redhat.com>
28447         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28448         expectations for float.
28450 2011-11-29  Andreas Schwab  <schwab@redhat.com>
28452         * locale/weight.h (findidx): Add parameter len.
28453         * locale/weightwc.h (findidx): Likewise.
28454         * posix/fnmatch_loop.c (FCT): Adjust caller.
28455         * posix/regcomp.c (build_equiv_class): Likewise.
28456         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28457         * posix/regexec.c (check_node_accept_bytes): Likewise.
28458         * string/strcoll_l.c (STRCOLL): Likewise.
28459         * string/strxfrm_l.c (STRXFRM): Likewise.
28461 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
28463         * Makefile.in: Remove CVSOPT handling.
28464         * configure.in: Remove use of AC_REVISION.
28465         * iconvdata/Makefile (distribute): No need to filter out CVS.
28466         * scripts/list-sources.sh: Remove CVS, subversion and monotone
28467         handling.
28469 2011-11-16  Andreas Schwab  <schwab@redhat.com>
28471         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28472         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28473         [USE_AS_STRNCASECMP_L]: Likewise.
28474         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28475         NO_TLS_DIRECT_SEG_REFS.
28476         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28477         Fix argument offsets for non-PIC.
28478         [USE_AS_STRNCASECMP_L]: Likewise.
28479         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28480         NO_TLS_DIRECT_SEG_REFS.
28482 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28484         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28485         O_CLOEXEC.
28486         * locale/loadlocale.c (_nl_load_locale): Likewise.
28488 2011-11-15  Andreas Schwab  <schwab@redhat.com>
28490         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28491         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28492         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28493         (SYSCALL_GETTIME): Set errno on error.
28495         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28496         count references to noai6ai_cached.
28498 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28500         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28502         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28503         FD_CLOEXEC for /proc/self/maps.
28505         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28506         FD_CLOEXEC for /proc/meminfo.
28508         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28509         gai.conf.
28511         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
28512         FD_CLOEXEC for given file.
28514         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28516         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28517         FD_CLOEXEC for /etc/hosts.
28518         (_gethtent): Likewise.
28520         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28522         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28523         cancellation and set FD_CLOEXEC for /etc/netgroup.
28525         * nss/nss_files/files-key.c (search): Don't allow cancellation when
28526         reading /etc/publickey.
28528         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28529         allow cancellation when reading /etc/group.
28531         * nss/nss_files/files-alias.c (internal_setent): Don't allow
28532         cancellation.
28533         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
28535         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28536         when using data file.
28538         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28540         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28541         (write_nis_obj): Use "c" and "e" in fopen.
28543         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28545         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28547         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28549         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28551         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28552         locale.alias.
28554         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28556         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28558         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28560         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28561         file parsing and set FD_CLOEXEC.
28563 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28565         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28567 2011-11-14  Andreas Schwab  <schwab@redhat.com>
28569         * malloc/arena.c (arena_get2): Don't call reused_arena when
28570         _int_new_arena failed.
28572 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28574         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28575         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28576         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28577         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28578         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28579         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28580         to compile strcasecmp and strncasecmp.
28581         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28582         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28584         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28586 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
28588         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28589         locale-defines.sym to gen-as-const-headers.
28590         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28591         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28592         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28593         to compile strcasecmp and strncasecmp.
28594         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28595         strcasecmp_l and strncasecmp_l.
28596         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28597         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28598         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28599         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28600         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28601         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28602         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28603         * sysdeps/i386/i686/multiarch/strncase.S: New file.
28604         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28605         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28606         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28608 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
28610         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28611         result of SYSDEP_GETTIME_CPU to retval.
28612         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28613         parameter list to macro.  Remove trailing semicolon.  Adjust users.
28615         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28616         variable.
28618         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28619         mantissa words.
28620         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28622         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28623         from unused variable.
28625         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28626         DWARF definitions.
28627         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28628         for assembling.
28630         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28631         over namespaces.
28633         * sunrpc/rpc_prot.c (rejected): Fix case value.
28635         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28636         unsigned long long int to avoid warnings in shift.
28638         * posix/regex_internal.c (re_string_reconstruct): Actually use result
28639         of use of trans.
28640         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28641         variable tmp.
28643         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28644         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28645         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28647         * nis/nis_table.c (nis_list): Use variable of correct type for
28648         result of __follow_path call.
28650 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28652         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28653         of math functions ceil, trunc, floor, round, and sqrt, when
28654         avaliable on the platform.
28655         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28656         name clash.
28657         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28658         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28659         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28661 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
28663         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28664         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28666 2011-11-11  Roland McGrath  <roland@hack.frob.com>
28668         * include/unistd.h: Fix __readlink return type.
28669         Reported by Chris Metcalf <cmetcalf@tilera.com>.
28671 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
28673         * stdlib/ucontext.h: Undo last change for makecontext.
28675 2011-11-11  Andreas Schwab  <schwab@redhat.com>
28677         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28679         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28680         * setjmp/setjmp.h: Mark functions as non-leaf.
28681         * setjmp/bits/setjmp2.h: Likewise.
28682         * stdlib/ucontext.h: Likewise.
28684 2011-11-10  Andreas Schwab  <schwab@redhat.com>
28686         * malloc/arena.c (_int_new_arena): Don't increment narenas.
28687         (reused_arena): Don't check arena limit.
28688         (arena_get2): Atomically check arena limit.
28690 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
28692         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28693         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28695         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28696         instructions.
28698 2011-11-07  Andreas Schwab  <schwab@redhat.com>
28700         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28701         handler when locking.
28703         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28704         Fix size of allocated buffer.
28706 2011-11-04  Andreas Schwab  <schwab@redhat.com>
28708         [BZ #10103]
28709         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28710         declarations for long double functions.
28711         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28713         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28715 2011-11-03  Andreas Schwab  <schwab@redhat.com>
28717         * nscd/nscd.c (main): Don't start AVC thread until credentials are
28718         installed.
28720         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28721         is disabled.
28723 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28725         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28727 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28729         * include/alloca.h (stackinfo_alloca_round): Define.
28730         (extend_alloca): Use it.
28731         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28732         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28733         here.
28735         * scripts/check-local-headers.sh: Ignore libaudit.h.
28737         * nscd/Makefile (extra-objs): Make recursively expanded.
28739 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
28741         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28742         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28744         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28745         * posix/tst-rfc3484-2.c: Likewise.
28746         * posix/tst-rfc3484-3.c: Likewise.
28748         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28749         process_vm_writev.
28750         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28751         process_vm_writev.
28752         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28753         process_vm_writev from libc using GLIBC_2.15 version.
28755         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28757 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
28759         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28760         stack usage.
28762 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
28764         [BZ #13367]
28765         * nss/getent.c (initgroups_keys): Show error message in case no group
28766         names are given.
28768         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28769         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28770         __bump_nl_timestamp.
28771         * nscd/connections (nscd_init): When host database is served open
28772         netlink socket and request notification about configuration changes.
28773         (main_loop_poll): Track netlink file descriptor and bump timestamp
28774         in case data becomes available.
28775         (main_loop_epoll): Likewise.
28776         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28777         (database_pers_head): Add extra_data fileds.
28778         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28779         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28780         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28781         Adjust caller.
28782         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28783         in6ai data, call __free_in6ai.
28784         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28785         Add -DHAVE_NETLINK.
28786         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
28787         interface information.  Reuse previous data if netlink timestamp
28788         is not changed.
28789         (__bump_nl_timestamp): New function.
28790         (__free_in6ai): New function.
28792 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
28794         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28795         close_not_cancel_no_status here.
28796         (__check_pf): Reorganize code a bit to not call close twice if OOM.
28798 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28800         [BZ #13276]
28801         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28802         return value.
28804         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28805         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28806         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28808 2011-07-03  Andreas Jaeger  <aj@suse.de>
28810         [BZ #10709]
28811         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28812         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28813         * math/libm-test.inc (sin_test): Add test case.
28815 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28817         [BZ #13337]
28818         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28819         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28821         * elf/chroot_canon.c (chroot_canon): Cleanups.
28823         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28825         [BZ #13335]
28826         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28827         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28829         * string/test-strchr.c: Make usable for strchrnul testing.
28830         * string/test-strchrnul.c: New file.
28831         * string/Makefile (strop-tests): Add strchrnul.
28833         * po/it.po: Update from translation team.
28834         * po/es.po: Likewise.
28836 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
28838         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28839         the three constants needed as parameters.  Drop the others.
28840         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28841         __m128i_strloadu_tolower.
28842         Create and initialize variable zero and use it in all the places
28843         where _mm_setzero_si128 was used.
28845         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28846         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28847         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28848         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28849         anymore.
28850         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28851         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28852         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28853         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28854         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28855         __mpranred, __mptan.
28856         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28857         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28858         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28859         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28860         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28861         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28862         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28863         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28864         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28866 2011-10-28  Andreas Schwab  <schwab@redhat.com>
28868         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28869         redefine if SHARED.
28870         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28872         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28873         wide char related routines to wcsmbs subdir.
28875 2011-10-27  Andreas Schwab  <schwab@redhat.com>
28877         [BZ #13344]
28878         * misc/sys/cdefs.h (__THROWNL): Define.
28879         * posix/unistd.h: Use __THREADNL instead of __THREAD
28880         for memory synchronization functions.
28882 2011-10-26  Roland McGrath  <roland@hack.frob.com>
28884         [BZ #13349]
28885         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28886         doesn't exist.
28887         * manual/stdio.texi (Obstack Streams): Node removed.
28889 2011-10-26  Andreas Schwab  <schwab@redhat.com>
28891         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28892         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28893         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28895         * math/math_private.h (math_force_eval): Allow non-addressable
28896         arguments.
28897         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28899 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28901         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28902         file is not needed.
28904         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28905         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28906         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28907         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28908         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28909         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28910         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28911         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28912         Add AVX variants.
28913         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28914         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28915         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28916         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28917         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28918         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28919         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28920         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28921         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28922         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28923         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28924         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28925         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28926         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28927         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28928         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28929         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28930         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28931         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28933         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28934         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
28936         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28937         place.  Use VEX encoding when compiling for AVX.
28939 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28941         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28942         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28944         * string/test-strchr.c (do_test): Don't generate NUL bytes.
28946 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28948         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28949         useless if() expression.
28950         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28951         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28952         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28953         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28954         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28955         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28956         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28957         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28958         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28959         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28960         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28961         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28962         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28963         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28964         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28965         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28966         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28967         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28968         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28970         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28972 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28974         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28975         condition.
28976         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28978 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28980         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28981         .text section.  Avoid duplicate constants.
28982         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28983         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28984         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28985         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28986         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28987         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28988         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28989         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28990         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28991         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28992         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28993         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28994         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28995         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28996         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28997         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28998         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28999         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29000         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29001         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29002         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29003         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29004         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29005         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29006         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29007         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29008         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29009         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29010         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29011         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29012         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29013         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29014         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29015         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29016         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29017         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29018         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29019         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29020         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29021         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29022         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29023         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29024         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29025         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29026         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29028 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
29030         * sysdeps/x86_64/dla.h: Move to ...
29031         * sysdeps/x86_64/fpu/dla.h: ...here.
29032         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29033         situations.  Use __builtin_fma only for gcc 4.6 and up.
29035         * config.make.in: Add have-mfma4 entry.
29036         * configure.in: Substitute libc_cv_cc_fma4.
29037         * math/Makefile (dbl-only-routines): Add sincostab.
29038         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29039         Use __sincostab not sincos.
29040         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29041         name is a macro.
29042         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29043         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29044         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29045         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
29046         using __copysign.
29047         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
29048         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
29049         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29050         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29051         and __inv.
29052         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29053         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29054         __copysign.
29055         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
29056         define aliases when function name is a macro.
29057         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29058         sysdeps/ieee754/dbl-64/sincos.tbl.
29059         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29060         fma4-enabled routines.
29061         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29062         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29063         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29064         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29065         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29066         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29067         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29068         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29069         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29070         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29071         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29072         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29073         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29074         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29075         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29076         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29077         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29078         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29079         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29080         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29081         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29082         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29083         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29084         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29085         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29086         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29087         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29088         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29089         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29090         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29092         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29093         rename.
29094         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29095         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29096         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29097         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29098         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29099         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29100         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29101         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29103 2011-10-24  Andreas Schwab  <schwab@redhat.com>
29105         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29107 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29109         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29111         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29112         prediction.
29113         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29115         * string/strnlen.c: Don't define STRNLEN, reverse logic.
29116         Remove unused variable magic_bits.
29117         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29119         * string/strnlen.c: Define and use STRNLEN macro.
29120         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29121         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29122         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29123         * wcsmbs/wcslen.c: Define and use WCSLEN.
29124         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29125         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29126         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29127         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29128         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29129         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29130         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29132 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29134         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29135         strnlen-sse2-no-bsf.
29136         Rename strlen-no-bsf to strlen-sse2-no-bsf.
29137         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29138         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29139         Add strnlen support.
29140         (USE_AS_STRNLEN): New macro.
29141         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29142         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29143         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29144         * sysdeps/x86_64/wcslen.S: New file.
29146 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
29148         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29149         XMM-moves are used for copying on small sizes.
29151 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29153         * wcsmbs/Makefile (strop-tests): Add wcschr.
29154         * wcsmbs/test-wcschr.c: New file.
29155         * string/test-strchr.c: Update.
29156         Add wcschr support.
29157         (WIDE): New macro.
29159 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29161         * wcsmbs/Makefile (strop-tests): Add wcslen.
29162         * wcsmbs/test-wcslen.c: New file.
29163         * string/test-strlen.c: Update.
29164         Add wcslen support.
29165         (WIDE): New macro.
29167 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29169         * po/it.po: Update from translation team.
29171 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29173         * sysdeps/x86_64/wcscmp.S: Update.
29174         Fix wrong comparison semantics.
29175         wcscmp shall use signed comparison not unsigned.
29176         Don't use substraction to avoid overflow bug.
29177         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29178         * wcsmbc/wcscmp.c: Likewise.
29179         * string/test-strcmp.c: Likewise.
29180         Add new tests to check cases with negative values.
29182 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29184         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29185         * sysdeps/x86_64/dla.h: ...here.  New file.
29186         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29187         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29188         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29189         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29190         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29191         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29192         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29193         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29194         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29196 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
29198         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29199         __ynl_finite aliases.
29201 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29203         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29205         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29206         define DLA_FMA.
29207         [DLA_FMA] (EMULV): Use DLA_FMA.
29208         [DLA_FMA] (MUL12): Use EMULV.
29209         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29210         that are not needed.
29211         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29212         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29213         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29214         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29215         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29216         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29217         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29219 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
29221         * math/s_nan.c: Undef __nan.
29222         * math/s_nanf.c: Undef __nanf.
29223         * math/s_nanl.c: Undef __nanl.
29224         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29225         "math_private.h".
29227 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29229         * math/s_catan.c: Add branch predictions.
29230         * math/s_catanf.c: Likewise.
29231         * math/s_catanh.c: Likewise.
29232         * math/s_catanhf.c: Likewise.
29233         * math/s_catanhl.c: Likewise.
29234         * math/s_catanl.c: Likewise.
29235         * math/s_cexp.c: Likewise.
29236         * math/s_cexpf.c: Likewise.
29237         * math/s_cexpl.c: Likewise.
29238         * math/s_clog.c: Likewise.
29239         * math/s_clog10.c: Likewise.
29240         * math/s_clog10f.c: Likewise.
29241         * math/s_clog10l.c: Likewise.
29242         * math/s_clogf.c: Likewise.
29243         * math/s_clogl.c: Likewise.
29244         * math/s_csqrt.c: Likewise.
29245         * math/s_csqrtf.c: Likewise.
29246         * math/s_csqrtl.c: Likewise.
29247         * math/s_ctanf.c: Likewise.
29248         * math/s_ctanh.c: Likewise.
29249         * math/s_ctanhf.c: Likewise.
29250         * math/s_ctanhl.c: Likewise.
29251         * math/s_ctanl.c: Likewise.
29253         * math/math_private.h: Define __nan, __nanf, __nanl.
29254         * math/s_cacosh.c: Include <math_private.h>.
29255         * math/s_cacoshl.c: Likewise.
29256         * math/s_casinh.c: Likewise.
29257         * math/s_casinhf.c: Likewise.
29258         * math/s_casinhl.c: Likewise.
29259         * math/s_ccos.c: Rely entire on ccosh.
29260         * math/s_ccosf.c: Rely entire on ccoshf.
29261         * math/s_ccosl.c: Rely entirely on ccoshl.
29262         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
29263         Remove tests for FE_INVALID.
29264         * math/s_ccoshf.c: Likewise.
29265         * math/s_ccoshl.c: Likewise.
29266         * math/s_csin.c: Likewise.
29267         * math/s_csinf.c: Likewise.
29268         * math/s_csinh.c Likewise.
29269         * math/s_csinhf.c: Likewise.
29270         * math/s_csinhl.c: Likewise.
29271         * math/s_csinl.c: Likewise.
29272         * math/s_ctan.c: Likewise.
29273         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29274         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29275         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29277 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
29279         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29280         compilation problems.
29282         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29283         __builtin_expect.
29285 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
29287         * sysdeps/i386/configure.in: Test for -mfma4 option.
29288         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29289         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29290         COMMON_CPUID_INDEX_80000001.
29291         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29292         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29293         use it if FMA3 is not supported.
29294         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29296         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29297         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29299 2011-10-20  Andreas Schwab  <schwab@redhat.com>
29301         [BZ #12892]
29302         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29303         it would create a cycle with a link time dependency.
29305 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
29307         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29308         instruction.
29309         * string/Makefile (strop-tests): Add rawmemchr.
29310         * string/test-rawmemchr.c: New file.
29312         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29313         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
29314         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
29315         when compiling str{,n}casecmp and when AVX is available.  Hook up
29316         new optimized code in initializers.
29318 2011-10-19  Andreas Schwab  <schwab@redhat.com>
29320         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29321         __feraiseexcept instead of feraiseexcept.
29323 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
29325         * math/math_private.h: Define defaults for libc_fetestexcept and
29326         libc_feupdateenv.
29327         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29328         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29329         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29330         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29331         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29332         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29333         libc_fetestexcept and libc_feupdateenv.
29335         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29336         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29337         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29338         * sysdeps/x86_64/fpu/math_private.h: Define special version of
29339         libc_feholdexcept_setround.
29341         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29342         Add s_nearbyint-c and s_nearbyintf-c.
29343         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29344         nearbyintf inlines.
29345         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29346         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29347         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29348         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29350         * math/math_private.h: Define defaults for libc_fegetround,
29351         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29352         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29353         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29354         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29355         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29356         standard functions.
29357         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29358         Remove comments and hacks for old compiler versions.
29359         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29360         libc_fegetround, libc_fesetround, libc_feholdexcept, and
29361         libc_feholdexceptl.
29363 2011-10-18  Andreas Schwab  <schwab@redhat.com>
29365         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29366         (__feraiseexcept_renamed): Add __NTH.
29367         (feraiseexcept): Add __NTH.  Rename local variables to fix
29368         namespace violations.
29370 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
29372         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29374         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29376         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29377         recently added interfaces.
29378         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29380         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29381         about macro parameter expansion.
29383         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29384         __NO_MATH_INLINES is defined.  Cleanups.
29386         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29387         and __floorf is target has SSE4.1.
29388         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29389         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29390         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29391         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29393         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29394         name.
29395         (floorf): Likewise.
29397         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29399 2011-10-17  Andreas Schwab  <schwab@redhat.com>
29401         * misc/sys/cdefs.h: Fix last change.
29403         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29404         database lookup.
29406 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
29408         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29410         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29411         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29412         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29413         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29414         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29415         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29416         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29417         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29418         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29419         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29420         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29421         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29422         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29423         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29424         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29425         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29426         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29427         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29428         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29429         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29430         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29431         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29433         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29434         ceil, ceilf, floor, floorf.
29436         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29437         Perform IRELATIVE relocations last.
29439         * elf/do-rel.h: Add another parameter nrelative, replacing the
29440         local variable with the same name.  Change name of the function
29441         to end in Rel or Rela (uppercase).
29442         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29443         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
29444         elf_dynamic_do_##reloc function.
29446 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29448         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29449         is sufficient, at least on modern CPUs.
29451         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29453         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29454         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29456         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29457         __expl_finite.
29458         * math/bits/math-finite.h: Add entries for exp.
29459         * math/e_expl.c: Add __*_finite alias.
29460         * sysdeps/i386/fpu/e_exp.S: Likewise.
29461         * sysdeps/i386/fpu/e_expf.S: Likewise.
29462         * sysdeps/i386/fpu/e_expl.c: Likewise.
29463         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29464         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29465         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29466         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29467         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29468         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29469         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29471         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29472         is sufficient, at least on modern CPUs.
29474         * ctype/ctype-info.c (__ctype_init): Define.
29475         * include/ctype.h (__ctype_init): Declare.
29476         (__ctype_b_loc): The variable is always initialized.
29477         (__ctype_toupper_loc): Likewise.
29478         (__ctype_tolower_loc): Likewise.
29479         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29480         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29482 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
29484         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29486         * configure.in: Also look in $cxxmachine/include for C++ system
29487         headers.
29489 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29491         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29492         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29493         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29494         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
29495         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29496         (USE_AS_WMEMCMP): New macro.
29497         Fixing indents.
29498         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29499         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29500         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29501         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29502         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29503         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29504         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29505         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29506         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29507         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29508         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29509         (USE_AS_WMEMCMP): New macro.
29510         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29511         * sysdeps/string/test-memcmp.c: Update.
29512         Fix simple_wmemcmp.
29513         Add new tests.
29514         * wcsmbs/wmemcmp.c: Update.
29515         (WMEMCMP): New macro.
29516         Fix overflow bug.
29518 2011-10-12  Andreas Jaeger  <aj@suse.de>
29520         [BZ #13268]
29521         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29523 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29525         * libio/iofwide.c (do_length): Avoid warning.
29527         * ctype/ctype.h (__isctype_f): Add missing __THROW.
29529 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
29531         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29533         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29534         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29535         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29536         * sysdeps/i386/i686/fpu/e_log.S: New file.
29537         * sysdeps/i386/i686/fpu/e_logf.S: New file.
29538         * sysdeps/i386/i686/fpu/e_logl.S: New file.
29540         * ctype/ctype.h: Add support for inlined isXXX functions when
29541         compiling C++ code.
29543 2011-10-14  Andreas Schwab  <schwab@redhat.com>
29545         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29547         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29549 2011-10-13  Roland McGrath  <roland@hack.frob.com>
29551         [BZ #13291]
29552         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29554 2011-10-13  Andreas Schwab  <schwab@redhat.com>
29556         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29557         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29558         feraiseexcept.
29560         * sysdeps/x86_64/memrchr.S: Check for zero size.
29562         * string/stratcliff.c: Add memrchr tests.
29564 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29566         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29567         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29568         rawmemchr-sse2 rawmemchr-sse2-bsf.
29569         * sysdeps/i386/i686/multiarch/memchr.S: New file.
29570         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29571         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29572         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29573         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29574         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29575         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29576         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29577         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29578         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29579         * string/memrchr.c (MEMRCHR): New macro.
29581 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
29583         Add integration with gcc's -ffinite-math-only and optimize wrapper
29584         functions in libm.
29585         * Versions.def: Define GLIBC_2.15 version for libm.
29586         * math/Makefile (headers): Add bits/math-finite.h.
29587         * math/bits/math-finite.h: New file.
29588         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29589         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29590         * math/e_acoshl.c: Add __*_finite alias.
29591         * math/e_acosl.c: Likewise.
29592         * math/e_asinl.c: Likewise.
29593         * math/e_atan2l.c: Likewise.
29594         * math/e_atanhl.c: Likewise.
29595         * math/e_coshl.c: Likewise.
29596         * math/e_exp10.c: Likewise.
29597         * math/e_exp10f.c: Likewise.
29598         * math/e_exp10l.c: Likewise.
29599         * math/e_exp2l.c: Likewise.
29600         * math/e_fmodl.c: Likewise.
29601         * math/e_gammal_r.c: Likewise.
29602         * math/e_hypotl.c: Likewise.
29603         * math/e_j0l.c: Likewise.
29604         * math/e_j1l.c: Likewise.
29605         * math/e_jnl.c: Likewise.
29606         * math/e_lgammal_r.c: Likewise.
29607         * math/e_log10l.c: Likewise.
29608         * math/e_log2l.c: Likewise.
29609         * math/e_logl.c: Likewise.
29610         * math/e_powl.c: Likewise.
29611         * math/e_sinhl.c: Likewise.
29612         * math/e_sqrtl.c: Likewise.
29613         * math/e_scalb.c: Completely rewritten and optimized.
29614         * math/e_scalbf.c: Likewise.
29615         * math/e_scalbl.c: Likewise.
29616         * math/w_acos.c: Likewise.
29617         * math/w_acosf.c: Likewise.
29618         * math/w_acosl.c: Likewise.
29619         * math/w_acosh.c: Likewise.
29620         * math/w_acoshf.c: Likewise.
29621         * math/w_acoshl.c: Likewise.
29622         * math/w_asin.c: Likewise.
29623         * math/w_asinf.c: Likewise.
29624         * math/w_asinl.c: Likewise.
29625         * math/w_atan2.c: Likewise.
29626         * math/w_atan2f.c: Likewise.
29627         * math/w_atan2l.c: Likewise.
29628         * math/w_atanh.c: Likewise.
29629         * math/w_atanhf.c: Likewise.
29630         * math/w_atanhl.c: Likewise.
29631         * math/w_exp10.c: Likewise.
29632         * math/w_exp10f.c: Likewise.
29633         * math/w_exp10l.c: Likewise.
29634         * math/w_fmod.c: Likewise.
29635         * math/w_fmodf.c: Likewise.
29636         * math/w_fmodl.c: Likewise.
29637         * math/w_j0.c: Likewise.
29638         * math/w_j0f.c: Likewise.
29639         * math/w_j0l.c: Likewise.
29640         * math/w_j1.c: Likewise.
29641         * math/w_j1f.c: Likewise.
29642         * math/w_j1l.c: Likewise.
29643         * math/w_jn.c: Likewise.
29644         * math/w_jnf.c: Likewise.
29645         * math/w_log.c: Likewise.
29646         * math/w_logf.c: Likewise.
29647         * math/w_logl.c: Likewise.
29648         * math/w_log10.c: Likewise.
29649         * math/w_log10f.c: Likewise.
29650         * math/w_log10l.c: Likewise.
29651         * math/w_log2.c: Likewise.
29652         * math/w_log2f.c: Likewise.
29653         * math/w_log2l.c: Likewise.
29654         * math/w_pow.c: Likewise.
29655         * math/w_powf.c: Likewise.
29656         * math/w_powl.c: Likewise.
29657         * math/w_remainder.c: Likewise.
29658         * math/w_remainderf.c: Likewise.
29659         * math/w_remainderl.c: Likewise.
29660         * math/w_scalb.c: Likewise.
29661         * math/w_scalbf.c: Likewise.
29662         * math/w_scalbl.c: Likewise.
29663         * math/w_sqrt.c: Likewise.
29664         * math/w_sqrtf.c: Likewise.
29665         * math/w_sqrtl.c: Likewise.
29666         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29667         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
29668         used.
29669         * math/math_private.h: Declare __kernel_standard_f.
29670         * math/w_cosh.c: Remove cruft and optimize a bit.
29671         * math/w_coshf.c: Likewise.
29672         * math/w_coshl.c: Likewise.
29673         * math/w_exp2.c: Likewise.
29674         * math/w_exp2f.c: Likewise.
29675         * math/w_exp2l.c: Likewise.
29676         * math/w_hypot.c: Likewise.
29677         * math/w_hypotf.c: Likewise.
29678         * math/w_hypotl.c: Likewise.
29679         * math/w_lgamma.c: Likewise.
29680         * math/w_lgamma_r.c: Likewise.
29681         * math/w_lgammaf.c: Likewise.
29682         * math/w_lgammaf_r.c: Likewise.
29683         * math/w_lgammal.c: Likewise.
29684         * math/w_lgammal_r.c: Likewise.
29685         * math/w_sinh.c: Likewise.
29686         * math/w_sinhf.c: Likewise.
29687         * math/w_sinhl.c: Likewise.
29688         * math/w_tgamma.c: Likewise.
29689         * math/w_tgammaf.c: Likewise.
29690         * math/w_tgammal.c: Likewise.
29691         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29692         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29693         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29694         Minor optimizations.  Pretty printing.  Remove cruft.
29695         * sysdeps/i386/fpu/e_acosf.S: Likewise.
29696         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29697         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29698         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29699         * sysdeps/i386/fpu/e_acosl.c: Likewise.
29700         * sysdeps/i386/fpu/e_asin.S: Likewise.
29701         * sysdeps/i386/fpu/e_asinf.S: Likewise.
29702         * sysdeps/i386/fpu/e_atan2.S: Likewise.
29703         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29704         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29705         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29706         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29707         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29708         * sysdeps/i386/fpu/e_exp10.S: Likewise.
29709         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29710         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29711         * sysdeps/i386/fpu/e_exp2.S: Likewise.
29712         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29713         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29714         * sysdeps/i386/fpu/e_fmod.S: Likewise.
29715         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29716         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29717         * sysdeps/i386/fpu/e_hypot.S: Likewise.
29718         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29719         * sysdeps/i386/fpu/e_log.S: Likewise.
29720         * sysdeps/i386/fpu/e_log10.S: Likewise.
29721         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29722         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29723         * sysdeps/i386/fpu/e_log2.S: Likewise.
29724         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29725         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29726         * sysdeps/i386/fpu/e_logf.S: Likewise.
29727         * sysdeps/i386/fpu/e_logl.S: Likewise.
29728         * sysdeps/i386/fpu/e_pow.S: Likewise.
29729         * sysdeps/i386/fpu/e_powf.S: Likewise.
29730         * sysdeps/i386/fpu/e_powl.S: Likewise.
29731         * sysdeps/i386/fpu/e_remainder.S: Likewise.
29732         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29733         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29734         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29735         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29736         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29737         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29738         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29739         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29740         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29741         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29742         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29743         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29744         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29745         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29746         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29747         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29748         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29749         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29750         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29751         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29752         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29753         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29754         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29755         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29756         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29757         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29758         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29759         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29760         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29761         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29762         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29763         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29764         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29765         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29766         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29767         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29768         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29769         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29770         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29771         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29772         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29773         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29774         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29775         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29776         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29777         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29778         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29779         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29780         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29781         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29782         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29783         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29784         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29785         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29786         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29787         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29788         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29789         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29790         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29791         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29792         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29793         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29794         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29795         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29796         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29797         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29798         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29799         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29800         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29801         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29802         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29803         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29804         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29805         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29806         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29807         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29808         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29809         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29810         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29811         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29812         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29813         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29814         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29815         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29816         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29817         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29818         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29819         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29820         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29821         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29822         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29823         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29824         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29825         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29826         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29827         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29828         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29829         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29830         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29831         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29832         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29833         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29834         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29835         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29836         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29837         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29838         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29839         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29840         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29841         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29842         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29843         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29844         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29845         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29846         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29847         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29848         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29849         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29850         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
29851         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29852         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29853         (__isnanf): Likewise.
29854         (__isinf_ns): Likewise.
29855         (__isinf_nsf): Likewise.
29856         (__finite): Likewise.
29857         (__finitef): Likewise.
29858         (__ieee754_sqrt): Define as macro.
29859         (__ieee754_sqrtf): Define as macro.
29860         (__ieee754_sqrtl): Define as macro.
29861         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29862         inlined copy.
29863         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29864         __FINITE_MATH_ONLY__ consistent.
29865         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29867 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
29869         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29870         of rawmemchr.
29872         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29874 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
29876         * po/ja.po: Update from translation team.
29878 2011-10-08  Roland McGrath  <roland@hack.frob.com>
29880         * locale/programs/locarchive.c (prepare_address_space): New function.
29881         (create_archive, enlarge_archive, open_archive): Use it.
29883         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29884         inside [SHARED], where it is used.
29886         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29888         * nss/getent.c (netgroup_keys): Remove unused variable.
29889         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29891 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
29893         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29894         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29895         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29896         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29897         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29898         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29899         * math/Makefile (libm-calls): Add s_isinf_ns.
29900         * math/divtc3.c: Use __isinf_nsl instead of isinf.
29901         * math/multc3.c: Likewise.
29902         * math/s_casin.c: Likewise.
29903         * math/s_casinf.c: Likewise.
29904         * math/s_casinl.c: Likewise.
29905         * math/s_ccos.c: Likewise.
29906         * math/s_ccosf.c: Likewise.
29907         * math/s_ccosl.c: Likewise.
29908         * math/s_ctan.c: Likewise.
29909         * math/s_ctanf.c: Likewise.
29910         * math/s_ctanh.c: Likewise.
29911         * math/s_ctanhf.c: Likewise.
29912         * math/s_ctanhl.c: Likewise.
29913         * math/s_ctanl.c: Likewise.
29914         * math/w_fmod.c: Likewise.
29915         * math/w_fmodf.c: Likewise.
29916         * math/w_fmodl.c: Likewise.
29917         * math/w_remainder.c: Likewise.
29918         * math/w_remainderf.c: Likewise.
29919         * math/w_remainderl.c: Likewise.
29920         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29921         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29922         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29923         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29924         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29925         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29926         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29927         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29929         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29930         of the number.
29931         * stdio-common/printf_fphex.c: Likewise.
29932         * stdio-common/printf_size.c: Likewise.
29934         * math/e_exp10.c: Include math_private.h using <...> not "...".
29935         * math/e_exp10f.c: Likewise.
29936         * math/e_exp10l.c: Likewise.
29937         * math/e_exp2l.c: Likewise.
29938         * math/e_j0l.c: Likewise.
29939         * math/e_j1l.c: Likewise.
29940         * math/e_jnl.c: Likewise.
29941         * math/e_lgammal_r.c: Likewise.
29942         * math/e_rem_pio2l.c: Likewise.
29943         * math/e_scalb.c: Likewise.
29944         * math/e_scalbf.c: Likewise.
29945         * math/e_scalbl.c: Likewise.
29946         * math/k_cosl.c: Likewise.
29947         * math/k_sinl.c: Likewise.
29948         * math/k_tanl.c: Likewise.
29949         * math/s_cacoshf.c: Likewise.
29950         * math/s_catan.c: Likewise.
29951         * math/s_catanf.c: Likewise.
29952         * math/s_catanh.c: Likewise.
29953         * math/s_catanhf.c: Likewise.
29954         * math/s_catanhl.c: Likewise.
29955         * math/s_catanl.c: Likewise.
29956         * math/s_ccosh.c: Likewise.
29957         * math/s_ccoshf.c: Likewise.
29958         * math/s_ccoshl.c: Likewise.
29959         * math/s_cexp.c: Likewise.
29960         * math/s_cexpf.c: Likewise.
29961         * math/s_cexpl.c: Likewise.
29962         * math/s_clog.c: Likewise.
29963         * math/s_clog10.c: Likewise.
29964         * math/s_clog10f.c: Likewise.
29965         * math/s_clog10l.c: Likewise.
29966         * math/s_clogf.c: Likewise.
29967         * math/s_clogl.c: Likewise.
29968         * math/s_csin.c: Likewise.
29969         * math/s_csinf.c: Likewise.
29970         * math/s_csinh.c: Likewise.
29971         * math/s_csinhf.c: Likewise.
29972         * math/s_csinhl.c: Likewise.
29973         * math/s_csinl.c: Likewise.
29974         * math/s_csqrt.c: Likewise.
29975         * math/s_csqrtf.c: Likewise.
29976         * math/s_csqrtl.c: Likewise.
29977         * math/s_ctan.c: Likewise.
29978         * math/s_ctanf.c: Likewise.
29979         * math/s_ctanh.c: Likewise.
29980         * math/s_ctanhf.c: Likewise.
29981         * math/s_ctanhl.c: Likewise.
29982         * math/s_ctanl.c: Likewise.
29983         * math/s_ldexp.c: Likewise.
29984         * math/s_ldexpf.c: Likewise.
29985         * math/s_ldexpl.c: Likewise.
29986         * math/s_significand.c: Likewise.
29987         * math/s_significandf.c: Likewise.
29988         * math/s_significandl.c: Likewise.
29989         * math/w_acos.c: Likewise.
29990         * math/w_acosf.c: Likewise.
29991         * math/w_acosh.c: Likewise.
29992         * math/w_acoshf.c: Likewise.
29993         * math/w_acoshl.c: Likewise.
29994         * math/w_acosl.c: Likewise.
29995         * math/w_asin.c: Likewise.
29996         * math/w_asinf.c: Likewise.
29997         * math/w_asinl.c: Likewise.
29998         * math/w_atan2.c: Likewise.
29999         * math/w_atan2f.c: Likewise.
30000         * math/w_atan2l.c: Likewise.
30001         * math/w_atanh.c: Likewise.
30002         * math/w_atanhf.c: Likewise.
30003         * math/w_atanhl.c: Likewise.
30004         * math/w_cosh.c: Likewise.
30005         * math/w_coshf.c: Likewise.
30006         * math/w_coshl.c: Likewise.
30007         * math/w_dremf.c: Likewise.
30008         * math/w_exp10.c: Likewise.
30009         * math/w_exp10f.c: Likewise.
30010         * math/w_exp10l.c: Likewise.
30011         * math/w_exp2.c: Likewise.
30012         * math/w_exp2f.c: Likewise.
30013         * math/w_fmod.c: Likewise.
30014         * math/w_fmodf.c: Likewise.
30015         * math/w_fmodl.c: Likewise.
30016         * math/w_hypot.c: Likewise.
30017         * math/w_hypotf.c: Likewise.
30018         * math/w_hypotl.c: Likewise.
30019         * math/w_j0.c: Likewise.
30020         * math/w_j0f.c: Likewise.
30021         * math/w_j0l.c: Likewise.
30022         * math/w_j1.c: Likewise.
30023         * math/w_j1f.c: Likewise.
30024         * math/w_j1l.c: Likewise.
30025         * math/w_jn.c: Likewise.
30026         * math/w_jnf.c: Likewise.
30027         * math/w_jnl.c: Likewise.
30028         * math/w_lgamma.c: Likewise.
30029         * math/w_lgamma_r.c: Likewise.
30030         * math/w_lgammaf.c: Likewise.
30031         * math/w_lgammaf_r.c: Likewise.
30032         * math/w_lgammal.c: Likewise.
30033         * math/w_lgammal_r.c: Likewise.
30034         * math/w_log.c: Likewise.
30035         * math/w_log10.c: Likewise.
30036         * math/w_log10f.c: Likewise.
30037         * math/w_log10l.c: Likewise.
30038         * math/w_log2.c: Likewise.
30039         * math/w_log2f.c: Likewise.
30040         * math/w_log2l.c: Likewise.
30041         * math/w_logf.c: Likewise.
30042         * math/w_logl.c: Likewise.
30043         * math/w_pow.c: Likewise.
30044         * math/w_powf.c: Likewise.
30045         * math/w_powl.c: Likewise.
30046         * math/w_remainder.c: Likewise.
30047         * math/w_remainderf.c: Likewise.
30048         * math/w_remainderl.c: Likewise.
30049         * math/w_scalb.c: Likewise.
30050         * math/w_scalbf.c: Likewise.
30051         * math/w_scalbl.c: Likewise.
30052         * math/w_sinh.c: Likewise.
30053         * math/w_sinhf.c: Likewise.
30054         * math/w_sinhl.c: Likewise.
30055         * math/w_sqrt.c: Likewise.
30056         * math/w_sqrtf.c: Likewise.
30057         * math/w_sqrtl.c: Likewise.
30058         * math/w_tgamma.c: Likewise.
30059         * math/w_tgammaf.c: Likewise.
30060         * math/w_tgammal.c: Likewise.
30062         * po/ja.po: Update from translation team.
30064 2011-09-29  Andreas Jaeger  <aj@suse.de>
30066         [BZ #13179]
30067         * sunrpc/netname.c (netname2host): Fix logic.
30069         [BZ #6779]
30070         [BZ #6783]
30071         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30072         correctly.
30073         * math/w_remainder.c (__remainder): Likewise.
30074         * math/w_remainderf.c (__remainderf): Likewise.
30075         * math/libm-test.inc (remainder_test): Add test cases.
30077 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30079         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
30080         sdiv_qrnnd.
30082 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30084         * string/test-memcmp.c: Avoid unncessary #defines.
30085         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30087 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30089         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30090         Use new sse2 version for core i3 - i7 as it's faster
30091         than sse42 version.
30092         (bit_Prefer_PMINUB_for_stringop): New.
30093         * sysdeps/x86_64/rawmemchr.S: Update.
30094         Replace with faster SSE2 version.
30095         * sysdeps/x86_64/memrchr.S: New file.
30096         * sysdeps/x86_64/memchr.S: Update.
30097         Replace with faster SSE2 version.
30099 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
30101         * elf/dl-load.c (lose): Add cast to avoid warning.
30103 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30105         * po/ca.po: Update from translation team.
30107         * inet/getnetgrent_r.c: Hook up nscd.
30108         * nscd/Makefile (routines): Add nscd_netgroup.
30109         (nscd-modules): Add netgroupcache.
30110         (CFLAGS-netgroupcache.c): Define.
30111         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30112         (cache_search): Add const to second parameter.
30113         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30114         INNETGR.
30115         (dbs): Add netgrdb entry.
30116         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30117         (verify_persistent_db): Handle netgrdb.
30118         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30119         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30120         GETFDNETGR.
30121         (netgroup_response_header): Define.
30122         (innetgroup_response_header): Define.
30123         (datahead): Add netgroup_response_header and innetgroup_response_header
30124         elements.
30125         * nscd/nscd.conf: Add entries for netgroup cache.
30126         * nscd/nscd.h (dbtype): Add netgrdb.
30127         (_PATH_NSCD_NETGROUP_DB): Define.
30128         (netgroup_iov_disabled): Declare.
30129         (xmalloc, xcalloc, xrealloc): Move declarations here.
30130         (cache_search): Adjust prototype.
30131         Add netgroup-related prototypes.
30132         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30133         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30134         (__nscd_innetgr): Declare.
30135         * nscd/selinux.c (perms): Use access_vector_t as element type and
30136         add netgroup-related initializers.
30137         * nscd/netgroupcache.c: New file.
30138         * nscd/nscd_netgroup.c: New file.
30139         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30140         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30141         For four parameters use innetgr.
30142         * nss/nss_files/files-init.c: Add definition and callback for netgr.
30143         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30144         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30145         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30147         * nscd/connections.c (register_traced_file): Don't register file
30148         for disabled databases.
30150 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
30152         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30154         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30155         from tree and freeing node.
30157 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
30159         * nss/nsswitch.c (__nss_database_lookup): Handle
30160         nss_parse_service_list out of memory case.
30162 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
30164         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30165         out of memory case.
30167 2011-10-04  Andreas Schwab  <schwab@redhat.com>
30169         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30170         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30171         pass it down.
30172         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30173         elf_machine_rela, elf_machine_lazy_rel.
30174         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30175         (ELF_DYNAMIC_DO_REL): Likewise.
30176         (ELF_DYNAMIC_DO_RELA): Likewise.
30177         (ELF_DYNAMIC_RELOCATE): Likewise.
30178         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30179         to ELF_DYNAMIC_DO_REL.
30180         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30181         (dl_main): In trace mode always set __RTLD_NOIFUNC.
30182         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30183         elf_machine_rela.
30184         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30185         skip_ifunc, don't call ifunc function if non-zero.
30186         (elf_machine_rela): Likewise.
30187         (elf_machine_lazy_rel): Likewise.
30188         (elf_machine_lazy_rela): Likewise.
30189         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30190         (elf_machine_lazy_rel): Likewise.
30191         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30192         Likewise.
30193         (elf_machine_lazy_rel): Likewise.
30194         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30195         Likewise.
30196         (elf_machine_lazy_rel): Likewise.
30197         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30198         (elf_machine_lazy_rel): Likewise.
30199         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30200         (elf_machine_lazy_rel): Likewise.
30201         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30202         (elf_machine_lazy_rel): Likewise.
30203         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30204         (elf_machine_lazy_rel): Likewise.
30205         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30206         (elf_machine_lazy_rel): Likewise.
30207         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30208         (elf_machine_lazy_rel): Likewise.
30210 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
30212         * nss/nss_files/files-init.c (_nss_files_init): Use static
30213         initialization for all the *_traced_file variables.
30215 2011-09-28  Andreas Schwab  <schwab@redhat.com>
30217         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30219 2011-09-27  Roland McGrath  <roland@hack.frob.com>
30221         [BZ #13226]
30222         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30224 2011-09-27  Andreas Schwab  <schwab@redhat.com>
30226         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30227         Reread the line before reparsing it.
30229 2011-09-26  Andreas Schwab  <schwab@redhat.com>
30231         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30233 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
30234             Maxim Kuvyrkov  <maxim@codesourcery.com>
30235             Joseph Myers  <joseph@codesourcery.com>
30237         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30238         if needed for __stack_chk_guard.
30240 2011-09-19  Roland McGrath  <roland@hack.frob.com>
30242         * sysdeps/posix/spawni.c (script_execute): Always define it.
30243         It will be optimized away if unused.
30244         (maybe_script_execute): New function.
30245         (__spawni): Call it.
30247         * Makerules: Don't include tls.make.
30248         (config-tls): Always set to thread.
30249         * tls.make.c: File removed.
30251 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
30253         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30254         * config.make.in (CPPFLAGS-config): New substituted variable.
30256 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30258         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30260         [BZ #13192]
30261         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30262         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30264 2011-09-15  Roland McGrath  <roland@hack.frob.com>
30266         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30267         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30268         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30269         (CALL_FAIL): Likewise.
30270         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30271         (CALL_FAIL): Macro removed.
30272         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30274 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30276         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30277         for __FINITE_MATH_ONLY__ == 1.
30279 2011-09-15  Andreas Schwab  <schwab@redhat.com>
30281         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30282         __ieee754_sqrt instead of sqrt.
30283         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30284         __ieee754_sqrtf instead of sqrtf.
30285         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30286         __floorf instead of floorf.
30287         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30288         __floorf, __truncf instead of floorf, truncf.
30290 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
30292         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30294         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30295         __extern_always_inline.
30296         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30297         32-bit.
30299 2011-09-14  Andreas Schwab  <schwab@redhat.com>
30301         * elf/rtld.c (dl_main): Also relocate in dependency order when
30302         doing symbol dependency testing.
30304 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
30306         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30307         Always define `refsym'.
30309 2011-09-13  Andreas Schwab  <schwab@redhat.com>
30311         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30312         (__FD_ELT): Renamed from __FDELT.
30313         * misc/bits/select2.h (__FD_ELT): Likewise.
30314         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30315         __FD_MASK instead of __FDELT, __FDMASK.
30316         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30317         Likewise.
30318         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30319         Likewise.
30321         * elf/Makefile (gen-ldd): Fix pattern.
30323         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30324         (init_tls): Likewise.
30326 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
30328         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30330 2011-09-12  Andreas Schwab  <schwab@redhat.com>
30332         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30333         `struct cmsghdr *' instead of `void *'.
30334         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30335         Likewise.
30337 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
30339         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30340         if non-absolute.
30341         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30342         ldd_rewrite_script.
30344 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
30346         * configure.in: Remove --with-tls option.
30347         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30348         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30349         out in case it is missing.
30350         * sysdeps/ia64/elf/configure.in: Likewise.
30351         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30352         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30353         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30354         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30355         * sysdeps/sh/elf/configure.in: Likewise.
30356         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30357         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30358         * sysdeps/x86_64/elf/configure.in: Likewise.
30359         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30360         * sysdeps/mach/hurd/tls.h: Likewise.
30362         [BZ #13067]
30363         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30365         [BZ #13090]
30366         * configure.in: Fix use of AC_INIT.
30368         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30370 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
30372         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30373         __set_errno.
30374         * malloc/hooks.c: Likewise.
30376         [BZ #11929]
30377         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
30378         variables statically.
30379         (narenas): Initialize.
30380         (list_lock): Initialize.
30381         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
30382         initializtion of main_arena and list_lock.  Small cleanups.
30383         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30384         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
30385         Add initializers to main_arena and mp_.
30386         (malloc_state): Remove pagesize member.  Change all users to use
30387         GLRO(dl_pagesize).
30389         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30390         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
30391         is always initialized.
30393         * malloc/malloc.c: Removed unused configurations and dead code.
30394         * malloc/arena.c: Likewise.
30395         * malloc/hooks.c: Likewise.
30396         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30398         * include/tls.h: Removed.  USE___THREAD must always be defined.
30399         * bits/libc-tsd.h: Don't handle !USE___THREAD.
30400         * elf/dl-libc.c: Likewise.
30401         * elf/dl-tsd.c: Likewise.
30402         * include/errno.h: Likewise.
30403         * include/netdb.h: Likewise.
30404         * include/resolv.h: Likewise.
30405         * inet/herrno-loc.c: Likewise.
30406         * inet/herrno.c: Likewise.
30407         * malloc/arena.c: Likewise.
30408         * malloc/hooks.c: Likewise.
30409         * malloc/malloc.c: Likewise.
30410         * resolv/res-state.c: Likewise.
30411         * resolv/res_libc.c: Likewise.
30412         * sysdeps/i386/dl-machine.h: Likewise.
30413         * sysdeps/ia64/dl-machine.h: Likewise.
30414         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30415         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30416         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30417         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30418         * sysdeps/sh/dl-machine.h: Likewise.
30419         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30420         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30421         * sysdeps/unix/i386/sysdep.S: Likewise.
30422         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30423         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30424         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30425         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30426         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30427         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30428         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30429         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30430         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30431         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30432         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30433         * sysdeps/x86_64/dl-machine.h: Likewise.
30434         * tls.make.c: Likewise.
30436         * configure.in: Remove --with-__thread option.  Make tests for
30437         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30438         tls_model attribute fail if no support is available.  Remove
30439         USE_IN_LIBIO.
30440         * Makeconfig: Adjust for dropped configure option.  All features are
30441         now mandatory.
30442         * Makerules: Likewise.
30443         * Versions.def: Likewise.
30444         * argp/argp-fmtstream.c: Likewise.
30445         * argp/argp-fmtstream.h: Likewise.
30446         * argp/argp-help.c: Likewise.
30447         * assert/assert.c: Likewise.
30448         * config.h.in: Likewise.
30449         * config.make.in: Likewise.
30450         * configure: Likewise.
30451         * configure.in: Likewise.
30452         * csu/Versions: Likewise.
30453         * csu/init.c: Likewise.
30454         * elf/tst-audit2.c: Likewise.
30455         * elf/tst-tls10.c: Likewise.
30456         * elf/tst-tls10.h: Likewise.
30457         * elf/tst-tls11.c: Likewise.
30458         * elf/tst-tls12.c: Likewise.
30459         * elf/tst-tls14.c: Likewise.
30460         * elf/tst-tlsmod11.c: Likewise.
30461         * elf/tst-tlsmod12.c: Likewise.
30462         * elf/tst-tlsmod13.c: Likewise.
30463         * elf/tst-tlsmod13a.c: Likewise.
30464         * elf/tst-tlsmod14a.c: Likewise.
30465         * elf/tst-tlsmod15b.c: Likewise.
30466         * elf/tst-tlsmod16a.c: Likewise.
30467         * elf/tst-tlsmod16b.c: Likewise.
30468         * elf/tst-tlsmod7.c: Likewise.
30469         * elf/tst-tlsmod8.c: Likewise.
30470         * elf/tst-tlsmod9.c: Likewise.
30471         * gmon/gmon.c: Likewise.
30472         * grp/fgetgrent_r.c: Likewise.
30473         * grp/putgrent.c: Likewise.
30474         * hurd/fopenport.c: Likewise.
30475         * include/libc-symbols.h: Likewise.
30476         * include/tls.h: Likewise.
30477         * intl/gettextP.h: Likewise.
30478         * intl/loadinfo.h: Likewise.
30479         * locale/global-locale.c: Likewise.
30480         * locale/localeinfo.h: Likewise.
30481         * mach/devstream.c: Likewise.
30482         * malloc/arena.c: Likewise.
30483         * malloc/set-freeres.c: Likewise.
30484         * misc/err.c: Likewise.
30485         * misc/getttyent.c: Likewise.
30486         * misc/mntent_r.c: Likewise.
30487         * posix/getopt.c: Likewise.
30488         * posix/wordexp.c: Likewise.
30489         * pwd/fgetpwent_r.c: Likewise.
30490         * resolv/Versions: Likewise.
30491         * resolv/res_hconf.c: Likewise.
30492         * shadow/fgetspent_r.c: Likewise.
30493         * shadow/putspent.c: Likewise.
30494         * stdio-common/printf_fphex.c: Likewise.
30495         * stdio-common/tmpfile.c: Likewise.
30496         * stdlib/abort.c: Likewise.
30497         * stdlib/fmtmsg.c: Likewise.
30498         * sunrpc/auth_unix.c: Likewise.
30499         * sunrpc/clnt_perr.c: Likewise.
30500         * sunrpc/clnt_tcp.c: Likewise.
30501         * sunrpc/clnt_udp.c: Likewise.
30502         * sunrpc/clnt_unix.c: Likewise.
30503         * sunrpc/openchild.c: Likewise.
30504         * sunrpc/svc_simple.c: Likewise.
30505         * sunrpc/svc_tcp.c: Likewise.
30506         * sunrpc/svc_udp.c: Likewise.
30507         * sunrpc/svc_unix.c: Likewise.
30508         * sunrpc/xdr.c: Likewise.
30509         * sunrpc/xdr_array.c: Likewise.
30510         * sunrpc/xdr_rec.c: Likewise.
30511         * sunrpc/xdr_ref.c: Likewise.
30512         * sunrpc/xdr_stdio.c: Likewise.
30514 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30516         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30518 2011-07-03  Andreas Jaeger  <aj@suse.de>
30520         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30521         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30522         regenerate with gen-libm-tests.pl.
30524 2010-05-12  Petr Baudis  <pasky@suse.cz>
30526         [BZ #11589]
30527         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30528         around j0() zero points by switching to j1().
30529         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30530         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30531         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30532         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30534 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30536         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30537         instead of 0.
30538         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30539         instead of 0.
30540         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30541         Patch in part by Pavel Roskin <proski@gnu.org>.
30543         [BZ #13138]
30544         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30545         realloc.
30546         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
30547         Free memory block if necessary.
30549         [BZ #12847]
30550         * libio/genops.c (INTDEF): For string streams the _lock pointer can
30551         be NULL.  Don't lock in this case.
30553 2011-09-09  Roland McGrath  <roland@hack.frob.com>
30555         * elf/elf.h (ELFOSABI_GNU): New macro.
30556         (ELFOSABI_LINUX): Define to that.
30558 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
30560         * string/strncat.c (strncat): Undef the symbol in case it has been
30561         defined in bits/string.h.
30563 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30565         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30567         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30568         link map.
30570 2011-08-17  Andreas Jaeger  <aj@suse.de>
30572         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30574 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
30575             Ian Lance Taylor  <iant@google.com>
30577         * math/libm-test.inc (lround_test): New testcase.
30578         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30580 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
30582         * Makefile: Remove support for automatic cvs check-ins.
30583         * Makerules: Likewise.
30584         * config.make.in: Likewise.
30585         * configure.in: Likewise.
30586         * intl/Makefile: Likewise.
30587         * locale/Makefile: Likewise.
30588         * po/Makefile: Likewise.
30589         * posix/Makefile: Likewise.
30590         * sysdeps/gnu/Makefile: Likewise.
30591         * sysdeps/mach/hurd/Makefile: Likewise.
30592         * sysdeps/sparc/sparc32/Makefile: Likewise.
30594         [BZ #13118]
30595         * posix/Makefile (bug-regex32-ENV): Define.
30596         Patch by John Stanley <jpsinthemix@verizon.net>.
30598         * misc/Makefile (headers): Add bits/select2.h.
30599         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30600         * misc/bits/select2.h: New file.
30601         * include/bits/select2.h: New file.
30602         * debug/Makefile (routines): Add fdelt_chk.
30603         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30604         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30605         FD_ISSET.
30606         * debug/fdelt_chk.c: New file.
30608         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
30609         * wcsmbs/test-wmemcmp.c: Likewise.
30610         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30611         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30613 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30615         * string/Makefile (strop-tests): Add memcmp.
30616         * string/test-wmemcmp.c: New file.
30617         * string/test-memcmp.c: Add wmemcmp support.
30619 2011-09-08  Roland McGrath  <roland@hack.frob.com>
30621         [BZ #13153]
30622         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30623         2011-07-19 change.
30625         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30626         garbage value in a __mach_port_mod_refs call in the cases of the
30627         task-self and thread-self ports.
30629 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30631         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30633 2011-09-08  Andreas Schwab  <schwab@redhat.com>
30635         * elf/dl-load.c (lose): Check for non-null L.
30637 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30639         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30641         * elf/dl-libc.c (dlerror_run): Pass back error code from
30642         dl_catch_error.
30644         [BZ #13123]
30645         * elf/dl-load.c (lose): Free l_origin if it is valid.
30647         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30648         names.
30649         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30650         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30651         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30652         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30653         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30654         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30656 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30658         * sysdeps/powerpc/fpu/e_hypot.c: New file.
30659         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30660         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30661         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30662         * sysdeps/powerpc/fpu/k_cosf.c: New file.
30663         * sysdeps/powerpc/fpu/k_sinf.c: New file.
30664         * sysdeps/powerpc/fpu/s_cosf.c: New file.
30665         * sysdeps/powerpc/fpu/s_sinf.c: New file.
30666         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30667         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30669 2011-08-15  Alan Modra  <amodra@gmail.com>
30671         [BZ #13092]
30672         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30673         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30674         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
30675         ppc_mcount to static-only-routines.
30676         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30677         __mcount_internal.
30678         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30679         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
30681 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
30683         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30684         for finite and infinity parameters.
30686 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30688         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30689         and add nop instructions for throughput optimization.
30690         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30692 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
30694         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30695         aligned copy for power7 with vector-scalar instructions.
30696         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30698 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
30700         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30701         AVX check.
30703 2011-09-07  Andreas Schwab  <schwab@redhat.com>
30705         [BZ #13144]
30706         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30707         last change.
30709 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30711         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30712         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30713         syscall wrapper around clock_gettime in __vdso_clock_gettime.
30714         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30715         clock_gettime.
30717 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30719         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30720         Forgot to demangle the pointer.
30722         * sysdeps/i386/sysdep.h: Define atom_text_section.
30723         * sysdeps/x86_64/sysdep.h: Likewise.
30724         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30725         section with atom_text_section.
30726         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30727         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30728         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30729         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30730         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30732         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30733         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30734         already be defined.  Change to take two parameters and don't assign
30735         result to variable.  Adjust all users.
30736         Define INTERNAL_GETTIME if not already defined.
30737         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30738         call.
30739         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30740         HAVE_CLOCK_GETTIME_VSYSCALL.
30741         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30743         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30744         gettimeofday vsyscall, just use time.
30746 2011-09-06  Andreas Schwab  <schwab@redhat.com>
30748         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30749         <errno.h>.
30751 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30753         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30754         syscall on x86-64.
30755         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30756         syscall.
30757         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30758         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30759         syscall if possible.
30761 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30763         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30764         e_ident.  Don't pass to find_mapsXX.
30765         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30767 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30769         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30770         strchr-sse2-no-bsf strrchr-sse2-no-bsf
30771         * sysdeps/x86_64/multiarch/strchr.S: Update.
30772         Check bit_slow_BSF bit.
30773         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30774         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30775         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30777 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30779         [BZ #13134]
30780         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30781         before glibc 2.15.
30782         (tryshell): Define.
30783         (__spawni): Change last parameter to be flag.  Test
30784         SPAWN_XFLAGS_USE_PATH flag to use path or not.
30785         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30786         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30787         * posix/spawni.c: Likewise.
30788         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30789         * posix/spawnp.c: Likewise.  Change normal version to use
30790         SPAWN_XFLAGS_USE_PATH.
30791         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30792         SPAWN_XFLAGS_TRY_SHELL.
30794         [BZ #13150]
30795         * posix/glob.h: Remove gcc 1.x support.
30797         [BZ #13068]
30798         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30800 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30802         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30803         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30804         strrchr-sse2-bsf
30805         * sysdeps/i386/i686/multiarch/strchr.S: New file.
30806         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30807         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30808         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30809         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30810         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30812 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30814         * sysdeps/x86_64/wcscmp.S: New file.
30816         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30817         wcscmp-c wcscmp-sse2
30818         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30819         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30820         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30821         * wcsmbs/wcscmp.c: Allow renaming.
30823 2011-09-05  David S. Miller  <davem@davemloft.net>
30825         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30826         stack slot, rather than the struct return pointer slot.
30827         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30828         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30830         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30832 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30834         * po/ja.po: Update from translation team.
30836         [BZ #13144]
30837         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30838         kernel in 64-bit binaries.
30840 2011-09-01  David S. Miller  <davem@davemloft.net>
30842         * elf/elf.h (HWCAP_SPARC_*): Move to..
30843         * sysdeps/sparc/sysdep.h: this new file and add new values.
30844         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30845         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30846         _DL_HWCAP_COUNT to 24.
30847         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30848         entries.
30849         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30850         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30851         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30852         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30853         instead of magic constants.
30854         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30856 2011-08-31  David S. Miller  <davem@davemloft.net>
30858         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30859         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30860         Reimplement to do errno handling inline.
30861         (SYSCALL_ERROR_HANDLER): New macro.
30862         (__SYSCALL_STRING): Do not do errno handling in asm.
30863         (__CLONE_SYSCALL_STRING): Delete.
30864         (__INTERNAL_SYSCALL_STRING): Delete.
30865         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30866         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30867         (PSEUDO): Reimplement to do errno handling inline.
30868         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30869         (SYSCALL_ERROR_HANDLER): New macro.
30870         (__SYSCALL_STRING): Do not do errno handling in asm.
30871         (__CLONE_SYSCALL_STRING): Delete.
30872         (__INTERNAL_SYSCALL_STRING): Delete.
30873         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30874         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30875         i386.
30876         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30877         (inline_syscall*): Add 'err' argument.
30878         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30879         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30880         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30881         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30883         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30884         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30886 2011-08-30  Andreas Schwab  <schwab@redhat.com>
30888         * elf/rtld.c (dl_main): Relocate objects in dependency order.
30890 2011-08-29  Jiri Olsa <jolsa@redhat.com>
30892         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30893         directive.
30895 2011-08-24  David S. Miller  <davem@davemloft.net>
30897         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30899 2011-08-24  Andreas Schwab  <schwab@redhat.com>
30901         * elf/Makefile: Add rules to build and run unload8 test.
30902         * elf/unload8.c: New file.
30903         * elf/unload8mod1.c: New file.
30904         * elf/unload8mod1x.c: New file.
30905         * elf/unload8mod2.c: New file.
30906         * elf/unload8mod3.c: New file.
30908         * elf/dl-close.c (_dl_close_worker): Reset private search list if
30909         it wasn't used.
30911 2011-08-23  David S. Miller  <davem@davemloft.net>
30913         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30914         subtract stack bias.
30915         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30916         %sp not %fp in calculations.
30917         (_JMPBUF_UNWINDS_ADJ): Likewise.
30919         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30920         (aio_suspend): Call it to force an exception region around the
30921         AIO_MISC_WAIT() invocation.
30923 2011-08-23  Andreas Schwab  <schwab@redhat.com>
30925         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30926         backslash.
30928 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
30930         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30931         protection macro.
30932         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30933         and <dl-machine.h>.
30934         (Elf64_FuncDesc): Remove.
30936 2011-08-22  David S. Miller  <davem@davemloft.net>
30938         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30939         sigaltstack check, add missing cfi directives.
30940         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30941         missing cfi directives, and sigaltstack handling.
30943 2011-08-16  Andreas Schwab  <schwab@redhat.com>
30945         [BZ #11724]
30946         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30947         object is seen twice.
30948         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30950         * elf/Makefile (distribute): Add tst-initorder2.c.
30951         (tests): Add tst-initorder2.
30952         (modules-names): Add tst-initorder2a tst-initorder2b
30953         tst-initorder2c tst-initorder2d.  Add rules to build them.
30954         ($(objpfx)tst-initorder2.out): New rule.
30955         * elf/tst-initorder2.c: New file.
30956         * elf/tst-initorder2.exp: New file.
30958 2011-08-22  Andreas Schwab  <schwab@redhat.com>
30960         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30962         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30963         dependencies back to end of function.
30965         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30966         $(elfobjdir)/ld.so.
30968 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
30970         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30971         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30972         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30973         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30974         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30975         of __vdso_gettimeofday.
30976         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30977         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
30978         attribute_hidden.
30979         (_libc_vdso_platform_setup): Remove initialization of
30980         __vdso_gettimeofday and __vdso_time.
30982 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30984         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30985         and fgetc_unlocked.
30986         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30987         getc_unlocked.
30989         * elf/dl-open.c (add_to_global): Report additions to the global scope
30990         for LD_DEBUG=scopes.
30991         (dl_open_worker): Also print scope of newly loaded dependencies.
30992         (_dl_show_scope): Indicate if there is no scope.
30994         [BZ #13114]
30995         * stdio-common/Makefile (tests): Add bug24.
30996         * stdio-common/bug24.c: New file.
30998 2011-08-19  Andreas Jaeger  <aj@suse.de>
31000         [BZ #13114]
31001         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31002         non-existant file when using close-on-exec mode.
31004 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31006         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31007         the very first instruction.
31009         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31010         the CFI state in the end.
31011         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31012         inclusion of dl-trampoline.h.
31013         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31015 2011-08-19  Andreas Schwab  <schwab@redhat.com>
31017         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31018         expectations for long double.
31020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31021         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31023 2011-08-14  David S. Miller  <davem@davemloft.net>
31025         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31026         artificual limit depends upon the system page size.
31028 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31030         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31031         * resolv/Makefile: Define CFLAGS-libresolv.
31033 2011-08-17  Andreas Schwab  <schwab@redhat.com>
31035         * nss/makedb.c (compute_tables): Make variables used in nested
31036         function static.
31038 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31040         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31041         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31042         if buffer was too small.
31044         * elf/pldd.c (main): Attach to all threads in the process.
31045         Rewrite /proc handling to use *at functions.
31047 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
31049         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31050         specifies first scope to show.
31051         (dl_open_worker): Update callers.  Move printing scope of new
31052         object to before the relocation.
31053         * elf/rtld.c (dl_main): Update _dl_show_scope call.
31054         * sysdeps/generic/ldsodefs.h: Update declaration.
31056         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31057         string for the scope number.
31059 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
31061         * nscd/servicescache.c (cache_addserv): Make sure written is always
31062         initialized.
31064 2011-08-14  Roland McGrath  <roland@hack.frob.com>
31066         * sysdeps/i386/i486/bits/atomic.h
31067         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31068         statement expression, so as to suppress "set but not used" warning.
31069         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31071         * string/strncat.c (STRNCAT): Use prototype definition.
31073         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31074         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31075         -Iprograms here.
31076         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31077         (localedef-modules): Add localedef.
31078         (locale-modules): Add locale.
31080         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31081         * elf/rtld.c (dl_main): Invert order of assignment in last change,
31082         to avoid a warning.
31084 2011-08-14  David S. Miller  <davem@davemloft.net>
31086         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31087         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31089 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
31091         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31092         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31093         * elf/rtld.c (dl_main): Set l_name of vDSO.
31094         Call _dl_show_scope when DL_DEBUG_SCOPES.
31095         (process_dl_debug): Recognize scopes flag and also set it for all.
31096         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31097         Declare _dl_show_scope.
31099         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31100         (do_dlopen): Pass caller_dlopen to dl_open.
31101         (__libc_dlopen_mode): Initialize caller_dlopen.
31103         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31104         of libc.  Make tolower call locale-independent.  Optimize a bit by
31105         using isdigit instead of isalnum.
31106         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31108 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
31110         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31111         was a dependency or dynamically loaded.
31113 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
31115         * intl/l10nflist.c: Allow architecture-specific pop function.
31116         * sysdeps/x86_64/l10nflist.c: New file.
31118         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31119         classification.
31121 2011-08-10  Andreas Schwab  <schwab@redhat.com>
31123         * include/dirent.h: Add libc_hidden_proto for scandirat and
31124         scandirat64.  Don't declare __scandirat64.
31125         * dirent/scandirat.c: Add libc_hidden_def.
31126         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31127         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31129 2011-08-10  David S. Miller  <davem@davemloft.net>
31131         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31132         enum.
31133         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31134         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31135         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31137 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
31139         * Versions.def [libc]: Add GLIBC_2.15.
31140         * dirent/Makefile (routines): Add scandirat and scandirat64.
31141         * dirent/Versions [libc]: Export scandirat and scandirat64 for
31142         GLIBC_2.15.
31143         * dirent/dirent.h: Declare scandirat and scandirat64.
31144         * dirent/scandirat.c: New file.
31145         * dirent/scandirat64.c: New file.
31146         * sysdeps/wordsize-64/scandirat.c: New file.
31147         * sysdeps/wordsize-64/scandirat64.c: New file.
31148         * dirent/opendir.c: Define opendirat.
31149         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
31150         using scandirat.
31151         * dirent/scandir64.c: Adjust for scandir.c change.
31152         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
31153         __scandirat64, and __scandir_cancel_handler.
31154         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
31155         additional parameter and use openat instead of open (outside of ld.so).
31156         Add new __opendir as wrapper around __opendirat.
31157         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31158         here without requiring old scandirat implementation.
31160 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
31162         * dirent/scandir.c (cancel_handler): Renamed to
31163         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
31164         defined.  Adjust users.
31165         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31166         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31168 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
31170         * string/test-string.h (IMPL): Use __STRING to expand name and then
31171         stringify it.
31173         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
31174         of cleanups.
31176 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31178         * string/Makefile: Update.
31179         (strop-tests): Append strncat.
31180         * string/test-wcscmp.c: New file.
31181         New comprehensive test for wcscmp.
31182         * string/test-strcmp.c: Update.
31183         (WIDE): New define.
31185 2011-07-22  Andreas Schwab  <schwab@redhat.com>
31187         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31188         line.
31190 2011-07-26  Andreas Schwab  <schwab@redhat.com>
31192         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31193         encoding to ACE if AI_IDN.
31195 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
31197         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31198         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31200 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31202         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31203         Fix overflow bug in strncat.
31204         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31206         * string/test-strncat.c: Update.
31207         Add new tests for checking overflow bugs.
31209 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31211         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31212         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31213         * sysdeps/i386/i686/multiarch/strcat.S: New file.
31214         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31215         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31216         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31217         * sysdeps/i386/i686/multiarch/strncat.S: New file.
31218         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31219         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31221         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31222         (USE_AS_STRCAT): Define.
31223         Add strcat and strncat support.
31224         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31226 2011-07-25  Andreas Schwab  <schwab@redhat.com>
31228         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31229         __n bigger than INT_MAX+1.
31230         (__strncmp_g): Likewise.
31232 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
31234         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31235         * libio/stido.h: Likewise.
31237         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31238         (AF_NFC): Define.
31239         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31240         (AF_NFC): Define.
31242         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31243         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31244         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31245         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31246         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31248         [BZ #13021]
31249         * scripts/test-installation.pl: Don't expect libnss_test1 to be
31250         installed.
31252         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31253         typo.
31254         (_dl_x86_64_save_sse): Likewise.
31256 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
31258         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31259         OSXSAVE.
31260         (_dl_x86_64_save_sse): Likewise.
31262         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31264         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31266 2011-07-21  Andreas Schwab  <schwab@redhat.com>
31268         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31269         change.
31270         (_dl_x86_64_save_sse): Use correct AVX check.
31272 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31274         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31275         bug in strncpy/strncat.
31276         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31278 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
31280         * string/tester.c (test_strcat): Add tests for different alignments
31281         of source and destination.
31282         (test_strncat): Likewise.
31284 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31286         [BZ #12852]
31287         * posix/glob.c (glob): Check passed in values before using them in
31288         expressions to avoid some overflows.
31289         (glob_in_dir): Likewise.
31291         [BZ #13007]
31292         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31293         check for AVX enablement so that we don't crash with old kernels and
31294         new hardware.
31295         * elf/tst-audit4.c: Add same checks here.
31296         * elf/tst-audit6.c: Likewise.
31298         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31300 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
31302         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31304 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31306         * po/cs.po: Update from translation team.
31307         * po/bg.po: Likewise.
31309 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
31311         * misc/sys/cdefs.h: Add support for const attribute.
31312         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31313         to gnu_dev_{major,minor,makedev} functions.
31315 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
31317         * intl/dcigettext.c (get_output_charset): Add missing bracket.
31319 2011-07-20  Andreas Schwab  <schwab@redhat.com>
31321         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31322         strlen results.
31324 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31326         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31327         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31328         register in order to avoid conflicts with the soft frame pointer
31329         being held in r11 when necessary.
31330         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31331         (INTERNAL_VSYSCALL_NCS): Likewise.
31333 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
31335         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31336         * elf/dl-fini.c (_dl_fini): Adjust caller.
31337         * elf/dl-close.c (_dl_close_worker): Likewise.
31338         * sysdeps/generic/ldsodefs.h: Adjust declaration.
31340 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31342         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31343         "aux_cache->nlibs < 0".
31345         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31346         in the reload-count case.
31348 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31351         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31352         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31353         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31354         * sysdeps/x86_64/multiarch/strcat.S: New file.
31355         * sysdeps/x86_64/multiarch/strncat.S: New file.
31356         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31357         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31358         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31359         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31360         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31361         (USE_AS_STRCAT): Define.
31362         Add strcat and strncat support.
31363         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31364         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31365         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31366         * string/strncat.c: Update.
31367         (USE_AS_STRNCAT): Define.
31368         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31369         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31370         and i7.
31371         * sysdeps/x86_64/multiarch/init-arch.h
31372         (bit_Prefer_PMINUB_for_stringop): New.
31373         (index_Prefer_PMINUB_for_stringop): Likewise.
31374         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31375         bit_Prefer_PMINUB_for_stringop.
31377 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31379         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31380         buffer64.
31381         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31382         of casting of buffer.
31383         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31384         buffer32 and buffer64.
31385         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31386         writes instead of casting of buffer.
31387         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31388         buffer32.
31389         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31390         casting of buffer.
31392 2011-07-19  Andreas Schwab  <schwab@redhat.com>
31394         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31396 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31398         * nscd/nscd.c (termination_handler): Don't do anything for a database
31399         if it has not yet been initialized.
31401 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31403         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31405 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31407         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31409 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31411         * po/nl.po: Update from translation team.
31412         * po/sv.po: Likewise.
31414 2011-07-16  Roland McGrath  <roland@hack.frob.com>
31416         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31417         now disallowed by GCC.
31419         * configure.in (use-default-link): Default to yes if a test -shared
31420         link meets our qualifications.
31421         * configure: Regenerated.
31423         * config.make.in (output-format): New variable.
31424         * configure.in: Check for ld --print-output-format support.
31425         * configure: Regenerated.
31426         * Makerules ($(common-objpfx)format.lds)
31427         [$(output-format) != unknown]: Just use $(output-format),
31428         instead of the linker-script munging.
31430 2011-07-14  Roland McGrath  <roland@hack.frob.com>
31432         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31433         of $(common-objpfx)shlib.lds.
31434         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31436         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31437         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31439         * configure.in (-z relro check): Adjust test code to add a large
31440         writable data section after it.
31441         * configure: Regenerated.
31443 2011-07-11  Roland McGrath  <roland@hack.frob.com>
31445         * configure.in (-z relro check): Fix test code to make the variable
31446         truly const.
31447         * configure: Regenerated.
31449 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
31451         * nscd/nscd.h (struct traced_file): Define.
31452         (struct database_dyn): Remove inotify_descr, reset_res, and filename
31453         elements.  Add traced_files.
31454         (inotify_fd): Declare.
31455         (register_traced_file): Declare.
31456         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31457         (inotify_fd): Export.
31458         (resolv_conf_descr): Remove.
31459         (nscd_init): Move inotify descriptor creation to main.
31460         Don't register files for notification here.
31461         (register_traced_file): New function.
31462         (invalidate_cache): Don't use reset_res to determine whether to call
31463         res_init, go through the list of registered files.
31464         (main_loop_poll): The inotify descriptors are now stored in the
31465         structures for the traced files.
31466         (main_loop_epoll): Likewise
31467         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
31468         to __nss_disable_nscd.
31469         * nscd/cache.c (prune_cache): There is no single inotify descriptor
31470         for a database anymore.  Check the records for all the registered
31471         files instead.
31472         * nss/Makefile (libnss_files-routines): Add files-init.
31473         (libnss_db-routines): Add db-init.
31474         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31475         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31476         * nss/nss_db/db-init.c: New file.
31477         * nss/nss_files/files-init.c: New file.
31478         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
31479         __nss_lookup_function.
31480         (__nss_lookup_function): Call nss_load_library.
31481         (nss_load_all_libraries): New function.
31482         (__nss_disable_nscd): Take parameter with callback function for files
31483         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
31484         used for the cached services.
31485         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31486         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31487         options for features to all the files in nscd.
31489         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31491 2011-07-10  Roland McGrath  <roland@hack.frob.com>
31493         * csu/elf-init.c (__libc_csu_init): Comment typo.
31495 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
31497         * po/pl.po: Update from translation team.
31498         * po/ja.po: Likewise.
31499         * po/ru.po: Likewise.
31500         * po/ko.po: Likewise.
31501         * po/fr.po: Likewise.
31503 2011-07-09  Roland McGrath  <roland@hack.frob.com>
31505         * configure.in (.ctors/.dtors header and trailer check):
31506         Use an empirical test on a built program.
31507         * configure: Regenerated.
31509         * configure.in (-z relro check): Use an empirical test on a built DSO.
31510         Detect, but do not require, on ia64.
31511         * configure: Regenerated.
31513         * configure.in (READELF): Find it with AC_CHECK_TOOL.
31514         Update tests that use readelf to use $READELF instead.
31515         * configure: Regenerated.
31517 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
31519         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31520         if the result is not used.
31522 2011-07-05  Andreas Jaeger  <aj@suse.de>
31524         [BZ#9696]
31525         * stdlib/tst-strtod.c: Add testcase.
31527 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
31529         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31530         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31531         The latter has a higher limit.  Take additional parameter to pass to
31532         the new function.
31533         (__pathconf): Pass file to __statfs_link_max.
31534         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31535         __statfs_link_max.
31536         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31537         __statfs_link_max.
31539         [BZ #12868]
31540         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31541         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31542         Handle Lustre.
31543         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31544         (__statfs_filesize_max): Likewise.
31545         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31547 2011-07-05  Andreas Jaeger  <aj@suse.de>
31549         * resolv/res_comp.c (dn_skipname): Remove unused variable.
31551 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
31553         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31554         `status' variable.
31555         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31556         Likewise.
31558 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
31560         * Makefile (strop-tests): Add strncat.
31561         * string/test-strncat.c: New file.
31563 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
31565         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31567 2011-06-21  Andreas Jaeger  <aj@suse.de>
31569         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31570         Copy rule from iconvdata/Makefile.
31572 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31574         [BZ #12922]
31575         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31576         but no long options are defined, just return 'W'.
31578 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
31580         [BZ #9696]
31581         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31583 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31585         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31586         netgroups to read.
31587         (innetgr): Likewise.
31589 2011-07-05  Roland McGrath  <roland@hack.frob.com>
31591         * config.make.in (install_root): Default to $(DESTDIR).
31593 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
31595         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31597 2011-07-02  Roland McGrath  <roland@hack.frob.com>
31599         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31601         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31602         containing directory rather than embedding absolute directory names.
31604         * scripts/check-local-headers.sh: Rewritten using awk.
31605         Match by word, not by line.  Print error messages for matches.
31606         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31608         * Makerules [shlib-lds-flags empty]:
31609         ($(common-objpfx)libc_pic.opts): New target.
31610         ($(common-objpfx)libc_pic.os.clean): New target.
31611         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31613         * config.make.in (OBJCOPY): New variable.
31614         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31615         * configure: Regenerated.
31617         * config.make.in (use-default-link): New variable.
31618         * configure.in (use_default_link): Grok --with-default-link to set it.
31619         * configure: Regenerated.
31620         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31621         (shlib-lds, shlib-lds-flags): Define to empty.
31623         * Makerules (shlib-lds): New variable.
31624         (shlib-lds-flags): New variable.
31625         (build-shlib, build-moduile, build-module-asneeded): Use it.
31626         ($(common-objpfx)libc.so): Use $(shlib-lds).
31627         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31628         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31630         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31631         DT_FLAGS/DT_FLAGS_1 with zero flags.
31633         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31634         linker script munging.
31636 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
31638         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31639         as 128-bit value.
31640         * crypt/sha512.c (sha512_process_block): Perform total addition using
31641         128-bit if possible.
31642         (__sha512_finish_ctx): Likewise.
31643         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31644         as 64-bit value.
31645         * crypt/sha256.c (SWAP64): Define.
31646         (sha256_process_block): Perform total addition using 64-bit if
31647         possible.
31648         (__sha256_finish_ctx): Likewise.
31650 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
31652         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
31653         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31654         * nscd/hstcache.c (cache_addhst): Likewise.
31655         * nscd/grpcache.c (cache_addgr): Likewise.
31656         * nscd/aicache.c (addhstaiX): Likewise
31657         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31659 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
31661         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31662         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31663         * nscd/hstcache.c (cache_addhst): Likewise.
31664         * nscd/grpcache.c (cache_addgr): Likewise.
31665         * nscd/aicache.c (addhstaiX): Likewise
31667 2011-07-01  Andreas Schwab  <schwab@redhat.com>
31669         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31670         domain only when needed.
31672 2011-06-30  Andreas Schwab  <schwab@redhat.com>
31674         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31675         is always restored.
31677 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
31679         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31680         are re-adding the entry.
31681         * nscd/servicescache.c (cache_addserv): Likewise.
31683 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
31685         * sysdeps/generic/dl-irel.h: fix protection against multiple
31686         inclusions.
31687         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31689 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
31691         [BZ #12935]
31692         * malloc/memusage.sh: Fix quoting in message.
31693         * debug/xtrace.sh: Likewise.
31695         * configure.in: Remove support for --experimental-malloc option, make
31696         it the default.
31697         * config.make.in: Likewise.
31698         * malloc/Makefile: Likewise.
31700 2011-06-27  Andreas Schwab  <schwab@redhat.com>
31702         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31703         two-byte characters.
31705 2011-06-27  Roland McGrath  <roland@hack.frob.com>
31707         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31708         AC_CACHE_CHECK invocation.
31709         * configure: Regenerated.
31711         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31713 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
31715         [BZ #12350]
31716         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
31717         bit from old_res_options.
31719         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31721         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31722         value type for setfct.
31724 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
31726         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31727         __gettimeofday instead of gettimeofday.
31729 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
31731         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31733 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31735         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31737         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31738         info.
31740 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31742         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31743         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31744         strcpy-sse2-unaligned strncpy-sse2-unaligned
31745         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31746         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31747         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31748         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31749         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31750         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31751         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31752         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31753         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31754         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31755         (STRCPY): Support SSE2 and SSSE3 versions.
31757 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
31759         [BZ #12874]
31760         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31761         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31762         kernels which artificially limit size of requests.
31764 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31766         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31767         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31768         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31769         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31770         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31771         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31772         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31773         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31774         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31775         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31776         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31777         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31778         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31779         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31780         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31781         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31782         Enable unaligned load optimization for Intel Core i3, i5 and i7
31783         processors.
31784         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31785         Define.
31786         (index_Fast_Unaligned_Load): Define.
31787         (HAS_FAST_UNALIGNED_LOAD): Define.
31789 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
31791         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31793 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31795         [BZ #12907]
31796         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31797         until it is clear that the information is realy needed.
31798         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31800 2011-06-22  Andreas Schwab  <schwab@redhat.com>
31802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31804 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31806         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31807         /sys/devices/system/cpu/online if it is usable.
31809         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31810         reading the information from the /proc filesystem to once a second.
31812 2011-06-21  Andreas Jaeger  <aj@suse.de>
31814         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31815         NULL after inclusion of kernel headers.
31817 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
31819         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31820         calls to internal_setent.
31822         [BZ #12885]
31823         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31824         addresses using gethostbyname4_r ignore IPv4 addresses.
31826         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31827         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
31829         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31831 2011-06-20  David S. Miller  <davem@davemloft.net>
31833         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31834         inclusions.
31835         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31837         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31838         (elf_irel): Use it.
31839         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31840         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31841         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31842         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31843         * sysdeps/x86_64/dl-irel.h: Likewise.
31845         * elf/dl-runtime.c: Use elf_ifunc_invoke.
31846         * elf/dl-sym.c: Likewise.
31848 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31850         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
31851         need to dereference resplen2.
31853 2011-06-14  Andreas Schwab  <schwab@redhat.com>
31855         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31857 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31859         * Makeconfig: Define vardbdir and inst_vardbdir.
31860         * nss/Makefile: Add rules to install db-Makefile.
31862         * nss/nss_db/db-XXX.c: Cleanup.
31864         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31865         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31866         GLIBC_PRIVATE.
31867         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31868         * nss/makedb.c: Implement -g option to specify that value strings
31869         are generated and should not be added to table iterated over for
31870         get*ent calls.
31871         * nss/nss_db/db-initgroups.c: New file.
31873         * nss/getent.c: Add support for initgroups lookups through getgrouplist
31874         interface.
31876         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31877         (internal_getgrouplist): Adjust to name change.
31878         Update use_initgroups_entry if this is not the first call.
31879         * nss/databases.def: Add initgroups entry.
31881         * nss/makedb.c (compute_tables): Check result of multiple hash table
31882         sizes to minimize maximum chain length.
31884 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
31886         * Versions.def: Add entry for libnss_db.
31887         * shlib-versions: Likewise.
31888         * nss/Makefile: Add rules to build libnss_db.
31889         * nss/Versions: Add libnss_db information.  Organize libnss_files
31890         entries better.
31891         * nss/db-Makefile: Add gshadow support.  Change rules for the new
31892         makedb progra.  Some minor improvements to generate smaller files.
31893         * nss/nss_db/nss_db.h: Move NSS database header data structures to
31894         here from...
31895         * nss/makedb.c: ...here.
31896         Improve database format to be smaller and require less memory at
31897         runtime.
31898         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
31899         db anymore.
31900         * nss/nss_db/db-netgrp.c: Likewise.
31901         * nss/nss_db/db-open.c: Likewise.
31902         * nss/nss_files/flies-XXX.x: Adjust comments.
31903         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31904         * nss/nss_files/files-grp.c: Likewise.
31905         * nss/nss_files/files-hosts.c: Likewise.
31906         * nss/nss_files/files-network.c: Likewise.
31907         * nss/nss_files/files-proto.c: Likewise.
31908         * nss/nss_files/files-pwd.c: Likewise.
31909         * nss/nss_files/files-rpc.c: Likewise.
31910         * nss/nss_files/files-service.c: Likewise.
31911         * nss/nss_files/files-sgrp.c: Likewise.
31912         * nss/nss_files/files-spwd.c: Likewise.
31913         * nss/nss_db/db-alias.c: Removed.
31914         * nss/nss_db/dummy-db.h: Removed.
31916 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
31918         * nss/makedb.c: Rewritten to not use database library.
31919         * nss/Makefile: Update to build new makedb program.
31921 2011-06-14  Andreas Jaeger  <aj@suse.de>
31923         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31924         memset declaration.
31926 2011-06-10  Andreas Schwab  <schwab@redhat.com>
31928         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31929         tmpbuf.
31931 2011-06-10  Roland McGrath  <roland@hack.frob.com>
31933         * Makerules (shlib.lds): Fail if the linker script comes out empty.
31934         * elf/Makefile ($(objpfx)ld.so): Likewise.
31936         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31937         Don't list ld.so twice in dependencies.
31939         * posix/bug-regex31.c: Include <stdlib.h>.
31941         * nscd/hstcache.c (cache_addhst): Remove unused variable.
31943         * nis/nss_compat/compat-spwd.c
31944         (getspent_next_nss_netgr): Remove unused variable.
31945         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31947         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31948         nonmembers" output to use the right array.
31950         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31952         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31954         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31955         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31956         * catgets/gencat.c (read_input_file): Likewise.
31957         * locale/programs/locarchive.c (enlarge_archive): Likewise.
31959         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31960         variable definition inside #if's controlling its use.
31962         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31964         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31966         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31968         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31969         unreachable code.
31971         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31973         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31974         * configure: Regenerated.
31976         * Makerules: Revert last change.
31977         * elf/Makefile: Likewise.
31979 2011-06-09  Roland McGrath  <roland@hack.frob.com>
31981         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31982         * elf/Makefile ($(objpfx)librtld.os): Likewise.
31983         (reloc-link): Likewise.
31985 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
31987         * elf/Makefile: Add rules to build pldd.
31988         * elf/pldd.c: New file.
31989         * elf/pldd-xx.c: New file.
31991 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
31993         * version.h: Update for 2.15 development version.
31995 2011-06-07  David S. Miller  <davem@davemloft.net>
31997         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31998         ifuncs.
31999         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32000         elf_machine_lazy_rel): Likewise.
32001         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32002         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32003         elf_machine_lazy_rel): Likewise.
32004         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32005         dl_hwcap via passed in argument.
32006         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32007         Likewise.
32009 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32011         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
32013 2011-06-06  Roland McGrath  <roland@hack.frob.com>
32015         [BZ #12849]
32016         * manual/fdl-1.1.texi: New file, verbatim from:
32017         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32018         * manual/lgpl-2.1.texi: New file, verbatim from:
32019         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32020         * manual/Makefile (licenses): New variable, list those new file names.
32021         (texis): Use it.
32022         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32024         * manual/fdl.texi: File removed.
32025         * manual/lesser.texi: File removed.
32026         * manual/libc.texinfo (Copying, Documentation License):
32027         Use new @include file names, put @appendix directive before @include.
32029 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
32031         [BZ #12841]
32032         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32033         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32034         (mq_open): Add __NTH.
32036 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
32038         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32039         Assume Intel Core i3/i5/i7 processor if AVX is available.
32041 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32043         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32044         typo.
32046 2011-05-31  Andreas Schwab  <schwab@redhat.com>
32048         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32049         memory.  Use alloca_account.  Fix memory leak when retrying.
32051 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32053         * version.h (RELEASE): Bump for 2.14 release.
32054         * include/features.h (__GLIBC_MINOR__): Bump to 14.
32056         * config.make.in (RANLIB): Remove entry.
32058 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
32060         * po/Makefile (po-sed-cmd): Add ksh to extensions.
32061         (libc.pot): Work around missing support for .ksh extension in xgettext.
32063         [BZ #12684]
32064         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32065         if both request failed.
32066         (send_dg): In case of server errors clear resplen or *resplen2.
32068         [BZ #12454]
32069         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32070         when there are multiple maps.
32071         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32072         (_dl_fini): Remove test here.
32074         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32076 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
32078         [BZ #12350]
32079         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32080         bit from old_res_options.
32081         (gaih_inet): Likewise.
32083         [BZ #11099]
32084         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32085         as signed.
32087         * resolv/res_init.c (res_setoptions): Make the code more compact.
32089         [BZ #11558]
32090         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32091         set RES_USEVC.
32093         [BZ #11634]
32094         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32096         * malloc/malloc.h: Mark malloc hook variables as deprecated.
32098         [BZ #11781]
32099         * malloc/malloc.h: Declare malloc hook variables as volatile.
32101         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32102         in last patch.
32104         [BZ #11799]
32105         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32106         raise in the comment.
32107         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32108         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32109         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32111 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
32113         [BZ #12811]
32114         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32115         grow the buffers more if it already has to be sufficient.
32116         (build_wcs_upper_buffer): Likewise.
32117         * posix/regexec.c (check_matching): Likewise.
32118         (clean_state_log_if_needed): Likewise.
32119         (extend_buffers): Don't enlarge buffers beyond size of the input
32120         buffer.
32121         Patches mostly by Emil Wojak <emil@wojak.eu>.
32122         * posix/bug-regex32.c: New file.
32123         * posix/Makefile (tests): Add bug-regex32.
32125         * locale/findlocale.c (_nl_find_locale): Return right away if
32126         _nl_explode_name failed.
32127         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32129         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32131         * debug/xtrace.sh: Unify messages.
32132         * malloc/memusage.sh: Likewise.
32134         [BZ #12813]
32135         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32136         time symbol from vDSO.  Substitute with vsyscall if not available.
32137         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32138         __vdso_time.
32140         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32141         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32142         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32143         Add sendmmsg and internal_sendmmsg.
32144         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32145         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32146         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32148         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32149         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32150         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32152 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
32154         [BZ #12813]
32155         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32156         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
32157         available.
32158         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32159         __vdso_getcpu.
32161         [BZ #12814]
32162         * iconvdata/Makefile (tests): Add bug-iconv9.
32163         * iconvdata/bug-iconv9.c: New file.
32165 2011-05-27  Andreas Schwab  <schwab@redhat.com>
32167         [BZ #12814]
32168         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32170 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
32172         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32173         (struct user_regs_struct): Change intcs field back to cs.
32175 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
32177         * po/ja.po: Update from translation team.
32179 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
32181         [BZ #12795]
32182         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32183         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32185 2011-05-20  Andreas Schwab  <schwab@redhat.com>
32187         * stdlib/longlong.h: Update from GCC.
32189 2011-05-23  Andreas Schwab  <schwab@redhat.com>
32191         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32192         parameter name.
32193         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32194         Add parameter name.
32195         (__sysconf): Pass it down.
32197 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
32199         [BZ #12671]
32200         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32201         some situations.
32202         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32203         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32204         add in in __libc_use_alloca calls.  Adjust callers.
32205         (glob): Use malloc in some situations.
32207         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32208         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32209         pltexit.
32211 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
32213         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32214         and CLOCK_BOOTTIME_ALARM.
32216         [BZ #12782]
32217         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32218         is returned.
32220         * string/_strerror.c (__strerror_r): Print negative errors as signed
32221         numbers.
32223         [BZ #12777]
32224         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32225         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32226         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32228         * configure.in: Fix typo in redirection and correct removal of test
32229         files in two cases.
32231         [BZ #12788]
32232         * locale/setlocale.c (new_composite_name): Fix test to check for
32233         identical name of all categories.
32235         [BZ #12792]
32236         * libio/filedoalloc.c (local_isatty): New function.
32237         (_IO_file_doallocate): Use local_isatty.
32238         * stdio-common/perror.c (perror): In case a new stream is used
32239         forward the stream error.
32240         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32241         error flag.
32243 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
32245         [BZ #11869]
32246         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32247         alloca.
32248         * include/alloca.h (extend_alloca_account): Define.
32250         [BZ #11857]
32251         * posix/regex.h: Fix comments with documentation of user-accessible
32252         fields after compilation and describe correct free'ing of pattern
32253         after re_compile_pattern.
32254         Patch by Reuben Thomas <rrt@sc3d.org>.
32256 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
32258         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32259         and -mno-altivec to prevent the compiler from using Altivec and/or
32260         VSX instructions when the corresponding registers are not available.
32262 2011-05-19  Andreas Schwab  <schwab@redhat.com>
32264         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32266 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
32268         * libio/freopen.c (freopen): Use __dup2, not dup2.
32269         * libio/freopen64.c (freopen64): Likewise.
32271 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32273         [BZ #12775]
32274         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32275         * math/Makefile (tests): Add test-powl.
32276         (CFLAGS-test-powl.c): Define.
32277         * math/test-powl.c: New file.
32279 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32281         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32283 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
32285         [BZ #11837]
32286         * iconvdata/gb18030.c: Update to GB18020-2005.
32288 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
32290         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32291         RE_SYNTAX_POSIX_AWK): Update to match recent development.
32292         Patch by Aharon Robbins <arnold@skeeve.com>.
32294         [BZ #11892]
32295         * stdlib/putenv.c (putenv): Don't always create copy of the variable
32296         on the stack.
32298         [BZ #11895]
32299         * misc/pselect.c (__pselect): Handle timeout value errors hidden
32300         through underflows.
32302         [BZ #12766]
32303         * misc/error.c (error_at_line): Ensure file_name and old_file_name
32304         point to strings before performing equality test for error_one_per_line
32305         mode.
32307         [BZ #11697]
32308         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32310         [BZ #11820]
32311         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32312         (struct user_fpregs_struct): Avoid __uint*_t types.
32314         [BZ #6420]
32315         * malloc/mtrace.c (tr_where): Add additional parameter to point to
32316         symbol info.  Use it instead of calling _dl_addr locally.
32317         (lock_and_info): New function.
32318         (tr_freehook): Call lock_and_info and pass symbol info as additional
32319         parameter to tr_where.
32320         (tr_mallochook): Likewise.
32321         (tr_reallochook): Likewise.
32322         (tr_memalignhook): Likewise.
32324         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
32325         used and couldn't be at all thread-safe.
32327 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
32329         * libio/freopen.c (freopen): Don't close old file descriptor
32330         before the new one is opened.  Instead dup the new file descriptor
32331         to the old one after the new stream is created.
32332         * libio/freopen64.c (freopen64): Likewise.
32333         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32334         * libio/fileops.c (_IO_new_file_close_it): Handle new
32335         _IO_FLAGS2_NOCLOSE flag.
32336         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32337         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32338         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32339         _IO_FLAGS2_NOCLOSE flag.
32340         * include/unistd.h: Add hidden_proto for dup3.
32341         Define __have_dup3.
32342         * io/dup3.c: Define hidden symbol.
32343         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32345         [BZ #7101]
32346         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32347         when an incomplete long option is used.
32348         * posix/tst-getopt_long1.c: New file.
32349         * posix/Makefile (tests): Add tst-getopt_long1.
32351         [BZ #10138]
32352         * scripts/config.guess: Update from autoconf-2.68.
32353         * scripts/config.sub: Likewise.
32355         [BZ #10157]
32356         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32357         tests into ...
32358         (has_cpuclock): ...this.  New function.
32359         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32360         macro here based on has_cpuclock code.
32362         [BZ #10149]
32363         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32364         First byte (not low byte) is now always NUL.
32365         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32367         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32368         Use non-cancelable interfaces.
32370         [BZ #9809]
32371         * locale/iso-639.def: Add entry for Sorani.
32373         [BZ #11901]
32374         * include/stdlib.h: Move include protection to the right place.
32375         Define abort_msg_s.  Declare __abort_msg with it.
32376         * stdlib/abort.c (__abort_msg): Adjust type.
32377         * assert/assert.c (__assert_fail_base): New function.  Majority
32378         of code from __assert_fail.  Allocate memory for __abort_msg with
32379         mmap.
32380         (__assert_fail): Now call __assert_fail_base.
32381         * assert/assert-perr.c: Remove bulk of implementation.  Use
32382         __assert_fail_base.
32383         * include/assert.hL Declare __assert_fail_base.
32384         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32385         mmap.
32386         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32388 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
32390         [BZ #11952]
32391         [BZ #12453]
32392         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32393         until all modules are registered in the DTV.
32394         * elf/Makefile: Add rules to build and run tst-tls19.
32395         * elf/tst-tls19.c: New file.
32396         * elf/tst-tls19mod1.c: New file.
32397         * elf/tst-tls19mod2.c: New file.
32398         * elf/tst-tls19mod3.c: New file.
32399         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32401         [BZ #12083]
32402         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32403         correctly.
32405         [BZ #12601]
32406         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32407         two-byte sequence errors.
32408         * iconvdata/Makefile (tests): Add bug-iconv8.
32409         * iconvdata/bug-iconv8.c: New file.
32411         [BZ #12626]
32412         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32413         buf2 definition.
32415         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32417         [BZ #12432]
32418         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32419         (dummy_getcfa): New function.
32420         (init): Get _Unwind_GetCFA address, use dummy if not found.
32421         (backtrace_helper): In recursion check, also check whether CFA changes.
32422         (__backtrace): Completely initialize arg.
32424         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32425         storing incomplete byte sequence in state object.  Avoid testing for
32426         guaranteed too small input if we know there is enough data available.
32428 2011-05-11  Andreas Schwab  <schwab@redhat.com>
32430         * Makeconfig (+link-pie): Indent.
32431         * Rules (binaries-pie): Define if $(have-fpie) and
32432         $(build-shared).
32433         (binaries-shared): Also filter out $(binaries-pie).
32434         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32435         * nscd/Makefile (others-pie): Add nscd.
32436         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32437         ($(objpfx)nscd): Remove command override.
32438         * login/Makefile (others-pie): Add pt_chown.
32439         ($(objpfx)pt_chown): Remove command override.
32440         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32441         remove command overrides.
32443 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
32445         * libio/tst_putwc.c: Fix error messages.
32447         [BZ #12724]
32448         * libio/fileops.c (_IO_new_file_close_it): Always flush when
32449         currently writing and seek to current position when not.
32450         * libio/Makefile (tests): Add bug-fclose1.
32451         * libio/bug-fclose1.c: New file.
32453 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
32455         [BZ #12511]
32456         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32457         don't set DF_1_NODELETE here.
32458         (do_lookup_x): When entering new entry test for copy relocation
32459         and if necessary set DF_1_NODELETE flag.
32460         * elf/tst-unique4.cc: New file.
32461         * elf/tst-unique4.h: New file.
32462         * elf/tst-unique4lib.cc: New file.
32463         * elf/Makefile: Add rules to build and run tst-unique4.
32464         Patch by Piotr Bury <pbury@goahead.com>.
32466 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
32468         [BZ #12052]
32469         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32471         [BZ #12625]
32472         * misc/mntent_r.c (addmntent): Flush the stream after the output
32474         [BZ #12393]
32475         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32476         (is_trusted_path_normalize): Skip initial colon.  Append slash
32477         to empty buffer.  Duplicate is_trusted_path code but allow
32478         constructed patch to be prefix.
32479         (is_dst): Allow $ORIGIN followed by /.
32480         (_dl_dst_substitute): Correct clearing of check_for_trusted.
32481         Correct testing of result of is_trusted_path_normalize
32482         (decompose_rpath): Fix warning.
32484 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
32486         [BZ #11257]
32487         * grp/initgroups.c (internal_getgrouplist): When we found the service
32488         list through the initgroups entry in nsswitch.conf do not always
32489         continue on a successful lookup.  Don't always use the
32490         __nss_group_database value if it is set.
32491         * nss/nsswitch.conf (initgroups): Change action for successful db
32492         lookup to continue for compatibility.
32494 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
32496         [BZ #11532]
32497         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32498         and CP774 modules.
32499         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32500         and CP774 modules.
32501         * iconvdata/tst-tables.sh: Likewise.
32502         * iconvdata/cp770.c: New file.
32503         * iconvdata/cp771.c: New file.
32504         * iconvdata/cp772.c: New file.
32505         * iconvdata/cp773.c: New file.
32506         * iconvdata/cp774.c: New file.
32507         * iconvdata/testdata/CP770: New file.
32508         * iconvdata/testdata/CP770..UTF8: New file.
32509         * iconvdata/testdata/CP771: New file.
32510         * iconvdata/testdata/CP771..UTF8: New file.
32511         * iconvdata/testdata/CP772: New file.
32512         * iconvdata/testdata/CP772..UTF8: New file.
32513         * iconvdata/testdata/CP773: New file.
32514         * iconvdata/testdata/CP773..UTF8: New file.
32515         * iconvdata/testdata/CP774: New file.
32516         * iconvdata/testdata/CP774..UTF8: New file.
32518         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32519         END CHARMAP line.
32520         * iconvdata/gen-8bit-gap.sh: Likewise.
32521         * iconvdata/gen-8bit.sh: Likewise.
32523         * locale/iso-639.def: Add ary entry.
32525         [BZ #11258]
32526         * locale/C-translit.h.in: Add U20A1 transliteration.
32528         [BZ #12178]
32529         * locale/iso-639.def: Add wae entry.
32530         Patch by Kevin Bortis <bortis@translate-wae.ch>.
32532         [BZ #12545]
32533         * locale/programs/localedef.c (construct_output_path): Use ssize_t
32534         for n.
32536         [BZ #12711]
32537         * locale/C-translit.h.in: Add entry for U20B9.
32538         Patch by pravin.d.s@gmail.com.
32540 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
32542         [BZ #12713]
32543         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32544         ENAMETOOLONG use generic getcwd.
32545         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
32546         in rtld.  Use *stat64.
32547         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32548         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32549         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32550         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32551         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32552         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32553         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32554         __fstatat64 macros.
32555         * include/dirent.h: Add libc_hidden_proto for rewinddir.
32556         * dirent/rewinddir.c: Add libc_hidden_def.
32557         * sysdeps/mach/hurd/rewinddir.c: Likewise.
32558         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
32560         * include/dirent.h (__alloc_dir): Add flags parameter.
32561         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32562         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32563         __alloc_dir.
32564         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
32565         from fdopendir if O_CLOEXEC is already set.
32567 2011-03-15  Alan Modra  <amodra@gmail.com>
32569         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32570         l_tls_firstbyte_offset non-zero.  Save padding offset in
32571         l_tls_firstbyte_offset for later use.
32572         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32573         freeing static tls block.
32575 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
32577         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32578         where #ifdef was intended.  The intent is to prevent ARG_MAX from
32579         being defined by the kernel headers.
32581 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
32583         [BZ #12734]
32584         * resolv/resolv.h: Define RES_NOTLDQUERY.
32585         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32586         no-tld-query and set RES_NOTLDQUERY.
32587         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32588         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32589         modern BIND to search name as TLD unless forbidden.
32591 2011-05-07  Petr Baudis  <pasky@suse.cz>
32592             Ulrich Drepper  <drepper@gmail.com>
32594         [BZ #12393]
32595         * elf/dl-load.c (fillin_rpath): Move trusted path check...
32596         (is_trusted_path): ...to here.
32597         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32598         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32599         using is_trusted_path_normalize() in setuid scripts.
32601 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32603         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32604         __BEGIN/__END_DECLS.
32606 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
32608         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32609         NSS_STATUS_NOTFOUND if no record was found.
32611 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32613         * sunrpc/Makefile (headers): Add rpc/netdb.h.
32614         (headers-not-in-tirpc): Remove rpc/netdb.h
32615         * resolv/netdb.h: Revert last change.
32617 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32619         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32620         circular dependency between libgcc.a and libc.a.
32622 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32624         * resolv/netdb.h: Don't include <rpc/netdb.h>.
32625         * nis/Makefile: Don't install rpcsvc/*.
32626         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32627         instead of <rpc/types.h>.
32628         (MAXHOSTNAMELEN): Define.
32630 2011-05-03  Andreas Schwab  <schwab@redhat.com>
32632         * elf/ldconfig.c (add_dir): Don't crash on empty path.
32634 2011-04-28  Maciej Babinski  <mbabinski@google.com>
32636         [BZ #12714]
32637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32638         gethostbyname4_r when IPv6 results are possible.
32640 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
32642         [BZ #12723]
32643         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32644         _PC_PIPE_BUF handling.
32646 2011-04-30  Bruno Haible  <bruno@clisp.org>
32648         [BZ #12717]
32649         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32650         * resolv/netdb.h (getnameinfo): Change type of flags parameter
32651         to 'int'.
32652         * inet/getnameinfo.c (getnameinfo): Likewise.
32654 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
32656         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32657         to groups setting in database lookup.
32658         * nss/nsswitch.conf: Add initgroups entry.
32660 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
32662         [BZ #12685]
32663         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32664         mode string.
32665         Patch by Eric Blake <eblake@redhat.com>.
32667 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
32669         * sunrpc/Makefile (need-export-routines): Add svc_run.
32670         (routines): Remove svc_run.
32671         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32672         * sunrpc/clnt_perr.c (clnt_perrno): Export.
32673         * sunrpc/svc_run.c (svc_run): Likewise.
32674         * sunrpc/svc_udp.c (svcudp_create): Likewise.
32676 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
32678         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32679         problem in reallocation in last patch.
32681 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
32683         * sunrpc/Makefile: Move inclusion of Rules.
32685 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32687         * nss/nss_files/files-initgroups.c: New file.
32688         * nss/Makefile (libnss_files-routines): Add files-initgroups.
32689         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32690         _nss_files_initgroups_dyn.
32692 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
32694         * elf/elf.h (R_ARM_IRELATIVE): Define.
32696 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32698         * po/ru.po: Update from translation team.
32700 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32702         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32703         dependencies.
32705 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
32707         [BZ #12653]
32708         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32709         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32710         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32711         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32712         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32714 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
32716         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32717         differing bytes.
32718         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32719         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32720         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32722 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32724         [BZ #12420]
32725         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32726         storing it.
32727         * stdlib/bug-getcontext.c: New file.
32728         * stdlib/Makefile: Add rules to build and run bug-getcontext.
32730 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32732         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32733         instructions into .machine "z9-109".
32734         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32735         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32737 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32739         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32740         between environment variables and auxiliary vector.
32742 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
32744         * Makefile: Add rules to build linkobj/libc.so.
32745         * include/libc-symbols.h: Define libc_hidden_nolink.
32746         * include/rpc/auth.h: Mark functions which are to be hidden.
32747         * include/rpc/auth_des.h: Likewise.
32748         * include/rpc/auth_unix.h: Likewise.
32749         * include/rpc/clnt.h: Likewise.
32750         * include/rpc/des_crypt.h: Likewise.
32751         * include/rpc/key_prot.h: Likewise.
32752         * include/rpc/pmap_clnt.h: Likewise.
32753         * include/rpc/pmap_prot.h: Likewise.
32754         * include/rpc/pmap_rmt.h: Likewise.
32755         * include/rpc/rpc_msg.h: Likewise.
32756         * include/rpc/svc.h: Likewise.
32757         * include/rpc/svc_auth.h: Likewise.
32758         * include/rpc/xdr.h: Likewise.
32759         * nis/Makefile: Link all DSOs against linkobj/libc.so.
32760         * nss/Makefile: Likewise.
32761         * sunrpc/Makefile: Don't install headers.  Build library with normal
32762         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
32763         * sunrpc/auth_des.c: Hide exported symbols by default, export some
32764         for the compat linking library.  Remove use of INTDEF/INTUSE.
32765         * sunrpc/auth_none.c: Likewise.
32766         * sunrpc/auth_unix.c: Likewise.
32767         * sunrpc/authdes_prot.c: Likewise.
32768         * sunrpc/authuxprot.c: Likewise.
32769         * sunrpc/clnt_gen.c: Likewise.
32770         * sunrpc/clnt_perr.c: Likewise.
32771         * sunrpc/clnt_raw.c: Likewise.
32772         * sunrpc/clnt_simp.c: Likewise.
32773         * sunrpc/clnt_tcp.c: Likewise.
32774         * sunrpc/clnt_udp.c: Likewise.
32775         * sunrpc/clnt_unix.c: Likewise.
32776         * sunrpc/des_crypt.c: Likewise.
32777         * sunrpc/des_soft.c: Likewise.
32778         * sunrpc/get_myaddr.c: Likewise.
32779         * sunrpc/key_call.c: Likewise.
32780         * sunrpc/key_prot.c: Likewise.
32781         * sunrpc/netname.c: Likewise.
32782         * sunrpc/pm_getmaps.c: Likewise.
32783         * sunrpc/pm_getport.c: Likewise.
32784         * sunrpc/pmap_clnt.c: Likewise.
32785         * sunrpc/pmap_prot.c: Likewise.
32786         * sunrpc/pmap_prot2.c: Likewise.
32787         * sunrpc/pmap_rmt.c: Likewise.
32788         * sunrpc/publickey.c: Likewise.
32789         * sunrpc/rpc_cmsg.c: Likewise.
32790         * sunrpc/rpc_common.c: Likewise.
32791         * sunrpc/rpc_dtable.c: Likewise.
32792         * sunrpc/rpc_prot.c: Likewise.
32793         * sunrpc/rpc_thread.c: Likewise.
32794         * sunrpc/rtime.c: Likewise.
32795         * sunrpc/svc.c: Likewise.
32796         * sunrpc/svc_auth.c: Likewise.
32797         * sunrpc/svc_authux.c: Likewise.
32798         * sunrpc/svc_raw.c: Likewise.
32799         * sunrpc/svc_run.c: Likewise.
32800         * sunrpc/svc_simple.c: Likewise.
32801         * sunrpc/svc_tcp.c: Likewise.
32802         * sunrpc/svc_udp.c: Likewise.
32803         * sunrpc/svc_unix.c: Likewise.
32804         * sunrpc/svcauth_des.c: Likewise.
32805         * sunrpc/xcrypt.c: Likewise.
32806         * sunrpc/xdr.c: Likewise.
32807         * sunrpc/xdr_array.c: Likewise.
32808         * sunrpc/xdr_float.c: Likewise.
32809         * sunrpc/xdr_intXX_t.c: Likewise.
32810         * sunrpc/xdr_mem.c: Likewise.
32811         * sunrpc/xdr_rec.c: Likewise.
32812         * sunrpc/xdr_ref.c: Likewise.
32813         * sunrpc/xdr_sizeof.c: Likewise.
32814         * sunrpc/xdr_stdio.c: Likewise.
32816 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
32818         [BZ #12650]
32819         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32820         * sysdeps/ia64/dl-tls.h: Likewise.
32821         * sysdeps/powerpc/dl-tls.h: Likewise.
32822         * sysdeps/s390/dl-tls.h: Likewise.
32823         * sysdeps/sh/dl-tls.h: Likewise.
32824         * sysdeps/sparc/dl-tls.h: Likewise.
32825         * sysdeps/x86_64/dl-tls.h: Likewise.
32826         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32828 2011-03-14  Andreas Schwab  <schwab@redhat.com>
32830         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32831         rpath element also skip the following colon.
32832         (expand_dynamic_string_token): Add is_path parameter and pass
32833         down to DL_DST_REQUIRED and _dl_dst_substitute.
32834         (decompose_rpath): Call expand_dynamic_string_token with
32835         non-zero is_path.  Ignore empty rpaths.
32836         (_dl_map_object_from_fd): Call expand_dynamic_string_token
32837         with zero is_path.
32839 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
32841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32842         Make cancelable.
32844 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
32846         [BZ #12655]
32847         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32848         Patch by Filipe David Manana <fdmanana@apache.org>.
32850 2011-04-07  Andreas Schwab  <schwab@redhat.com>
32852         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32853         Maintain aligned stack.
32854         (CHECK_RSP): Remove unused macro.
32856 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
32858         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32859         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32861 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
32863         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32865         * include/features.h: Mention __USE_XOPEN2K8 in comment.
32867 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
32869         [BZ #12518]
32870         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32871         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32872         * sysdeps/x86_64/memmove.c: New file.
32873         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32874         (memcpy): Renamed to ...
32875         (__new_memcpy): This.
32876         (memcpy): Provide GLIBC_2_14 memcpy.
32877         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32878         (memcpy): Provide GLIBC_2_2_5 memcpy.
32880 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32882         [BZ #12631]
32883         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32885 2011-03-30  Andreas Schwab  <schwab@redhat.com>
32887         * misc/syncfs.c: New file.
32888         * misc/Makefile (routines): Add syncfs.
32889         * posix/unistd.h: Declare syncfs.
32890         * sysdeps/unix/syscalls.list: Add syncfs.
32892 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32894         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32895         open_by_handle_at.
32896         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32897         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32898         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32899         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32900         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32901         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32902         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32904 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32906         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32907         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32908         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32909         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32910         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32911         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32912         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32914         * io/Makefile: Compile fallocate.c, fallocate64.c, and
32915         sync_file_range.c with -fexceptions.
32916         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32917         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32918         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32919         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32920         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32921         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32922         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32923         sync_file_range as cancellation point
32924         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
32925         now a wrapper around __call_sync_file_range with cancellation handling.
32926         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32927         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
32928         function name to __call_sync_file_range.
32929         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32930         Add call_sync_file_range.
32932 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32934         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32935         bits/timex.h.
32937 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32939         * iconv/iconv.h: Fix typo in comment.
32940         * io/fcntl.h: Likewise.
32941         * libio/stdio.h: Likewise.
32942         * posix/spawn.h: Likewise.
32943         * posix/unistd.h: Likewise.
32944         * stdlib/stdlib.h: Likewise.
32945         * time/time.h: Likewise.
32946         * wcsmbs/wchar.h: Likewise.
32948         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32949         open_by_handle): Add.
32950         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32951         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
32952         Augment a few comments.
32953         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32954         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32955         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32956         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32957         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32958         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32959         open_by_handle.
32961         * io/fcntl.h (AT_EMPTY_PATH): Define.
32963 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
32965         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32966         * sysdeps/unix/sysv/linux/bits/time.h: New file.
32967         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32968         to...
32969         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
32970         * Versions.def: Add GLIBC_2.14.
32971         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32972         Export.
32974 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
32976         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32977         round counter.
32978         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32980 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32982         [BZ #12597]
32983         * string/test-strncmp.c (do_page_test): New function.
32984         (check2): Likewise.
32985         (test_main): Call check2.
32986         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32988 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
32990         [BZ #12587]
32991         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32992         Handle cache information in CPU leaf 4.
32993         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32995 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
32997         [BZ #12583]
32998         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32999         character representation.
33000         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33002 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
33004         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33005         END(__isnan) to END(__isnanf) to match function entry point/label
33006         EALIGN(__isnanf,...).
33008 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
33010         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33012 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
33014         [BZ #12510]
33015         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33016         copy from the symbol referenced in the relocation to initialize the
33017         used variable.
33018         Patch by Piotr Bury <pbury@goahead.com>.
33019         * elf/Makefile: Add rules to build and tst-unique3.
33020         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33021         * elf/tst-unique3.cc: New file.
33022         * elf/tst-unique3.h: New file.
33023         * elf/tst-unique3lib.cc: New file.
33024         * elf/tst-unique3lib2.cc: New file.
33026         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33028 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
33030         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33031         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
33032         to _start.
33034 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
33036         * elf/dl-load.c (_dl_map_object): If we are looking for the first
33037         to-be-loaded object along a path to loader is ld.so.
33039 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33040             Ulrich Drepper  <drepper@gmail.com>
33042         * sysdeps/x86_64/memset.S: After aligning destination, code
33043         branches to different locations depending on the value of
33044         misalignment, when multiarch is enabled. Fix this.
33046 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33048         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33049         Set _x86_64_preferred_memory_instruction for AMD processsors.
33050         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33051         Set bit_Prefer_SSE_for_memop for AMD processors.
33053 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
33055         * libio/fmemopen.c (fmemopen): Optimize a bit.
33057 2011-03-03  Andreas Schwab  <schwab@redhat.com>
33059         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33061 2011-03-03  Roland McGrath  <roland@redhat.com>
33063         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33065 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
33067         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33068         __bzero_ultra1 instead of __memset_ultra1.
33070 2011-02-23  Andreas Schwab  <schwab@redhat.com>
33071             Ulrich Drepper  <drepper@gmail.com>
33073         [BZ #12509]
33074         * include/link.h (struct link_map): Add l_orig_initfini.
33075         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33076         returning unsuccessfully.
33077         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33078         close of a file loaded at startup, restore the original l_initfini
33079         list.
33080         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33081         list, store the pointer.
33082         * elf/Makefile ($(objpfx)noload-mem): New rule.
33083         (noload-ENV): Define.
33084         (tests): Add $(objpfx)noload-mem.
33085         * elf/noload.c: Include <memcheck.h>.
33086         (main): Call mtrace.  Close all opened handles.
33088 2011-02-17  Andreas Schwab  <schwab@redhat.com>
33090         [BZ #12454]
33091         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33092         dependencies are missing.
33094 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33096         Fix __if_freereq crash: Unlike the generic version which uses free,
33097         Hurd needs munmap.
33098         * sysdeps/mach/hurd/ifreq.h: New file.
33100 2011-01-27  Petr Baudis  <pasky@suse.cz>
33101             Ulrich Drepper  <drepper@gmail.com>
33103         [BZ 12445]#
33104         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33105         to extend_alloca().
33106         * stdio-common/bug23.c: New file.
33107         * stdio-common/Makefile (tests): Add bug23.
33109 2010-09-28  Andreas Schwab  <schwab@redhat.com>
33110             Ulrich Drepper  <drepper@gmail.com>
33112         [BZ #12489]
33113         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33114         before performing relro protection.  At old place add assertion
33115         to make sure nothing changed.
33117 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
33118             Glauber de Oliveira Costa  <glommer@gmail.com>
33120         * elf/elf.h: Add new ARM TLS relocs.
33122 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
33124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33125         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33126         cast from r3.
33127         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
33128         'tests' variable.
33129         * sysdeps/wordsize-64/tst-writev.c: New file.
33131 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
33133         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33134         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33135         insns in _dl_start to prevent a TOC reference before relocs are
33136         resolved.
33138 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
33140         [BZ #12469]
33141         * Makeconfig: Remove RANLIB definition.
33142         * Makerules: Don't use RANLIB.
33143         * aclocal.m4: Remove ranlib test.
33144         * configure.in: No need to check for ranlib.
33145         * elf/rtld-Rules: Don't use RANLIB.
33147 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33149         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33150         protection macro.
33151         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33152         inclusion protection macro.
33154         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33155         SIGRTMIN and SIGRTMAX and print information in that case only when
33156         SIGRTMIN is defined.
33158 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
33160         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33161         arginfo fn returning -1.
33163         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33164         and thousands string is zero terminated.
33166 2011-02-03  Andreas Schwab  <schwab@redhat.com>
33168         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33169         sysdeps/unix/sysv/linux/bits/socket.h.
33171 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33173         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33174         (__CPU_COUNT): Remove old macros.
33175         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33176         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33177         (__CPU_ALLOC, __CPU_FREE): Add macros.
33178         (__sched_cpualloc, __sched_cpufree): Add declarations.
33180 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
33182         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33183         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33184         * nscd/aicache.c (addhstaiX): Return timeout of added value.
33185         (readdhstai): Return value of addhstaiX call.
33186         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33187         (addgrbyX): Return value returned by cache_addgr.
33188         (readdgrbyname): Return value returned by addgrbyX.
33189         (readdgrbygid): Likewise.
33190         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33191         (addpwbyX): Return value returned by cache_addpw.
33192         (readdpwbyname): Return value returned by addhstbyX.
33193         (readdpwbyuid): Likewise.
33194         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33195         (addservbyX): Return value returned by cache_addserv.
33196         (readdservbyname): Return value returned by addservbyX:
33197         (readdservbyport): Likewise.
33198         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33199         (addhstbyX): Return value returned by cache_addhst.
33200         (readdhstbyname): Return value returned by addhstbyX.
33201         (readdhstbyaddr): Likewise.
33202         (readdhstbynamev6): Likewise.
33203         (readdhstbyaddrv6): Likewise.
33204         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33205         (readdinitgroups): Return value returned by addinitgroupsX.
33206         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33207         (prune_cache): Keep track of timeout value of re-added entries.
33208         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33209         * nscd/nscd.h: Adjust prototypes of readd* functions.
33211 2011-02-04  Roland McGrath  <roland@redhat.com>
33213         * nis/nis_server.c (nis_servstate): Use the right name for 0.
33214         (nis_stats): Likewise.
33215         * nis/nis_modify.c (nis_modify): Likewise.
33216         * nis/nis_remove.c (nis_remove): Likewise.
33217         * nis/nis_add.c (nis_add): Likewise.
33219         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33221         * posix/fnmatch_loop.c: Add some consts.
33223         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33225 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
33227         [BZ #12460]
33228         * config.make.in (config-cflags-novzeroupper): Define.
33229         * configure.in: Substitute libc_cv_cc_novzeroupper.
33230         * elf/Makefile (AVX-CFLAGS): Define.
33231         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33232         (CFLAGS-tst-auditmod4a.c): Likewise.
33233         (CFLAGS-tst-auditmod4b.c): Likewise.
33234         (CFLAGS-tst-auditmod6b.c): Likewise.
33235         (CFLAGS-tst-auditmod6c.c): Likewise.
33236         (CFLAGS-tst-auditmod7b.c): Likewise.
33237         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33239 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
33241         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33242         function to the callback.
33243         Patch partly by Jiri Olsa <jolsa@redhat.com>.
33245 2011-02-02  Andreas Schwab  <schwab@redhat.com>
33247         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33248         of errno.
33250 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
33252         [BZ #11724]
33253         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33254         of constructors.
33255         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33256         of destructors.
33257         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33259         [BZ #11724]
33260         * elf/Makefile: Add rules to build and run new test.
33261         * elf/tst-initorder.c: New file.
33262         * elf/tst-initorder.exp: New file.
33263         * elf/tst-initordera1.c: New file.
33264         * elf/tst-initordera2.c: New file.
33265         * elf/tst-initordera3.c: New file.
33266         * elf/tst-initordera4.c: New file.
33267         * elf/tst-initorderb1.c: New file.
33268         * elf/tst-initorderb2.c: New file.
33269         * elf/tst-order-a1.c: New file.
33270         * elf/tst-order-a2.c: New file.
33271         * elf/tst-order-a3.c: New file.
33272         * elf/tst-order-a4.c: New file.
33273         * elf/tst-order-b1.c: New file.
33274         * elf/tst-order-b2.c: New file.
33275         * elf/tst-order-main.c: New file.
33276         New test case by George Gensure <werkt0@gmail.com>.
33278 2010-10-01  Andreas Schwab  <schwab@redhat.com>
33280         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33281         decoding ACE if AI_CANONIDN.
33283 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
33285         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33287 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
33289         * version.h (RELEASE): Bump for 2.13 release.
33290         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33292         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33294         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33295         MADV_NOHUGEPAGE.
33296         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33297         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33298         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33299         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33300         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33301         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33303         * posix/getconf.c: Update copyright year.
33304         * catgets/gencat.c: Likewise.
33305         * csu/version.c: Likewise.
33306         * debug/catchsegv.sh: Likewise.
33307         * debug/xtrace.sh: Likewise.
33308         * elf/ldconfig.c: Likewise.
33309         * elf/ldd.bash.in: Likewise.
33310         * elf/sprof.c (print_version): Likewise.
33311         * iconv/iconv_prog.c: Likewise.
33312         * iconv/iconvconfig.c: Likewise.
33313         * locale/programs/locale.c: Likewise.
33314         * locale/programs/localedef.c: Likewise.
33315         * malloc/memusage.sh: Likewise.
33316         * malloc/mtrace.pl: Likewise.
33317         * nscd/nscd.c (print_version): Likewise.
33318         * nss/getent.c: Likewise.
33320         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33321         PF_CAIF, and PF_ALG.
33322         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33324 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
33326         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33327         (modules-names): Use them.
33328         (ifunc-test-modules, ifunc-pie-tests): Define.
33329         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33330         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33331         (test-extras): Likewise.
33332         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33333         $(compile-command.c).
33334         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33335         (all-built-dso): Define.
33336         (check-textrel.out, check-execstack.out): Depend on it.
33338         * configure.in: Don't override --enable-multi-arch.
33340 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
33342         [BZ #6812]
33343         * nscd/hstcache.c (tryagain): Define.
33344         (cache_addhst): Return tryagain not notfound for temporary errors.
33345         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33346         failed.
33348 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
33350         [BZ #10563]
33351         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33352         to make the syscall.
33353         * sysdeps/unix/sysv/linux/setgroups.c: New file.
33355         [BZ #12378]
33356         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33357         and fall back to matching as normal character if the string ends before
33358         the matching ']' is found.  This is what POSIX requires.
33359         * posix/testfnm.c: Adjust test result.
33360         * posix/globtest.sh: Adjust test result.  Add new test.
33361         * posix/tst-fnmatch.input: Likewise.
33362         * posix/tst-fnmatch2.c: Add new test.
33364 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
33366         * elf/Makefile (check-execstack): Revert last change.  Depend on
33367         check-execstack.h.
33368         (check-execstack.h): New target.
33369         (generated): Add check-execstack.h.
33370         * elf/check-execstack.c: Include "check-execstack.h".
33371         (main): Revert last change.
33372         (handle_file): Return zero if GNU_STACK is absent and
33373         DEFAULT_STACK_PERMS doesn't include PF_X.
33375 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
33377         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33378         in child fails because the descriptor is already closed.
33379         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33380         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33381         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33383         [BZ #12397]
33384         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33385         syscall.
33387         [BZ #10484]
33388         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33389         temporary buffer used to handle multi lookups locally.
33390         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33392 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33394         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33395         loader is ld.so.
33397 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
33399         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33400         alignment for SSE2.
33402 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33404         [BZ #12394]
33405         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33406         characters.  When rounding increased number of integer digits recompute
33407         number of groups.
33408         * stdio-common/tst-grouping.c: New file.
33409         * stdio-common/Makefile: Add rules to build and run tst-grouping.
33411 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
33413         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33414         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
33416         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33417         void.
33418         * bits/select.h: Likewise.
33420 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
33422         * po/ja.po: Update from translation team.
33424 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
33426         [BZ #11155]
33427         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33428         implementation just like for lxstat, fxstatat, et al.
33430 2010-12-27  Jim Meyering  <meyering@redhat.com>
33432         [BZ #12348]
33433         * posix/regexec.c (build_trtable): Return failure indication upon
33434         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
33436 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
33438         [BZ #12201]
33439         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33440         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33441         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33442         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33444         [BZ #12207]
33445         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33447         [BZ #12204]
33448         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33449         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33451 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
33453         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33454         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33455         script has SORT_BY_INIT_PRIORITY.
33456         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33457         NO_CTORS_DTORS_SECTIONS is defined.
33458         * elf/soinit.c: Likewise.
33459         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33460         NO_CTORS_DTORS_SECTIONS is defined.
33461         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33462         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33463         * sysdeps/sh/init-first.c: Likewise.
33464         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33466 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
33468         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33469         always use the slow path.
33471 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
33473         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33474         similar rule which adds the sysdep directories to the header search in
33475         order to pick up the correct platform stackinfo.h.
33476         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33477         perform test if it is, otherwise return successfully without testing.
33478         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33479         DEFAULT_STACK_PERMS define in stackinfo.h.
33480         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33481         defined in stackinfo.h.
33482         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33483         DEFAULT_STACK_PERMS defined in stackinfo.h.
33484         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33485         * sysdeps/ia64/stackinfo.h: Likewise.
33486         * sysdeps/s390/stackinfo.h: Likewise.
33487         * sysdeps/sh/stackinfo.h: Likewise.
33488         * sysdeps/sparc/stackinfo.h: Likewise.
33489         * sysdeps/x86_64/stackinfo.h: Likewise.
33490         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33491         PF_X for powerpc64.  Retain PF_X for powerpc32.
33493 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
33495         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33496         accurately.
33497         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33498         GETDENTS_64BIT_ALIGNED.
33500 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
33502         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33504 2010-12-10  Andreas Schwab  <schwab@redhat.com>
33506         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33507         _GNU_SOURCE.
33509         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33510         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33511         Remove __restrict.
33512         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33513         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33515 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
33517         [BZ #11655]
33518         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33519         are initialized.
33521 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
33523         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33525 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
33527         * po/it.po: Update from translation team.
33529 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
33531         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33532         unused codes.
33534 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
33536         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33538 2010-11-24  Andreas Schwab  <schwab@redhat.com>
33540         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33541         specially.
33542         (gaih_getanswer_slice): Likewise.
33544 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
33546         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33548 2010-05-31  Petr Baudis  <pasky@suse.cz>
33550         [BZ #11149]
33551         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33552         silently even in the chroot mode.
33554 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
33556         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33557         last patch a bit.  Pretty printing
33559 2010-05-31  Petr Baudis <pasky@suse.cz>
33561         [BZ #10085]
33562         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33563         initialization of skip_initgroups_dyn.
33565 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
33567         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33568         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33570 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
33572         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33574 2010-11-11  Andreas Schwab  <schwab@redhat.com>
33576         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33577         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33578         (tst-fnmatch-ENV): Set MALLOC_TRACE.
33579         ($(objpfx)tst-fnmatch-mem): New rule.
33580         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33581         * posix/tst-fnmatch.c (main): Call mtrace.
33583 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
33585         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33586         Support Intel processor model 6 and model 0x2c.
33588 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
33590         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33591           signed comparison.
33593 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
33595         [BZ #12205]
33596         * string/test-strncasecmp.c (check_result): New function.
33597         (do_one_test): Use it.
33598         (check1): New function.
33599         (test_main): Use it.
33600         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33601         Support strcasecmp and strncasecmp.
33603 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
33605         [BZ #12194]
33606         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33607         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33609 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33611         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33612         IFUNC support.
33613         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33614         memset-x86-64.
33615         * sysdeps/x86_64/multiarch/bzero.S: New file.
33616         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33617         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33618         * sysdeps/x86_64/multiarch/memset.S: New file.
33619         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33620         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33621         Set bit_Prefer_SSE_for_memop for Intel processors.
33622         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33623         Define.
33624         (index_Prefer_SSE_for_memop): Define.
33625         (HAS_PREFER_SSE_FOR_MEMOP): Define.
33627 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
33629         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33630         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33632 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
33634         [BZ #12191]
33635         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33636         (__x86_64_raw_data_cache_size_half): Likewise.
33637         (__x86_64_raw_shared_cache_size): Likewise.
33638         (__x86_64_raw_shared_cache_size_half): Likewise.
33640         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33641         (__x86_64_raw_data_cache_size_half): Likewise.
33642         (__x86_64_raw_shared_cache_size): Likewise.
33643         (__x86_64_raw_shared_cache_size_half): Likewise.
33644         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33645         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33646         and __x86_64_raw_shared_cache_size_half.  Round
33647         __x86_64_data_cache_size_half, __x86_64_data_cache_size
33648         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33649         to multiple of 256 bytes.
33651 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
33653         [BZ #12167]
33654         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33655         of inacessible symlinks.  Verify result of symlink before returning it.
33656         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33657         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33659 2010-10-28  Erich Ritz  <erichritz@gmail.com>
33661         * math/math.h (isinf): Fix typo in comment.
33663 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
33665         * po/da.po: Update from translation team.
33667 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
33669         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33670         is added to the list.
33672 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33673             Ulrich Drepper  <drepper@gmail.com>
33675         * elf/dl-object.c (_dl_new_object): Don't append the new object to
33676         the global list here.  Move code to...
33677         (_dl_add_to_namespace_list): ...here.  New function.
33678         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33679         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33680         * elf/dl-load.c (lose): Don't remove the element from the list.
33681         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33682         (_dl_map_object): Likewise.
33684 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
33686         [BZ #12159]
33687         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33688         into all bytes of SSE register.
33689         Patch by Richard Li <richardpku@gmail.com>.
33691 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
33693         [BZ #12140]
33694         * malloc/malloc.c (_int_free): Fill correct number of bytes when
33695         perturbing.
33697 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
33699         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33700         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33701         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33702         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33704         submachine.
33705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33707 2010-10-22  Andreas Schwab  <schwab@redhat.com>
33709         * include/dlfcn.h (__RTLD_SECURE): Define.
33710         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
33711         mode & __RTLD_SECURE instead.
33712         (open_path): Rename preloaded parameter to secure.
33713         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33714         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33715         * elf/dl-deps.c (openaux): Likewise.
33716         * elf/rtld.c (struct map_args): Remove is_preloaded.
33717         (map_doit): Don't use it.
33718         (dl_main): Likewise.
33719         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33720         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33722 2010-09-09  Andreas Schwab  <schwab@redhat.com>
33724         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33725         (sysd-rules-targets): Remove duplicates.
33726         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33727         rtld-%.$o dependency.
33729 2010-10-18  Andreas Schwab  <schwab@redhat.com>
33731         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33732         _dl_map_object do it.
33734 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
33736         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33737         fast fma builtins, define the macros in the C99 standard.
33738         (FP_FAST_FMAF): Likewise.
33739         (FP_FAST_FMAL): Likewise.
33740         * sysdeps/x86_64/bits/mathdef.h: Likewise.
33742         * bits/mathdef.h: Update copyright year.
33743         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33745 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
33747         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33748         builtins, define the macros in the C99 standard.
33749         (FP_FAST_FMAF): Likewise.
33750         (FP_FAST_FMAL): Likewise.
33751         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33752         multiply/add.
33753         (FP_FAST_FMAF): Likewise.
33755 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
33757         [BZ #3268]
33758         * math/libm-test.inc (fma_test): Some new testcases.
33759         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33760         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33761         y and infinite z.  Do multiplication by C already in long double.
33762         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33763         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33764         y and infinite z.  Do bitwise or of inexact bit into u.d.
33765         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33766         * sysdeps/i386/fpu/s_fmaf.S: Removed.
33767         * sysdeps/i386/fpu/s_fma.S: Removed.
33768         * sysdeps/i386/fpu/s_fmal.S: Removed.
33770 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
33772         [BZ #3268]
33773         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33774         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33775         computation is not scheduled after fetestexcept.  Fix value
33776         of minimum denormal long double.
33778 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
33780         [BZ #3268]
33781         * math/libm-test.inc (fma_test): Add some more tests.
33782         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33783         correctly.
33785 2010-10-15  Andreas Schwab  <schwab@redhat.com>
33787         * scripts/data/localplt-s390-linux-gnu.data: New file.
33788         * scripts/data/localplt-s390x-linux-gnu.data: New file.
33790 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
33792         [BZ #3268]
33793         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33794         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33795         instead of dbl-64.
33796         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33797         inlines.
33798         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33799         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33800         if one of x and y is very large and the other is subnormal.
33801         * sysdeps/s390/fpu/s_fmaf.c: New file.
33802         * sysdeps/s390/fpu/s_fma.c: New file.
33803         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33804         * sysdeps/powerpc/fpu/s_fma.S: New file.
33805         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33806         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33807         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33809 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
33811         [BZ #3268]
33812         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33813         fma tests.
33814         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33815         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33816         * sysdeps/i386/i686/multiarch/s_fma.c: Include
33817         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33818         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33819         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33820         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33822 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
33824         [BZ #12078]
33825         * posix/regcomp.c (parse_branch): One more memory leak plugged.
33826         * posix/bug-regex31.input: Add test case.
33828 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33830         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33831         * posix/bug-regex31.input: New file.
33833         [BZ #12078]
33834         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33835         (parse_sub_exp): Fix last change, use postorder.
33837         * posix/bug-regex31.c: New file.
33838         * posix/Makefile: Add rules to build and run bug-regex31.
33840         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33842         [BZ #12078]
33843         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33845         [BZ #12108]
33846         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33847         to have entries in sys_siglist.
33849         [BZ #12093]
33850         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33851         be NULL.
33853 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
33855         [BZ #3268]
33856         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33857         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33858         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33859         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33860         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33861         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33862         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33863         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33864         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33865         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33866         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33867         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33868         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33869         * math/ftestexcept.c (fetestexcept): Likewise.
33870         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33871         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33872         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33873         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33874         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33875         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33876         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33878 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33880         [BZ #12107]
33881         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33882         newline.
33884 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
33886         * string/bug-strstr1.c: New file.
33887         * string/Makefile: Add rules to build and run bug-strstr1.
33889 2010-10-05  Eric Blake  <eblake@redhat.com>
33891         [BZ #12092]
33892         * string/str-two-way.h (two_way_long_needle): Always clear memory
33893         when skipping input due to the shift table.
33895 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
33897         [BZ #12005]
33898         * malloc/mcheck.c: Handle large requests.
33900         [BZ #12077]
33901         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33902         for strncmp and strncasecmp.
33903         * string/stratcliff.c: Add tests for strcmp and strncmp.
33904         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33906 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33908         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33909         __set_fpscr.
33911 2010-09-30  Andreas Jaeger  <aj@suse.de>
33913         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33914         (CGROUP_SUPER_MAGIC): Define.
33915         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33916         Handle btrfs and cgroup file systems.
33917         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33918         Likewise.
33920 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
33922         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33923         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33925 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33927         [BZ #12067]
33928         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33929         trying to locate the ELF header.
33931 2010-09-27  Andreas Schwab  <schwab@redhat.com>
33933         [BZ #11611]
33934         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33935         Mask out sign-bit copies when constructing f_fsid.
33937 2010-09-24  Petr Baudis <pasky@suse.cz>
33939         * debug/stack_chk_fail_local.c: Add missing licence exception.
33940         * debug/warning-nop.c: Likewise.
33942 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
33944         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33945         implementing getdents64 using getdents syscall, set d_type if
33946         __ASSUME_GETDENTS32_D_TYPE.
33948 2010-09-16  Andreas Schwab  <schwab@redhat.com>
33950         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33951         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33953 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
33955         [BZ #12037]
33956         * posix/unistd.h: Undo change of feature selection for ftruncate from
33957         2010-01-11.
33959 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
33961         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33962         detection.
33964 2010-09-20  Andreas Schwab  <schwab@redhat.com>
33966         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33967         fanotify_mark.
33968         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33970 2010-09-14  Andreas Schwab  <schwab@redhat.com>
33972         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33973         variables after CHECK_SP call.
33974         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33976 2010-09-13  Andreas Schwab  <schwab@redhat.com>
33977             Ulrich Drepper  <drepper@redhat.com>
33979         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33980         re-relocationg ld.so.
33981         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33982         _dl_init_paths call.
33983         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
33984         here anymore.
33986 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
33988         * resolv/res_init.c (__res_vinit): Count the default server we added.
33990 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
33991             Ulrich Drepper  <drepper@redhat.com>
33993         [BZ #11968]
33994         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33995         (____longjmp_chk): Use %ebx for saving value across system call.
33996         Add unwind info.
33998 2010-09-06  Andreas Schwab  <schwab@redhat.com>
34000         * manual/Makefile: Don't mix pattern rules with normal rules.
34002 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34004         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34005         operation.
34006         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34007         * libio/iofopncook.c (_IO_cookie_init): Likewise.
34008         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34009         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34010         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34011         Likewise.
34013 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
34015         [BZ #11979]
34016         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34017         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34019 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
34021         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34022         * sysdeps/x86_64/addmul_1.S: Likewise.
34023         * sysdeps/x86_64/lshift.S: Likewise.
34024         * sysdeps/x86_64/mul_1.S: Likewise.
34025         * sysdeps/x86_64/rshift.S: Likewise.
34026         * sysdeps/x86_64/sub_n.S: Likewise.
34027         * sysdeps/x86_64/submul_1.S: Likewise.
34029 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34031         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34032         Define __sched_param instead of SCHED_* and sched_param when
34033         <bits/sched.h> is included with __need_schedparam defined.
34034         * bits/sched.h [__need_schedparam]
34035         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34036         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34037         (__defined_schedparam): Define to 1.
34038         (__sched_param): New structure, identical to sched_param.
34039         (__need_schedparam): Undefine.
34041 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
34043         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34044         (epoll_create1): Declare.
34046         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34048 2010-08-31  Andreas Schwab  <schwab@redhat.com>
34050         [BZ #7066]
34051         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34052         shifting retval into place.
34054 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
34056         * nis/rpcsvc/nis.h: Update copyright notice.
34057         * nis/rpcsvc/nis.x: Likewise.
34058         * nis/rpcsvc/nis_callback.h: Likewise.
34059         * nis/rpcsvc/nis_callback.x: Likewise.
34060         * nis/rpcsvc/nis_object.x: Likewise.
34061         * nis/rpcsvc/nis_tags.h: Likewise.
34062         * nis/rpcsvc/yp.h: Likewise.
34063         * nis/rpcsvc/yp.x: Likewise.
34064         * nis/rpcsvc/ypupd.h: Likewise.
34065         * nis/yp_xdr.c: Likewise.
34066         * nis/ypupdate_xdr.c: Likewise.
34068         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
34069         mainly the body of pmap_getport.  Add parameters to specify timeouts.
34070         (pmap_getport): Use __libc_rpc_getport.
34071         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34072         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34073         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34075 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
34077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34078         fanotify_mark.
34080 2010-08-27  Roland McGrath  <roland@redhat.com>
34082         * sysdeps/i386/i686/multiarch/Makefile
34083         (CFLAGS-varshift.c): New variable.
34085 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
34087         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34088         * sysdeps/i386/i686/multiarch/varshift.c: New file.
34090         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34092         * sysdeps/x86_64/strlen.S: Minimal code improvement.
34094 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
34096         * sysdeps/x86_64/strlen.S: Unroll the loop.
34097         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34098         strlen-sse2 strlen-sse2-bsf.
34099         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34100         __strlen_no_bsf if bit_Slow_BSF is set.
34101         (__strlen_sse42): Removed.
34102         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34103         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34105 2010-08-25  Roland McGrath  <roland@redhat.com>
34107         * sysdeps/x86_64/multiarch/varshift.S: File removed.
34108         * sysdeps/x86_64/multiarch/varshift.c: New file.
34109         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34110         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34111         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34112         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34114 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
34116         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34117         strlen-sse2 strlen-sse2-bsf.
34118         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34119         __strlen_sse2_bsf if bit_Slow_BSF is unset.
34120         (__strlen_sse2): Removed.
34121         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34122         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34123         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34124         bit_Slow_BSF for Atom.
34125         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34126         (index_Slow_BSF): Define.
34127         (HAS_SLOW_BSF): Define.
34129 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
34131         [BZ #10851]
34132         * resolv/res_init.c (__res_vinit): When no server address at all
34133         is given default to loopback.
34135 2010-08-24  Roland McGrath  <roland@redhat.com>
34137         * configure.in: Remove config-name.h generation.
34138         * configure: Regenerated.
34139         * config-name.in: File removed.
34140         * scripts/config-uname.sh: New file.
34141         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34142         ($(objdir)config-name.h): New target.
34144         * sunrpc/rpc_parse.h: Avoid nested comment.
34146 2010-08-24  Richard Henderson  <rth@redhat.com>
34147             Ulrich Drepper  <drepper@redhat.com>
34148             H.J. Lu  <hongjiu.lu@intel.com>
34150         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34151         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34152         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34153         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
34154         _mm_alignr_epi8 with _mm_loadu_si128.
34155         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34156         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34157         (__m128i_shift_right): Removed.
34158         * sysdeps/i386/i686/multiarch/varshift.h: New file.
34159         * sysdeps/i386/i686/multiarch/varshift.S: New file.
34160         * sysdeps/x86_64/multiarch/varshift.h: New file.
34161         * sysdeps/x86_64/multiarch/varshift.S: New file.
34163 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
34165         * configure.in: Move assembler checks to before sysdep dir checking.
34167 2010-08-20  Petr Baudis  <pasky@suse.cz>
34169         * LICENSES: Sync the sunrpc license.
34171 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
34173         * sunrpc/auth_des.c: Update copyright notice once again.
34174         * sunrpc/auth_none.c: Likewise.
34175         * sunrpc/auth_unix.c: Likewise.
34176         * sunrpc/authdes_prot.c: Likewise.
34177         * sunrpc/authuxprot.c: Likewise.
34178         * sunrpc/bindrsvprt.c: Likewise.
34179         * sunrpc/clnt_gen.c: Likewise.
34180         * sunrpc/clnt_perr.c: Likewise.
34181         * sunrpc/clnt_raw.c: Likewise.
34182         * sunrpc/clnt_simp.c: Likewise.
34183         * sunrpc/clnt_tcp.c: Likewise.
34184         * sunrpc/clnt_udp.c: Likewise.
34185         * sunrpc/clnt_unix.c: Likewise.
34186         * sunrpc/des_crypt.c: Likewise.
34187         * sunrpc/des_soft.c: Likewise.
34188         * sunrpc/get_myaddr.c: Likewise.
34189         * sunrpc/getrpcport.c: Likewise.
34190         * sunrpc/key_call.c: Likewise.
34191         * sunrpc/key_prot.c: Likewise.
34192         * sunrpc/openchild.c: Likewise.
34193         * sunrpc/pm_getmaps.c: Likewise.
34194         * sunrpc/pm_getport.c: Likewise.
34195         * sunrpc/pmap_clnt.c: Likewise.
34196         * sunrpc/pmap_prot.c: Likewise.
34197         * sunrpc/pmap_prot2.c: Likewise.
34198         * sunrpc/pmap_rmt.c: Likewise.
34199         * sunrpc/rpc/auth.h: Likewise.
34200         * sunrpc/rpc/auth_unix.h: Likewise.
34201         * sunrpc/rpc/clnt.h: Likewise.
34202         * sunrpc/rpc/des_crypt.h: Likewise.
34203         * sunrpc/rpc/key_prot.h: Likewise.
34204         * sunrpc/rpc/netdb.h: Likewise.
34205         * sunrpc/rpc/pmap_clnt.h: Likewise.
34206         * sunrpc/rpc/pmap_prot.h: Likewise.
34207         * sunrpc/rpc/pmap_rmt.h: Likewise.
34208         * sunrpc/rpc/rpc.h: Likewise.
34209         * sunrpc/rpc/rpc_des.h: Likewise.
34210         * sunrpc/rpc/rpc_msg.h: Likewise.
34211         * sunrpc/rpc/svc.h: Likewise.
34212         * sunrpc/rpc/svc_auth.h: Likewise.
34213         * sunrpc/rpc/types.h: Likewise.
34214         * sunrpc/rpc/xdr.h: Likewise.
34215         * sunrpc/rpc_clntout.c: Likewise.
34216         * sunrpc/rpc_cmsg.c: Likewise.
34217         * sunrpc/rpc_common.c: Likewise.
34218         * sunrpc/rpc_cout.c: Likewise.
34219         * sunrpc/rpc_dtable.c: Likewise.
34220         * sunrpc/rpc_hout.c: Likewise.
34221         * sunrpc/rpc_main.c: Likewise.
34222         * sunrpc/rpc_parse.c: Likewise.
34223         * sunrpc/rpc_parse.h: Likewise.
34224         * sunrpc/rpc_prot.c: Likewise.
34225         * sunrpc/rpc_sample.c: Likewise.
34226         * sunrpc/rpc_scan.c: Likewise.
34227         * sunrpc/rpc_scan.h: Likewise.
34228         * sunrpc/rpc_svcout.c: Likewise.
34229         * sunrpc/rpc_tblout.c: Likewise.
34230         * sunrpc/rpc_util.c: Likewise.
34231         * sunrpc/rpc_util.h: Likewise.
34232         * sunrpc/rpcinfo.c: Likewise.
34233         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34234         * sunrpc/rpcsvc/key_prot.x: Likewise.
34235         * sunrpc/rpcsvc/klm_prot.x: Likewise.
34236         * sunrpc/rpcsvc/mount.x: Likewise.
34237         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34238         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34239         * sunrpc/rpcsvc/rex.x: Likewise.
34240         * sunrpc/rpcsvc/rstat.x: Likewise.
34241         * sunrpc/rpcsvc/rusers.x: Likewise.
34242         * sunrpc/rpcsvc/sm_inter.x: Likewise.
34243         * sunrpc/rpcsvc/spray.x: Likewise.
34244         * sunrpc/rpcsvc/yppasswd.x: Likewise.
34245         * sunrpc/rtime.c: Likewise.
34246         * sunrpc/svc.c: Likewise.
34247         * sunrpc/svc_auth.c: Likewise.
34248         * sunrpc/svc_authux.c: Likewise.
34249         * sunrpc/svc_raw.c: Likewise.
34250         * sunrpc/svc_run.c: Likewise.
34251         * sunrpc/svc_simple.c: Likewise.
34252         * sunrpc/svc_tcp.c: Likewise.
34253         * sunrpc/svc_udp.c: Likewise.
34254         * sunrpc/svc_unix.c: Likewise.
34255         * sunrpc/svcauth_des.c: Likewise.
34256         * sunrpc/xcrypt.c: Likewise.
34257         * sunrpc/xdr.c: Likewise.
34258         * sunrpc/xdr_array.c: Likewise.
34259         * sunrpc/xdr_float.c: Likewise.
34260         * sunrpc/xdr_mem.c: Likewise.
34261         * sunrpc/xdr_rec.c: Likewise.
34262         * sunrpc/xdr_ref.c: Likewise.
34263         * sunrpc/xdr_sizeof.c: Likewise.
34264         * sunrpc/xdr_stdio.c: Likewise.
34266         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34267         handling.
34269 2010-08-19  Andreas Schwab  <schwab@redhat.com>
34271         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34273 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
34275         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34276         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34277         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34278         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34279         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34280         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34281         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34282         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34283         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34284         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34285         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34286         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34287         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34288         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34290 2010-07-26  Anton Blanchard  <anton@samba.org>
34292         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34293         * malloc/arena.c (heap_trim): Likewise.
34295 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
34297         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34298         here.  Not...
34299         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34300         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34302 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34304         * sysdeps/i386/elf/Makefile: New file.
34306 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34308         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34309         from fanotify_init.
34310         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34311         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34313 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
34315         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34316         of strncasecmp_l.
34317         * sysdeps/multiarch/strcmp.S: Likewise.
34319 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
34321         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34322         strncase_l-nonascii.
34323         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34324         Add strncase_l-ssse3.
34325         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34326         * sysdeps/x86_64/strcmp.S: Likewise.
34327         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34328         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34329         * sysdeps/x86_64/strncase.S: New file.
34330         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34331         * sysdeps/x86_64/strncase_l.S: New file.
34332         * string/Makefile (strop-tests): Add strncasecmp.
34333         * string/test-strncasecmp.c: New file.
34335         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34336         warning.
34338         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34339         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34341 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34343         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34345 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
34347         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34348         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34349         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34351 2010-05-01  Alan Modra  <amodra@gmail.com>
34353         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34354         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34355         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34356         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34357         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34358         tidying.  Don't tail-call __sigjmp_save for static lib.
34359         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34360         save location.
34361         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34362         (CALL_MCOUNT): Add eh info, and nop after bl.
34363         (TAIL_CALL_SYSCALL_ERROR): New macro.
34364         (PSEUDO_RET): Use it.
34365         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34366         Correct save location of integer regs and cr.
34367         (_dl_profile_resolve): Correct cr save location.  Delete nops
34368         after bl when SHARED.  Reduce cfi size a little by better
34369         placement of cfi directives.
34370         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34371         make a stack frame.  Instead use parm save area as a temp.
34372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34373         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
34374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34375         Don't make a stack frame for parent, use parm save area.
34376         Increase child stack frame to 112 bytes.  Don't save unused reg,
34377         and adjust reg usage.  Set up cfi on error recovery and
34378         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34380         (__makecontext): Add dummy nop after jump to exit.
34381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34382         Use correct parm save area and cr save, reduce stack frame.
34383         Correct cfi for possible PSEUDO_RET frame setup.
34384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34385         Branch to local label emitted by PSEUDO_RET rather than
34386         __syscall_error.
34388 2010-08-12  Andreas Schwab  <schwab@redhat.com>
34390         [BZ #11904]
34391         * locale/programs/locale.c (print_assignment): New function.
34392         (show_locale_vars): Use it.
34394 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
34396         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34397         field.
34398         (struct statfs64): Likewise.
34399         (_STATFS_F_FLAGS): Define.
34400         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34401         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34402         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34403         (ST_VALID): Define locally.
34404         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34405         __statvfs_getflags, use the provided value.
34406         * sysdeps/unix/sysv/linux/kernel-features.h: Define
34407         __ASSUME_STATFS_F_FLAGS.
34409         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34411         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34412         Add sys/fanotify.h.
34413         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34414         fanotify_mask for GLIBC_2.13.
34415         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34416         fanotify_init and fanotify_mark.
34417         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34418         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34420         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34421         Add prlimit.
34422         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34423         prlimit64 for GLIBC_2.13.
34424         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34425         prlimit64.
34426         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34427         syscall.
34428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34429         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34430         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34431         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34432         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
34433         add prlimit alias.
34434         * sysdeps/unix/sysv/linux/prlimit.c: New file.
34436         [BZ #11903]
34437         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34438         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34440         * nss/Makefile: Add rules to build and run tst-nss-test1.
34441         * shlib-versions: Add entry for libnss_test1.
34442         * nss/nss_test1.c: New file.
34443         * nss/tst-nss-test1.c: New file.
34445         * nss/nsswitch.c (__nss_database_custom): Define new variable.
34446         (__nss_configure_lookup): Set appropriate entry in
34447         __nss_configure_lookup to true.
34448         * nss/nsswitch.h: Define enum with indeces of databases in
34449         databases and __nss_database_custom arrays.  Declare
34450         __nss_database_custom.
34451         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34452         to avoid using nscd when custom rules are installed.
34453         * nss/getXXbyYY_r.c: Likewise.
34454         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34456         * nss/nss_files/files-parse.c: Whitespace fixes.
34458 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
34460         [BZ #11883]
34461         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34462         * posix/fnmatch_loop.c: Likewise.
34464 2010-07-17  Andi Kleen  <ak@linux.intel.com>
34466         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34467         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34468         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34469         * Versions.def [GLIBC_2.13]: Add.
34471 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
34473         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34474         Also fail if tpwd after pwuid call is NULL.
34476 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34478         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34479         when converting to ms.
34481 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34483         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34484         EOPNOTSUPP errors with ENOTTY.
34485         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34486         EOPNOTSUPP errors with ENOTTY.
34488 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
34490         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34491         Add strcasecmp_l-ssse3.
34492         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34493         strcasecmp.
34494         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34495         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34496         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34498 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
34500         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34502         * string/Makefile (strop-tests): Add strcasecmp.
34503         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34504         strcasecmp_l-nonascii.
34505         (gen-as-const-headers): Add locale-defines.sym.
34506         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34507         * sysdeps/x86_64/strcasecmp.S: New file.
34508         * sysdeps/x86_64/strcasecmp_l.S: New file.
34509         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34510         * sysdeps/x86_64/locale-defines.sym: New file.
34511         * string/test-strcasecmp.c: New file.
34513         * string/test-strcasestr.c: Test both ends of the range of characters.
34514         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34516 2010-07-29  Roland McGrath  <roland@redhat.com>
34518         [BZ #11856]
34519         * manual/locale.texi (Yes-or-No Questions): Fix example code.
34521 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
34523         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34524         for ld.so.
34526 2010-07-27  Andreas Schwab  <schwab@redhat.com>
34528         * manual/memory.texi (Malloc Tunable Parameters): Document
34529         M_PERTURB.
34531 2010-07-26  Roland McGrath  <roland@redhat.com>
34533         [BZ #11840]
34534         * configure.in (-fgnu89-inline check): Set and substitute
34535         gnu89_inline, not libc_cv_gnu89_inline.
34536         * configure: Regenerated.
34537         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34539 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
34541         * string/test-strnlen.c: New file.
34542         * string/Makefile (strop-tests): Add strnlen.
34543         * string/tester.c (test_strnlen): Add a few more test cases.
34544         * string/tst-strlen.c: Better error reporting.
34546         * sysdeps/x86_64/strnlen.S: New file.
34548 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
34550         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34551         lower-latency instructions.
34553 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
34555         * string/test-strcasestr.c: New file.
34556         * string/test-strstr.c: New file.
34557         * string/Makefile (strop-tests): Add strstr and strcasestr.
34558         * string/str-two-way.h: Don't undefine MAX.
34559         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34561 2010-07-21  Andreas Schwab  <schwab@redhat.com>
34563         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34564         strcasestr-nonascii.
34565         (CFLAGS-strcasestr-nonascii.c): Define.
34566         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34567         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34568         Remove unused attribute.
34570 2010-07-20  Roland McGrath  <roland@redhat.com>
34572         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34573         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
34574         ld.so.cache was broken.  With it, there is no way to disable dsocaps
34575         like LD_HWCAP_MASK can disable hwcaps.
34577 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34579         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34581 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
34583         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34584         call in strcasestr.
34585         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34586         __strcasestr_sse42_nonascii.
34587         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34588         strcasestr-nonascii.c.
34589         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34591 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
34593         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34594         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34595         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34596         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34598 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
34600         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34601         fcntl.
34603 2010-07-06  Andreas Schwab  <schwab@redhat.com>
34605         [BZ #11577]
34606         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34607         dl_signal_cerror.
34609 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
34611         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34612         _PC_PIPE_BUF using F_GETPIPE_SZ.
34614 2010-07-05  Roland McGrath  <roland@redhat.com>
34616         * manual/arith.texi (Rounding Functions): Fix rint description
34617         implicit in round description.
34619 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
34621         * elf/Makefile: Fix linking for a few tests to make recent linker
34622         happy.
34624 2010-06-30  Andreas Schwab  <schwab@redhat.com>
34626         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34627         $(common-objpfx)libc_nonshared.a.
34629 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
34631         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34632         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34633         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34634         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34635         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34636         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34637         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34638         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34653         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34654         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34655         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34656         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34657         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34658         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34659         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34660         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34661         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34662         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34663         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34664         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34680 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34682         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34683         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
34684         * string/memmove.c (memmove): Renamed to ...
34685         (MEMMOVE): ...this.  Default to memmove.
34686         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34687         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34688         (END_CHK): Define.
34689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34690         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34691         mempcpy-ssse3-back memmove-ssse3-back.
34692         * sysdeps/x86_64/multiarch/bcopy.S: New file .
34693         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34694         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34695         * sysdeps/x86_64/multiarch/memcpy.S: New file.
34696         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34697         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34698         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34699         * sysdeps/x86_64/multiarch/memmove.c: New file.
34700         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34701         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34702         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34703         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34704         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34705         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34706         Define.
34707         (index_Fast_Copy_Backward): Define.
34708         (HAS_ARCH_FEATURE): Define.
34709         (HAS_FAST_REP_STRING): Define.
34710         (HAS_FAST_COPY_BACKWARD): Define.
34712 2010-06-21  Andreas Schwab  <schwab@redhat.com>
34714         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34715         Restore proper fallback handling.
34717 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
34719         [BZ #11701]
34720         * posix/group_member.c (__group_member): Correct checking loop.
34722         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34723         OOM in getpwuid_r correctly.  Return error number when the caller
34724         should return, otherwise -1.
34725         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34726         call returning > 0 value.
34727         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34729 2010-06-07  Andreas Schwab  <schwab@redhat.com>
34731         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34732         libc_nonshared.a from targets in modules-names.
34734 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
34736         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34737         requires it.
34739 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
34741         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34742         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34743         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34744         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34746 2010-06-02  Andreas Schwab  <schwab@redhat.com>
34748         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34750 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
34752         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34753         and F_GETPIPE_SZ.
34754         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34755         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34756         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34757         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34758         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34759         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34761 2010-06-14  Roland McGrath  <roland@redhat.com>
34763         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34765 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
34767         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34768         __REDIRECT followed by __THROW.
34769         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34770         * posix/getopt.h (getopt): Likewise.
34772 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34774         * hurd/lookup-at.c (__file_name_lookup_at): Accept
34775         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
34776         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34777         in AT_FLAGS.
34778         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34779         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34781 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
34783         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34785 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
34787         [BZ #11640]
34788         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34789         Properly check family and model.
34791 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
34793         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34795 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
34797         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34799 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
34801         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34802         symbol reference.
34804 2010-05-19  Andreas Schwab  <schwab@redhat.com>
34806         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34807         symbol reference.
34809 2010-05-21  Andreas Schwab  <schwab@redhat.com>
34811         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34812         and internal_recvmmsg.
34813         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34814         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34815         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34816         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34818         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34819         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34820         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34822 2010-05-20  Andreas Schwab  <schwab@redhat.com>
34824         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34826 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
34828         POWER7 optimizations.
34829         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34830         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34832 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
34834         * version.h: Update for 2.13 development version.
34836 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
34838         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34839         exceptions.  Return 0.
34841 2010-05-07  Roland McGrath  <roland@redhat.com>
34843         * elf/ldconfig.c (main): Add a const.
34845 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
34847         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34848         (args_options): Add no-idn option.
34849         (ahosts_keys_int): Add idn_flags to ai_flags.
34850         (parse_option): Handle 'i' option to clear idn_flags.
34852         * malloc/malloc.c (_int_free): Possible race in the most recently
34853         added check.  Only act on the data if no current modification
34854         happened.
34856 See ChangeLog.17 for earlier changes.