Fix off-by-one in nscd getservbyport call
[glibc.git] / ChangeLog
bloba35541e0e0a3e1c2422ba76dda4caa1fe744010b
1 2013-11-11  Andreas Schwab  <schwab@suse.de>
3         [BZ #16153]
4         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5         terminating NUL in key length.
7 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10         Add artificial ODP entry for vDSO symbol for PPC64.
11         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
16         [BZ #15374]
17         * nss/getent.c (services_keys): Recognize services starting with digit.
19 2013-11-06  David S. Miller  <davem@davemloft.net>
21         [BZ #15985]
22         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25 2013-11-06  Will Newton  <will.newton@linaro.org>
27         * manual/memory.texi (Malloc Examples): Remove register
28         keyword from examples.
30 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
32         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
34 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
36         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
37         depending on [__GCC_IEC_559 > 0].
38         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
39         depending on [__GCC_IEC_559_COMPLEX > 0].
41 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
43         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
44         to iso-639.def.
46 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
48         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
52         [BZ #16112]
53         * malloc/malloc (malloc_info): Do not handle first bin as
54         special case.
56 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
58         * locale/iso-639.def: Add Central Nahuatl (nhn).
60 2013-11-01  Bruno Haible  <bruno@clisp.org>
62         [BZ #7003]
63         * manual/math.texi (BSD Random): Specify range upper bound as
64         in POSIX.
66 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
68         * locale/iso-639.def: Add Meadow Mari (mhr).
70 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
72         [BZ #14752], [BZ #15763]
73         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
74         Validate name.
75         * rt/tst_shm.c: Add test for escaping directory.
77 2013-10-31  Andreas Schwab  <schwab@suse.de>
79         [BZ #15917]
80         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
81         followed by 'x' as part of digit sequence.
82         * stdio-common/tst-sscanf.c (double_tests2): New tests.
84 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
86         [BZ #16037]
87         * configure.ac: allow GNU Make 4.0 and greater.
88         * configure: Regenerated.
90 2013-10-30  Will Newton  <will.newton@linaro.org>
92         [BZ #16038]
93         * malloc/hooks.c (memalign_check): Limit alignment to the
94         maximum representable power of two.
95         * malloc/malloc.c (__libc_memalign): Likewise.
96         * malloc/tst-memalign.c (do_test): Add test for very
97         large alignment values.
98         * malloc/tst-posix_memalign.c (do_test): Likewise.
100 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
102         [BZ #11087]
103         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
104         (munmap_chunk): Likewise.
105         (mremap_chunk): Likewise.
107 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
109         [BZ #15799]
110         * stdlib/div.c (div): Remove obsolete code.
111         * stdlib/ldiv.c (ldiv): Likewise.
112         * stdlib/lldiv.c (lldiv): Likewise.
114 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
116         [BZ #16071]
117         * nss/nss_files/files-XXX.c (get_contents_ret): New
118         enumerator.
119         (get_contents): New function.
120         (internal_getent): Use it.  Expand size of LINEBUFLEN.
122 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
124         * configure.in: Moved to ...
125         * configure.ac: ... here. Change reference to configure.in
126         to configure.ac.
127         * sysdeps/arm/preconfigure.ac: ... here.
128         configure.in to configure.ac.
129         * sysdeps/gnu/configure.in: Moved to ...
130         * sysdeps/gnu/configure.ac: ... here.
131         * sysdeps/i386/configure.in: Moved to ...
132         * sysdeps/i386/configure.ac: ... here.
133         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
134         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
135         * sysdeps/mach/configure.in: Moved to ...
136         * sysdeps/mach/configure.ac: ... here.
137         * sysdeps/mach/hurd/configure.in: Moved to ...
138         * sysdeps/mach/hurd/configure.ac: ... here.
139         * sysdeps/powerpc/configure.in: Moved to ...
140         * sysdeps/powerpc/configure.ac: ... here.
141         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
142         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
143         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
144         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
145         * sysdeps/s390/s390-32/configure.in: Moved to ...
146         * sysdeps/s390/s390-32/configure.ac: ... here.
147         * sysdeps/s390/s390-64/configure.in: Moved to ...
148         * sysdeps/s390/s390-64/configure.ac: ... here.
149         * sysdeps/sh/configure.in: Moved to ...
150         * sysdeps/sh/configure.ac: ... here.
151         * sysdeps/sparc/configure.in: Moved to ...
152         * sysdeps/sparc/configure.ac: ... here.
153         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
154         * sysdeps/unix/sysv/linux/configure.ac: ... here.
155         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
156         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
157         * sysdeps/x86_64/configure.in: Moved to ...
158         * sysdeps/x86_64/configure.ac: ... here.
159         * sysdeps/x86_64/preconfigure.in: Moved to ...
160         * sysdeps/x86_64/preconfigure.ac: ... here.
161         * aclocal.m4: Change reference to configure.in to configure.ac.
162         * config.h.in: Likewise.
163         * manual/install.texi: Likewise.
164         * manual/maint.texi: Likewise.
165         * Makefile: Likewise.
166         * malloc/Makefile: Likewise.
167         * nscd/Makefile: Likewise.
168         * Makeconfig: Change reference to configure.in and
169         preconfigure.in to configure.ac and preconfigure.ac
170         respectively.
171         * INSTALL: Regenerated.
172         * configure: Likewise.
173         * sysdeps/gnu/configure: Likewise.
174         * sysdeps/i386/configure: Likewise.
175         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
176         * sysdeps/mach/configure: Likewise.
177         * sysdeps/mach/hurd/configure: Likewise.
178         * sysdeps/powerpc/configure: Likewise.
179         * sysdeps/powerpc/powerpc32/configure: Likewise.
180         * sysdeps/powerpc/powerpc64/configure: Likewise.
181         * sysdeps/s390/s390-32/configure: Likewise.
182         * sysdeps/s390/s390-64/configure: Likewise.
183         * sysdeps/sh/configure: Likewise.
184         * sysdeps/sparc/configure: Likewise.
185         * sysdeps/unix/sysv/linux/configure: Likewise.
186         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
187         * sysdeps/x86_64/configure: Likewise.
188         * sysdeps/x86_64/preconfigure: Likewise.
190 2013-10-29  Andreas Schwab  <schwab@suse.de>
192         * stdio-common/Makefile (tst-swscanf-ENV): Define.
194 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
196         * benchtests/pow-inputs: Add new inputs.
198         * benchtests/exp-inputs: Add new inputs.
200         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
201         conditional check for return value.
202         (__cos32): Likewise.
204 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
206         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
207         to provide a boost for large inputs with word alignment.
208         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
209         implementation based on optimized PPC64 strcpy.
210         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
211         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
212         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
213         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
215 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
217         [BZ #2801]
218         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
220 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
222         [BZ #14876]
223         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
224         * time/tst-strptime.c (day_tests): Add testcase.
226 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
228         [BZ #14029]
229         * manual/pattern.texi: Acknowledge that fnmatch can fail.
231 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
233         [BZ #16074]
234         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
235         MAP_FAILED on error.
237 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
239         [BZ #16072]
240         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
241         heap for large requests.
243 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
245         [BZ #9954]
246         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
247         result if the result has no associated interface.
248         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
249         interface for all 127.X.Y.Z addresses.
251 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
253         * locale/iso-639.def: Add Ligurian (lij)
255 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
257         [BZ #15825]
258         * sunrpc/rpc_main.c: Document rpcgen -5.
260 2013-10-19  Michael Stahl  <mstahl@redhat.com>
262         * elf/rtld.c (do_preload): Print the reason why preloading failed.
264 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
266         [BZ #10278]
267         * posix/glob.c: Match only directories when trailing slash is present.
268         * posix/tst-gnuglob.c (my_opendir): Do not open files.
269         (main): Add testcase.
271 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
273         [BZ #15670]
274         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
276 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
278         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
279         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
280         AUTH_DES and cindex for FIPS 140-2.
281         (DES Encryption): Add cindex FIPS 46-3.
283         * locale/locarchive.h (struct locarhandle): Add fname.
284         * locale/programs/localedef.c (main): Pass ARGV[remaining]
285         if an optional argument was specified to --list-archive,
286         otherwise NULL.
287         * locale/programs/locarchive.c (show_archive_content): Take new
288         argument fname and pass it via ah.fname to open_archive.
289         * locale/programs/localedef.h: Update decl.
290         (open_archive): If AH->fname is non-null, open that file
291         rather than the default file name, and don't ignore ENOENT.
292         (create_archive): Set AH.fname to NULL.
293         (delete_locales_from_archive): Likewise.
294         (add_locales_to_archive): Likewise.
295         * locale/programs/locfile.c (write_all_categories): Likewise.
297 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
298             Aldy Hernandez  <aldyh@redhat.com>
300         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
301         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
302         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
303         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
304         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
305         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
306         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
307         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
308         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
309         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
310         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
311         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
312         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
313         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
314         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
315         Likewise.
316         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
317         Likewise.
318         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
319         Likewise.
320         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
321         Likewise.
322         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
323         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
324         Likewise.
325         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
326         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
327         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
328         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
329         Likewise.
330         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
331         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
332         * sysdeps/powerpc/preconfigure: Likewise.
333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
334         Likewise.
335         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
336         Replace contents of file by #include of <fenv_libc.h>.
337         * sysdeps/powerpc/soft-fp/sfp-machine.h
338         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
339         and <sys/prctl.h>.
340         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
341         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
342         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
343         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
344         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
345         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
346         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
347         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
348         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
349         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
350         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
351         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
353         Allow copysignl PLT reference to be missing.
355 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
356             Joseph Myers  <joseph@codesourcery.com
358         [BZ #15948]
359         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
360         single character.
361         (add_to_tablewc): Assert sequence of wide characters is nonempty.
363 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
365         * elf/tst-tls-dlinfo.c: Don't include tls.h.
366         * elf/tst-tls1.c: Likewise.
367         * elf/tst-tls10.h: Likewise.
368         * elf/tst-tls14.c: Likewise.
369         * elf/tst-tls2.c: Likewise.
370         * elf/tst-tls3.c: Likewise.
371         * elf/tst-tls4.c: Likewise.
372         * elf/tst-tls5.c: Likewise.
373         * elf/tst-tls6.c: Likewise.
374         * elf/tst-tls7.c: Likewise.
375         * elf/tst-tls8.c: Likewise.
376         * elf/tst-tls9.c: Likewise.
377         * elf/tst-tlsmod1.c: Likewise.
378         * elf/tst-tlsmod13.c: Likewise.
379         * elf/tst-tlsmod13a.c: Likewise.
380         * elf/tst-tlsmod14a.c: Likewise.
381         * elf/tst-tlsmod16a.c: Likewise.
382         * elf/tst-tlsmod16b.c: Likewise.
383         * elf/tst-tlsmod2.c: Likewise.
384         * elf/tst-tlsmod3.c: Likewise.
385         * elf/tst-tlsmod4.c: Likewise.
386         * elf/tst-tlsmod5.c: Likewise.
387         * elf/tst-tlsmod6.c: Likewise.
389 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
391         [BZ #12486]
392         * malloc/malloc.c: remove checks for statistics.
394 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
396         [BZ #15277]
397         * inet/inet_net.c (inet_network): Detect additional invalid strings.
398         * inet/tst-network.c: Add testcase.
400 2013-10-17  Andreas Schwab  <schwab@suse.de>
402         [BZ #15218]
403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
404         to determine canonical name.
406 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
408         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
409         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
410         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
411         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
412         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
413         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
414         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
415         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
416         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
417         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
418         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
419         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
420         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
421         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
422         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
423         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
424         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
425         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
426         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
427         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
428         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
429         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
430         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
431         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
432         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
433         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
434         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
435         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
436         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
437         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
438         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
439         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
440         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
441         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
442         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
443         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
444         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
445         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
446         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
447         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
448         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
449         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
450         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
451         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
452         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
453         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
454         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
455         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
456         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
457         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
458         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
459         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
460         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
461         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
462         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
463         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
464         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
465         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
467 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
469         [BZ #16041]
470         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
471         make result into a quiet NaN.
473 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
475         * soft-fp/adddf3.c: Fix horizontal whitespace.
476         * soft-fp/addsf3.c: Likewise.
477         * soft-fp/addtf3.c: Likewise.
478         * soft-fp/divdf3.c: Likewise.
479         * soft-fp/divsf3.c: Likewise.
480         * soft-fp/divtf3.c: Likewise.
481         * soft-fp/double.h: Likewise.
482         * soft-fp/eqdf2.c: Likewise.
483         * soft-fp/eqsf2.c: Likewise.
484         * soft-fp/eqtf2.c: Likewise.
485         * soft-fp/extenddftf2.c: Likewise.
486         * soft-fp/extended.h: Likewise.
487         * soft-fp/extendsfdf2.c: Likewise.
488         * soft-fp/extendsftf2.c: Likewise.
489         * soft-fp/extendxftf2.c: Likewise.
490         * soft-fp/fixdfdi.c: Likewise.
491         * soft-fp/fixdfsi.c: Likewise.
492         * soft-fp/fixdfti.c: Likewise.
493         * soft-fp/fixsfdi.c: Likewise.
494         * soft-fp/fixsfsi.c: Likewise.
495         * soft-fp/fixsfti.c: Likewise.
496         * soft-fp/fixtfdi.c: Likewise.
497         * soft-fp/fixtfsi.c: Likewise.
498         * soft-fp/fixtfti.c: Likewise.
499         * soft-fp/fixunsdfdi.c: Likewise.
500         * soft-fp/fixunsdfsi.c: Likewise.
501         * soft-fp/fixunsdfti.c: Likewise.
502         * soft-fp/fixunssfdi.c: Likewise.
503         * soft-fp/fixunssfsi.c: Likewise.
504         * soft-fp/fixunssfti.c: Likewise.
505         * soft-fp/fixunstfdi.c: Likewise.
506         * soft-fp/fixunstfsi.c: Likewise.
507         * soft-fp/fixunstfti.c: Likewise.
508         * soft-fp/floatdidf.c: Likewise.
509         * soft-fp/floatdisf.c: Likewise.
510         * soft-fp/floatditf.c: Likewise.
511         * soft-fp/floatsidf.c: Likewise.
512         * soft-fp/floatsisf.c: Likewise.
513         * soft-fp/floatsitf.c: Likewise.
514         * soft-fp/floattidf.c: Likewise.
515         * soft-fp/floattisf.c: Likewise.
516         * soft-fp/floattitf.c: Likewise.
517         * soft-fp/floatundidf.c: Likewise.
518         * soft-fp/floatundisf.c: Likewise.
519         * soft-fp/floatunditf.c: Likewise.
520         * soft-fp/floatunsidf.c: Likewise.
521         * soft-fp/floatunsisf.c: Likewise.
522         * soft-fp/floatunsitf.c: Likewise.
523         * soft-fp/floatuntidf.c: Likewise.
524         * soft-fp/floatuntisf.c: Likewise.
525         * soft-fp/floatuntitf.c: Likewise.
526         * soft-fp/fmadf4.c: Likewise.
527         * soft-fp/fmasf4.c: Likewise.
528         * soft-fp/fmatf4.c: Likewise.
529         * soft-fp/gedf2.c: Likewise.
530         * soft-fp/gesf2.c: Likewise.
531         * soft-fp/getf2.c: Likewise.
532         * soft-fp/ledf2.c: Likewise.
533         * soft-fp/lesf2.c: Likewise.
534         * soft-fp/letf2.c: Likewise.
535         * soft-fp/muldf3.c: Likewise.
536         * soft-fp/mulsf3.c: Likewise.
537         * soft-fp/multf3.c: Likewise.
538         * soft-fp/negdf2.c: Likewise.
539         * soft-fp/negsf2.c: Likewise.
540         * soft-fp/negtf2.c: Likewise.
541         * soft-fp/op-1.h: Likewise.
542         * soft-fp/op-2.h: Likewise.
543         * soft-fp/op-4.h: Likewise.
544         * soft-fp/op-8.h: Likewise.
545         * soft-fp/op-common.h: Likewise.
546         * soft-fp/quad.h: Likewise.
547         * soft-fp/single.h: Likewise.
548         * soft-fp/soft-fp.h: Likewise.
549         * soft-fp/sqrtdf2.c: Likewise.
550         * soft-fp/sqrtsf2.c: Likewise.
551         * soft-fp/sqrttf2.c: Likewise.
552         * soft-fp/subdf3.c: Likewise.
553         * soft-fp/subsf3.c: Likewise.
554         * soft-fp/subtf3.c: Likewise.
555         * soft-fp/truncdfsf2.c: Likewise.
556         * soft-fp/trunctfdf2.c: Likewise.
557         * soft-fp/trunctfsf2.c: Likewise.
558         * soft-fp/trunctfxf2.c: Likewise.
559         * soft-fp/unorddf2.c: Likewise.
560         * soft-fp/unordsf2.c: Likewise.
561         * soft-fp/unordtf2.c: Likewise.
563 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
565         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
566         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
568 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
570         * elf/dl-libc.c: Clear initfini list after freeing.
572 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
574         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
575         * soft-fp/addsf3.c: Likewise.
576         * soft-fp/addtf3.c: Likewise.
577         * soft-fp/divdf3.c: Likewise.
578         * soft-fp/divsf3.c: Likewise.
579         * soft-fp/divtf3.c: Likewise.
580         * soft-fp/double.h: Likewise.
581         * soft-fp/eqdf2.c: Likewise.
582         * soft-fp/eqsf2.c: Likewise.
583         * soft-fp/eqtf2.c: Likewise.
584         * soft-fp/extenddftf2.c: Likewise.
585         * soft-fp/extended.h: Likewise.
586         * soft-fp/extendsfdf2.c: Likewise.
587         * soft-fp/extendsftf2.c: Likewise.
588         * soft-fp/extendxftf2.c: Likewise.
589         * soft-fp/fixdfdi.c: Likewise.
590         * soft-fp/fixdfsi.c: Likewise.
591         * soft-fp/fixdfti.c: Likewise.
592         * soft-fp/fixsfdi.c: Likewise.
593         * soft-fp/fixsfsi.c: Likewise.
594         * soft-fp/fixsfti.c: Likewise.
595         * soft-fp/fixtfdi.c: Likewise.
596         * soft-fp/fixtfsi.c: Likewise.
597         * soft-fp/fixtfti.c: Likewise.
598         * soft-fp/fixunsdfdi.c: Likewise.
599         * soft-fp/fixunsdfsi.c: Likewise.
600         * soft-fp/fixunsdfti.c: Likewise.
601         * soft-fp/fixunssfdi.c: Likewise.
602         * soft-fp/fixunssfsi.c: Likewise.
603         * soft-fp/fixunssfti.c: Likewise.
604         * soft-fp/fixunstfdi.c: Likewise.
605         * soft-fp/fixunstfsi.c: Likewise.
606         * soft-fp/fixunstfti.c: Likewise.
607         * soft-fp/floatdidf.c: Likewise.
608         * soft-fp/floatdisf.c: Likewise.
609         * soft-fp/floatditf.c: Likewise.
610         * soft-fp/floatsidf.c: Likewise.
611         * soft-fp/floatsisf.c: Likewise.
612         * soft-fp/floatsitf.c: Likewise.
613         * soft-fp/floattidf.c: Likewise.
614         * soft-fp/floattisf.c: Likewise.
615         * soft-fp/floattitf.c: Likewise.
616         * soft-fp/floatundidf.c: Likewise.
617         * soft-fp/floatundisf.c: Likewise.
618         * soft-fp/floatunsidf.c: Likewise.
619         * soft-fp/floatunsisf.c: Likewise.
620         * soft-fp/floatuntidf.c: Likewise.
621         * soft-fp/floatuntisf.c: Likewise.
622         * soft-fp/floatuntitf.c: Likewise.
623         * soft-fp/fmadf4.c: Likewise.
624         * soft-fp/fmasf4.c: Likewise.
625         * soft-fp/fmatf4.c: Likewise.
626         * soft-fp/gedf2.c: Likewise.
627         * soft-fp/gesf2.c: Likewise.
628         * soft-fp/getf2.c: Likewise.
629         * soft-fp/ledf2.c: Likewise.
630         * soft-fp/lesf2.c: Likewise.
631         * soft-fp/letf2.c: Likewise.
632         * soft-fp/muldf3.c: Likewise.
633         * soft-fp/mulsf3.c: Likewise.
634         * soft-fp/multf3.c: Likewise.
635         * soft-fp/negdf2.c: Likewise.
636         * soft-fp/negsf2.c: Likewise.
637         * soft-fp/negtf2.c: Likewise.
638         * soft-fp/op-1.h: Likewise.
639         * soft-fp/op-2.h: Likewise.
640         * soft-fp/op-4.h: Likewise.
641         * soft-fp/op-8.h: Likewise.
642         * soft-fp/op-common.h: Likewise.
643         * soft-fp/quad.h: Likewise.
644         * soft-fp/single.h: Likewise.
645         * soft-fp/soft-fp.h: Likewise.
646         * soft-fp/sqrtdf2.c: Likewise.
647         * soft-fp/sqrtsf2.c: Likewise.
648         * soft-fp/sqrttf2.c: Likewise.
649         * soft-fp/subdf3.c: Likewise.
650         * soft-fp/subsf3.c: Likewise.
651         * soft-fp/subtf3.c: Likewise.
652         * soft-fp/truncdfsf2.c: Likewise.
653         * soft-fp/trunctfdf2.c: Likewise.
654         * soft-fp/trunctfsf2.c: Likewise.
655         * soft-fp/trunctfxf2.c: Likewise.
656         * soft-fp/unorddf2.c: Likewise.
657         * soft-fp/unordsf2.c: Likewise.
658         * soft-fp/unordtf2.c: Likewise.
660 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
662         [BZ #15672]
663         * misc/error.c (error_tail): Fix possible buffer overflow.
665 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
667         [BZ #13028]
668         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
669         address.
671 2013-10-14  P. J. McDermott  <pj@pehjota.net>
673         [BZ #832]
674         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
675         testing pipefail option.
677 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
679         * soft-fp/double.h: Indent preprocessor directives inside #if.
680         * soft-fp/extended.h: Likewise.
681         * soft-fp/op-2.h: Likewise.
682         * soft-fp/op-4.h: Likewise.
683         * soft-fp/op-common.h: Likewise.
684         * soft-fp/quad.h: Likewise.
685         * soft-fp/single.h: Likewise.
686         * soft-fp/soft-fp.h: Likewise.
688 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
690         * iconv/iconv_prog.c: Fix typos.
691         * stdio-common/psiginfo-data.h: Likewise.
693 2013-10-12   Reuben Thomas <rrt@sc3d.org>
695         [BZ #15764]
696         * locale/setlocale.c: Fix typo.
698 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
700         [BZ #16036]
701         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
702         signaling NaN arguments.
703         * soft-fp/unordsf2.c (__unordsf2): Likewise.
704         * soft-fp/unordtf2.c (__unordtf2): Likewise.
706         [BZ #14910]
707         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
708         unordered operands.
709         * soft-fp/gesf2.c (__gesf2): Likewise.
710         * soft-fp/getf2.c (__getf2): Likewise.
711         * soft-fp/ledf2.c (__ledf2): Likewise.
712         * soft-fp/lesf2.c (__lesf2): Likewise.
713         * soft-fp/letf2.c (__letf2): Likewise.
715         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
716         * soft-fp/eqsf2.c (__eqsf2): Likewise.
717         * soft-fp/eqtf2.c (__eqtf2): Likewise.
718         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
719         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
720         * soft-fp/fixdfti.c (__fixdfti): Likewise.
721         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
722         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
723         * soft-fp/fixsfti.c (__fixsfti): Likewise.
724         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
725         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
726         * soft-fp/fixtfti.c (__fixtfti): Likewise.
727         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
728         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
729         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
730         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
731         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
732         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
733         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
734         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
735         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
736         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
737         * soft-fp/floatdisf.c (__floatdisf): Likewise.
738         * soft-fp/floatsisf.c (__floatsisf): Likewise.
739         * soft-fp/floattidf.c (__floattidf): Likewise.
740         * soft-fp/floattisf.c (__floattisf): Likewise.
741         * soft-fp/floattitf.c (__floattitf): Likewise.
742         * soft-fp/floatundidf.c (__floatundidf): Likewise.
743         * soft-fp/floatundisf.c (__floatundisf): Likewise.
744         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
745         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
746         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
747         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
748         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
749         * soft-fp/gesf2.c (__gesf2): Likewise.
750         * soft-fp/getf2.c (__getf2): Likewise.
751         * soft-fp/ledf2.c (__ledf2): Likewise.
752         * soft-fp/lesf2.c (__lesf2): Likewise.
753         * soft-fp/letf2.c (__letf2): Likewise.
755         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
756         Undefine and redefine.
757         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
758         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
759         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
760         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
761         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
762         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
763         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
764         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
765         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
766         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
767         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
768         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
769         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
770         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
771         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
773         [BZ #16032]
774         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
775         without decrementing exponent if mantissa >= that for the
776         denominator, not >.
777         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
778         denominator, not >.  Decrement exponent in < case instead of
779         incrementing in >= case.
780         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
781         without decrementing exponent if mantissa >= that for the
782         denominator, not >.
784         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
785         computing saturated result for unsigned overflow.
787 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
788             Jeff Law  <law@redhat.com>
790         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
791         (atan2Mp): Add systemtap probe marker.
792         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
793         (__ieee754_log): Add systemtap probe marker.
794         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
795         (atanMp): Add systemtap probe marker.
796         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
797         (tanMp): Add systemtap probe marker.
798         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
799         (__slowexp): Add systemtap probe marker.
800         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
801         (__slowpow): Add systemtap probe marker.
802         * manual/probes.texi: Document probes.
804 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
806         [BZ #15362]
807         * libio/fileops.c (_IO_new_file_write): Return count of bytes
808         written.
809         (_IO_new_file_xsputn): Don't return EOF if nothing has been
810         written.
811         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
812         written to buffer but not flushed.
813         * libio/iofwrite_u.c:  Likewise.
814         * libio/iopadn.c:  Return bytes returned even if EOF was
815         encountered.
816         * libio/iowpadn.c:  Likewise.
817         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
818         if _IO_padn does not write the whole buffer.
819         [!COMPILE_WPRINTF] (PAD): Likewise.
821 2013-10-10  David S. Miller  <davem@davemloft.net>
823         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
824         directory block.
826 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
828         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
829         instead of FSF address.
830         * soft-fp/fixdfti.c: Likewise.
831         * soft-fp/fixsfti.c: Likewise.
832         * soft-fp/fixtfti.c: Likewise.
833         * soft-fp/fixunsdfti.c: Likewise.
834         * soft-fp/fixunssfti.c: Likewise.
835         * soft-fp/fixunstfti.c: Likewise.
836         * soft-fp/floattidf.c: Likewise.
837         * soft-fp/floattisf.c: Likewise.
838         * soft-fp/floattitf.c: Likewise.
839         * soft-fp/floatuntidf.c: Likewise.
840         * soft-fp/floatuntisf.c: Likewise.
841         * soft-fp/floatuntitf.c: Likewise.
842         * soft-fp/trunctfxf2.c: Likewise.
844         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
845         * soft-fp/fixdfti.c: Likewise.
846         * soft-fp/fixsfti.c: Likewise.
847         * soft-fp/fixtfti.c: Likewise.
848         * soft-fp/fixunsdfti.c: Likewise.
849         * soft-fp/fixunssfti.c: Likewise.
850         * soft-fp/fixunstfti.c: Likewise.
851         * soft-fp/floattidf.c: Likewise.
852         * soft-fp/floattisf.c: Likewise.
853         * soft-fp/floattitf.c: Likewise.
854         * soft-fp/floatuntidf.c: Likewise.
855         * soft-fp/floatuntisf.c: Likewise.
856         * soft-fp/floatuntitf.c: Likewise.
857         * soft-fp/trunctfxf2.c: Likewise.
859 2013-10-10  David S. Miller  <davem@davemloft.net>
861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
863 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
865         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
866         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
867         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
868         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
869         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
870         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
871         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
873         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
874         for NaNs before doing comparisons on argument.
875         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
876         Likewise.
878 2013-10-10  Will Newton  <will.newton@linaro.org>
880         * malloc/hooks.c (memalign_check): Ensure the value of bytes
881         passed to _int_memalign does not overflow.
883 2013-10-10  Torvald Riegel  <triegel@redhat.com>
885         * scripts/bench.pl: Add include-sources directive.
886         * benchtests/README: Update documentation.
888 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
890         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
891         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
892         instead of FP_INIT_ROUNDMODE.
893         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
894         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
896         [BZ #16034]
897         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
898         copy class of input value.
899         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
900         not handle exceptions.
901         * soft-fp/negsf2.c (__negsf2): Likewise.
902         * soft-fp/negtf2.c (__negtf2): Likewise.
903         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
905 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
907         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
908         semicolon.  From Linux kernel.
910 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
912         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
914 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
916         [BZ #156]
917         * manual/socket.texi: Added statement about buffer
918         for gethostbyname2_r.
920 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
922         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
923         Use .p2align directive instead, throughout.
924         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
925         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
926         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
927         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
928         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
929         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
930         * sysdeps/x86_64/strchr.S: Likewise.
931         * sysdeps/x86_64/strrchr.S: Likewise.
933 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
935         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
937         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
939         * sysdeps/generic/math_private.h (__mpsin1): Remove
940         declaration.
941         (__mpcos1): Likewise.
942         (__mpsin): New argument __range_reduce.
943         (__mpcos): Likewise.
944         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
945         (slow): Use __mpsin and __mpcos.
946         (slow1): Likewise.
947         (slow2): Likewise.
948         (sloww): Likewise.
949         (sloww1): Likewise.
950         (sloww2): Likewise.
951         (bsloww): Likewise.
952         (bsloww1): Likewise.
953         (bsloww2): Likewise.
954         (cslow2): Likewise.
955         (csloww): Likewise.
956         (csloww1): Likewise.
957         (csloww2): Likewise.
958         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
959         range_reduce.  Merge in __mpsin1.
960         (__mpcos): Likewise.
961         (__mpsin1): Remove.
962         (__mpcos1): Likewise.
964 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
966         * locale/loadlocale.c (_nl_intern_locale_data): Use
967         LOCFILE_ALIGNED_P.
968         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
969         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
970         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
971         obstack data is appropriately aligned.
972         (obstack_int32_grow_fast): Likewise.
973         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
974         * locale/programs/locfile.c (add_locale_uint32): Likewise.
975         (add_locale_uint32_array): Likewise.
977 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
979         * benchtests/Makefile: Remove ARGLIST and RET variables.
980         ($(objpfx)bench-%.c): Pass only function name to the script.
981         * benchtests/README: Update documentation.
982         * benchtests/acos-inputs: Add new directives.
983         * benchtests/acosh-inputs: Likewise.
984         * benchtests/asin-inputs: Likewise.
985         * benchtests/asinh-inputs: Likewise.
986         * benchtests/atan-inputs: Likewise.
987         * benchtests/atanh-inputs: Likewise.
988         * benchtests/cos-inputs: Likewise.
989         * benchtests/cosh-inputs: Likewise.
990         * benchtests/exp-inputs: Likewise.
991         * benchtests/log-inputs: Likewise.
992         * benchtests/pow-inputs: Likewise.
993         * benchtests/rint-inputs: Likewise.
994         * benchtests/sin-inputs: Likewise.
995         * benchtests/sinh-inputs: Likewise.
996         * benchtests/tan-inputs: Likewise.
997         * benchtests/tanh-inputs: Likewise.
998         * scripts/bench.pl: Add support for new directives.
1000 2013-10-07  Alan Modra  <amodra@gmail.com>
1002         * README: Fix careless merge.
1004 2013-10-05  Alan Modra  <amodra@gmail.com>
1006         * NEWS: Mention powerpc64le support and bugs fixed.
1007         * README: Both big-endian and little-endian powerpc64 supported.
1009 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1011         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1012         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1013         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1014         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1016 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
1018         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1019         match prototype.
1021 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
1023         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1024         Move -mhard-float appending from
1025         ports/sysdeps/powerpc/powerpc32/Makefile.
1026         [$(with-fp) = yes] (ASFLAGS): Likewise.
1027         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1028         * sysdeps/powerpc/nofpu: Move directory from
1029         ports/sysdeps/powerpc/nofpu.
1030         * sysdeps/powerpc/soft-fp: Move directory from
1031         ports/sysdeps/powerpc/soft-fp.
1032         * sysdeps/powerpc/powerpc32/405: Move directory from
1033         ports/sysdeps/powerpc/powerpc32/405.
1034         * sysdeps/powerpc/powerpc32/440: Move directory from
1035         ports/sysdeps/powerpc/powerpc32/440.
1036         * sysdeps/powerpc/powerpc32/464: Move directory from
1037         ports/sysdeps/powerpc/powerpc32/464.
1038         * sysdeps/powerpc/powerpc32/476: Move directory from
1039         ports/sysdeps/powerpc/powerpc32/476.
1040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1041         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1043         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1045         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1047         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1049         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1050         * README: Update for powerpc-*-linux-gnu software floating point
1051         support in libc.
1053         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1054         case to powerpc/powerpc32*.
1055         * sysdeps/unix/sysv/linux/configure: Regenerated.
1057         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1058         (_FPU_MASK_OM): Define as 0x04.
1059         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1060         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1061         0x00c10080.
1062         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1063         0x0000003c.
1064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1067         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1068         getcontext_e500.
1069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1070         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1071         setcontext_e500.
1072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1073         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1074         and setcontext_e500.
1076 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
1078         * locale/iso-3166.def: Update iso-1366.def and related occurrences
1080 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1082         * manual/threads.texi (Default Thread Attributes): Fix typo.
1084 2013-10-04  Will Newton  <will.newton@linaro.org>
1086         * malloc/Makefile: Add tst-memalign.
1087         * malloc/tst-memalign.c: New file.
1089         * malloc/tst-posix_memalign.c: Add comments.
1090         (do_test): Add comments and call free on all potentially
1091         allocated pointers. Add space after cast.
1093         * malloc/tst-pvalloc.c: Add comments.
1094         (do_test): Add comments and call free on all potentially
1095         allocated pointers. Remove duplicate check for NULL pointer.
1096         Add space after cast.
1098         * malloc/tst-valloc.c: Add comments.
1099         (do_test): Add comments and call free on all potentially
1100         allocated pointers. Remove duplicate check for NULL pointer.
1101         Add space after cast.
1103 2013-10-04  Alan Modra  <amodra@gmail.com>
1105         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1106         Use stdint types in rather than __attribute__((mode())).
1107         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1109 2013-10-04  Alan Modra  <amodra@gmail.com>
1111         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1112         Correct handling of unaligned relocs for little-endian.
1113         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1115 2013-10-04  Alan Modra  <amodra@gmail.com>
1117         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1118         * configure: Regenerate.
1119         * nptl/shlib-versions: Powerpc*le starts at 2.18.
1120         * shlib-versions: Likewise.
1122 2013-10-04  Alan Modra  <amodra@gmail.com>
1124         * string/tester.c (test_memrchr): Increment reported test cycle.
1126 2013-10-04  Alan Modra  <amodra@gmail.com>
1128         * string/test-memcpy.c (do_one_test): When reporting errors, print
1129         string address and don't overrun end of string.
1131 2013-10-04  Alan Modra  <amodra@gmail.com>
1133         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1134         insrdi.  Make better use of reg selection to speed exit slightly.
1135         Schedule entry path a little better.  Remove useless "are we done"
1136         checks on entry to main loop.  Handle wrapping around zero address.
1137         Correct main loop count.  Handle single left-over word from main
1138         loop inline rather than by using loop_small.  Remove extra word
1139         case in loop_small caused by wrong loop count.  Add little-endian
1140         support.
1141         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1142         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
1143         cache hint.
1144         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1145         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1146         support.  Avoid rlwimi.
1147         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1149 2013-10-04  Alan Modra  <amodra@gmail.com>
1151         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1152         insrdi.  Formatting.
1153         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1154         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1155         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1156         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1157         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1158         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1160 2013-10-04  Alan Modra  <amodra@gmail.com>
1162         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1163         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1164         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1165         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1166         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1167         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1168         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1169         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1170         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
1171         use of regs.  Use power7 mtocrf.  Tidy function tails.
1173 2013-10-04  Alan Modra  <amodra@gmail.com>
1175         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1176         Formatting.  Consistently use rXXX register defines or rN defines.
1177         Use early exit labels that avoid restoring unused non-volatile regs.
1178         Make cr field use more consistent with rWORDn compares.  Rename
1179         regs used as shift registers for unaligned loop, using rN defines
1180         for short lifetime/multiple use regs.
1181         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1182         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
1183         addi 1,1,64 to pop stack frame.  Simplify return value code.
1184         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1186 2013-10-04  Alan Modra  <amodra@gmail.com>
1188         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1189         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
1190         rather than rlwimi.
1191         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1192         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1193         little-endian support.  Correct typos.
1194         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
1195         rather than rlwimi.
1196         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
1197         in loop and entry code to keep "and." results.
1198         (strchr): Add little-endian support.  Comment.  Move cntlzd
1199         earlier in tail.
1200         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1202 2013-10-04  Alan Modra  <amodra@gmail.com>
1204         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1205         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1206         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1207         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1209 2013-10-04  Alan Modra  <amodra@gmail.com>
1211         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1212         (rTMP): Define as r11.
1213         (strcmp): Add little-endian support.  Optimise tail.
1214         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1215         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1216         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1217         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1218         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1219         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1220         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1222 2013-10-04  Alan Modra  <amodra@gmail.com>
1224         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1225         little-endian support.  Remove unnecessary "are we done" tests.
1226         Handle "s" wrapping around zero and extremely large "size".
1227         Correct main loop count.  Handle single left-over word from main
1228         loop inline rather than by using small_loop.  Correct comments.
1229         Delete "zero" tail, use "end_max" instead.
1230         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1232 2013-10-04  Alan Modra  <amodra@gmail.com>
1234         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1235         support.  Don't branch over align.
1236         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1237         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1238         support.  Rearrange tmp reg use to suit.  Comment.
1239         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1241 2013-10-04  Alan Modra  <amodra@gmail.com>
1243         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1245 2013-10-04  Alan Modra  <amodra@gmail.com>
1247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1248         conditional form of branch and link when obtaining pc.
1249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1251 2013-10-04  Alan Modra  <amodra@gmail.com>
1253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1254         HIWORD/LOWORD.
1255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1258 2013-10-04  Alan Modra  <amodra@gmail.com>
1260         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1261         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1262         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1263         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1264         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1265         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1266         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1267         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1268         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1269         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1271 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1272             Alistair Popple <alistair@ozlabs.au.ibm.com>
1273             Alan Modra <amodra@gmail.com>
1275         [BZ #15723]
1276         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1277         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1278         _dl_hwcap access for little-endian.
1279         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
1280         destroy vmx regs when saving unaligned.
1281         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1282         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
1283         destroy vmx regs when saving unaligned.
1285 2013-10-04  Alan Modra  <amodra@gmail.com>
1287         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1288         Don't use a union to pack hi/low value.
1290 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1292         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1293         for little-endian.
1294         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1295         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1296         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1297         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1298         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1300 2013-10-04  Alan Modra  <amodra@gmail.com>
1302         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1303         constants to usual value for .cst8 section, and remove redundant
1304         high address load.
1305         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1306         constant for 0x1p52.  Load little-endian words of double from
1307         correct stack offsets.
1309 2013-10-04  Alan Modra  <amodra@gmail.com>
1311         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1312         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1313         words of double from correct stack offsets.
1314         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1315         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1316         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1317         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1318         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1319         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1320         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1321         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1322         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1323         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1324         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1325         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1326         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1327         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1328         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1329         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1330         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1332 2013-10-04  Alan Modra  <amodra@gmail.com>
1334         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1335         64-bit int/double union.
1336         (_FPU_SETCW): Likewise.
1337         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1338         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1340 2013-10-04  Alan Modra  <amodra@gmail.com>
1342         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1343         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1345 2013-10-04  Alan Modra  <amodra@gmail.com>
1347         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1348         use vector int constants.
1349         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1351 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1353         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1354         array with long long.
1355         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1356         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1357         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1358         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1359         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1360         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1361         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1362         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1363         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1364         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1365         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1366         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1367         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1369 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1371         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1372         (__signbit): Likewise.  Correct for little-endian.
1373         (__signbitl): Call __signbit.
1374         (lrint): Correct for little-endian.
1375         (lrintf): Call lrint.
1377 2013-10-04  Alan Modra  <amodra@gmail.com>
1379         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1380         union 32-bit int array member with 64-bit int array.
1381         (t515, tm256): Double rather than long double.
1382         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1384 2013-10-04  Alan Modra  <amodra@gmail.com>
1386         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1387         Delete.
1388         (IEEE854_LONG_DOUBLE_BIAS): Delete.
1389         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1390         version of math_ldbl.h.
1392 2013-10-04  Alan Modra  <amodra@gmail.com>
1394         [BZ #15734], [BZ #15735]
1395         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1396         all uses of ieee875 long double macros and unions.  Simplify test
1397         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
1398         ldbl_extract_mantissa value for ix,iy exponents.  Properly
1399         normalize after ldbl_extract_mantissa, and don't add hidden bit
1400         already handled.  Don't treat low word of ieee854 mantissa like
1401         low word of IBM long double and mask off bit when testing for
1402         zero.
1403         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1404         all uses of ieee875 long double macros and unions.  Simplify tests
1405         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
1406         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
1407         two1022, instead use their values.  Recognise that tests for large
1408         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
1409         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1410         Rewrite all uses of ieee875 long double macros and unions.  Simplify
1411         test for 0.0L and nan.  Correct negation.
1412         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1413         ieee875 long double macros and unions.  Correct output for large
1414         magnitude x.  Correct absolute value calculation.
1415         (__erfcl): Likewise.
1416         * math/libm-test.inc: Add tests for errors discovered in IBM long
1417         double versions of fmodl, remainderl, erfl and erfcl.
1419 2013-10-04  Alan Modra  <amodra@gmail.com>
1421         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1422         all uses of ieee854 long double macros and unions.  Simplify tests
1423         for long doubles that are fully specified by the high double.
1424         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1425         Likewise.
1426         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1427         Remove dead code too.
1428         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1429         (__ieee754_ynl): Likewise.
1430         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1431         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1432         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1433         Remove dead code too.
1434         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1435         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1436         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1437         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1438         Simplify.
1439         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1440         Simplify.
1441         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1442         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1443         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1444         Comment on variable precision.
1445         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1446         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1447         Likewise.
1448         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1449         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1450         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1451         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1452         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1454 2013-10-04  Alan Modra  <amodra@gmail.com>
1456         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1457         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1458         all uses of ieee854 long double macros and unions.
1459         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1460         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1461         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1462         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1463         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1464         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1465         Likewise.
1466         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1467         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1468         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1469         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1470         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1471         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1472         Simplify sign and nan test too.
1473         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1474         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1475         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1476         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1477         Likewise.
1478         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1479         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1480         Likewise.
1481         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1482         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1483         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1484         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1485         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1486         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1488 2013-10-04  Alan Modra  <amodra@gmail.com>
1490         * stdio-common/printf_size.c (__printf_size): Don't use
1491         union ieee854_long_double in fpnum union.
1492         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
1493         signbit macro to retrieve sign from long double.
1494         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1495         retrieve sign from long double.
1496         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1497         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1498         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1499         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1500         * math/test-misc.c (main): Don't use union ieee854_long_double.
1502 2013-10-04  Alan Modra  <amodra@gmail.com>
1504         [BZ #15680]
1505         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1506         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1507         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1508         calculation.  Remove unnecessary test for denormal exponent.
1509         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1510         Correct handling of denormals.  Avoid undefined shift behaviour.
1511         Correct normalisation of low mantissa when low double is denormal.
1512         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1513         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
1514         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1515         Correct normalisation of low mantissa.  Test for overflow of high
1516         mantissa and normalise.
1517         (ldbl_nearbyint): Use more readable constant for two52.
1518         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1519         (__mpn_construct_long_double): Fix test for overflow of high
1520         mantissa and correct normalisation.  Avoid undefined shift.
1522 2013-10-04  Alan Modra  <amodra@gmail.com>
1524         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1525         (union ibm_extended_long_double): Define as an array of ieee754_double.
1526         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1527         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1528         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1529         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1530         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1531         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1532         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1533         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1534         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1535         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1536         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1538 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
1540         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1541         page size instead of calling getpagesize.
1543         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1544         (LOCFILE_ALIGN_MASK): Likewise.
1545         (LOCFILE_ALIGN_UP): Likewise.
1546         (LOCFILE_ALIGNED_P): Likewise.
1547         * locale/programs/ld-collate.c (collate_output): Use the new
1548         macros instead of __alignof__ (int32_t).
1549         * locale/weight.h (findidx): Likewise.
1551 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
1553         [BZ #431]
1554         * manual/string.texi: Fix strncat and wcsncat.
1556 2013-10-03  Brooks Moses  <bmoses@google.com>
1558         [BZ #15915]
1559         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1560         * Makerules: ...here, and adjust associated comments.
1562 2013-10-02  Will Newton  <will.newton@linaro.org>
1564         * malloc/Makefile: Add tst-pvalloc.
1565         * malloc/tst-pvalloc.c: New file.
1567 2013-10-02  Will Newton  <will.newton@linaro.org>
1569         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1570         improve test coverage.
1572 2013-10-02  Will Newton  <will.newton@linaro.org>
1574         * malloc/Makefile: Add tst-posix_memalign.
1575         * malloc/tst-posix_memalign.c: New file.
1577 2013-10-01  Eric Blake  <eblake@redhat.com>
1579         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1580         Use __THROWNL rather than __THROW on static functions.
1582 2013-09-30  Petr Machata  <pmachata@redhat.com>
1584         * elf/elf.h (R_AARCH64_ABS16): New macro.
1585         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1586         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1587         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1588         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1589         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1590         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1591         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1592         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1593         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1594         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1595         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1596         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1597         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1598         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1599         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1600         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1601         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1602         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1603         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1604         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1605         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1606         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1607         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1608         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1609         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1610         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1611         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1612         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1613         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1614         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1615         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1616         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1617         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1618         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1619         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1620         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1621         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1622         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1623         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1624         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1625         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1626         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1627         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1628         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1629         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1630         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1631         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1632         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1633         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1634         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1635         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1636         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1637         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1638         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1639         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1640         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1641         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1642         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1643         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1644         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1645         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1646         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1647         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1648         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1649         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1650         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1651         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1652         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1653         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1654         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1655         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1656         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1657         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1658         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1659         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1660         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1661         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1662         (R_AARCH64_TLSDESC_LDR): Likewise.
1663         (R_AARCH64_TLSDESC_ADD): Likewise.
1664         (R_AARCH64_TLSDESC_CALL): Likewise.
1666 2013-09-30  Andreas Schwab  <schwab@suse.de>
1668         [BZ #15048]
1669         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1670         the nss database lookup.
1671         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1674 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
1676         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1678 2013-09-28  P. J. McDermott  <pj@pehjota.net>
1680         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1681         ${Bash-specific parameter/pattern/string} parameter expansion.
1682         * sysdeps/unix/make-syscalls.sh: Likewise.
1684 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1686         * sysdeps/sh/stackguard-macros.h: New file.
1688 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
1690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1691         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1692         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1693         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1694         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1695         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1697 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1699         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1700         Fix thread ID register.
1702 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
1704         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1705         [POSIX || UNIX98]: Require rather than permitting all symbols from
1706         <time.h>.
1707         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1708         element of struct sched_param.
1709         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1710         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1711         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1712         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1713         constant.
1715 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
1717         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1718         argument calculation.
1720 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1722         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1723         Expect macro.
1724         [POSIX] (pthread_attr_t): Do not require type.
1725         [POSIX] (pthread_cond_t): Likewise.
1726         [POSIX] (pthread_condattr_t): Likewise.
1727         [POSIX] (pthread_key_t): Likewise.
1728         [POSIX] (pthread_mutex_t): Likewise.
1729         [POSIX] (pthread_mutexattr_t): Likewise.
1730         [POSIX] (pthread_once_t): Likewise.
1731         [POSIX] (pthread_t): Likewise.
1732         [POSIX-based standards] (pthread_atfork): Expect function.
1734 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1735             Richard Sandiford  <richard@codesourcery.com>
1737         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1738         (swap_endianness_p): New extern variable.
1739         (set_big_endian): New inline function.
1740         (maybe_swap_uint32): Likewise.
1741         (maybe_swap_uint32_array): Likewise.
1742         (maybe_swap_uint32_obstack): Likewise.
1743         * locale/programs/locfile.c: Include <stdbool.h>.
1744         (swap_endianness_p): New variable.
1745         (add_locale_uint32): Call maybe_swap_uint32.
1746         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1747         (write_locale_data): Call maybe_swap_uint32_array.
1748         * locale/programs/ld-collate.c (obstack_int32_grow): Call
1749         maybe_swap_uint32.
1750         (obstack_int32_grow_fast): Likewise.
1751         (output_weightwc): Call maybe_swap_uint32_obstack.
1752         (collate_output): Likewise.
1753         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1754         (OPT_LITTLE_ENDIAN): Likewise.
1755         (options): Add --little-endian and --big-endian options.
1756         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1757         * locale/programs/locarchive.c: Include "locfile.h".
1758         (GET): New macro.
1759         (SET): Likewise.
1760         (INC): Likewise.
1761         (create_archive): Use the new macros to access fields of
1762         structures directly mapped from or written to locale archives.
1763         (oldlocrecentcmp): Likewise.
1764         (enlarge_archive): Likewise.
1765         (insert_name): Likewise.
1766         (add_alias): Likewise.
1767         (add_locale): Likewise.
1768         (delete_locales_from_archive): Likewise.
1769         (show_archive_content): Likewise.
1770         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
1771         locale data.
1773 2013-09-24  Roland McGrath  <roland@hack.frob.com>
1775         * manual/freemanuals.texi: Updated from (newly) canonical copy at
1776         http://www.gnu.org/doc/freemanuals.texi.
1777         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1779 2013-09-24  Will Newton  <will.newton@linaro.org>
1781         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1782         macro.
1784 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
1786         * locale/hashval.h (compute_hashval): Interpret bytes of key as
1787         unsigned char.
1789 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
1791         * manual/threads.texi (POSIX Threads): Fix a typo.
1793 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1795         [BZ #14547]
1796         * string/tst-strcoll-overflow.c: New test case.
1797         * string/Makefile (xtests): Add tst-strcoll-overflow.
1798         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1799         cache if string sizes may cause integer overflow.
1801         [BZ #14547]
1802         * string/strcoll_l.c (coll_seq): New members rule, idx,
1803         save_idx and back_us.
1804         (get_next_seq_nocache): New function.
1805         (do_compare_nocache): New function.
1806         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1807         when malloc fails.
1809 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
1811         [BZ #15754]
1812         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1813         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1814         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1816         [BZ #15754]
1817         * elf/Makefile (tests): Add tst-ptrguard1.
1818         (tests-static): Add tst-ptrguard1-static.
1819         (tst-ptrguard1-ARGS): Define.
1820         (tst-ptrguard1-static-ARGS): Define.
1821         * elf/tst-ptrguard1.c: New file.
1822         * elf/tst-ptrguard1-static.c: New file.
1823         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1824         * sysdeps/i386/stackguard-macros.h: Likewise.
1825         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1826         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1827         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1828         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1829         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1830         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1832 2013-09-23  Hector Marco  <hecmargi@upv.es>
1833             Ismael Ripoll  <iripoll@disca.upv.es>
1834             Carlos O'Donell  <carlos@redhat.com>
1836         [BZ #15754]
1837         * sysdeps/generic/stackguard-macros.h: Define
1838         __pointer_chk_guard_local and POINTER_CHK_GUARD.
1839         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1840         Define __pointer_chk_guard_local.
1841         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1842         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1844 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
1846         [BZ #15859]
1847         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1849 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
1851         * include/string.h (__ffs): Declare as hidden.
1852         * string/ffs.c (__ffs): Define as hidden.
1853         * sysdeps/i386/ffs.c (__ffs): Likewise.
1854         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1855         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1856         * sysdeps/s390/ffs.c (__ffs): Likewise.
1857         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1859 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
1861         * NEWS: Mention malloc probes.
1863         * malloc/arena.c (new_heap): New memory_heap_new probe.
1864         (grow_heap): New memory_heap_more probe.
1865         (shrink_heap): New memory_heap_less probe.
1866         (heap_trim): New memory_heap_free probe.
1867         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1868         (systrim): New memory_sbrk_less probe.
1869         * manual/probes.texi: Document them.
1871         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1872         * manual/probes.texi: Document it.
1874         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1875         (__libc_realloc): Add memory_realloc_retry probe.
1876         (__libc_memalign): Add memory_memalign_retry probe.
1877         (__libc_valloc): Add memory_valloc_retry probe.
1878         (__libc_pvalloc): Add memory_pvalloc_retry probe.
1879         (__libc_calloc): Add memory_calloc_retry probe.
1880         * manual/probes.texi: Document them.
1882         * malloc/arena.c (get_free_list): Add probe
1883         memory_arena_reuse_free_list.
1884         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1885         and memory_arena_reuse.
1886         (arena_get2) [!PER_THREAD]: Likewise.
1887         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1888         memory_arena_reuse_realloc.
1889         * manual/probes.texi: Document them.
1891         * malloc/malloc.c (__libc_free): Add
1892         memory_mallopt_free_dyn_thresholds probe.
1893         (__libc_mallopt): Add multiple memory_mallopt probes.
1894         * manual/probes.texi: Document them.
1896         * malloc/malloc.c: Include stap-probe.h.
1897         (__libc_mallopt): Add memory_mallopt probe.
1898         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1899         * manual/probes.texi: New.
1900         * manual/Makefile (chapters): Add probes.
1901         * manual/threads.texi: Set next node.
1903 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
1905         [BZ #15963, #13985]
1906         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1907         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1908         Add `Chinese' to `nan' entry name.
1910 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1912         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1913         (POLYNOMIAL): Likewise.
1914         (TAYLOR_SINCOS): Likewise.
1915         (TAYLOR_SLOW): Likewise.
1916         (__sin): Use TAYLOR_SINCOS.
1917         (__cos): Likewise.
1918         (slow): Use TAYLOR_SLOW.
1919         (sloww): Likewise.
1920         (bsloww): Likewise.
1921         (csloww): Likewise.
1923 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1925         * stdlib/strtod_l.c: Fix buffer overrun.
1927 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1929         * benchtests/Makefile (bench): Add sincos.
1930         * benchtests/bench-sincos.c: New file.
1932         * math/libm-test.inc (cos_test_data): New test inputs.
1933         (sin_test_data): Likewise.
1935         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1936         macro.
1937         (__sin): Use it.
1938         (__cos): Likewise.
1939         (slow1): Likewise.
1940         (slow2): Likewise.
1941         (sloww1): Likewise.
1942         (sloww2): Likewise.
1943         (bsloww1): Likewise.
1944         (bsloww2): Likewise.
1945         (cslow2): Likewise.
1946         (csloww1): Likewise.
1947         (csloww2): Likewise.
1949         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1950         function.
1951         (__sin): Use it.
1952         (__cos): Likewise.
1954         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1955         gotos.
1956         (__cos): Likewise.
1958 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
1960         * config.h.in (HAVE_MIPS_NAN2008): New macro.
1961         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1962         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1963         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1964         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1965         * elf/cache.c (print_entry): Handle the new cache flags.
1967 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1968             Aldy Hernandez  <aldyh@redhat.com>
1970         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1971         Change condition to [_SOFT_FLOAT].
1972         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1973         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1974         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1975         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1976         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1977         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1978         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1979         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1980         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1981         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1982         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1983         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1984         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1985         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1986         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1987         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1988         declaration.
1990 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1992         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1993         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1994         (__longjmp): Use LOAD_GP to load saved GPRs.
1995         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1996         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1997         (__sigsetjmp): Use SAVE_GP to save GPRs.
1999         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2000         Do not append -msoft-float.
2001         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2003 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2005         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2007 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
2009         [BZ #15966]
2010         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2011         (_FPU_GETCW): Use initial "__" on variable and field names but not
2012         on macro parameter name.
2013         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
2014         parentheses around reference to macro parameter.
2016 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
2018         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2019         prototype.
2020         (ctype_startup): Use uint32_t in cast and sizeof for
2021         ctype->charnames.
2023 2013-09-11  Jia Liu  <proljc@gmail.com>
2025         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2026         __daddr_t_defined.
2027         [__FreeBSD__]: Likewise.
2029 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
2031         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2032         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2033         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2034         (strchr): Remove __strchr_sse42 ifunc selection.
2035         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2036         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2038 2013-09-11  Will Newton  <will.newton@linaro.org>
2040         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2041         parameter to RES. Remove hardcoded 1000 value.
2042         * benchtests/bench-skeleton.c (main): Pass RES parameter
2043         to TIMING_INIT and multiply result by 1000.
2045 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2049 2013-09-11  Andreas Schwab  <schwab@suse.de>
2051         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2052         if not defined.
2053         (O_TMPFILE) [__USE_GNU]: Define.
2054         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2055         Define.
2057 2013-09-11  Will Newton  <will.newton@linaro.org>
2059         [BZ #15857]
2060         * malloc/malloc.c (__libc_memalign): Check the value of bytes
2061         does not overflow.
2063 2013-09-11  Will Newton  <will.newton@linaro.org>
2065         [BZ #15856]
2066         * malloc/malloc.c (__libc_valloc): Check the value of bytes
2067         does not overflow.
2069 2013-09-11  Will Newton  <will.newton@linaro.org>
2071         [BZ #15855]
2072         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2073         does not overflow.
2075 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
2077         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2078         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2079         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2080         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2081         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2083 2013-09-10  Allan McRae  <allan@archlinux.org>
2085         [BZ #15748]
2086         * manual/arith.texi (Parsing of Floats): Clarify
2087         cross-reference.
2089         [BZ #15849]
2090         * manual/install.texi (Running make install): Mention
2091         --enable-pt-chown.
2092         * INSTALL: Regenerated.
2094 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2096         * csu/init-first.c (_init): Remove the !SHARED condition around
2097         FPU control word initialization.
2098         * elf/dl-support.c (_dl_fpu_control): New variable.
2099         (_dl_aux_init) <AT_FPUCW>: Initialize it.
2100         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2101         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2102         * math/test-fpucw-static.c: New file.
2103         * math/test-fpucw-ieee.c: New file.
2104         * math/test-fpucw-ieee-static.c: New file.
2105         * math/Makefile (tests): Add `test-fpucw-ieee' and
2106         `$(tests-static)'.
2107         (tests-static): New variable.
2108         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2109         dependency to...
2110         [($(build-shared),yes)]
2111         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2112         ... this.
2113         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2114         New dependency.
2116 2013-09-09  Allan McRae  <allan@archlinux.org>
2118         [BZ #15939]
2119         * manual/string.texi (Collation Functions): Fix typo in
2120         strcoll example.
2121         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2123         [BZ #15893]
2124         * stdlib/isomac.c (get_null_defines): Fix memory leak.
2126         [BZ #15892]
2127         * libio/memstream.c (open_memstream): Fix memory leak.
2128         * libio/wmemstream.c (open_wmemstream): Likewise.
2130         [BZ #15895]
2131         * nscd/netgroupcache.c: Fix nesting of ifdefs.
2133 2013-09-09  Will Newton  <will.newton@linaro.org>
2135         * malloc/Makefile: Add tst-realloc to tests.
2136         * malloc/tst-realloc.c: New file.
2138 2013-09-09  Allan McRae  <allan@archlinux.org>
2140         [BZ #15844]
2141         * COPYING: Update from GNU website to fix FSF address.
2142         * COPYING.LIB: Likewise.
2144 2013-09-06  David S. Miller  <davem@davemloft.net>
2146         * po/zh_TW.po: Update Chinese (traditional) translation from
2147         translation project.
2149 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
2150             Joseph Myers  <joseph@codesourcery.com>
2152         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2153         "localeinfo.h".
2154         (obstack_chunk_alloc): New macro.
2155         (obstack_chunk_free): Likewise.
2156         (record_offset): New function.
2157         (init_locale_data): Likewise.
2158         (align_locale_data): Likewise.
2159         (add_locale_empty): Likewise.
2160         (add_locale_raw_data): Likewise.
2161         (add_locale_raw_obstack): Likewise.
2162         (add_locale_string): Likewise.
2163         (add_locale_wstring): Likewise.
2164         (add_locale_uint32): Likewise.
2165         (add_locale_uint32_array): Likewise.
2166         (add_locale_char): Likewise.
2167         (start_locale_structure): Likewise.
2168         (end_locale_structure): Likewise.
2169         (start_locale_prelude): Likewise.
2170         (end_locale_prelude): Likewise.
2171         (write_locale_data): Take locale_file structure rather than an
2172         iovec.
2173         * locale/programs/locfile.h: Include "obstack.h".
2174         (struct locale_file): Change to store locale file contents instead
2175         of header.
2176         (init_locale_data): New prototype.
2177         (align_locale_data): Likewise.
2178         (add_locale_empty): Likewise.
2179         (add_locale_raw_data): Likewise.
2180         (add_locale_raw_obstack): Likewise.
2181         (add_locale_string): Likewise.
2182         (add_locale_wstring): Likewise.
2183         (add_locale_uint32): Likewise.
2184         (add_locale_uint32_array): Likewise.
2185         (add_locale_char): Likewise.
2186         (start_locale_structure): Likewise.
2187         (end_locale_structure): Likewise.
2188         (start_locale_prelude): Likewise.
2189         (end_locale_prelude): Likewise.
2190         (write_locale_data): Update prototype.
2191         * locale/programs/3level.h (struct TABLE): Remove result field.
2192         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2193         Use new locale_file interface.
2194         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2195         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2196         * locale/programs/ld-address.c (address_output): Use new
2197         locale_file interface.
2198         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2199         NO_ADD_LOCALE.
2200         (collate_finish): Don't call collseq_table_finalize.
2201         (collate_output): Use new locale_file interface.
2202         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2203         in file.
2204         (NO_FINALIZE): Change to NO_ADD_LOCALE.
2205         (TABLE): Move defines earlier in file.
2206         (ELEMENT): Likewise.
2207         (DEFAULT): Likewise.
2208         (wctrans_table_add): Move macro and inline function earlier in
2209         file.
2210         (struct wctype_table): Move type earlier in file.
2211         (add_locale_wctype_table): New static prototype.
2212         (struct locale_ctype_t): Use logical types instead of struct iovec
2213         pointers for members.
2214         (ctype_output): Use new locale_file interface.
2215         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
2216         new locale_file interface.
2217         (allocate_arrays): Update for use of new locale_file interface.
2218         * locale/programs/ld-identification.c (identification_output): Use
2219         new locale_file interface.
2220         * locale/programs/ld-measurement.c (measurement_output): Likewise.
2221         * locale/programs/ld-messages.c (messages_output): Likewise.
2222         * locale/programs/ld-monetary.c (monetary_output): Likewise.
2223         * locale/programs/ld-name.c (name_output): Likewise.
2224         * locale/programs/ld-numeric.c (numeric_output): Likewise.
2225         * locale/programs/ld-paper.c (paper_output): Likewise.
2226         * locale/programs/ld-telephone.c (telephone_output): Likewise.
2227         * locale/programs/ld-time.c (time_output): Likewise.
2229 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2231         * benchtests/Makefile: Add memrchr benchmark.
2232         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2233         benchmark as memrchr.
2234         * benchtests/bench-memrchr-ifunc.c: New file.
2235         * benchtests/bench-memrchr.c: New file.
2237 2013-09-06   Will Newton  <will.newton@linaro.org>
2239         * benchtests/Makefile (string-bench): Add memcpy.
2241 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
2242             Cong Wang  <amwang@redhat.com>
2244         * sysdeps/unix/sysv/linux/bits/in.h
2245         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2246         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2247         before __USE_KERNEL_IPV6_DEFS uses.
2248         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2249         IPPROTO_BEETPH.
2250         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2251         sockaddr_in6, or ipv6_mreq.
2253 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2255         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2256         memory access for final bytes in some large inputs.
2257         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2259 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2261         * string/test-memrchr.c: New file.
2262         * string/test-memrchr-ifunc.c: New file.
2263         * string/Makefile: Add new memrchr testcase.
2265 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
2267         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2268         fanotify_init returns EPERM.
2270 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2272         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2273         errors.
2274         (top level): Treat second token from macro or constant entries for
2275         allowed headers as allowed.
2276         * include/complex.h: Condition internal declarations on
2277         [!_ISOMAC].
2278         * include/fenv.h: Condition include of <stdbool.h> and internal
2279         declarations on [!_ISOMAC].
2281 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
2283         [BZ #15923]
2284         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2286 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2288         * configure.in (--enable-versioning): Remove configure option.
2289         (libc_cv_asm_symver_directive): Remove configure test.
2290         (libc_cv_ld_version_script_option): Likewise.
2291         (VERSIONING): Remove variable and AC_SUBST.
2292         (DO_VERSIONING): Remove AC_DEFINE.
2293         * configure: Regenerated.
2294         * config.h.in (DO_VERSIONING): Remove macro.
2295         * Makerules [$(versioning) = yes]: Change conditionals to
2296         [$(build-shared) = yes].
2297         * config.make.in (versioning): Remove variable.
2298         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2299         [$(build-shared) = yes].
2300         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2301         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2302         * elf/Makefile [$(versioning) = yes]: Change conditionals to
2303         [$(build-shared) = yes].
2304         * extra-lib.mk [$(versioning) = yes]: Likewise.
2305         * hurd/Makefile [$(versioning) = yes]: Likewise.
2306         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2307         [SHARED].
2308         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2309         [SHARED].
2310         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2311         [SHARED && !NO_HIDDEN].
2312         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2313         [SHARED].
2314         [SHARED && DO_VERSIONING]: Likewise..
2315         * libio/Makefile [$(versioning) = yes]: Change conditionals to
2316         [$(build-shared) = yes].
2317         * manual/install.texi (--disable-versioning): Remove
2318         documentation.
2319         * INSTALL: Regenerated.
2320         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2321         to [SHARED].
2322         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2323         [$(build-shared) = yes].
2324         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2325         * sysdeps/i386/i686/multiarch/strstr-c.c
2326         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2327         [SHARED && !NO_HIDDEN].
2328         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2329         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2330         * sysdeps/powerpc/powerpc32/dl-machine.c
2331         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2332         * sysdeps/powerpc/powerpc32/sysdep.h
2333         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2334         to [SHARED && PIC && !NO_HIDDEN].
2335         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2336         conditional to [SHARED].
2338 2013-09-04   Will Newton  <will.newton@linaro.org>
2340         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2341         * benchtests/bench-string.h: Include bench-timing.h instead
2342         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2343         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2344         call to HP_TIMING_DIFF_INIT.
2345         * benchtests/bench-memccpy.c: Use bench-timing.h macros
2346         instead of hp-timing.h macros.
2347         * benchtests/bench-memchr.c: Likewise.
2348         * benchtests/bench-memcmp.c: Likewise.
2349         * benchtests/bench-memcpy.c: Likewise.
2350         * benchtests/bench-memmem.c: Likewise.
2351         * benchtests/bench-memmove.c: Likewise.
2352         * benchtests/bench-memset.c: Likewise.
2353         * benchtests/bench-rawmemchr.c: Likewise.
2354         * benchtests/bench-strcasecmp.c: Likewise.
2355         * benchtests/bench-strcasestr.c: Likewise.
2356         * benchtests/bench-strcat.c: Likewise.
2357         * benchtests/bench-strchr.c: Likewise.
2358         * benchtests/bench-strcmp.c: Likewise.
2359         * benchtests/bench-strcpy.c: Likewise.
2360         * benchtests/bench-strcpy_chk.c: Likewise.
2361         * benchtests/bench-strlen.c: Likewise.
2362         * benchtests/bench-strncasecmp.c: Likewise.
2363         * benchtests/bench-strncat.c: Likewise.
2364         * benchtests/bench-strncmp.c: Likewise.
2365         * benchtests/bench-strncpy.c: Likewise.
2366         * benchtests/bench-strnlen.c: Likewise.
2367         * benchtests/bench-strpbrk.c: Likewise.
2368         * benchtests/bench-strrchr.c: Likewise.
2369         * benchtests/bench-strspn.c: Likewise.
2370         * benchtests/bench-strstr.c: Likewise.
2372 2013-09-04  Will Newton  <will.newton@linaro.org>
2374         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2376 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
2378         [BZ #15427]
2379         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2380         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2381         * math/libm-test.inc (lgamma_test_data): Add more tests.
2382         * sysdeps/i386/fpu/libm-test-ulps: Update.
2383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2385 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
2387         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2388         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2389         Add ifunc.
2390         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2391         Add strcmp-sse2-unaligned
2392         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2394 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2396         * Versions.def (libc): Add GLIBC_2.19.
2398 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2400         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2401         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2403 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
2405         [BZ #14155]
2406         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2407         intermediate calculations in recurrence.
2408         (__ieee754_ynf): Likewise.
2409         * math/libm-test.inc (jn_test_data): Do not allow spurious
2410         underflow exception.  Add more tests.
2411         (yn_test_data): Add more tests.
2412         * sysdeps/i386/fpu/libm-test-ulps: Update.
2413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2415 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
2417         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2419 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2421         * csu/init-first.c: Fix then/than typos.
2422         * locale/programs/ld-collate.c: Likewise.
2423         * locale/programs/linereader.h: Likewise.
2424         * manual/charset.texi: Likewise.
2425         * manual/filesys.texi: Likewise.
2426         * manual/stdio.texi: Likewise.
2427         * manual/string.texi: Likewise.
2428         * stdlib/fmtmsg.c: Likewise.
2429         * sysdeps/i386/stpncpy.S: Likewise.
2430         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2431         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2432         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2433         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2435 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2437         * elf/dl-open.c: Fix typos.
2438         * iconvdata/gbbig5.c: Likewise.
2439         * iconvdata/iso-2022-jp.c: Likewise.
2440         * iconv/gconv_int.h: Likewise.
2441         * iconv/loop.c: Likewise.
2442         * nis/rpcsvc/nis.h: Likewise.
2443         * resolv/ns_name.c: Likewise.
2444         * stdio-common/vfscanf.c: Likewise.
2445         * streams/stropts.h: Likewise.
2446         * sunrpc/rpc_thread.c: Likewise.
2447         * sysdeps/i386/strpbrk.S: Likewise.
2448         * sysdeps/ieee754/k_standard.c: Likewise.
2449         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2450         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2451         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2452         * sysdeps/mach/hurd/profil.c: Likewise.
2453         * sysdeps/s390/dl-procinfo.h: Likewise.
2454         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2455         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2456         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2457         * sysdeps/x86_64/dl-trampoline.S: Likewise.
2458         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2460 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
2462         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2463         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2465 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
2467         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2468         aix specific files.
2469         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2470         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2471         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2472         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2473         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2474         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2475         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2476         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2478 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2479             Roland McGrath  <roland@hack.frob.com>
2481         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2482         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2484 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2486         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2487         __executable_start symbol instead of _start.
2489 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2491         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2492         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2493         Move macros to...
2494         * sysdeps/gnu/ldsodefs.h: ... this new file.
2496         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2497         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2498         instead of ELFOSABI_LINUX.
2500         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2501         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2502         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2503         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2504         Likewise.
2505         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2506         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2507         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2508         Likewise.
2509         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2510         (ibm_extended_long_double): Add ieee_nan member.
2511         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2512         (do_test): New function.
2514         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2515         TEST_TRUNC.
2516         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2517         functions, renamed from truncdfsf_test, trunctfsf_test,
2518         trunctfdf_test.
2519         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2520         functions.
2521         (do_test): Run all these.
2523 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
2525         * argp/argp-help.c: Fix typos.
2526         * argp/argp-parse.c: Likewise.
2527         * debug/backtracesyms.c: Likewise.
2528         * elf/elf.h: Likewise.
2529         * malloc/malloc.c: Likewise.
2530         * nis/nis_print.c: Likewise.
2531         * resolv/res_comp.c: Likewise.
2532         * stdlib/stdlib.h: Likewise.
2533         * sunrpc/clnt_tcp.c: Likewise.
2534         * sunrpc/clnt_udp.c: Likewise.
2535         * sunrpc/clnt_unix.c: Likewise.
2536         * sysdeps/unix/bsd/ptsname.c: Likewise.
2537         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2538         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2540         Likewise.
2541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2542         Likewise.
2543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2544         Likewise.
2545         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2547 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2549         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2550         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2552 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
2554         [BZ #15897]
2555         * dlfcn/Makefile (tests): Add bug-dl-leaf.
2556         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2557         ($(objpfx)bug-dl-leaf): New rule.
2558         ($(objpfx)bug-dl-leaf.so): Likewise.
2559         ($(objpfx)bug-dl-leaf.out): Likewise.
2560         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2561         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2562         * dlfcn/bug-dl-leaf.c: New test.
2563         * dlfcn/bug-dl-leaf-lib.c: Likewise.
2564         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2565         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2566         (dlclose): Likewise.
2567         (dlmopen): Likewise.
2569 2013-08-27  Roland McGrath  <roland@hack.frob.com>
2571         * include/netdb.h [!_ISOMAC]:
2572         Don't include <tls.h>.
2573         (h_errno, __libc_h_errno): Move declaration and macros out of
2574         [_LIBC_REENTRANT].
2576         * include/resolv.h [_RESOLV_H_]:
2577         Don't include <tls.h>.
2578         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2579         * resolv/res_libc.c: Don't include <tls.h>.
2580         (_res): Use __attribute__ ((nocommon)) in place of
2581         __attribute__ ((section (".bss"))).
2583         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2584         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2586         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2588         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2589         only under [SIOCGIFCONF && SIOCGIFNETMASK].
2591         * resolv/res_mkquery.c: Include <sys/time.h>.
2593         * inet/ifreq.c: Moved to ...
2594         * sysdeps/unix/ifreq.c: ... here.
2595         * inet/ifreq.c: New file, true stub version.
2597         * socket/sa_len.c: New file.
2598         * socket/Makefile (aux): Add it.
2599         * sysdeps/unix/sysv/linux/Makefile
2600         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2601         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2602         and #include <socket/sa_len.c>.
2603         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2604         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2606         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2607         * bits/socket.h: ... here.
2609         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2610         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2611         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2613 2013-08-27  Andreas Schwab  <schwab@suse.de>
2615         [BZ #15736]
2616         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2617         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2618         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2619         * string/test-strcasecmp.c (test_main): Run tests in several
2620         locales.
2621         * string/test-strncasecmp.c (test_main): Likewise.
2623         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2624         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2625         to __strcasecmp_nonascii and __strncasecmp_nonascii.
2626         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2627         (__strncasecmp_ssse3) [PIC]: Likewise.
2629 2013-08-26  Roland McGrath  <roland@hack.frob.com>
2631         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2633         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2634         instead of explicitly declaring xdecrypt.
2635         * nis/nss_nis/nis-publickey.c: Likewise.
2637 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2639         [BZ #15890]
2640         * nscd/aicache.c: Include res_hconf.h.
2641         (addhstaiX): Initialize res_hconf.
2643 2013-08-26  Andreas Schwab  <schwab@suse.de>
2645         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2646         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2648 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2650         * nscd/aicache.c (addhstaiX): Fix indentation.
2652 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
2654         * configure.ac: Quote $build_pt_chown test.
2655         * configure: Regenerated.
2657 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
2659         [BZ #15532]
2660         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2661         * math/s_cexpf.c (__cexpf): Likewise.
2662         * math/s_cexpl.c (__cexpl): Likewise.
2663         * math/libm-test.inc (cexp_test_data): Correct expected return
2664         value for NaN + i0.  Add another test.
2666 2013-08-22  David S. Miller  <davem@davemloft.net>
2668         * po/ca.po: Update Catalan translation from translation project.
2669         * po/uk.po: Add Ukrainian translations from translation project.
2671 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
2673         [BZ #15797]
2674         * math/s_fdim.c (__fdim): Check for infinite arguments if result
2675         is infinite, not alongside NaN test.
2676         * math/s_fdimf.c (__fdimf): Likewise.
2677         * math/s_fdiml.c (__fdiml): Likewise.
2678         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
2679         errno is unchanged.
2681 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
2683         * argp/argp-help.c: Fix typos.
2684         * crypt/speeds.c: Likewise.
2685         * csu/check_fds.c: Likewise.
2686         * elf/dl-load.c: Likewise.
2687         * elf/dl-open.c: Likewise.
2688         * elf/reldep3.c: Likewise.
2689         * elf/reldep.c: Likewise.
2690         * elf/sprof.c: Likewise.
2691         * iconv/iconv_charmap.c: Likewise.
2692         * iconv/skeleton.c: Likewise.
2693         * iconv/strtab.c: Likewise.
2694         * io/lockf64.c: Likewise.
2695         * libio/libioP.h: Likewise.
2696         * resolv/gai_notify.c: Likewise.
2697         * resolv/ns_name.c: Likewise.
2698         * resolv/ns_samedomain.c: Likewise.
2699         * resolv/res_send.c: Likewise.
2700         * stdlib/random.c: Likewise.
2701         * sunrpc/rpc/xdr.h: Likewise.
2702         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2703         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2704         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2705         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2706         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2707         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2708         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2709         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2710         * sysdeps/mach/hurd/check_fds.c: Likewise.
2711         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2712         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2713         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2714         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2715         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2716         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2717         * sysdeps/pthread/aio_notify.c: Likewise.
2718         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2719         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2720         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2721         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2722         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2724 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2726         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2727         version if bit_Slow_SSE4_2 is set.
2728         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2729         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2731 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2733         [BZ #15867]
2734         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2735         trampoline stack frame information.
2736         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2737         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2738         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2739         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2740         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2741         * sysdeps/unix/sysv/linux/powerpc/init-first.c
2742         (_libc_vdso_platform_setup): Initialize the signal trampolines.
2743         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2744         sa_flags value.
2745         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2746         interrupting a syscall and set with option SA_SIGINFO.
2748 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2750         [BZ #15531]
2751         * math/s_cproj.c (__cproj): Only return an infinity if one part of
2752         argument is infinite.
2753         * math/s_cprojf.c (__cprojf): Likewise.
2754         * math/s_cprojl.c (__cprojl): Likewise.
2755         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2756         * math/libm-test.inc (cproj_test_data): Add more tests.
2758         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2760         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2761         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2762         size.  Use __ffs to determine corresponding shift.
2764 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2765             Roland McGrath  <roland@hack.frob.com>
2767         * Makefile (INSTALL): Remove trailing blank lines from output of
2768         makeinfo.
2770 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2772         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2773         Align 32 bit compat elf_greg to 8 bytes.
2775 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2777         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2779 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2781         * string/strcoll_l.c (coll_seq): New structure.
2782         (get_next_seq_cached): New function.
2783         (get_next_seq): New function.
2784         (do_compare): New function.
2785         (STRCOLL): Use GNU style definition.  Simplify implementation
2786         by using get_next_seq, get_next_seq_cached and do_compare.
2788 2013-08-16  Florian Weimer  <fweimer@redhat.com>
2790         [BZ #14699]
2791         CVE-2013-4237
2792         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2793         member.
2794         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2795         member.
2796         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2797         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2798         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
2799         conditional.
2800         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2801         GETDENTS_64BIT_ALIGNED.
2802         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2803         * manual/filesys.texi (Reading/Closing Directory): Document
2804         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
2805         strongly.
2806         * manual/conf.texi (Limits for Files): Add portability note to
2807         NAME_MAX, PATH_MAX.
2808         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2810 2013-08-13  Andreas Schwab  <schwab@suse.de>
2812         [BZ #15749]
2813         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2814         of fabs.
2815         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2816         LDBL_MAX_EXP >= 16384]: Add tests for it.
2818 2013-08-12  David S. Miller  <davem@davemloft.net>
2820         * version.h (RELEASE): Set to "development".
2821         (VERSION): Set to "2.18.90".
2822         * NEWS: Add 2.19 section.
2824 2013-08-03  David S. Miller  <davem@davemloft.net>
2826         * po/ko.po: Update Korean translation from translation project.
2828 2013-08-01  David S. Miller  <davem@davemloft.net>
2830         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
2831         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2832         Bilka.
2834 2013-07-30  David S. Miller  <davem@davemloft.net>
2836         * po/fr.po: Update French translation from translation project.
2838 2013-07-28  David S. Miller  <davem@davemloft.net>
2840         * po/cs.po: Update Czech translation from translation project.
2842         * po/sv.po: Update Swedish translation from translation project.
2844 2013-07-27  David S. Miller  <davem@davemloft.net>
2846         * po/eo.po: Update Esperanto translation from translation project.
2848         * po/vi.po: Update Vietnamese translation from translation project.
2850         * po/de.po: Update German translation from translation project.
2852 2013-07-26  David S. Miller  <davem@davemloft.net>
2854         * po/bg.po: Update Bulgarian translation from translation project.
2856         * po/nl.po: Update Dutch translation from translation project.
2857         * po/pl.po: Update Polish translation from translation project.
2858         * po/ru.po: Update Russian translation from translation project.
2860 2013-07-24  David S. Miller  <davem@davemloft.net>
2862         * po/libc.pot: Update.
2864 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2866         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2867         variable page size.
2868         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2869         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2870         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2872 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2874         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2876 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2877             Andreas Schwab  <schwab@suse.de>
2878             Roland McGrath  <roland@hack.frob.com>
2879             Joseph Myers  <joseph@codesourcery.com>
2880             Carlos O'Donell  <carlos@redhat.com>
2882         [BZ #15755]
2883         * config.h.in: Define HAVE_PT_CHOWN.
2884         * config.make.in (build-pt-chown): New variable.
2885         * configure.in (--enable-pt_chown): New configure option.
2886         * configure: Regenerate.
2887         * login/Makefile: Include Makeconfig.  Build pt_chown only if
2888         build-pt-chown is enabled.
2889         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2890         pt_chown to fix pty ownership.
2891         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2892         CLOSE_ALL_FDS.
2893         * manual/install.texi (Configuring and compiling): Mention
2894         --enable-pt_chown. Add @findex for grantpt.
2895         * INSTALL: Regenerate.
2897 2013-07-20  David S. Miller  <davem@davemloft.net>
2899         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2900         difference between 32-bit and 64-bit.
2902 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
2904         [BZ #15711]
2905         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2906         Avoid system header dependency with -ffreestanding.
2907         ($(objpfx)bits/syscall%d): Likewise.
2909 2013-07-13  David S. Miller  <davem@davemloft.net>
2911         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2912         underflows from atanl/atan2l due to bug 15319.
2913         (casinh_test_data): Likewise.
2915 2013-07-07  David S. Miller  <davem@davemloft.net>
2917         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2919 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
2921         * sysdeps/i386/fpu/libm-test-ulps: Update.
2922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2924 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2926         * configure.in (--enable-lock-elision): Fix message text.
2927         * INSTALL: Regenerate.
2928         * configure: Regenerate.
2930 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2934 2013-07-03  Andreas Jaeger  <aj@suse.de>
2936         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2937         define.
2938         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2939         (ptrace_peeksiginfo_args): Add.
2940         (__ptrace_peeksiginfo_flags): Add.
2941         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2942         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2943         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2945 2013-07-03  Allan McRae  <allan@archlinux.org>
2947         * sysdeps/i386/fpu/libm-test-ulps: Update.
2949 2013-07-02  David S. Miller  <davem@davemloft.net>
2951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2953 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
2955         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2957 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2959         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2962 2013-07-02  Andi Kleen <ak@linux.intel.com>
2964         * config.h.in (ENABLE_LOCK_ELISION): Add.
2965         * configure.in (--enable-lock-elision): Add option.
2966         * manual/install.texi: Document --enable lock elision.
2967         * configure: Regenerate
2968         * INSTALL: Regenerate.
2970 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
2972         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2973         SSE4.2 strcasecmp for libc.a.
2974         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2976 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2978         [BZ #13304]
2979         * soft-fp/op-common.h (_FP_FMA): New macro.
2980         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2981         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
2982         (_FP_MUL_MEAT_1_imm): ... here.
2983         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
2984         (_FP_MUL_MEAT_1_wide): ... here.
2985         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
2986         (_FP_MUL_MEAT_1_hard): ... here.
2987         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2988         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
2989         (_FP_MUL_MEAT_2_wide): ... here.
2990         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
2991         (_FP_MUL_MEAT_2_wide_3mul): ... here.
2992         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
2993         (_FP_MUL_MEAT_2_gmp): ... here.
2994         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2995         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
2996         (_FP_MUL_MEAT_4_wide): ... here.
2997         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
2998         (_FP_MUL_MEAT_4_gmp): ... here.
2999         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3000         (_FP_WFRACBITS_DW_S): Likewise.
3001         (_FP_WFRACXBITS_DW_S): Likewise.
3002         (_FP_HIGHBIT_DW_S): Likewise.
3003         (FP_FMA_S): Likewise.
3004         (_FP_FRAC_HIGH_DW_S): Likewise.
3005         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3006         (_FP_WFRACBITS_DW_D): Likewise.
3007         (_FP_WFRACXBITS_DW_D): Likewise.
3008         (_FP_HIGHBIT_DW_D): Likewise.
3009         (FP_FMA_D): Likewise.
3010         (_FP_FRAC_HIGH_DW_D): Likewise.
3011         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3012         (_FP_WFRACBITS_DW_E): Likewise.
3013         (_FP_WFRACXBITS_DW_E): Likewise.
3014         (_FP_HIGHBIT_DW_E): Likewise.
3015         (FP_FMA_E): Likewise.
3016         (_FP_FRAC_HIGH_DW_E): Likewise.
3017         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3018         (_FP_WFRACBITS_DW_Q): Likewise.
3019         (_FP_WFRACXBITS_DW_Q): Likewise.
3020         (_FP_HIGHBIT_DW_Q): Likewise.
3021         (FP_FMA_Q): Likewise.
3022         (_FP_FRAC_HIGH_DW_Q): Likewise.
3023         * soft-fp/fmasf4.c: New file.
3024         * soft-fp/fmadf4.c: Likewise.
3025         * soft-fp/fmatf4.c: Likewise.
3027 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3029         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3030         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3031         Silvermont.
3032         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3033         macro.
3034         (index_Slow_SSE4_2): Likewise.
3035         (index_Prefer_PMINUB_for_stringop): Likewise.
3036         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3037         bit_Slow_SSE4_2 is set.
3038         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3039         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3041 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3043         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3044         rtld_global._dl_hwcap2.
3045         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3046         POWER8.
3047         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3048         POWER8 feature descriptions defined in _dl_hwcap2.
3049         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3050         string handling for POWER8 feature bits.
3051         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3052         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3053         _dl_powerpc_cap_flags.
3054         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3055         * sysdeps/powerpc/rtld-global-offsets.sym
3056         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3057         _dl_hwcap2 in the rtld_global_ro structure.
3059 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3061         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3062         hardware capabilities in support of AT_HWCAP2.
3063         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3064         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3065         GLRO(dl_hwcap2).
3066         (_dl_show_auxv): Add support for calling _dl_procinfo to display
3067         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
3068         explicitly the unknown a_type display mechanism is used.
3069         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3070         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3071         struct member.
3072         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3073         to macro prototype for AT_HWCAP2 support.
3074         * sysdeps/i386/dl-procinfo.h: Likewise.
3075         * sysdeps/s390/dl-procinfo.h: Likewise.
3076         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3077         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
3078         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
3079         return -1 for unknown a_type display fallback.
3080         * sysdeps/sparc/dl-procinfo.h: Likewise.
3081         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3082         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3084 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
3086         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3087         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3089 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
3091         [BZ #12492]
3092         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3093         mprotect making __stack_prot writable.
3095 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
3096             Joseph Myers  <joseph@codesourcery.com>
3098         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3099         as being properly aligned.
3101 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
3103         * dlfcn/modstatic5.c: New file.
3104         * dlfcn/tststatic5.c: New file.
3105         * dlfcn/Makefile (tests): Add tststatic5.
3106         (tests-static): Likewise.
3107         (modules-names): Add modstatic5.
3108         (tststatic5-ENV): New variable.
3109         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3111         [BZ #15022]
3112         * elf/dl-support.c (_dl_main_map): New variable.
3113         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3114         (_dl_nns, _dl_load_adds): Set to 1.
3115         (_dl_initial_searchlist): Refer to _dl_main_map.
3116         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3117         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3118         call to _dl_get_origin.
3119         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3120         around call_map.
3121         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3122         * dlfcn/modstatic3.c: New file.
3123         * dlfcn/tststatic3.c: New file.
3124         * dlfcn/tststatic4.c: New file.
3125         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3126         (tests-static): Likewise.
3127         (modules-names): Add modstatic3.
3128         (tststatic3-ENV, tststatic4-ENV): New variables.
3129         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3130         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3132 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
3134         * configure.in (CC): Require GCC version 4.4 or later.
3135         * configure: Regenerated.
3136         * manual/install.texi (Tools for Compilation): Update GCC version
3137         requirement.
3138         * INSTALL: Regenerated.
3140 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3142         [BZ #15674]
3143         * string/test-memcmp.c (check2): New.
3144         (main): Call check2.
3146         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3148 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
3150         [BZ #15022]
3151         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3152         over to...
3153         (dl_open_worker) [!SHARED]: ... here.
3155 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3157         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3159 2013-06-25  Richard Henderson  <rth@redhat.com>
3161         * locale/programs/locarchive.c: Include <libc-internal.h>
3163 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
3165         * manual/texinfo.tex: Update to version 2013-06-21.17, with
3166         trailing whitespace removed.
3168 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3170         [BZ #10283]
3171         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3172         * locale/programs/locarchive.c: Include libc-mmap.h.
3173         (prepare_address_space): Take two new outputs (the mmap base and len).
3174         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
3175         values.
3176         (create_archive): Declare new mmap base and len values for
3177         prepare_address_space, and store the result in ah.
3178         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3179         (enlarge_archive): If ah->mmap_base is not NULL, use that and
3180         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3181         Declare new mmap base and len values for
3182         prepare_address_space, and store the result in new_ah.
3183         (open_archive): Declare new mmap base and len values for
3184         prepare_address_space, and store the result in ah.
3185         (close_archive): If ah->mmap_base is not NULL, use that and
3186         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3187         * sysdeps/generic/libc-mmap.h: New file.
3189 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3191         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3192         (ALIGN_UP): Likewise.
3193         (PTR_ALIGN_DOWN): Likewise.
3194         (PTR_ALIGN_UP): Likewise.
3196 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3198         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3199         entry mapped to PPC_PLATFORM_POWER8.
3200         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3201         POWER8.
3202         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3203         (_dl_string_platform): Add case for exporting platform position for
3204         POWER8.
3205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3206         search path to sysdeps/powerpc/powerpc32/power8 directory.
3207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3208         search path to sysdeps/powerpc/powerpc64/power8 directory.
3209         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3210         power7 directories.
3211         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3212         power7 directories.
3214 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3216         * INSTALL: Regenerate.
3218         * nscd/connections.c (nscd_init): Fix comment.
3220 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
3222         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3224         [BZ #15667]
3225         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3226         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3228 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3230         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3231         DL_DST_REQ_STATIC.
3232         (DL_DST_REQ_STATIC): Remove macro.
3234 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3236         [BZ #7006]
3237         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3238         with a shift of 0 bits.
3240 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3242         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3243         $(tststatic-ENV).
3245 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3247         [BZ #15655]
3248         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3250 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3252         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3253         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3254         accepts -fno-tree-loop-distribute-patterns.
3255         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3256         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3257         recursive call.
3258         * string/memset.c (memset): Likewise.
3259         * string/test-memmove.c (simple_memmove): Disable loop transformation
3260         to library calls.
3261         * string/test-memset.c (simple_memset): Likewise.
3262         * benchtests/bench-memmove.c (simple_memmove): Likewise.
3263         * benchtests/bench-memset.c (simple_memset): Likewise.
3264         * configure: Regenerated.
3266 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
3268         * math/test-misc.c (main): Ignore fesetround failure when failures
3269         of subsequent rounding tests would be ignored.
3271         [BZ #15654]
3272         * math/fedisblxcpt.c (fedisableexcept): Return 0.
3273         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3274         * math/fegetenv.c (__fegetenv): Return 0.
3275         * math/fegetexcept.c (fegetexcept): Return 0.
3276         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3277         FE_TONEAREST.
3278         * math/feholdexcpt.c (feholdexcept): Return 0.
3279         * math/fesetenv.c (__fesetenv): Return 0.
3280         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3281         argument FE_TONEAREST.
3282         * math/feupdateenv.c (__feupdateenv): Return 0.
3283         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3285 2013-06-18  Roland McGrath  <roland@hack.frob.com>
3287         * elf/rtld-Rules (rtld-compile-command.S): New variable.
3288         (rtld-compile-command.s, rtld-compile-command.c): New variables.
3289         ($(objpfx)rtld-%.os rules): Use them.
3291 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3293         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3294         fields.
3296 2013-06-17  Roland McGrath  <roland@hack.frob.com>
3298         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3299         length of target pattern, then descending length of dependency pattern.
3300         * configure.in (AWK): Require gawk 3.1.2 or newer.
3301         * manual/install.texi (Tools for Compilation): Say that we do.
3302         * configure: Regenerated.
3304         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3305         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3306         * scripts/sysd-rules.awk: ... this new script.
3307         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3308         than a glob-style pattern.
3310 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
3312         * math/test-misc.c (main): Do not treat incorrectly rounded
3313         conversions as failure unless ROUNDING_TESTS passes.
3315 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
3317         [BZ #15631]
3318         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3319         restore exception state around main square root computation, then
3320         check for inexactness explicitly.
3322         * math/libm-test.inc (fma_test_data): Add another test.
3324 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3326         * manual/threads.texi (Non-POSIX Extensions): New document
3327         node.  Document pthread_getattr_default_np and
3328         pthread_setattr_default_np.
3330         * Versions.def (libpthread): Add GLIBC_2.18.
3331         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3333         Likewise.
3334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3335         Likewise.
3336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3337         Likewise.
3338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3339         Likewise.
3340         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3341         Likewise.
3342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3343         Likewise.
3344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3345         Likewise.
3346         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3347         Likewise.
3348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3349         Likewise.
3351 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3353         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3354         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3356 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3357             H.J. Lu  <hjl.tools@gmail.com>
3359         [BZ #15627]
3360         * sysdeps/x86_64/rtld-memset.c: Remove file.
3361         * sysdeps/x86_64/rtld-memset.S: New file.
3363 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
3365         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3366         (test_in_one_mode): Take arguments for whether the rounding mode
3367         is supported for each floating-point type.
3368         (do_test): Pass new arguments to test_in_one_mode using
3369         ROUNDING_TESTS.
3371 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3373         * posix/tst-waitid.c (do_test): Distinguish different instances of
3374         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
3375         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3376         before entering the kernel for waitpid.
3378 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3380         * NEWS: Fix note on clock function precision.  Text by Roland
3381         McGrath.
3383 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3385         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3386         it into place only when and if the sanity check passes.
3388 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
3390         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3391         output for whether conversion result is exact.  Take argument
3392         indicating whether type is IBM long double.
3393         (round_for_all): Change need_exact field to ibm_ld.
3394         * stdlib/tst-strtod-round.c (struct exactness): New type.
3395         (struct test): Change bool ld_ok field to struct exactness exact.
3396         (TEST): Update all definitions for change to field.
3397         (tests): Regenerate array contents.
3398         (test_in_one_mode): Take pointer to new field instead of old ld_ok
3399         field value.  Check for IBM long double here.
3400         (do_test): Update calls to test_in_one_mode.
3402 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3404         [BZ #12515]
3405         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3406         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3408 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3410         [BZ #15605]
3411         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3412         generated by the compiler on loop optimizations.
3413         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3414         general definitions.
3416 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
3418         * math/bug-nextafter.c: Include <math-tests.h>.
3419         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3420         the relevant type.
3421         * math/bug-nexttoward.c: Include <math-tests.h>.
3422         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3423         the relevant type.
3424         * math/test-misc.c: Include <math-tests.h>.
3425         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3426         the relevant type.
3428 2013-06-12  Andreas Jaeger  <aj@suse.de>
3430         * po/ia.po: Update Interlingua translation from translation
3431         project.
3433 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3435         * include/fenv.h: Include stdbool.h.
3436         (struct rm_ctx): New structure.
3437         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3438         Define macro.
3439         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3440         (SET_RESTORE_ROUNDF): Likewise.
3441         (SET_RESTORE_ROUNDL): Likewise.
3442         (SET_RESTORE_ROUND_NOEX): Likewise.
3443         (SET_RESTORE_ROUND_NOEXF): Likewise.
3444         (SET_RESTORE_ROUND_NOEXL): Likewise.
3445         (SET_RESTORE_ROUND_53BIT): Likewise.
3446         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3447         (libc_feresetround_noexf_ctx): Likewise.
3448         (libc_feresetround_noexl_ctx): Likewise.
3449         (libc_feholdsetround_53bit_ctx): Likewise.
3450         (libc_feresetround_53bit_ctx): Likewise.
3451         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3452         (libc_feholdexcept_setround_sse_ctx): New function.
3453         (libc_fesetenv_sse_ctx): Likewise.
3454         (libc_feupdateenv_sse_ctx): Likewise.
3455         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3456         (libc_feholdexcept_setround_387_ctx): Likewise.
3457         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3458         (libc_feholdsetround_387_prec_ctx): Likewise.
3459         (libc_feholdsetround_387_ctx): Likewise.
3460         (libc_feholdsetround_387_53bit_ctx): Likewise.
3461         (libc_feholdsetround_sse_ctx): Likewise.
3462         (libc_feresetround_sse_ctx): Likewise.
3463         (libc_feresetround_387_ctx): Likewise.
3464         (libc_feupdateenv_387_ctx): Likewise.
3465         (libc_feholdexcept_setroundf_ctx): Define macro.
3466         (libc_fesetenvf_ctx): Likewise.
3467         (libc_feupdateenvf_ctx): Likewise.
3468         (libc_feholdsetroundf_ctx): Likewise.
3469         (libc_feresetroundf_ctx): Likewise.
3470         (libc_feholdexcept_setround_ctx): Likewise.
3471         (libc_fesetenv_ctx): Likewise.
3472         (libc_feupdateenv_ctx): Likewise.
3473         (libc_feholdsetround_ctx): Likewise.
3474         (libc_feresetround_ctx): Likewise.
3475         (libc_feholdexcept_setroundl_ctx): Likewise.
3476         (libc_feupdateenvl_ctx): Likewise.
3477         (libc_feholdsetroundl_ctx): Likewise.
3478         (libc_feresetroundl_ctx): Likewise.
3479         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3480         (libc_feresetround_53bit_ctx): Likewise.
3482 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3484         * locale/iso-639.def: Convert to UTF-8.
3486 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
3488         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3489         (EXCEPTION_TESTS_double): Likewise.
3490         (EXCEPTION_TESTS_long_double): Likewise.
3491         (EXCEPTION_TESTS): Likewise.
3492         * math/libm-test.inc (test_exceptions): Only test exceptions if
3493         EXCEPTION_TESTS (FLOAT).
3495 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3497         * benchtests/Makefile (string-bench): Add strcpy_chk and
3498         stpcpy_chk.
3499         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3500         * benchtests/bench-stpcpy_chk.c: New file.
3501         * benchtests/bench-strcpy_chk-ifunc.c: New file.
3502         * benchtests/bench-strcpy_chk.c: New file.
3503         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3504         code.
3505         (do_test): Likewise.
3507 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3509         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3510         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3511         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3512         with tabs where appropriate.
3513         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3514         dl-procinfo.h.
3515         [PPC_PLATFORM_PPC440]: Likewise.
3516         [PPC_PLATFORM_PPC464]: Likewise.
3517         [PPC_PLATFORM_PPC476]: Likewise.
3518         (_dl_string_platform): Add support for detecting ppc405, ppc440,
3519         ppc464, and ppc476 platform strings merging from ports/
3520         dl-procinfo.h.
3522 2013-06-11  Andreas Schwab  <schwab@suse.de>
3524         [BZ #14991]
3525         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3526         (from_ucs4_idx): Regenerate.
3527         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3528         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3529         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3530         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3531         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3532         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3533         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3534         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3535         from FROM_LOOP and TO_LOOP specific macros.
3536         (BODY): Handle combining characters.
3537         * iconvdata/BIG5HKSCS.irreversible: Update.
3538         * iconvdata/BIG5HKSCS.precomposed: New file.
3539         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3540         characters.
3541         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3543 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3545         * include/sys/time.h: Fix indentation and add copyright header.
3547         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3548         (do_test): Likewise.
3549         * string/test-memchr.c (do_one_test): Likewise.
3550         (do_test): Likewise.
3551         * string/test-memcmp.c (do_one_test): Likewise.
3552         (do_test): Likewise.
3553         * string/test-memcpy.c (do_one_test): Likewise.
3554         (do_test): Likewise.
3555         * string/test-memmem.c (do_one_test): Likewise.
3556         (do_test): Likewise.
3557         (do_random_tests): Likewise.
3558         * string/test-memmove.c (do_one_test): Likewise.
3559         (do_test): Likewise.
3560         * string/test-memset.c (do_one_test): Likewise.
3561         (do_test): Likewise.
3562         * string/test-rawmemchr.c (do_one_test): Likewise.
3563         (do_test): Likewise.
3564         * string/test-strcasecmp.c (do_one_test): Likewise.
3565         (do_test): Likewise.
3566         * string/test-strcasestr.c (do_one_test): Likewise.
3567         (do_test): Likewise.
3568         * string/test-strcat.c (do_one_test): Likewise.
3569         (do_test): Likewise.
3570         * string/test-strchr.c (do_one_test): Likewise.
3571         (do_test): Likewise.
3572         * string/test-strcmp.c (do_one_test): Likewise.
3573         (do_test): Likewise.
3574         * string/test-strcpy.c (do_one_test): Likewise.
3575         (do_test): Likewise.
3576         * string/test-string.h: Likewise.
3577         (test_init): Likewise.
3578         * string/test-strlen.c (do_one_test): Likewise.
3579         (do_test): Likewise.
3580         * string/test-strncasecmp.c (do_one_test): Likewise.
3581         (do_test): Likewise.
3582         * string/test-strncat.c (do_one_test): Likewise.
3583         (do_test): Likewise.
3584         * string/test-strncmp.c (do_one_test): Likewise.
3585         (do_test_limit): Likewise.
3586         (do_test): Likewise.
3587         * string/test-strncpy.c (do_one_test): Likewise.
3588         (do_test): Likewise.
3589         * string/test-strnlen.c (do_one_test): Likewise.
3590         (do_test): Likewise.
3591         * string/test-strpbrk.c (do_one_test): Likewise.
3592         (do_test): Likewise.
3593         * string/test-strrchr.c (do_one_test): Likewise.
3594         (do_test): Likewise.
3595         * string/test-strspn.c (do_one_test): Likewise.
3596         (do_test): Likewise.
3597         * string/test-strstr.c (do_one_test): Likewise.
3598         (do_test): Likewise.
3600         * benchtests/Makefile (string-bench): Add string benchmarks.
3601         * benchtests/bench-bcopy-ifunc.c: New file.
3602         * benchtests/bench-bcopy.c: New file.
3603         * benchtests/bench-bzero-ifunc.c: New file.
3604         * benchtests/bench-bzero.c: New file.
3605         * benchtests/bench-memccpy-ifunc.c: New file.
3606         * benchtests/bench-memccpy.c: New file.
3607         * benchtests/bench-memchr-ifunc.c: New file.
3608         * benchtests/bench-memchr.c: New file.
3609         * benchtests/bench-memcmp-ifunc.c: New file.
3610         * benchtests/bench-memcmp.c: New file.
3611         * benchtests/bench-memmem-ifunc.c: New file.
3612         * benchtests/bench-memmem.c: New file.
3613         * benchtests/bench-memmove-ifunc.c: New file.
3614         * benchtests/bench-memmove.c: New file.
3615         * benchtests/bench-mempcpy-ifunc.c: New file.
3616         * benchtests/bench-mempcpy.c: New file.
3617         * benchtests/bench-memset-ifunc.c: New file.
3618         * benchtests/bench-memset.c: New file.
3619         * benchtests/bench-rawmemchr-ifunc.c: New file.
3620         * benchtests/bench-rawmemchr.c: New file.
3621         * benchtests/bench-stpcpy-ifunc.c: New file.
3622         * benchtests/bench-stpcpy.c: New file.
3623         * benchtests/bench-stpncpy-ifunc.c: New file.
3624         * benchtests/bench-stpncpy.c: New file.
3625         * benchtests/bench-strcasecmp-ifunc.c: New file.
3626         * benchtests/bench-strcasecmp.c: New file.
3627         * benchtests/bench-strcasestr-ifunc.c: New file.
3628         * benchtests/bench-strcasestr.c: New file.
3629         * benchtests/bench-strcat-ifunc.c: New file.
3630         * benchtests/bench-strcat.c: New file.
3631         * benchtests/bench-strchr-ifunc.c: New file.
3632         * benchtests/bench-strchr.c: New file.
3633         * benchtests/bench-strchrnul-ifunc.c: New file.
3634         * benchtests/bench-strchrnul.c: New file.
3635         * benchtests/bench-strcmp-ifunc.c: New file.
3636         * benchtests/bench-strcmp.c: New file.
3637         * benchtests/bench-strcpy-ifunc.c: New file.
3638         * benchtests/bench-strcpy.c: New file.
3639         * benchtests/bench-strcspn-ifunc.c: New file.
3640         * benchtests/bench-strcspn.c: New file.
3641         * benchtests/bench-strlen-ifunc.c: New file.
3642         * benchtests/bench-strlen.c: New file.
3643         * benchtests/bench-strncasecmp-ifunc.c: New file.
3644         * benchtests/bench-strncasecmp.c: New file.
3645         * benchtests/bench-strncat-ifunc.c: New file.
3646         * benchtests/bench-strncat.c: New file.
3647         * benchtests/bench-strncmp-ifunc.c: New file.
3648         * benchtests/bench-strncmp.c: New file.
3649         * benchtests/bench-strncpy-ifunc.c: New file.
3650         * benchtests/bench-strncpy.c: New file.
3651         * benchtests/bench-strnlen-ifunc.c: New file.
3652         * benchtests/bench-strnlen.c: New file.
3653         * benchtests/bench-strpbrk-ifunc.c: New file.
3654         * benchtests/bench-strpbrk.c: New file.
3655         * benchtests/bench-strrchr-ifunc.c: New file.
3656         * benchtests/bench-strrchr.c: New file.
3657         * benchtests/bench-strspn-ifunc.c: New file.
3658         * benchtests/bench-strspn.c: New file.
3659         * benchtests/bench-strstr-ifunc.c: New file.
3660         * benchtests/bench-strstr.c: New file.
3662         * benchtests/Makefile: Disable parallel execution of targets.
3663         (string-bench): Add memcpy.
3664         (benchset): New variable to store a list of benchmark sets.
3665         (bench-func): Renamed from bench.
3666         (bench-set): New target.
3667         (bench): Depend on bench-func and bench-set.
3668         * benchtests/README: Add section on benchmark sets.
3669         * benchtests/bench-memcpy-ifunc.c: New file.
3670         * benchtests/bench-memcpy.c: New file.
3671         * benchtests/bench-string.h: New file.
3673 2013-06-11  Andreas Schwab  <schwab@suse.de>
3675         [BZ #15577]
3676         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3677         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3678         values in the triple.
3679         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3680         terminator in the group key.
3682 2013-06-11  Andreas Jaeger  <aj@suse.de>
3684         * po/zh_TW.po: Update Chinese (traditional) translation from
3685         translation project.
3687 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3689         * include/time.h (__clock_gettime): Add libc_hidden_proto.
3690         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3691         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
3692         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3693         (clock_getcpuclockid): Likewise.
3694         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3695         Add weak_alias and libc_hidden_def.
3696         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3697         * rt/clock_gettime.c (clock_gettime): Rename to
3698         __clock_gettime.  Add weak_alias and libc_hidden_def.
3699         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3700         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3701         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
3702         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3703         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3704         Likewise.
3705         * rt/clock_settime.c (clock_settime): Rename to
3706         __clock_settime.  Add weak_alias and libc_hidden_def.
3707         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3709 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
3711         * mach/err_boot.sub: Remove trailing whitespace.
3712         * mach/err_ipc.sub: Likewise.
3713         * mach/err_mach.sub: Likewise.
3715         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3716         (ROUNDING_TESTS_double): Likewise.
3717         (ROUNDING_TESTS_long_double): Likewise.
3718         (ROUNDING_TESTS): Likewise.
3719         * math/libm-test.inc: Include <math-tests.h>.
3720         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3721         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3722         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3723         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3725 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3727         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3728         of assigning.
3730 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
3732         * sysdeps/gnu/errlist.awk: Do not generate space at end of
3733         otherwise empty TRANS lines.
3734         * sysdeps/gnu/errlist.c: Regenerated.
3736         * catgets/gencat.c (error_print): Use (void) in function
3737         definition.
3738         * crypt/crypt_util.c (__init_des): Likewise.
3739         * crypt/speeds.c (Stop): Likewise.
3740         (main): Likewise.
3741         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3742         * inet/ruserpass.c (token): Likewise.
3743         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3744         * intl/localealias.c (extend_alias_table): Likewise.
3745         * intl/plural-exp.c (init_germanic_plural): Likewise.
3746         * libio/fcloseall.c (__fcloseall): Likewise.
3747         * libio/genops.c (_IO_flush_all): Likewise.
3748         (_IO_flush_all_linebuffered): Likewise.
3749         (_IO_cleanup): Likewise.
3750         (_IO_iter_begin): Likewise.
3751         (_IO_iter_end): Likewise.
3752         (_IO_list_lock): Likewise.
3753         (_IO_list_unlock): Likewise.
3754         (_IO_list_resetlock): Likewise.
3755         * libio/getchar.c (getchar): Likewise.
3756         * libio/getchar_u.c (getchar_unlocked): Likewise.
3757         * libio/getwchar.c (getwchar): Likewise.
3758         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3759         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3760         * login/getpt.c (__getpt): Likewise.
3761         * login/tst-utmp.c (main): Likewise.
3762         * malloc/hooks.c (__malloc_check_init): Likewise.
3763         * malloc/malloc.c (__malloc_stats): Likewise.
3764         * malloc/mtrace.c (tr_break): Likewise.
3765         (mtrace): Likewise.
3766         (muntrace): Likewise.
3767         * misc/fstab.c (endfsent): Likewise.
3768         * misc/getclktck.c (__getclktck): Likewise.
3769         * misc/getdtsz.c (__getdtablesize): Likewise.
3770         * misc/gethostid.c (gethostid): Likewise.
3771         * misc/getpagesize.c (__getpagesize): Likewise.
3772         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3773         (__get_nprocs): Likewise.
3774         (__get_phys_pages): Likewise.
3775         (__get_avphys_pages): Likewise.
3776         * misc/getttyent.c (getttyent): Likewise.
3777         (setttyent): Likewise.
3778         (endttyent): Likewise.
3779         * misc/getusershell.c (getusershell): Likewise.
3780         (endusershell): Likewise.
3781         (setusershell): Likewise.
3782         (initshells): Likewise.
3783         * misc/hsearch.c (__hdestroy): Likewise.
3784         * misc/sync.c (sync): Likewise.
3785         * misc/syslog.c (closelog_internal): Likewise.
3786         (closelog): Likewise.
3787         * misc/ttyslot.c (ttyslot): Likewise.
3788         * misc/vhangup.c (vhangup): Likewise.
3789         * posix/fork.c (__fork): Likewise.
3790         * posix/getegid.c (__getegid): Likewise.
3791         * posix/geteuid.c (__geteuid): Likewise.
3792         * posix/getgid.c (__getgid): Likewise.
3793         * posix/getpid.c (__getpid): Likewise.
3794         * posix/getppid.c (__getppid): Likewise.
3795         * posix/getuid.c (__getuid): Likewise.
3796         * posix/pause.c (pause): Likewise.
3797         * posix/setpgrp.c (setpgrp): Likewise.
3798         * posix/setsid.c (__setsid): Likewise.
3799         * posix/test-vfork.c (noop): Likewise.
3800         * resolv/gethnamaddr.c (_endhtent): Likewise.
3801         (_gethtent): Likewise.
3802         (ht_endhostent): Likewise.
3803         (gethostent): Likewise.
3804         (dns_service): Likewise.
3805         * stdlib/drand48.c (drand48): Likewise.
3806         * stdlib/lrand48.c (lrand48): Likewise.
3807         * stdlib/mrand48.c (mrand48): Likewise.
3808         * stdlib/rand.c (rand): Likewise.
3809         * stdlib/random.c (__random): Likewise.
3810         * stdlib/setenv.c (clearenv): Likewise.
3811         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3812         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3813         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3814         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3815         (__get_nprocs): Likewise.
3816         (__get_phys_pages): Likewise.
3817         (__get_avphys_pages): Likewise.
3818         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3819         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3820         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3821         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3822         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3823         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3824         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3825         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3826         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3827         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3828         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3829         * sysdeps/mach/hurd/sync.c (sync): Likewise.
3830         * sysdeps/posix/clock.c (clock): Likewise.
3831         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3832         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3833         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3834         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3835         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3836         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3837         (__get_nprocs_conf): Likewise.
3838         (__get_phys_pages): Likewise.
3839         (__get_avphys_pages): Likewise.
3840         * time/clock.c (clock): Likewise.
3841         * time/tzset.c (__tzname_max): Likewise.
3843 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
3845         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3846         (__bswap_32): Do not use "register".
3847         * crypt/crypt.c (_ufc_doit_r): Likewise.
3848         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3849         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3850         * gmon/gmon.c (__monstartup): Likewise.
3851         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3852         * hurd/hurdmalloc.c (more_memory): Likewise.
3853         (malloc): Likewise.
3854         (free): Likewise.
3855         (realloc): Likewise.
3856         (malloc_fork_prepare): Likewise.
3857         (malloc_fork_parent): Likewise.
3858         (malloc_fork_child): Likewise.
3859         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3860         (_svcauth_des): Likewise.
3861         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3862         * inet/inet_net.c (inet_network): Likewise.
3863         * inet/inet_netof.c (inet_netof): Likewise.
3864         * inet/rcmd.c (__validuser2_sa): Likewise.
3865         * io/fts.c (fts_open): Likewise.
3866         (fts_load): Likewise.
3867         (fts_close): Likewise.
3868         (fts_read): Likewise.
3869         (fts_children): Likewise.
3870         (fts_build): Likewise.
3871         (fts_stat): Likewise.
3872         (fts_sort): Likewise.
3873         (fts_alloc): Likewise.
3874         (fts_lfree): Likewise.
3875         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3876         (_IO_file_xsgetn): Likewise.
3877         (_IO_file_xsgetn_mmap): Likewise.
3878         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3879         (_IO_cookie_write): Likewise.
3880         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3881         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3882         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3883         * malloc/obstack.c (_obstack_begin): Likewise.
3884         (_obstack_begin_1): Likewise.
3885         (_obstack_newchunk): Likewise.
3886         (_obstack_allocated_p): Likewise.
3887         (obstack_free): Likewise.
3888         (_obstack_memory_used): Likewise.
3889         * misc/getttyent.c (getttynam): Likewise.
3890         (getttyent): Likewise.
3891         (skip): Likewise.
3892         (value): Likewise.
3893         * misc/getusershell.c (initshells): Likewise.
3894         * misc/syslog.c (__vsyslog_chk): Likewise.
3895         * misc/ttyslot.c (ttyslot): Likewise.
3896         * nis/nis_hash.c (__nis_hash): Likewise.
3897         * posix/fnmatch_loop.c (FCT): Likewise.
3898         * posix/getconf.c (print_all): Likewise.
3899         (main): Likewise.
3900         * posix/getopt.c (exchange): Likewise.
3901         * posix/glob.c (globfree): Likewise.
3902         (prefix_array): Likewise.
3903         (__glob_pattern_type): Likewise.
3904         * resolv/arpa/nameser.h (NS_GET16): Likewise.
3905         (NS_GET32): Likewise.
3906         (NS_PUT16): Likewise.
3907         (NS_PUT32): Likewise.
3908         * resolv/gethnamaddr.c (getanswer): Likewise.
3909         (gethostbyname2): Likewise.
3910         (gethostbyaddr): Likewise.
3911         (_gethtent): Likewise.
3912         (_gethtbyname2): Likewise.
3913         (_gethtbyaddr): Likewise.
3914         * resolv/ns_print.c (dst_s_get_int16): Likewise.
3915         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3916         * resolv/res_init.c (__res_vinit): Likewise.
3917         (net_mask): Likewise.
3918         * resolv/res_mkquery.c (outchar): Likewise.
3919         (PRINT): Likewise.
3920         * stdio-common/printf_fp.c (outchar): Likewise.
3921         (PRINT): Likewise.
3922         * stdio-common/printf_fphex.c (outchar): Likewise.
3923         (PRINT): Likewise.
3924         * stdio-common/printf_size.c (outchar): Likewise.
3925         (PRINT): Likewise.
3926         * stdio-common/test_rdwr.c (main): Likewise.
3927         * stdio-common/tfformat.c (matches): Likewise.
3928         * stdio-common/vfprintf.c (outchar): Likewise.
3929         (printf_unknown): Likewise.
3930         (buffered_vfprintf): Likewise.
3931         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3932         * stdio-common/xbug.c (AppendToBuffer): Likewise.
3933         (ReadFile): Likewise.
3934         * stdlib/qsort.c (SWAP): Likewise.
3935         (_quicksort): Likewise.
3936         * stdlib/setenv.c (__add_to_environ): Likewise.
3937         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3938         * stdlib/strtol_l.c (__strtol_l): Likewise.
3939         * stdlib/tst-strtod.c (main): Likewise.
3940         * stdlib/tst-strtol.c (main): Likewise.
3941         * stdlib/tst-strtoll.c (main): Likewise.
3942         * string/bits/string2.h (__strcmp_cc): Likewise.
3943         (__strcmp_cg): Likewise.
3944         (__strcspn_c1): Likewise.
3945         (__strcspn_c2): Likewise.
3946         (__strcspn_c3): Likewise.
3947         (__strspn_c1): Likewise.
3948         (__strspn_c2): Likewise.
3949         (__strspn_c3): Likewise.
3950         (__strsep_1c): Likewise.
3951         (__strsep_2c): Likewise.
3952         (__strsep_3c): Likewise.
3953         * string/memccpy.c (__memccpy): Likewise.
3954         * string/stpcpy.c (__stpcpy): Likewise.
3955         * string/strcmp.c (strcmp): Likewise.
3956         * string/strrchr.c (strrchr): Likewise.
3957         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3958         Likewise.
3959         * sysdeps/mach/hurd/getcwd.c
3960         (_hurd_canonicalize_directory_name_internal): Likewise.
3961         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3962         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3963         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3964         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3965         Likewise, in both definitions.
3966         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3967         definitions.
3968         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3969         64] (__bswap_64): Likewise.
3970         * time/test_time.c (main): Likewise.
3971         * time/tzfile.c (__tzfile_read): Likewise.
3972         (__tzfile_compute): Likewise.
3973         * time/tzset.c (__tzset_parse_tz): Likewise.
3974         (tzset_internal): Likewise.
3975         (compute_change): Likewise.
3976         * wcsmbs/wcscat.c (__wcscat): Likewise.
3977         * wcsmbs/wcschr.c (wcschr): Likewise.
3978         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3979         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3980         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3981         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3982         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3983         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3984         * wcsmbs/wmemchr.c (wmemchr): Likewise.
3985         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3986         * wcsmbs/wmemset.c (wmemset): Likewise.
3988 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
3990         * scripts/config.guess: Update to version 2013-05-16.
3991         * scripts/config.sub: Update to version 2013-04-24.
3992         * scripts/install-sh: Update to version 2011-11-20.07.
3993         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3994         * scripts/move-if-change: Update to version 2012-01-06 07:23.
3996 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
3998         * debug/fgetws_u_chk.c: Fix leading whitespaces.
3999         * elf/sln.c: Likewise.
4000         * hurd/hurd/ioctl.h: Likewise.
4001         * hurd/hurdmalloc.c: Likewise.
4002         * hurd/xattr.c: Likewise.
4003         * include/shlib-compat.h: Likewise.
4004         * inet/ruserpass.c: Likewise.
4005         * libio/iofgets_u.c: Likewise.
4006         * libio/iofgetws_u.c: Likewise.
4007         * locale/programs/ld-identification.c: Likewise.
4008         * locale/programs/ld-time.c: Likewise.
4009         * mach/msg-destroy.c: Likewise.
4010         * nss/nss_files/files-netgrp.c: Likewise.
4011         * resolv/res_data.c: Likewise.
4012         * soft-fp/op-1.h: Likewise.
4013         * soft-fp/op-2.h: Likewise.
4014         * soft-fp/op-4.h: Likewise.
4015         * soft-fp/op-common.h: Likewise.
4016         * stdio-common/printf_fphex.c: Likewise.
4017         * stdlib/strtod_l.c: Likewise.
4018         * sunrpc/rpc/clnt.h: Likewise.
4019         * sysdeps/generic/framestate.c: Likewise.
4020         * sysdeps/i386/bsd-_setjmp.S: Likewise.
4021         * sysdeps/i386/bsd-setjmp.S: Likewise.
4022         * sysdeps/i386/__longjmp.S: Likewise.
4023         * sysdeps/i386/setjmp.S: Likewise.
4024         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4025         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4026         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4027         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4028         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4029         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4030         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4031         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4032         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4033         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4034         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4035         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4036         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4037         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4038         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4039         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4040         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4041         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4042         * sysdeps/ieee754/support.c: Likewise.
4043         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4044         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4045         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4046         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4047         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4048         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4049         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4050         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4051         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4052         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4053         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4054         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4055         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4056         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4057         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4058         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4059         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4062 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
4064         * posix/transbug.c: Remove executable mode.
4066 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
4068         * crypt/speeds.c: Remove trailing whitespace.
4069         * dlfcn/default.c: Likewise.
4070         * elf/ifuncdep2.c: Likewise.
4071         * elf/ifuncmain1.c: Likewise.
4072         * elf/ifuncmain1vis.c: Likewise.
4073         * elf/testobj.h: Likewise.
4074         * elf/tst-stackguard1.c: Likewise.
4075         * gmon/sys/gmon.h: Likewise.
4076         * hurd/hurdmsg.c: Likewise.
4077         * hurd/new-fd.c: Likewise.
4078         * hurd/ports-get.c: Likewise.
4079         * iconvdata/ibm1008_420.c: Likewise.
4080         * inet/tst-getni1.c: Likewise.
4081         * inet/tst-getni2.c: Likewise.
4082         * libio/ioungetc.c: Likewise.
4083         * libio/wfiledoalloc.c: Likewise.
4084         * manual/libm-err-tab.pl: Likewise.
4085         * math/w_dremf.c: Likewise.
4086         * misc/ftruncate.c: Likewise.
4087         * posix/bug-glob2.c: Likewise.
4088         * posix/tst-pcre.c: Likewise.
4089         * posix/wait4.c: Likewise.
4090         * resolv/README: Likewise.
4091         * resolv/res_debug.h: Likewise.
4092         * resolv/tst-inet_ntop.c: Likewise.
4093         * setjmp/bug269-setjmp.c: Likewise.
4094         * soft-fp/extended.h: Likewise.
4095         * soft-fp/op-1.h: Likewise.
4096         * soft-fp/op-2.h: Likewise.
4097         * soft-fp/op-4.h: Likewise.
4098         * soft-fp/op-8.h: Likewise.
4099         * soft-fp/testit.c: Likewise.
4100         * stdio-common/bug16.c: Likewise.
4101         * stdlib/random.c: Likewise.
4102         * sunrpc/rpcsvc/rquota.x: Likewise.
4103         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4104         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4105         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4106         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4107         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4108         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4109         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4110         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4111         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4112         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4113         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4114         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4115         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4116         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4117         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4118         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4119         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4120         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4121         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4122         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4123         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4124         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4125         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4126         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4127         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4128         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4129         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4130         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4131         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4132         * sysdeps/ieee754/s_lib_version.c: Likewise.
4133         * sysdeps/mach/hurd/check_fds.c: Likewise.
4134         * sysdeps/mach/hurd/getsockname.c: Likewise.
4135         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4136         * sysdeps/mach/hurd/recvfrom.c: Likewise.
4137         * sysdeps/powerpc/bits/link.h: Likewise.
4138         * sysdeps/powerpc/dl-procinfo.c: Likewise.
4139         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4140         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4141         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4142         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4143         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4144         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4145         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4146         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4147         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4148         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4149         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4150         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4151         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4152         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4153         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4154         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4155         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4156         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4157         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4158         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4159         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4160         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4161         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4162         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4163         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4164         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4165         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4166         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4167         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4168         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4169         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4170         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4171         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4172         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4173         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4174         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4175         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4176         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4177         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4178         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4179         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4180         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4181         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4182         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4183         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4184         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4185         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4186         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4187         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4188         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4189         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4190         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4191         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4192         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4193         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4194         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4195         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4196         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4197         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4198         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4199         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4200         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4201         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4202         * sysdeps/powerpc/sysdep.h: Likewise.
4203         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4204         * sysdeps/s390/s390-64/sub_n.S: Likewise.
4205         * sysdeps/sh/dl-trampoline.S: Likewise.
4206         * sysdeps/sh/memset.S: Likewise.
4207         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4208         * sysdeps/sh/strlen.S: Likewise.
4209         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4210         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4211         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4212         * sysdeps/sparc/sparc32/rem.S: Likewise.
4213         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4214         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4215         * sysdeps/sparc/sparc32/strchr.S: Likewise.
4216         * sysdeps/sparc/sparc32/udiv.S: Likewise.
4217         * sysdeps/sparc/sparc32/urem.S: Likewise.
4218         * sysdeps/sparc/sparc64/add_n.S: Likewise.
4219         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4220         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4221         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4222         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4223         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4224         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4225         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4226         * sysdeps/unix/bsd/times.c: Likewise.
4227         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4228         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4232         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4233         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4234         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4235         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4236         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4237         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4238         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4239         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4240         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4241         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4242         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4243         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4244         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4245         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4246         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4247         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4248         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4249         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4250         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4251         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4252         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4253         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4254         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4255         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4256         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4257         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4258         * sysdeps/x86_64/strcspn.S: Likewise.
4260 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4262         * locale/C-translit.h: Revert #include <stdint.h> because this is a
4263         generated file.  Regenerate properly from gen-translit.pl.
4264         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
4265         locale/C-translit.h.
4267 2013-06-05  Andreas Schwab  <schwab@suse.de>
4269         [BZ #15100]
4270         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4271         week as 6 instead of -1.
4272         * time/tst-strptime.c (day_tests): Add test case.
4274 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4276         * sysdeps/generic/math_private.h
4277         (libc_feholdexcept_setround_53bit): Replace with
4278         libc_feholdsetround_53bit.
4279         (libc_feupdateenv_53bit): Replace with
4280         libc_feresetround_53bit.
4281         (SET_RESTORE_ROUND_53BIT): Adjust.
4283 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4285         * string/test-strchrnul.c: Add copyright header.
4287         * posix/tst-getaddrinfo4.c: Increase test timeout.
4289 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
4291         [BZ #15536]
4292         * math/libm-test.inc (MAX_EXP): Remove
4293         (MIN_EXP): Define.
4294         (ulp): Use MIN_EXP - MANT_DIG.
4295         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4297 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
4299         * po/be.po: Revert last change.
4300         * po/zh_CN.po: Likewise.
4301         * po/header.pot: Likewise.
4303 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
4305         * Makefile ($(common-objpfx)linkobj/libc.so): Define
4306         link-libc-deps to empty as target-specific variable.
4307         * Makerules (link-libc-args): New variable.
4308         (libc-for-link): Likewise.
4309         (link-libc-deps): Likewise.
4310         (lib%.so): Depend on $(link-libc-deps).  Link with
4311         $(link-libc-args).
4312         (build-module): Link with $(link-libc-args).
4313         (build-module-asneeded): Likewise.
4314         (build-module-helper-objlist): Filter out $(link-libc-deps) from
4315         list of objects.
4316         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4317         target-specific variable.
4318         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4319         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4320         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4321         libc.
4322         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4323         libc and ld.so.
4324         ($(objpfx)libpcprofile.so): Likewise.
4325         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4326         libc_nonshared.a.
4327         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4328         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4329         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4330         $(link-libc-deps).
4331         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4332         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4333         * login/Makefile ($(objpfx)libutil.so): Likewise.
4334         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4335         * math/Makefile ($(objpfx)libm.so): Likewise.
4336         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4337         $(objpfx)libnsl.so): Define libc-for-link as target-specific
4338         variable instead of depending directly on libc.
4339         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4340         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4341         $(link-libc-deps).
4342         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4343         libc.
4344         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4345         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4346         ($(objpfx)libanl.so): Likewise.
4347         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4348         ld.so.
4349         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4350         $(link-libc-deps).
4351         * sysdeps/i386/fpu/Makefile: Remove file.
4352         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4353         ($(objpfx)libm.so): Remove dependency on ld.so.
4355 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
4357         [BZ # 15553]
4358         * nis/yp_xdr.c (XDRMAXNAME): Define.
4359         (XDRMAXRECORD): Define.
4360         (xdr_domainname): Use XDRMAXNAME.
4361         (xdr_mapname): Likewise.
4362         (xdr_peername): Likewise.
4363         (xdr_keydat): Use XDRMAXRECORD.
4364         (xdr_valdat): Likewise.
4366 2013-05-30  Jeff Law  <law@redhat.com>
4368         [BZ #14256]
4369         * manual/errno.texi (ESTALE): Update to account for more than
4370         just NFS file systems.
4371         * sysdeps/gnu/errlist.c: Regenerated.
4373 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4375         [BZ #15465]
4376         * elf/Makefile (tests): Add tst-null-argv.
4377         (modules-names):  Add tst-null-argv-lib.
4378         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4379         (tst-null-argv-ENV): Set environment for tst-null-argv.
4380         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4381         (RTLD_PROGNAME): New macro.
4382         * elf/tst-null-argv.c: New test case.
4383         * elf/tst-null-argv-lib.c: Library for test case.
4384         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4385         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4386         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4387         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4388         * elf/dl-init.c (call_init): Likewise.
4389         (_dl_init): Likewise.
4390         * elf/dl-load.c (print_search_path): Likewise.
4391         (_dl_map_object): Likewise.
4392         * elf/dl-lookup.c (do_lookup_x): Likewise.
4393         (add_dependency): Likewise.
4394         (_dl_lookup_symbol_x): Likewise.
4395         (_dl_debug_bindings): Likewise.
4396         * elf/dl-open.c (_dl_show_scope): Likewise.
4397         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4398         * elf/dl-version.c (match_symbol): Likewise.
4399         (_dl_check_map_versions): Likewise.
4400         * elf/rtld.c (dl_main): Likewise.
4401         (print_unresolved): Use RTLD_PROGNAME.
4402         (print_missing_version): Likewise.
4403         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4404         (elf_machine_rela): Likewise.
4405         * sysdeps/powerpc/powerpc32/dl-machine.c
4406         (__process_machine_rela): Likewise.
4407         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4408         Likewise.
4409         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4410         Likewise.
4411         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4412         Likewise.
4413         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4414         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4415         Likewise.
4416         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4417         Likewise.
4418         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4420 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
4422         * po/be.po: Add descriptive title.
4423         * po/zh_CN.po: Likewise.
4424         * po/header.pot: Likewise.
4426 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
4428         * locale/programs/locarchive.c (create_archive): Inlucde fname in
4429         error message.
4430         (enlarge_archive): Likewise.
4432 2013-05-28  Ben North  <ben@redfrontdoor.org>
4434         * manual/arith.texi (frexp): It is the magnitude of the return
4435         value which lies in [0.5, 1), not the return value itself.
4437 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4441 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
4443         * stdio-common/bug26.c (main): Correct fscanf template.
4445         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4446         declare _dl_skip_args.
4448         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4449         Don't declare.
4451         * manual/platform.texi: Add missing @end deftypefun.
4453 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4455         [BZ #15529]
4456         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4457         bit of mantissa of 2^16382.
4458         * math/libm-test.inc (hypot_test_data): Add more tests.
4460         * math/libm-test.inc: Add drem and pow10 to list of tested
4461         functions.
4462         (pow10_test): New function.
4463         (drem_test): Likewise.
4464         (drem_test_tonearest): Likewise.
4465         (drem_test_towardzero): Likewise.
4466         (drem_test_downward): Likewise.
4467         (drem_test_upward): Likewise.
4468         (main): Call the new functions.
4470         * math/libm-test.inc (finite_test_data): Remove.
4471         (finite_test): Run tests from isfinite_test_data.
4472         (gamma_test_data): Remove.
4473         (gamma_test): Run tests from lgamma_test_data.
4474         * sysdeps/i386/fpu/libm-test-ulps: Update.
4475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4477 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4479         * manual/platform.texi: Add PowerPC PPR function set documentation.
4480         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4481         implementation.
4483 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
4485         * math/libm-test.inc (MAX_EXP): Define.
4486         (ULPDIFF): Define.
4487         (ulp): New function.
4488         (check_float_internal): Use ULPDIFF.
4489         (cpow_test): Disable failing test.
4490         (check_ulp): Test ulp() implemetnation.
4491         (main): Call check_ulp before starting tests.
4493 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4495         * math/gen-libm-test.pl (generate_testfile): Do not handle
4496         START_DATA and END_DATA.
4497         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4498         END_DATA.
4499         (acos_tonearest_test_data): Likewise.
4500         (acos_towardzero_test_data): Likewise.
4501         (acos_downward_test_data): Likewise.
4502         (acos_upward_test_data): Likewise.
4503         (acosh_test_data): Likewise.
4504         (asin_test_data): Likewise.
4505         (asin_tonearest_test_data): Likewise.
4506         (asin_towardzero_test_data): Likewise.
4507         (asin_downward_test_data): Likewise.
4508         (asin_upward_test_data): Likewise.
4509         (asinh_test_data): Likewise.
4510         (atan_test_data): Likewise.
4511         (atanh_test_data): Likewise.
4512         (atan2_test_data): Likewise.
4513         (cabs_test_data): Likewise.
4514         (cacos_test_data): Likewise.
4515         (cacosh_test_data): Likewise.
4516         (carg_test_data): Likewise.
4517         (casin_test_data): Likewise.
4518         (casinh_test_data): Likewise.
4519         (catan_test_data): Likewise.
4520         (catanh_test_data): Likewise.
4521         (cbrt_test_data): Likewise.
4522         (ccos_test_data): Likewise.
4523         (ccosh_test_data): Likewise.
4524         (ceil_test_data): Likewise.
4525         (cexp_test_data): Likewise.
4526         (cimag_test_data): Likewise.
4527         (clog_test_data): Likewise.
4528         (clog10_test_data): Likewise.
4529         (conj_test_data): Likewise.
4530         (copysign_test_data): Likewise.
4531         (cos_test_data): Likewise.
4532         (cos_tonearest_test_data): Likewise.
4533         (cos_towardzero_test_data): Likewise.
4534         (cos_downward_test_data): Likewise.
4535         (cos_upward_test_data): Likewise.
4536         (cosh_test_data): Likewise.
4537         (cosh_tonearest_test_data): Likewise.
4538         (cosh_towardzero_test_data): Likewise.
4539         (cosh_downward_test_data): Likewise.
4540         (cosh_upward_test_data): Likewise.
4541         (cpow_test_data): Likewise.
4542         (cproj_test_data): Likewise.
4543         (creal_test_data): Likewise.
4544         (csin_test_data): Likewise.
4545         (csinh_test_data): Likewise.
4546         (csqrt_test_data): Likewise.
4547         (ctan_test_data): Likewise.
4548         (ctan_tonearest_test_data): Likewise.
4549         (ctan_towardzero_test_data): Likewise.
4550         (ctan_downward_test_data): Likewise.
4551         (ctan_upward_test_data): Likewise.
4552         (ctanh_test_data): Likewise.
4553         (ctanh_tonearest_test_data): Likewise.
4554         (ctanh_towardzero_test_data): Likewise.
4555         (ctanh_downward_test_data): Likewise.
4556         (ctanh_upward_test_data): Likewise.
4557         (erf_test_data): Likewise.
4558         (erfc_test_data): Likewise.
4559         (exp_test_data): Likewise.
4560         (exp_tonearest_test_data): Likewise.
4561         (exp_towardzero_test_data): Likewise.
4562         (exp_downward_test_data): Likewise.
4563         (exp_upward_test_data): Likewise.
4564         (exp10_test_data): Likewise.
4565         (exp2_test_data): Likewise.
4566         (expm1_test_data): Likewise.
4567         (fabs_test_data): Likewise.
4568         (fdim_test_data): Likewise.
4569         (finite_test_data): Likewise.
4570         (floor_test_data): Likewise.
4571         (fma_test_data): Likewise.
4572         (fma_towardzero_test_data): Likewise.
4573         (fma_downward_test_data): Likewise.
4574         (fma_upward_test_data): Likewise.
4575         (fmax_test_data): Likewise.
4576         (fmin_test_data): Likewise.
4577         (fmod_test_data): Likewise.
4578         (fpclassify_test_data): Likewise.
4579         (frexp_test_data): Likewise.
4580         (gamma_test_data): Likewise.
4581         (hypot_test_data): Likewise.
4582         (ilogb_test_data): Likewise.
4583         (isfinite_test_data): Likewise.
4584         (isgreater_test_data): Likewise.
4585         (isgreaterequal_test_data): Likewise.
4586         (isinf_test_data): Likewise.
4587         (isless_test_data): Likewise.
4588         (islessequal_test_data): Likewise.
4589         (islessgreater_test_data): Likewise.
4590         (isnan_test_data): Likewise.
4591         (isnormal_test_data): Likewise.
4592         (issignaling_test_data): Likewise.
4593         (isunordered_test_data): Likewise.
4594         (j0_test_data): Likewise.
4595         (j1_test_data): Likewise.
4596         (jn_test_data): Likewise.
4597         (ldexp_test_data): Likewise.
4598         (lgamma_test_data): Likewise.
4599         (lrint_test_data): Likewise.
4600         (lrint_tonearest_test_data): Likewise.
4601         (lrint_towardzero_test_data): Likewise.
4602         (lrint_downward_test_data): Likewise.
4603         (lrint_upward_test_data): Likewise.
4604         (llrint_test_data): Likewise.
4605         (llrint_tonearest_test_data): Likewise.
4606         (llrint_towardzero_test_data): Likewise.
4607         (llrint_downward_test_data): Likewise.
4608         (llrint_upward_test_data): Likewise.
4609         (log_test_data): Likewise.
4610         (log10_test_data): Likewise.
4611         (log1p_test_data): Likewise.
4612         (log2_test_data): Likewise.
4613         (logb_test_data): Likewise.
4614         (logb_downward_test_data): Likewise.
4615         (lround_test_data): Likewise.
4616         (llround_test_data): Likewise.
4617         (modf_test_data): Likewise.
4618         (nearbyint_test_data): Likewise.
4619         (nextafter_test_data): Likewise.
4620         (nexttoward_test_data): Likewise.
4621         (pow_test_data): Likewise.
4622         (pow_tonearest_test_data): Likewise.
4623         (pow_towardzero_test_data): Likewise.
4624         (pow_downward_test_data): Likewise.
4625         (pow_upward_test_data): Likewise.
4626         (remainder_test_data): Likewise.
4627         (remainder_tonearest_test_data): Likewise.
4628         (remainder_towardzero_test_data): Likewise.
4629         (remainder_downward_test_data): Likewise.
4630         (remainder_upward_test_data): Likewise.
4631         (remquo_test_data): Likewise.
4632         (rint_test_data): Likewise.
4633         (rint_tonearest_test_data): Likewise.
4634         (rint_towardzero_test_data): Likewise.
4635         (rint_downward_test_data): Likewise.
4636         (rint_upward_test_data): Likewise.
4637         (round_test_data): Likewise.
4638         (scalb_test_data): Likewise.
4639         (scalbn_test_data): Likewise.
4640         (scalbln_test_data): Likewise.
4641         (signbit_test_data): Likewise.
4642         (sin_test_data): Likewise.
4643         (sin_tonearest_test_data): Likewise.
4644         (sin_towardzero_test_data): Likewise.
4645         (sin_downward_test_data): Likewise.
4646         (sin_upward_test_data): Likewise.
4647         (sincos_test_data): Likewise.
4648         (sinh_test_data): Likewise.
4649         (sinh_tonearest_test_data): Likewise.
4650         (sinh_towardzero_test_data): Likewise.
4651         (sinh_downward_test_data): Likewise.
4652         (sinh_upward_test_data): Likewise.
4653         (sqrt_test_data): Likewise.
4654         (tan_test_data): Likewise.
4655         (tan_tonearest_test_data): Likewise.
4656         (tan_towardzero_test_data): Likewise.
4657         (tan_downward_test_data): Likewise.
4658         (tan_upward_test_data): Likewise.
4659         (tanh_test_data): Likewise.
4660         (tgamma_test_data): Likewise.
4661         (trunc_test_data): Likewise.
4662         (y0_test_data): Likewise.
4663         (y1_test_data): Likewise.
4664         (yn_test_data): Likewise.
4665         (significand_test_data): Likewise.
4667         * math/gen-libm-test.pl (@functions): Remove variable.
4668         (generate_testfile): Don't handle START and END lines.
4669         * math/libm-test.inc (START): New macro.
4670         (END): Likewise.
4671         (END_COMPLEX): Likewise.
4672         (acos_test): Use END macro without arguments.
4673         (acos_test_tonearest): Likewise.
4674         (acos_test_towardzero): Likewise.
4675         (acos_test_downward): Likewise.
4676         (acos_test_upward): Likewise.
4677         (acosh_test): Likewise.
4678         (asin_test): Likewise.
4679         (asin_test_tonearest): Likewise.
4680         (asin_test_towardzero): Likewise.
4681         (asin_test_downward): Likewise.
4682         (asin_test_upward): Likewise.
4683         (asinh_test): Likewise.
4684         (atan_test): Likewise.
4685         (atanh_test): Likewise.
4686         (atan2_test): Likewise.
4687         (cabs_test): Likewise.
4688         (cacos_test): Use END_COMPLEX macro without arguments.
4689         (cacosh_test): Likewise.
4690         (carg_test): Use END macro without arguments.
4691         (casin_test): Use END_COMPLEX macro without arguments.
4692         (casinh_test): Likewise.
4693         (catan_test): Likewise.
4694         (catanh_test): Likewise.
4695         (cbrt_test): Use END macro without arguments.
4696         (ccos_test): Use END_COMPLEX macro without arguments.
4697         (ccosh_test): Likewise.
4698         (ceil_test): Use END macro without arguments.
4699         (cexp_test): Use END_COMPLEX macro without arguments.
4700         (cimag_test): Use END macro without arguments.
4701         (clog_test): Use END_COMPLEX macro without arguments.
4702         (clog10_test): Likewise.
4703         (conj_test): Likewise.
4704         (copysign_test): Use END macro without arguments.
4705         (cos_test): Likewise.
4706         (cos_test_tonearest): Likewise.
4707         (cos_test_towardzero): Likewise.
4708         (cos_test_downward): Likewise.
4709         (cos_test_upward): Likewise.
4710         (cosh_test): Likewise.
4711         (cosh_test_tonearest): Likewise.
4712         (cosh_test_towardzero): Likewise.
4713         (cosh_test_downward): Likewise.
4714         (cosh_test_upward): Likewise.
4715         (cpow_test): Use END_COMPLEX macro without arguments.
4716         (cproj_test): Likewise.
4717         (creal_test): Use END macro without arguments.
4718         (csin_test): Use END_COMPLEX macro without arguments.
4719         (csinh_test): Likewise.
4720         (csqrt_test): Likewise.
4721         (ctan_test): Likewise.
4722         (ctan_test_tonearest): Likewise.
4723         (ctan_test_towardzero): Likewise.
4724         (ctan_test_downward): Likewise.
4725         (ctan_test_upward): Likewise.
4726         (ctanh_test): Likewise.
4727         (ctanh_test_tonearest): Likewise.
4728         (ctanh_test_towardzero): Likewise.
4729         (ctanh_test_downward): Likewise.
4730         (ctanh_test_upward): Likewise.
4731         (erf_test): Use END macro without arguments.
4732         (erfc_test): Likewise.
4733         (exp_test): Likewise.
4734         (exp_test_tonearest): Likewise.
4735         (exp_test_towardzero): Likewise.
4736         (exp_test_downward): Likewise.
4737         (exp_test_upward): Likewise.
4738         (exp10_test): Likewise.
4739         (exp2_test): Likewise.
4740         (expm1_test): Likewise.
4741         (fabs_test): Likewise.
4742         (fdim_test): Likewise.
4743         (finite_test): Likewise.
4744         (floor_test): Likewise.
4745         (fma_test): Likewise.
4746         (fma_test_towardzero): Likewise.
4747         (fma_test_downward): Likewise.
4748         (fma_test_upward): Likewise.
4749         (fmax_test): Likewise.
4750         (fmin_test): Likewise.
4751         (fmod_test): Likewise.
4752         (fpclassify_test): Likewise.
4753         (frexp_test): Likewise.
4754         (gamma_test): Likewise.
4755         (hypot_test): Likewise.
4756         (ilogb_test): Likewise.
4757         (isfinite_test): Likewise.
4758         (isgreater_test): Likewise.
4759         (isgreaterequal_test): Likewise.
4760         (isinf_test): Likewise.
4761         (isless_test): Likewise.
4762         (islessequal_test): Likewise.
4763         (islessgreater_test): Likewise.
4764         (isnan_test): Likewise.
4765         (isnormal_test): Likewise.
4766         (issignaling_test): Likewise.
4767         (isunordered_test): Likewise.
4768         (j0_test): Likewise.
4769         (j1_test): Likewise.
4770         (jn_test): Likewise.
4771         (ldexp_test): Likewise.
4772         (lgamma_test): Likewise.
4773         (lrint_test): Likewise.
4774         (lrint_test_tonearest): Likewise.
4775         (lrint_test_towardzero): Likewise.
4776         (lrint_test_downward): Likewise.
4777         (lrint_test_upward): Likewise.
4778         (llrint_test): Likewise.
4779         (llrint_test_tonearest): Likewise.
4780         (llrint_test_towardzero): Likewise.
4781         (llrint_test_downward): Likewise.
4782         (llrint_test_upward): Likewise.
4783         (log_test): Likewise.
4784         (log10_test): Likewise.
4785         (log1p_test): Likewise.
4786         (log2_test): Likewise.
4787         (logb_test): Likewise.
4788         (logb_test_downward): Likewise.
4789         (lround_test): Likewise.
4790         (llround_test): Likewise.
4791         (modf_test): Likewise.
4792         (nearbyint_test): Likewise.
4793         (nextafter_test): Likewise.
4794         (nexttoward_test): Likewise.
4795         (pow_test): Likewise.
4796         (pow_test_tonearest): Likewise.
4797         (pow_test_towardzero): Likewise.
4798         (pow_test_downward): Likewise.
4799         (pow_test_upward): Likewise.
4800         (remainder_test): Likewise.
4801         (remainder_test_tonearest): Likewise.
4802         (remainder_test_towardzero): Likewise.
4803         (remainder_test_downward): Likewise.
4804         (remainder_test_upward): Likewise.
4805         (remquo_test): Likewise.
4806         (rint_test): Likewise.
4807         (rint_test_tonearest): Likewise.
4808         (rint_test_towardzero): Likewise.
4809         (rint_test_downward): Likewise.
4810         (rint_test_upward): Likewise.
4811         (round_test): Likewise.
4812         (scalb_test): Likewise.
4813         (scalbn_test): Likewise.
4814         (scalbln_test): Likewise.
4815         (signbit_test): Likewise.
4816         (sin_test): Likewise.
4817         (sin_test_tonearest): Likewise.
4818         (sin_test_towardzero): Likewise.
4819         (sin_test_downward): Likewise.
4820         (sin_test_upward): Likewise.
4821         (sincos_test): Likewise.
4822         (sinh_test): Likewise.
4823         (sinh_test_tonearest): Likewise.
4824         (sinh_test_towardzero): Likewise.
4825         (sinh_test_downward): Likewise.
4826         (sinh_test_upward): Likewise.
4827         (sqrt_test): Likewise.
4828         (tan_test): Likewise.
4829         (tan_test_tonearest): Likewise.
4830         (tan_test_towardzero): Likewise.
4831         (tan_test_downward): Likewise.
4832         (tan_test_upward): Likewise.
4833         (tanh_test): Likewise.
4834         (tgamma_test): Likewise.
4835         (trunc_test): Likewise.
4836         (y0_test): Likewise.
4837         (y1_test): Likewise.
4838         (yn_test): Likewise.
4839         (significand_test): Likewise.
4841 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
4843         [BZ #15381]
4844         * libio/genops.c (_IO_no_init): Initialize wide struct info.
4846 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4848         [BZ #14894]
4849         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4850         __ppc_mdoio and __ppc_mdoom.
4851         * manual/platform.texi: Document new functions __ppc_yield,
4852         __ppc_mdoio and __ppc_mdoom.
4854 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
4856         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4857         (main): Mention "tls" pseudo-hwcap is legacy.
4858         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4860 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4862         * math/gen-libm-test.pl (parse_args): Output only string of
4863         arguments as text for test name, not full call or descriptions of
4864         tests for extra outputs.
4865         (generate_testfile): Do not pass function name to parse_args.
4866         Generate this_func variable from START.
4867         * math/libm-test.inc (struct test_f_f_data): Rename test_name
4868         field to arg_str.
4869         (struct test_ff_f_data): Likewise.
4870         (test_ff_f_data_nexttoward): Likewise.
4871         (struct test_fi_f_data): Likewise.
4872         (struct test_fl_f_data): Likewise.
4873         (struct test_if_f_data): Likewise.
4874         (struct test_fff_f_data): Likewise.
4875         (struct test_c_f_data): Likewise.
4876         (struct test_f_f1_data): Likewise.  Remove field extra_name.
4877         (struct test_fF_f1_data): Likewise.
4878         (struct test_ffI_f1_data): Likewise.
4879         (struct test_c_c_data): Rename test_name field to arg_str.
4880         (struct test_cc_c_data): Likewise.
4881         (struct test_f_i_data): Likewise.
4882         (struct test_ff_i_data): Likewise.
4883         (struct test_f_l_data): Likewise.
4884         (struct test_f_L_data): Likewise.
4885         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
4886         and extra2_name.
4887         (COMMON_TEST_SETUP): New macro.
4888         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4889         (COMMON_TEST_CLEANUP): Likewise.
4890         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4891         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
4892         macros.
4893         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4894         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
4895         macros.
4896         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4897         (RUN_TEST_fff_f): Take argument string.  Call new setup and
4898         cleanup macros.
4899         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4900         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
4901         macros.
4902         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4903         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
4904         macros.
4905         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4906         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
4907         cleanup macros.
4908         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4909         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
4910         cleanup macros.
4911         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4912         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
4913         cleanup macros.
4914         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4915         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
4916         macros.
4917         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4918         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
4919         macros.
4920         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4921         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
4922         macros.
4923         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4924         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
4925         cleanup macros.
4926         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4927         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
4928         cleanup macros.
4929         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4930         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
4931         macros.
4932         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4933         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
4934         cleanup macros.
4935         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4936         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
4937         macros.
4938         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4939         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
4940         macros.
4941         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4942         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
4943         cleanup macros.
4944         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4946 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4948         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4949         to _sifields.sigfault.
4950         (si_addr_lsb): Define new macro.
4951         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4952         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4953         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4955 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
4957         [BZ #15441]
4958         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4959         returns -1.
4960         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4961         null return -1.
4962         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4963         loading the domain.
4965 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4967         * math/gen-libm-test.pl (parse_args): Do not include expected
4968         result in test name.
4969         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4970         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4971         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4972         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4973         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4976 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4978         * benchtests/Makefile: Sort function entries.
4980         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4981         tanh, asinh, acosh, atanh.
4982         * benchtests/acos-inputs: New file.
4983         * benchtests/acosh-inputs: New file.
4984         * benchtests/asin-inputs: New file.
4985         * benchtests/asinh-inputs: New file.
4986         * benchtests/atanh-inputs: New file.
4987         * benchtests/cosh-inputs: New file.
4988         * benchtests/log-inputs: New file.
4989         * benchtests/sinh-inputs: New file.
4990         * benchtests/tanh-inputs: New file.
4992 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
4994         [BZ #15339]
4995         * posix/tst-getaddrinfo4.c: New test.
4996         * posix/Makefile (tests): Add it.
4998 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5000         [BZ #15339]
5001         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5002         when no services were used.
5003         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5004         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5006 2013-05-21  Andreas Schwab  <schwab@suse.de>
5008         [BZ #15014]
5009         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5010         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5011         successful.
5012         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5013         redundant variable declarations and reallocation of buffer when
5014         parsing as IPv6 address.  Always set NSS status when called from
5015         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
5016         buffer too small.  Correct computation of needed size.
5017         * nss/Makefile (tests): Add test-digits-dots.
5018         * nss/test-digits-dots.c: New test.
5020 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5022         * benchtests/Makefile: Remove instructions for adding
5023         benchmark tests.
5024         * benchtests/README: New file to explain how to execute and
5025         enhance the benchmark tests.
5027 2013-05-21  Andreas Schwab  <schwab@suse.de>
5029         [BZ #15493]
5030         * setjmp/Makefile (tests): Add tst-sigsetjmp.
5031         * setjmp/tst-sigsetjmp.c: New test.
5033 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5035         * sysdeps/x86_64/memset.S (memset): New implementation.
5036         (__bzero): Likewise.
5037         (__memset_tail): New function.
5039 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5041         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5042         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5043         __memcpy_sse2_unaligned ifunc selection.
5044         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5045         Add memcpy-sse2-unaligned.S.
5046         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5047         Add: __memcpy_sse2_unaligned.
5049 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
5051         [BZ #15490]
5052         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5053         math_force_eval before restoring floating-point envrionment.
5054         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5055         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5056         Likewise.
5057         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5058         <math_private.h>.
5059         (__nearbyintl): Use math_force_eval before restoring
5060         floating-point environment.
5061         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5063         * math/gen-libm-test.pl (special_functions): Remove.
5064         (parse_args): Don't handle TEST_extra.  Handle functions with no
5065         return value.
5066         * math/libm-test.inc (struct test_sincos_data): Replace with
5067         struct test_fFF_11_data.
5068         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5069         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5070         (sincos_test_data): Change element type to struct
5071         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
5072         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5073         RUN_TEST_LOOP_sincos.
5074         * math/README.libm-test: Don't mention special handling of
5075         individual functions.
5076         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5077         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5078         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5079         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5080         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5083         * math/gen-libm-test.pl (get_variable): Remove function.
5084         (parse_args): Don't show pointer parameters to call in test
5085         names.  Use "extra output N" in test names for extra outputs
5086         rather than naming variables.
5088 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
5090         [BZ #15488]
5091         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5092         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5093         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5094         double tests.
5095         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5096         disable.
5097         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5098         check_long_double.
5100         * math/gen-libm-test.pl (@tests): Remove variable.
5101         ($count): Likewise.
5102         (new_test): Remove function.
5103         (show_exceptions): New function.
5104         (special_functions): Use show_exceptions instead of new_test.
5105         (parse_args): Likewise.
5106         (generate_testfile): Pass only function name in generated call to
5107         print_max_error or print_complex_max_error.
5108         (get_ulps): Do not handle complex tests specially.
5109         (output_test): Rename to ...
5110         (get_all_ulps_for_test): ... this.  Return a string rather than
5111         printing to a file.  Require ulps to be present.
5112         (output_ulps): Generate arrays rather than #defines.
5113         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5114         (struct ulp_data): New type.
5115         (BUILD_COMPLEX_ULP): Remove macro.
5116         (compare_ulp_data): New function.
5117         (find_ulps): Likewise.
5118         (find_test_ulps): Likewise.
5119         (find_function_ulps): Likewise.
5120         (find_complex_function_ulps): Likewise.
5121         (print_max_error): Determine allowed ulps using
5122         find_function_ulps.
5123         (print_complex_max_error): Determine allowed ulps using
5124         find_complex_function_ulps.
5125         (check_float_internal): Determine max ulps using find_test_ulps.
5126         (check_float): Do not take max_ulp parameter.  Update call to
5127         check_float_internal.
5128         (check_complex): Likewise.
5129         (check_int): Do not take max_ulp parameter.
5130         (check_long): Likewise.
5131         (check_bool): Likewise.
5132         (check_longlong): Likewise.
5133         (struct test_f_f_data): Remove max_ulp field.
5134         (struct test_ff_f_data): Likewise.
5135         (struct test_ff_f_data_nexttoward): Likewise.
5136         (struct test_fi_f_data): Likewise.
5137         (struct test_fl_f_data): Likewise.
5138         (struct test_if_f_data): Likewise.
5139         (struct test_fff_f_data): Likewise.
5140         (struct test_c_f_data): Likewise.
5141         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5142         (struct test_fF_f1_data): Likewise.
5143         (struct test_ffI_f1_data): Likewise.
5144         (struct test_c_c_data): Remove max_ulp field.
5145         (struct test_cc_c_data): Likewise.
5146         (struct test_f_i_data): Likewise.
5147         (struct test_ff_i_data): Likewise.
5148         (struct test_f_l_data): Likewise.
5149         (struct test_f_L_data): Likewise.
5150         (struct test_sincos_data): Likewise.
5151         (RUN_TEST_f_f): Do not handle ulps.
5152         (RUN_TEST_LOOP_f_f): Likewise.
5153         (RUN_TEST_2_f): Likewise.
5154         (RUN_TEST_LOOP_2_f): Likewise.
5155         (RUN_TEST_fff_f): Likewise.
5156         (RUN_TEST_LOOP_fff_f): Likewise.
5157         (RUN_TEST_c_f): Likewise.
5158         (RUN_TEST_LOOP_c_f): Likewise.
5159         (RUN_TEST_f_f1): Likewise.
5160         (RUN_TEST_LOOP_f_f1): Likewise.
5161         (RUN_TEST_fF_f1): Likewise.
5162         (RUN_TEST_LOOP_fF_f1): Likewise.
5163         (RUN_TEST_fI_f1): Likewise.
5164         (RUN_TEST_LOOP_fI_f1): Likewise.
5165         (RUN_TEST_ffI_f1): Likewise.
5166         (RUN_TEST_LOOP_ffI_f1): Likewise.
5167         (RUN_TEST_c_c): Likewise.
5168         (RUN_TEST_LOOP_c_c): Likewise.
5169         (RUN_TEST_cc_c): Likewise.
5170         (RUN_TEST_LOOP_cc_c): Likewise.
5171         (RUN_TEST_f_i): Likewise.
5172         (RUN_TEST_LOOP_f_i): Likewise.
5173         (RUN_TEST_f_i_tg): Likewise.
5174         (RUN_TEST_LOOP_f_i_tg): Likewise.
5175         (RUN_TEST_ff_i_tg): Likewise.
5176         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5177         (RUN_TEST_f_b): Likewise.
5178         (RUN_TEST_LOOP_f_b): Likewise.
5179         (RUN_TEST_f_b_tg): Likewise.
5180         (RUN_TEST_LOOP_f_b_tg): Likewise.
5181         (RUN_TEST_f_l): Likewise.
5182         (RUN_TEST_LOOP_f_l): Likewise.
5183         (RUN_TEST_f_L): Likewise.
5184         (RUN_TEST_LOOP_f_L): Likewise.
5185         (RUN_TEST_sincos): Likewise.
5186         (RUN_TEST_LOOP_sincos): Likewise.
5188 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
5190         [BZ #15480]
5191         [BZ #15485]
5192         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5193         main case of finite arguments, set rounding mode to FE_TONEAREST
5194         and discard exceptions.
5195         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5196         exceptions.
5197         (remainder_tonearest_test_data): New variable.
5198         (remainder_test_tonearest): New function.
5199         (remainder_towardzero_test_data): New variable.
5200         (remainder_test_towardzero): New function.
5201         (remainder_downward_test_data): New variable.
5202         (remainder_test_downward): New function.
5203         (remainder_upward_test_data): New variable.
5204         (remainder_test_upward): New function.
5205         (main): Call the new test functions.
5207         * math/libm-test.inc (struct test_f_f1_data): Remove field
5208         extra_init.
5209         (struct test_fF_f1_data): Likewise.
5210         (struct test_ffI_f1_data): Likewise.
5211         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
5212         based on value of EXTRA_EXPECTED.
5213         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5214         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
5215         EXTRA_VAR based on value of EXTRA_EXPECTED.
5216         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5217         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
5218         EXTRA_VAR based on value of EXTRA_EXPECTED.
5219         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5220         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
5221         EXTRA_VAR based on value of EXTRA_EXPECTED.
5222         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5223         * math/gen-libm-test.pl (parse_args): Don't output initializers
5224         for extra output values.
5226         * math/libm-test.inc (check_int): Expect result to be exactly
5227         equal to expected value and do not handle ulps.
5228         (check_long): Likewise.
5229         (check_longlong): Likewise.
5231         * math/libm-test.inc (ceil_test_data): Test for "inexact"
5232         exceptions.
5233         (cimag_test_data): Likewise.
5234         (conj_test_data): Likewise.
5235         (copysign_test_data): Likewise.
5236         (cproj_test_data): Likewise.
5237         (creal_test_data): Likewise.
5238         (fabs_test_data): Likewise.
5239         (fdim_test_data): Likewise.
5240         (finite_test_data): Likewise.
5241         (floor_test_data): Likewise.
5242         (fmax_test_data): Likewise.
5243         (fmin_test_data): Likewise.
5244         (fmod_test_data): Likewise.
5245         (fpclassify_test_data): Likewise.
5246         (frexp_test_data): Likewise.
5247         (ilogb_test_data): Likewise.
5248         (isfinite_test_data): Likewise.
5249         (isgreater_test_data): Likewise.
5250         (isgreaterequal_test_data): Likewise.
5251         (isinf_test_data): Likewise.
5252         (isless_test_data): Likewise.
5253         (islessequal_test_data): Likewise.
5254         (islessgreater_test_data): Likewise.
5255         (isnan_test_data): Likewise.
5256         (isnormal_test_data): Likewise.
5257         (issignaling_test_data): Likewise.
5258         (isunordered_test_data): Likewise.
5259         (ldexp_test_data): Likewise.
5260         (lrint_test_data): Likewise.
5261         (lrint_test_data) [TEST_FLOAT]: Disable one test.
5262         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5263         (lrint_tonearest_test_data): Test for "inexact" exceptions.
5264         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5265         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5266         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5267         test input.
5268         (lrint_towardzero_test_data): Test for "inexact" exceptions.
5269         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5270         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5271         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5272         that test input.
5273         (lrint_downward_test_data): Test for "inexact" exceptions.
5274         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5275         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5276         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5277         test input.
5278         (lrint_upward_test_data): Test for "inexact" exceptions.
5279         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5280         test input.
5281         (llrint_test_data): Test for "inexact" exceptions.
5282         (llrint_test_data) [TEST_FLOAT]: Disable one test.
5283         (llrint_tonearest_test_data): Test for "inexact" exceptions.
5284         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5285         (llrint_towardzero_test_data): Test for "inexact" exceptions.
5286         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5287         (llrint_downward_test_data): Test for "inexact" exceptions.
5288         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5289         (llrint_upward_test_data): Test for "inexact" exceptions.
5290         (logb_test_data): Likewise.
5291         (logb_downward_test_data): Likewise.
5292         (nextafter_test_data): Likewise.
5293         (nexttoward_test_data): Likewise.
5294         (remainder_test_data): Likewise.
5295         (remquo_test_data): Likewise.
5296         (scalbn_test_data): Likewise.
5297         (scalbln_test_data): Likewise.
5298         (signbit_test_data): Likewise.
5299         (sqrt_test_data): Likewise.
5300         (significand_test_data): Likewise.
5302 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5304         [BZ #15424]
5305         * benchtests/bench-modf.c (struct args): Mark arg0 as
5306         volatile.
5307         * scripts/bench.pl: Mark members of struct args as volatile.
5309 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5311         [BZ # 15497]
5312         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5313         negative infinity on POWER6 or lower.
5314         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5316 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5318         [BZ #15442]
5319         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5320         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5321         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5322         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5323         (_FP_SETQNAN): New macro.
5324         (_FP_SETQNAN_SEMIRAW): Likewise.
5325         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5326         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5327         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5328         (FP_EXTEND): Use _FP_FRAC_SNANP.
5329         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5330         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5331         into account.
5332         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5333         New macro.
5334         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5335         Likewise.
5337 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5339         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5340         with DIVIDE_BY_ZERO_EXCEPTION.
5341         (gamma_test_data): Likewise.
5342         (lgamma_test_data): Likewise.
5343         (log_test_data): Likewise.
5344         (log10_test_data): Likewise.
5345         (log2_test_data): Likewise.
5346         (tgamma_test_data): Likewise.
5348         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5349         (acos_test_tonearest): Likewise.
5350         (acos_test_towardzero): Likewise.
5351         (acos_test_downward): Likewise.
5352         (acos_test_upward): Likewise.
5353         (acosh_test): Likewise.
5354         (asin_test): Likewise.
5355         (asin_test_tonearest): Likewise.
5356         (asin_test_towardzero): Likewise.
5357         (asin_test_downward): Likewise.
5358         (asin_test_upward): Likewise.
5359         (asinh_test): Likewise.
5360         (atan_test): Likewise.
5361         (atanh_test): Likewise.
5362         (atan2_test): Likewise.
5363         (cabs_test): Likewise.
5364         (cacos_test): Likewise.
5365         (cacosh_test): Likewise.
5366         (casin_test): Likewise.
5367         (casinh_test): Likewise.
5368         (catan_test): Likewise.
5369         (catanh_test): Likewise.
5370         (cbrt_test): Likewise.
5371         (ccos_test): Likewise.
5372         (ccosh_test): Likewise.
5373         (cexp_test): Likewise.
5374         (clog_test): Likewise.
5375         (clog10_test): Likewise.
5376         (cos_test): Likewise.
5377         (cos_test_tonearest): Likewise.
5378         (cos_test_towardzero): Likewise.
5379         (cos_test_downward): Likewise.
5380         (cos_test_upward): Likewise.
5381         (cosh_test): Likewise.
5382         (cosh_test_tonearest): Likewise.
5383         (cosh_test_towardzero): Likewise.
5384         (cosh_test_downward): Likewise.
5385         (cosh_test_upward): Likewise.
5386         (cpow_test): Likewise.
5387         (csin_test): Likewise.
5388         (csinh_test): Likewise.
5389         (csqrt_test): Likewise.
5390         (ctan_test): Likewise.
5391         (ctan_test_tonearest): Likewise.
5392         (ctan_test_towardzero): Likewise.
5393         (ctan_test_downward): Likewise.
5394         (ctan_test_upward): Likewise.
5395         (ctanh_test): Likewise.
5396         (ctanh_test_tonearest): Likewise.
5397         (ctanh_test_towardzero): Likewise.
5398         (ctanh_test_downward): Likewise.
5399         (ctanh_test_upward): Likewise.
5400         (erf_test): Likewise.
5401         (erfc_test): Likewise.
5402         (exp_test): Likewise.
5403         (exp_test_tonearest): Likewise.
5404         (exp_test_towardzero): Likewise.
5405         (exp_test_downward): Likewise.
5406         (exp_test_upward): Likewise.
5407         (exp10_test): Likewise.
5408         (exp2_test): Likewise.
5409         (expm1_test): Likewise.
5410         (fmod_test): Likewise.
5411         (gamma_test): Likewise.
5412         (hypot_test): Likewise.
5413         (j0_test): Likewise.
5414         (j1_test): Likewise.
5415         (jn_test): Likewise.
5416         (lgamma_test): Likewise.
5417         (log_test): Likewise.
5418         (log10_test): Likewise.
5419         (log1p_test): Likewise.
5420         (log2_test): Likewise.
5421         (logb_test_downward): Likewise.
5422         (pow_test): Likewise.
5423         (pow_test_tonearest): Likewise.
5424         (pow_test_towardzero): Likewise.
5425         (pow_test_downward): Likewise.
5426         (pow_test_upward): Likewise.
5427         (remainder_test): Likewise.
5428         (remquo_test): Likewise.
5429         (sin_test): Likewise.
5430         (sin_test_tonearest): Likewise.
5431         (sin_test_towardzero): Likewise.
5432         (sin_test_downward): Likewise.
5433         (sin_test_upward): Likewise.
5434         (sincos_test): Likewise.
5435         (sinh_test): Likewise.
5436         (sinh_test_tonearest): Likewise.
5437         (sinh_test_towardzero): Likewise.
5438         (sinh_test_downward): Likewise.
5439         (sinh_test_upward): Likewise.
5440         (sqrt_test): Likewise.
5441         (tan_test): Likewise.
5442         (tan_test_tonearest): Likewise.
5443         (tan_test_towardzero): Likewise.
5444         (tan_test_downward): Likewise.
5445         (tan_test_upward): Likewise.
5446         (tanh_test): Likewise.
5447         (tgamma_test): Likewise.
5448         (y0_test): Likewise.
5449         (y1_test): Likewise.
5450         (yn_test): Likewise.
5452         * math/gen-libm-test.pl (adjust_arg): Remove function.
5453         (special_function): Remove argument $in_func.  Only handle
5454         generating output for tables of tests, not inside functions.
5455         (parse_args): Likewise.
5456         (generate_testfile): Remove variable $in_func.  Update call to
5457         parse_args.
5458         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5459         (MINUS_ZERO_INIT): Rename macro to minus_zero.
5460         (PLUS_INFTY_INIT): Rename macro to plus_infty.
5461         (MINUS_INFTY_INIT): Rename macro to minus_infty.
5462         (QNAN_VALUE_INIT): Rename macro to qnan_value.
5463         (MAX_VALUE_INIT): Rename macro to max_value.
5464         (MIN_VALUE_INIT): Rename macro to min_value.
5465         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5466         (plus_zero): Remove variable.
5467         (minus_zero): Likewise.
5468         (plus_infty): Likewise.
5469         (minus_infty): Likewise.
5470         (qnan_value): Likewise.
5471         (max_value): Likewise.
5472         (min_value): Likewise.
5473         (min_subnorm_value): Likewise.
5475 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5477         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5478         uint64_t or uint32_t usage.
5479         * crypt/sha256-block.c: Likewise.
5480         * crypt/sha256-crypt.c: Likewise.
5481         * crypt/sha256.c: Likewise.
5482         * crypt/sha512-block.c: Likewise.
5483         * crypt/sha512-crypt.c: Likewise.
5484         * crypt/sha512.c: Likewise.
5485         * debug/backtrace-tst.c: Likewise.
5486         * debug/pcprofiledump.c: Likewise.
5487         * elf/cache.c: Likewise.
5488         * elf/dl-cache.c: Likewise.
5489         * elf/dl-misc.c: Likewise.
5490         * elf/dl-profile.c: Likewise.
5491         * elf/dl-support.c: Likewise.
5492         * elf/ldconfig.c: Likewise.
5493         * elf/sprof.c: Likewise.
5494         * iconv/dummy-repertoire.c: Likewise.
5495         * iconv/iconv_charmap.c: Likewise.
5496         * iconv/skeleton.c: Likewise.
5497         * iconvdata/8bit-generic.c: Likewise.
5498         * iconvdata/cp737.h: Likewise.
5499         * iconvdata/cp775.h: Likewise.
5500         * iconvdata/ibm1008.h: Likewise.
5501         * iconvdata/ibm1025.h: Likewise.
5502         * iconvdata/ibm1046.h: Likewise.
5503         * iconvdata/ibm1097.h: Likewise.
5504         * iconvdata/ibm1112.h: Likewise.
5505         * iconvdata/ibm1122.h: Likewise.
5506         * iconvdata/ibm1123.h: Likewise.
5507         * iconvdata/ibm1124.h: Likewise.
5508         * iconvdata/ibm1129.h: Likewise.
5509         * iconvdata/ibm1130.h: Likewise.
5510         * iconvdata/ibm1132.h: Likewise.
5511         * iconvdata/ibm1133.h: Likewise.
5512         * iconvdata/ibm1137.h: Likewise.
5513         * iconvdata/ibm1140.h: Likewise.
5514         * iconvdata/ibm1141.h: Likewise.
5515         * iconvdata/ibm1142.h: Likewise.
5516         * iconvdata/ibm1143.h: Likewise.
5517         * iconvdata/ibm1144.h: Likewise.
5518         * iconvdata/ibm1145.h: Likewise.
5519         * iconvdata/ibm1146.h: Likewise.
5520         * iconvdata/ibm1147.h: Likewise.
5521         * iconvdata/ibm1148.h: Likewise.
5522         * iconvdata/ibm1149.h: Likewise.
5523         * iconvdata/ibm1153.h: Likewise.
5524         * iconvdata/ibm1154.h: Likewise.
5525         * iconvdata/ibm1155.h: Likewise.
5526         * iconvdata/ibm1156.h: Likewise.
5527         * iconvdata/ibm1157.h: Likewise.
5528         * iconvdata/ibm1158.h: Likewise.
5529         * iconvdata/ibm1160.h: Likewise.
5530         * iconvdata/ibm1161.h: Likewise.
5531         * iconvdata/ibm1162.h: Likewise.
5532         * iconvdata/ibm1163.h: Likewise.
5533         * iconvdata/ibm1164.h: Likewise.
5534         * iconvdata/ibm1166.h: Likewise.
5535         * iconvdata/ibm1167.h: Likewise.
5536         * iconvdata/ibm12712.h: Likewise.
5537         * iconvdata/ibm1390.h: Likewise.
5538         * iconvdata/ibm1399.h: Likewise.
5539         * iconvdata/ibm16804.h: Likewise.
5540         * iconvdata/ibm4517.h: Likewise.
5541         * iconvdata/ibm4899.h: Likewise.
5542         * iconvdata/ibm4909.h: Likewise.
5543         * iconvdata/ibm4971.h: Likewise.
5544         * iconvdata/ibm5347.h: Likewise.
5545         * iconvdata/ibm803.h: Likewise.
5546         * iconvdata/ibm856.h: Likewise.
5547         * iconvdata/ibm901.h: Likewise.
5548         * iconvdata/ibm902.h: Likewise.
5549         * iconvdata/ibm9030.h: Likewise.
5550         * iconvdata/ibm9066.h: Likewise.
5551         * iconvdata/ibm921.h: Likewise.
5552         * iconvdata/ibm922.h: Likewise.
5553         * iconvdata/ibm9448.h: Likewise.
5554         * iconvdata/isiri-3342.h: Likewise.
5555         * iconvdata/jis0201.h: Likewise.
5556         * include/link.h: Likewise.
5557         * include/netdb.h: Likewise.
5558         * inet/check_native.c: Likewise.
5559         * inet/check_pf.c: Likewise.
5560         * inet/getipv4sourcefilter.c: Likewise.
5561         * inet/getnameinfo.c: Likewise.
5562         * inet/getsourcefilter.c: Likewise.
5563         * inet/htonl.c: Likewise.
5564         * inet/setipv4sourcefilter.c: Likewise.
5565         * inet/setsourcefilter.c: Likewise.
5566         * inet/test-inet6_opt.c: Likewise.
5567         * inet/tst-network.c: Likewise.
5568         * locale/C-collate.c: Likewise.
5569         * locale/C-ctype.c: Likewise.
5570         * locale/C-time.c: Likewise.
5571         * locale/C-translit.h: Likewise.
5572         * locale/loadarchive.c: Likewise.
5573         * locale/programs/3level.h: Likewise.
5574         * locale/programs/charmap.c: Likewise.
5575         * locale/programs/charmap.h: Likewise.
5576         * locale/programs/ld-address.c: Likewise.
5577         * locale/programs/ld-collate.c: Likewise.
5578         * locale/programs/ld-ctype.c: Likewise.
5579         * locale/programs/ld-identification.c: Likewise.
5580         * locale/programs/ld-measurement.c: Likewise.
5581         * locale/programs/ld-messages.c: Likewise.
5582         * locale/programs/ld-monetary.c: Likewise.
5583         * locale/programs/ld-name.c: Likewise.
5584         * locale/programs/ld-numeric.c: Likewise.
5585         * locale/programs/ld-paper.c: Likewise.
5586         * locale/programs/ld-telephone.c: Likewise.
5587         * locale/programs/ld-time.c: Likewise.
5588         * locale/programs/linereader.c: Likewise.
5589         * locale/programs/locale.c: Likewise.
5590         * locale/programs/locarchive.c: Likewise.
5591         * locale/programs/locfile.h: Likewise.
5592         * locale/programs/repertoire.c: Likewise.
5593         * locale/programs/simple-hash.c: Likewise.
5594         * locale/programs/simple-hash.h: Likewise.
5595         * malloc/memusage.c: Likewise.
5596         * malloc/memusagestat.c: Likewise.
5597         * nis/nis_defaults.c: Likewise.
5598         * nis/nis_hash.c: Likewise.
5599         * nis/nis_print.c: Likewise.
5600         * nis/nis_xdr.c: Likewise.
5601         * nscd/connections.c: Likewise.
5602         * nscd/hstcache.c: Likewise.
5603         * nscd/nscd_gethst_r.c: Likewise.
5604         * nscd/nscd_getserv_r.c: Likewise.
5605         * nscd/nscd_helper.c: Likewise.
5606         * nscd/servicescache.c: Likewise.
5607         * nss/makedb.c: Likewise.
5608         * nss/nss_db/db-XXX.c: Likewise.
5609         * nss/nss_db/db-initgroups.c: Likewise.
5610         * nss/nss_db/db-netgrp.c: Likewise.
5611         * nss/nss_files/files-network.c: Likewise.
5612         * nss/nss_files/files-parse.c: Likewise.
5613         * posix/bug-regex5.c: Likewise.
5614         * posix/fnmatch_loop.c: Likewise.
5615         * posix/regcomp.c: Likewise.
5616         * posix/regexec.c: Likewise.
5617         * posix/tst-rfc3484-2.c: Likewise.
5618         * posix/tst-rfc3484-3.c: Likewise.
5619         * posix/tst-rfc3484.c: Likewise.
5620         * resolv/nss_dns/dns-canon.c: Likewise.
5621         * resolv/nss_dns/dns-network.c: Likewise.
5622         * resolv/res_init.c: Likewise.
5623         * resolv/res_mkquery.c: Likewise.
5624         * resolv/tst-aton.c: Likewise.
5625         * stdlib/cxa_atexit.c: Likewise.
5626         * stdlib/cxa_finalize.c: Likewise.
5627         * stdlib/gen-fpioconst.c: Likewise.
5628         * stdlib/strtol_l.c: Likewise.
5629         * string/tst-endian.c: Likewise.
5630         * sunrpc/auth_des.c: Likewise.
5631         * sunrpc/clnt_udp.c: Likewise.
5632         * sunrpc/rtime.c: Likewise.
5633         * sunrpc/svcauth_des.c: Likewise.
5634         * sunrpc/xdr.c: Likewise.
5635         * sunrpc/xdr_intXX_t.c: Likewise.
5636         * sunrpc/xdr_rec.c: Likewise.
5637         * sysdeps/generic/ldconfig.h: Likewise.
5638         * sysdeps/generic/ldsodefs.h: Likewise.
5639         * sysdeps/generic/memusage.h: Likewise.
5640         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5641         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5642         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5643         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5644         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5645         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5646         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5647         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5648         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5649         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5650         * sysdeps/posix/getaddrinfo.c: Likewise.
5651         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5652         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5653         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5654         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5655         * sysdeps/powerpc/test-gettimebase.c: Likewise.
5656         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5657         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5658         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5659         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5660         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5661         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5662         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5663         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5664         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5665         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5666         * sysdeps/x86_64/dl-tls.h: Likewise.
5667         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5668         * time/alt_digit.c: Likewise.
5669         * time/era.c: Likewise.
5670         * wcsmbs/tst-c16c32-1.c: Likewise.
5672 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5674         * math/libm-test.inc (struct test_sincos_data): New type.
5675         (RUN_TEST_LOOP_sincos): New macro.
5676         (sincos_test_data): New variable.
5677         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5679 2013-05-16  Richard Henderson  <rth@redhat.com>
5681         * math/atest-exp2.c (LIMB64): New macro.
5682         (CONSTSZ): New macro.
5683         (mp_exp1, mp_exp_m1, mp_log2): New variables.
5684         (hexdig): Move ...
5685         (print_mpn_fp): ... to function scope.
5686         (read_mpn_hex): Remove.
5687         (get_log2): Remove.
5688         (exp2_mpn): Use mp_log2.
5689         (main): Use mp_exp1.
5691 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5693         * math/libm-test.inc: Remove comment about not testing "inexact"
5694         exceptions.
5695         (INEXACT_EXCEPTION): New macro.
5696         (NO_INEXACT_EXCEPTION): Likewise.
5697         (INVALID_EXCEPTION_OK): Update value.
5698         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5699         (OVERFLOW_EXCEPTION_OK): Likewise.
5700         (UNDERFLOW_EXCEPTION_OK): Likewise.
5701         (IGNORE_ZERO_INF_SIGN): Likewise.
5702         (ERRNO_UNCHANGED): Likewise.
5703         (ERRNO_EDOM): Likewise.
5704         (ERRNO_ERANGE): Likewise.
5705         (test_exceptions): Handle testing "inexact" exceptions.
5706         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5707         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5708         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5709         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5710         INEXACT_EXCEPTION.
5711         (rint_towardzero_test_data): Likewise.
5712         (rint_downward_test_data): Likewise.
5713         (rint_upward_test_data): Likewise.
5715         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5716         with OVERFLOW_EXCEPTION.
5717         (exp10_test_data): Likewise.
5718         (exp2_test_data): Likewise.
5719         (expm1_test_data): Likewise.
5720         (lgamma_test_data): Likewise.
5721         (pow_test_data): Likewise.
5722         (tgamma_test_data): Likewise.
5723         (yn_test_data): Remove duplicate test of overflow.
5725         * math/libm-test.inc (struct test_cc_c_data): New type.
5726         (RUN_TEST_LOOP_cc_c): New macro.
5727         (cpow_test_data): New variable.
5728         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5730         * math/libm-test.inc (struct test_f_L_data): New type.
5731         (RUN_TEST_LOOP_f_L): New macro.
5732         (llrint_test_data): New variable.
5733         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5734         (llrint_tonearest_test_data): New variable.
5735         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5736         (llrint_towardzero_test_data): New variable.
5737         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5738         (llrint_downward_test_data): New variable.
5739         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5740         (llrint_upward_test_data): New variable.
5741         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5742         (llround_test_data): New variable.
5743         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5745 2013-05-13  Peter Collingbourne  <pcc@google.com>
5747         * math/atest-exp2.c (get_log2): Remove const attribute.
5749 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5751         * math/libm-test.inc (struct test_f_l_data): New type.
5752         (RUN_TEST_LOOP_f_l): New macro.
5753         (lrint_test_data): New variable.
5754         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5755         (lrint_tonearest_test_data): New variable.
5756         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5757         (lrint_towardzero_test_data): New variable.
5758         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5759         (lrint_downward_test_data): New variable.
5760         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5761         (lrint_upward_test_data): New variable.
5762         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5763         (lround_test_data): New variable.
5764         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5766 2013-05-15  Peter Collingbourne  <pcc@google.com>
5768         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5769         (EXTRACT_WORDS64) Use where appropriate.
5770         (INSERT_WORDS64) Likewise.
5772         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5773         constraints with x constraints.
5774         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5776         * malloc/obstack.c (_obstack_compat): Add initializer.
5778 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5780         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5781         si_trapno and add si_addr_lsb to _sifields.sigfault.
5782         (si_trapno): Remove macro.
5783         (si_addr_lsb): Define new macro.
5784         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5786 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5788         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5789         instead of TEST_f_l.
5790         (llrint_test_tonearest): Likewise.
5791         (llrint_test_towardzero): Likewise.
5792         (llrint_test_downward): Likewise.
5793         (llrint_test_upward): Likewise.
5794         (llround_test): Likewise.
5796         * math/libm-test.inc (struct test_f_i_data): Add comment.
5797         (RUN_TEST_LOOP_f_b): New macro.
5798         (RUN_TEST_LOOP_f_b_tg): Likewise.
5799         (finite_test_data): New variable.
5800         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5801         (isfinite_test_data): New variable.
5802         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5803         (isinf_test_data): New variable.
5804         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5805         (isnan_test_data): New variable.
5806         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5807         (isnormal_test_data): New variable.
5808         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5809         (issignaling_test_data): New variable.
5810         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5811         (signbit_test_data): New variable.
5812         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5814         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5815         with INVALID_EXCEPTION.
5816         (acosh_test_data): Likewise.
5817         (asin_test_data): Likewise.
5818         (atanh_test_data): Likewise.
5819         (fmod_test_data): Likewise.
5820         (log_test_data): Likewise.
5821         (log10_test_data): Likewise.
5822         (log2_test_data): Likewise.
5823         (pow_test_data): Likewise.
5824         (sqrt_test_data): Likewise.
5825         (y0_test_data): Likewise.
5826         (y1_test_data): Likewise.
5827         (yn_test_data): Likewise.
5829         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5830         function contents.
5832         * math/libm-test.inc (struct test_ff_i_data): New type.
5833         (RUN_TEST_LOOP_ff_i_tg): New macro.
5834         (isgreater_test_data): New variable.
5835         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5836         (isgreaterequal_test_data): New variable.
5837         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5838         (isless_test_data): New variable.
5839         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5840         (islessequal_test_data): New variable.
5841         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5842         (islessgreater_test_data): New variable.
5843         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5844         (isunordered_test_data): New variable.
5845         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5847 2013-05-14  David S. Miller  <davem@davemloft.net>
5849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5851 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
5853         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5855         * math/libm-test.inc (struct test_fF_f1_data): Change type of
5856         extra_test to int.
5857         (struct test_f_i_data): Change type of max_ulp to int.
5859         * math/libm-test.inc (test_ffI_f1_data): New type.
5860         (RUN_TEST_LOOP_ffI_f1): New macro.
5861         (remquo_test_data): New variable.
5862         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5864         * setjmp/tst-setjmp-fp.c: New file.
5865         * setjmp/Makefile (tests): Add tst-setjmp-fp.
5866         (link-libm): New variable.
5867         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5869         * math/libm-test.inc (struct test_f_i_data): New type.
5870         (RUN_TEST_LOOP_f_i): New macro.
5871         (RUN_TEST_LOOP_f_i_tg): Likewise.
5872         (fpclassify_test_data): New variable.
5873         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5874         (ilogb_test_data): New variable.
5875         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5877         * math/libm-test.inc (scalbln_test): Correct function name in END
5878         call.
5880         * math/libm-test.inc (struct test_f_f1_data): Add comment.
5881         (RUN_TEST_LOOP_fI_f1): New macro.
5882         (frexp_test_data): New variable.
5883         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5885         * math/libm-test.inc (struct test_fF_f1_data): New type.
5886         (RUN_TEST_LOOP_fF_f1): New macro.
5887         (modf_test_data): New variable.
5888         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5890         * math/libm-test.inc (struct test_f_f1_data): New type.
5891         (RUN_TEST_LOOP_f_f1): New macro.
5892         (gamma_test_data): New variable.
5893         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5894         (lgamma_test_data): New variable.
5895         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5897 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
5899         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5900         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5901         (main): Comment "tls" pseudo-hwcap.
5903 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
5905         * math/libm-test.inc (struct test_fl_f_data): New type.
5906         (RUN_TEST_LOOP_fl_f): New variable.
5907         (scalbln_test_data): New variable.
5908         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5910         * math/libm-test.inc (struct test_fi_f_data): New type.
5911         (RUN_TEST_LOOP_fi_f): New macro.
5912         (ldexp_test_data): New variable.
5913         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5914         (scalbn_test_data): New variable.
5915         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5917         * math/libm-test.inc (struct test_c_f_data): New type.
5918         (RUN_TEST_LOOP_c_f): New macro.
5919         (cabs_test_data): New variable.
5920         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5921         (carg_test_data): New variable.
5922         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5923         (cimag_test_data): New variable.
5924         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5925         (creal_test_data): New variable.
5926         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5928         * math/libm-test.inc (struct test_if_f_data): New type.
5929         (RUN_TEST_LOOP_if_f): New macro.
5930         (jn_test_data): New variable.
5931         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5932         (yn_test_data): New variable.
5933         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5935         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5937 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5939         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5940         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5942 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5944         * benchtests/Makefile (CPPFLAGS-nonlib): Add
5945         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5946         (bench-deps): Add bench-timing.h.
5947         * benchtests-bench-skeleton.c: Include bench-timing.h.
5948         (main): Use TIMING_* macros instead of clock_gettime.
5949         * benchtests/bench-timing.h: New file.
5951         [BZ #14582]
5952         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5953         Renamed from _LIB_VERSION.
5954         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5956 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
5958         * math/libm-test.inc (struct test_fff_f_data): New type.
5959         (RUN_TEST_LOOP_fff_f): New macro.
5960         (fma_test_data): New variable.
5961         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5962         (fma_towardzero_test_data): New variable.
5963         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5964         (fma_downward_test_data): New variable.
5965         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5966         (fma_upward_test_data): New variable.
5967         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5969         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5970         (struct test_c_c_data): New type.
5971         (RUN_TEST_LOOP_c_c): New macro.
5972         (cacos_test_data): New variable.
5973         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5974         (cacosh_test_data): New variable.
5975         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5976         (casin_test_data): New variable.
5977         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5978         (casinh_test_data): New variable.
5979         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5980         (catan_test_data): New variable.
5981         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5982         (catanh_test_data): New variable.
5983         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5984         (ccos_test_data): New variable.
5985         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5986         (ccosh_test_data): New variable.
5987         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5988         (cexp_test_data): New variable.
5989         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5990         (clog_test_data): New variable.
5991         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5992         (clog10_test_data): New variable.
5993         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5994         (conj_test_data): New variable.
5995         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5996         (cproj_test_data): New variable.
5997         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5998         (csin_test_data): New variable.
5999         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6000         (csinh_test_data): New variable.
6001         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6002         (csqrt_test_data): New variable.
6003         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6004         (ctan_test_data): New variable.
6005         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6006         (ctan_tonearest_test_data): New variable.
6007         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6008         (ctan_towardzero_test_data): New variable.
6009         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6010         (ctan_downward_test_data): New variable.
6011         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6012         (ctan_upward_test_data): New variable.
6013         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6014         (ctanh_test_data): New variable.
6015         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6016         (ctanh_tonearest_test_data): New variable.
6017         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6018         (ctanh_towardzero_test_data): New variable.
6019         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6020         (ctanh_downward_test_data): New variable.
6021         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6022         (ctanh_upward_test_data): New variable.
6023         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6024         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6025         of BUILD_COMPLEX.
6027         * math/libm-test.inc (struct test_ff_f_data): New type.
6028         (struct test_ff_f_data_nexttoward): Likewise.
6029         (RUN_TEST_LOOP_2_f): New macro.
6030         (RUN_TEST_LOOP_ff_f): Likewise.
6031         (atan2_test_data): New variable.
6032         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6033         (copysign_test_data): New variable.
6034         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6035         (fdim_test_data): New variable.
6036         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6037         (fmax_test_data): New variable.
6038         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6039         (fmin_test_data): New variable.
6040         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6041         (fmod_test_data): New variable.
6042         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6043         (hypot_test_data): New variable.
6044         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6045         (nextafter_test_data): New variable.
6046         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6047         (nexttoward_test_data): New variable.
6048         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6049         (pow_test_data): New variable.
6050         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6051         (pow_tonearest_test_data): New variable.
6052         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6053         (pow_towardzero_test_data): New variable.
6054         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6055         (pow_downward_test_data): New variable.
6056         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6057         (pow_upward_test_data): New variable.
6058         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6059         (remainder_test_data): New variable.
6060         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6061         (scalb_test_data): New variable.
6062         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6063         * sysdeps/i386/fpu/libm-test-ulps: Update.
6065 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
6067         * math/libm-test.inc (fma_test): Use max_value instead of local
6068         variable fltmax.
6069         (nextafter_test): Likewise.
6071         * math/libm-test.inc (acos_towardzero_test_data): New variable.
6072         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6073         (acos_downward_test_data): New variable.
6074         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6075         (acos_upward_test_data): New variable.
6076         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6077         (acosh_test_data): New variable.
6078         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6079         (asin_test_data): New variable.
6080         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6081         (asin_tonearest_test_data): New variable.
6082         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6083         (asin_towardzero_test_data): New variable.
6084         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6085         (asin_downward_test_data): New variable.
6086         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6087         (asin_upward_test_data): New variable.
6088         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6089         (asinh_test_data): New variable.
6090         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6091         (atan_test_data): New variable.
6092         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6093         (atanh_test_data): New variable.
6094         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6095         (cbrt_test_data): New variable.
6096         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6097         (ceil_test_data): New variable.
6098         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6099         (cos_test_data): New variable.
6100         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6101         (cos_tonearest_test_data): New variable.
6102         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6103         (cos_towardzero_test_data): New variable.
6104         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6105         (cos_downward_test_data): New variable.
6106         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6107         (cos_upward_test_data): New variable.
6108         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6109         (cosh_test_data): New variable.
6110         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6111         (cosh_tonearest_test_data): New variable.
6112         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6113         (cosh_towardzero_test_data): New variable.
6114         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6115         (cosh_downward_test_data): New variable.
6116         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6117         (cosh_upward_test_data): New variable.
6118         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6119         (erf_test_data): New variable.
6120         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6121         (erfc_test_data): New variable.
6122         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6123         (exp_test_data): New variable.
6124         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6125         (exp_tonearest_test_data): New variable.
6126         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6127         (exp_towardzero_test_data): New variable.
6128         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6129         (exp_downward_test_data): New variable.
6130         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6131         (exp_upward_test_data): New variable.
6132         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6133         (exp10_test_data): New variable.
6134         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6135         (exp2_test_data): New variable.
6136         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6137         (expm1_test_data): New variable.
6138         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6139         (fabs_test_data): New variable.
6140         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6141         (floor_test_data): New variable.
6142         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6143         (j0_test_data): New variable.
6144         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6145         (j1_test_data): New variable.
6146         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6147         (log_test_data): New variable.
6148         (log_test): Run tests with RUN_TEST_LOOP_f_f.
6149         (log10_test_data): New variable.
6150         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6151         (log1p_test_data): New variable.
6152         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6153         (log2_test_data): New variable.
6154         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6155         (logb_test_data): New variable.
6156         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6157         (logb_downward_test_data): New variable.
6158         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6159         (nearbyint_test_data): New variable.
6160         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6161         (rint_test_data): New variable.
6162         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6163         (rint_tonearest_test_data): New variable.
6164         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6165         (rint_towardzero_test_data): New variable.
6166         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6167         (rint_downward_test_data): New variable.
6168         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6169         (rint_upward_test_data): New variable.
6170         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6171         (round_test_data): New variable.
6172         (round_test): Run tests with RUN_TEST_LOOP_f_f.
6173         (sin_test_data): New variable.
6174         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6175         (sin_tonearest_test_data): New variable.
6176         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6177         (sin_towardzero_test_data): New variable.
6178         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6179         (sin_downward_test_data): New variable.
6180         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6181         (sin_upward_test_data): New variable.
6182         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6183         (sinh_test_data): New variable.
6184         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6185         (sinh_tonearest_test_data): New variable.
6186         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6187         (sinh_towardzero_test_data): New variable.
6188         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6189         (sinh_downward_test_data): New variable.
6190         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6191         (sinh_upward_test_data): New variable.
6192         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6193         (sqrt_test_data): New variable.
6194         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6195         (tan_test_data): New variable.
6196         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6197         (tan_tonearest_test_data): New variable.
6198         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6199         (tan_towardzero_test_data): New variable.
6200         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6201         (tan_downward_test_data): New variable.
6202         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6203         (tan_upward_test_data): New variable.
6204         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6205         (tanh_test_data): New variable.
6206         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6207         (tgamma_test_data): New variable.
6208         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6209         (trunc_test_data): New variable.
6210         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6211         (y0_test_data): New variable.
6212         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6213         (y1_test_data): New variable.
6214         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6215         (significand_test_data): New variable.
6216         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6218 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
6220         [BZ #12387]
6221         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6223 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6225         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6227 2013-05-10  Andreas Jaeger  <aj@suse.de>
6229         [BZ #15448]
6230         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6231         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6233 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6235         * math/gen-libm-test.pl (adjust_arg): New function.
6236         (special_functions): Handle generating output in both functions
6237         and arrays.
6238         (parse_args): Likewise.
6239         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
6240         $in_func argument to parse_args.
6241         * math/libm-test.inc (struct test_f_f_data): New type.
6242         (IF_ROUND_INIT_): New macro.
6243         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6244         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6245         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6246         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6247         (ROUND_RESTORE_): Likewise.
6248         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6249         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6250         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6251         (ROUND_RESTORE_FE_UPWARD): Likewise.
6252         (RUN_TEST_LOOP_f_f): New macro.
6253         (acos_test_data): New variable.
6254         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6255         (acos_tonearest_test_data): New variable.
6256         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6258 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6260         * benchtests/bench-skeleton.c (startup): Fix coding style.
6262 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6264         [BZ #6809]
6265         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6266         negative infinity argument.
6267         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6268         negative infinity argument.
6269         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6270         negative infinity argument.
6271         * math/libm-test.inc (tgamma_test): Expect errno to be set for
6272         domain errors.
6274 2013-05-10  Florian Weimer  <fweimer@redhat.com>
6276         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6277         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6278         * iconv/iconv_prog.c (main): Likewise.
6279         * locale/programs/charmap-dir.c (charmap_readdir)
6280         (fopen_uncompressed): Likewise.
6281         * locale/programs/locfile.c (siblings_uncached)
6282         (write_locale_data): Use lstat64 instead of lstat.
6283         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6284         stat.
6286 2013-05-10  Andreas Jaeger  <aj@suse.de>
6288         [BZ #15395]
6289         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6290         localization.
6291         Include <locale.h>.
6293 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
6295         * elf/dl-close.c (_dl_close_worker): Add comments.
6297 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
6299         [BZ #15359]
6300         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6301         high part of pi/2.
6302         (__ieee754_rem_pio2l): Update comments.
6304         [BZ #15429]
6305         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6306         high part of pi/2.
6307         (__ieee754_rem_pio2l): Update comments.
6309         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6310         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6312         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6313         M_PI_4l.
6315         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6316         (M_PI_34_LOG10El): Likewise.
6317         (M_PI2_LOG10El): Likewise.
6318         (M_PI4_LOG10El): Likewise.
6319         (M_PI_LOG10El): Likewise.
6321 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6325 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
6327         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6328         (MINUS_ZERO_INIT): Likewise.
6329         (PLUS_INFTY_INIT): Likewise.
6330         (MINUS_INFTY_INIT): Likewise.
6331         (QNAN_VALUE_INIT): Likewise.
6332         (MAX_VALUE_INIT): Likewise.
6333         (MIN_VALUE_INIT): Likewise.
6334         (MIN_SUBNORM_VALUE_INIT): Likewise.
6335         (plus_zero): Initialize with PLUS_ZERO_INIT.
6336         (minus_zero): Initialize with MINUS_ZERO_INIT.
6337         (plus_infty): Initialize with PLUS_INFTY_INIT.
6338         (minus_infty): Initialize with MINUS_INFTY_INIT.
6339         (qnan_value): Initialize with QNAN_VALUE_INIT.
6340         (max_value): Initialize with MAX_VALUE_INIT.
6341         (min_value): Initialize with MIN_VALUE_INIT.
6342         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6344         * math/libm-test.inc (RUN_TEST_if_f): New macro.
6345         (jn_test): Use TEST_if_f instead of TEST_ff_f.
6346         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6347         (yn_test): Use TEST_if_f instead of TEST_ff_f.
6349         * math/libm-test.inc (RUN_TEST_f_f): New macro.
6350         (RUN_TEST_2_f): Likewise.
6351         (RUN_TEST_ff_f): Likewise.
6352         (RUN_TEST_fi_f): Likewise.
6353         (RUN_TEST_fl_f): Likewise.
6354         (RUN_TEST_fff_f): Likewise.
6355         (RUN_TEST_c_f): Likewise.
6356         (RUN_TEST_f_f1): Likewise.
6357         (RUN_TEST_fF_f1): Likewise.
6358         (RUN_TEST_fI_f1): Likewise.
6359         (RUN_TEST_ffI_f1): Likewise.
6360         (RUN_TEST_c_c): Likewise.
6361         (RUN_TEST_cc_c): Likewise.
6362         (RUN_TEST_f_i): Likewise.
6363         (RUN_TEST_f_i_tg): Likewise.
6364         (RUN_TEST_ff_i_tg): Likewise.
6365         (RUN_TEST_f_b): Likewise.
6366         (RUN_TEST_f_b_tg): Likewise.
6367         (RUN_TEST_f_l): Likewise.
6368         (RUN_TEST_f_L): Likewise.
6369         (RUN_TEST_sincos): Likewise.
6370         * math/gen-libm-test.pl (new_test): Take new argument to indicate
6371         whether to show exceptions.  Do not include ");\n" in return
6372         value.
6373         (special_functions): Output call to RUN_TEST_sincos instead of
6374         check_float calls.  Update calls to new_test.
6375         (parse_args): Output call to single RUN_TEST_* macro instead of
6376         check_* calls and other assignments.  Update calls to new_test.
6378         [BZ #2546]
6379         [BZ #2560]
6380         [BZ #5159]
6381         [BZ #15426]
6382         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6383         input to result for tgamma overflow.
6384         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6385         (gamma_coeff): New variable.
6386         (NCOEFF): New macro.
6387         (gamma_positive): New function.
6388         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6389         underflow here.  Use gamma_positive instead of exp (lgamma) for
6390         other arguments.
6391         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6392         (gamma_coeff): New variable.
6393         (NCOEFF): New macro.
6394         (gammaf_positive): New function.
6395         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6396         underflow here.  Use gamma_positive instead of exp (lgamma) for
6397         other arguments.
6398         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6399         (gamma_coeff): New variable.
6400         (NCOEFF): New macro.
6401         (gammal_positive): New function.
6402         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6403         underflow here.  Use gamma_positive instead of exp (lgamma) for
6404         other arguments.
6405         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6406         (gamma_coeff): New variable.
6407         (NCOEFF): New macro.
6408         (gammal_positive): New function.
6409         (__ieee754_gammal_r): Handle positive infinity, overflow and
6410         underflow here.  Handle NaN the same as positive infinity.  Remove
6411         check x < 0xffffffff for negative integers.  Use gamma_positive
6412         instead of exp (lgamma) for other arguments.
6413         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6414         (gamma_coeff): New variable.
6415         (NCOEFF): New macro.
6416         (gammal_positive): New function.
6417         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6418         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6419         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6420         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6421         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6422         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6423         * sysdeps/generic/math_private.h (__gamma_productf): New
6424         prototype.
6425         (__gamma_product): Likewise.
6426         (__gamma_productl): Likewise.
6427         * math/Makefile (libm-calls): Add gamma_product.
6428         * math/libm-test.inc (tgamma_test): Add more tests.
6429         * sysdeps/i386/fpu/libm-test-ulps: Update.
6430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6432 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
6434         * benchtests/bench-skeleton.c (main): Preheat CPU.
6436 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
6438         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6440 2013-05-07  Roland McGrath  <roland@hack.frob.com>
6442         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6443         and _dl_skip_args_internal.
6445 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
6447         * manual/message.texi (Message Translation): Talk about users.
6448         Message to key mapping impacts design.
6450 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6452         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6454         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6456         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6457         * sysdeps/wordsize-64/glob64.c: ... here.
6459         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6460         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6461         New macros.
6463         * debug/getlogin_r_chk.c: Moved to ...
6464         * login/getlogin_r_chk.c: ... here.
6465         * debug/Makefile (routines): Move getlogin_r_chk to ...
6466         * login/Makefile (routines): ... here.
6467         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6468         * login/Versions (libc: GLIBC_2.4): ... here.
6470         * io/poll.c (__poll): Renamed from poll.
6471         Add libc_hidden_def.
6472         (poll): Define as weak alias.
6474         * debug/ptsname_r_chk.c: Moved to ...
6475         * login/ptsname_r_chk.c: ... here.
6476         * debug/Makefile (routines): Move ptsname_r_chk to ...
6477         * login/Makefile (routines): ... here.
6478         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6479         * login/Versions (libc: GLIBC_2.4): ... here.
6481         * posix/getlogin.c: Moved to ...
6482         * login/getlogin.c: ... here.
6483         * posix/getlogin_r.c: Moved to ...
6484         * login/getlogin_r.c: ... here.
6485         * posix/getlogin_r.c: Moved to ...
6486         * login/getlogin_r.c: ... here.
6487         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6488         * login/Makefile (routines): ... here.
6489         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6490         * login/Versions (libc: GLIBC_2.0): ... here.
6492         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6493         (setrlimit): Define as weak alias.
6495         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6496         Call __ names for open, ftruncate, and close.
6497         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6498         (truncate): Define as weak alias.
6500 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
6502         * math/gen-libm-test.pl (parse_args): Initialize x before each
6503         test of frexp, modf and remquo.
6505         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6506         test signgam value.
6508 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6510         [BZ #15418]
6511         [BZ #15419]
6512         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6513         internal tests.
6514         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6516 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6518         * elf/dl-writev.h: New file.
6519         * elf/dl-misc.c: Include it.
6520         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6521         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6523 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
6525         * math/libm-test.inc (noXFails): Remove variable.
6526         (noXPasses): Likewise.
6527         (BUILD_COMPLEX_INT): Remove macro.
6528         (print_screen): Remove xfail argument.
6529         (print_screen_max_error): Likewise.
6530         (update_stats): Likewise.
6531         (print_max_error): Likewise.  Update calls to other affected
6532         functions.
6533         (print_complex_max_error): Likewise.
6534         (test_single_exception): Update calls to print_screen.
6535         (test_single_errno): Likewise.
6536         (check_float_internal): Remove xfail argument.  Update calls to
6537         other affected functions.
6538         (check_float): Likewise.
6539         (check_complex): Likewise.
6540         (check_int): Likewise.
6541         (check_long): Likewise.
6542         (check_bool): Likewise.
6543         (check_longlong): Likewise.
6544         (main): Don't print noXFails and noXPasses.
6545         * math/gen-libm-test.pl (top level): Don't mention expected
6546         failure handling in comment.
6547         (new_test): Don't handle expected failures.
6548         (parse_args): Don't mention expected failure handling in comment.
6549         (generate_testfile): Don't handle expected failures.
6550         (parse_ulps): Likewise.
6551         (print_ulps_file): Likewise.
6552         (get_failure): Remove function.
6553         (output_test): Don't handle expected failures.
6554         * make/README.libm-test: Don't mention expected failure handling.
6556         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
6557         (minus_zero): Likewise.
6558         (plus_infty): Likewise.
6559         (minus_infty): Likewise.
6560         (qnan_value): Likewise.
6561         (max_value): Likewise.
6562         (min_value): Likewise.
6563         (min_subnorm_value): Likewise.
6564         (initialize): Do not initialize those variables dynamically.
6566 2013-05-03  Roland McGrath  <roland@hack.frob.com>
6568         * io/open.c (__open_2): Moved to ...
6569         * io/open_2.c: ... this new file.
6570         * io/open64.c (__open64_2): Moved to ...
6571         * io/open64_2.c: ... this new file.
6572         * io/openat.c (__openat_2): Moved to ...
6573         * io/openat_2.c: ... this new file.
6574         * io/openat64.c (__openat64_2): Moved to ...
6575         * io/openat64_2.c: ... this new file.
6576         * io/Makefile (routines): Add them.
6577         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6578         * sysdeps/unix/sysv/linux/open_2.c: File removed.
6579         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6580         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6581         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6582         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6583         (__openat64): Add hidden_ver.
6584         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6585         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6587         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6588         Separately conditionalize setting of GLRO(dl_sysinfo) so
6589         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6590         as well, but the actual setting is only under [NEED_DL_SYSINFO].
6592 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6594         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6595         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6596         definition.
6597         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6598         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6599         (_libc_vdso_platform_setup): Add __vdso_time initialization.
6600         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6601         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6603 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
6605         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6606         test signgam value.
6608         * math/libm-test.inc (hypot_test): Do not use
6609         IGNORE_ZERO_INF_SIGN.
6611 2013-05-03  Andreas Jaeger  <aj@suse.de>
6613         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6614         Linux 3.9.
6615         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6616         (PF_MAX): Adjust for VSOCK change.
6618 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6622 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
6624         [BZ #15264]
6625         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6626         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6627         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6629 2013-05-02  David S. Miller  <davem@davemloft.net>
6631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6633 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
6635         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6637 2013-05-01  Roland McGrath  <roland@hack.frob.com>
6639         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6641 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
6643         [BZ #14952]
6644         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6645         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6646         Use __attribute__ ((__gnu_inline__)).
6647         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6648         Don't use __attribute__ ((__gnu_inline__)).
6650 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
6652         [BZ #15423]
6653         * math/s_catan.c (__catan): Handle small real or imaginary part of
6654         input specially to avoid spurious underflow.
6655         * math/s_catanf.c (__catanf): Likewise.
6656         * math/s_catanh.c (__catanh): Likewise.
6657         * math/s_catanhf.c (__catanhf): Likewise.
6658         * math/s_catanhl.c (__catanhl): Likewise.
6659         * math/s_catanl.c (__catanl): Likewise.
6660         * math/libm-test.inc (catan_test): Add more tests.
6661         (catanh_test): Likewise.
6662         * sysdeps/i386/fpu/libm-test-ulps: Update.
6663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6665 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6669 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
6671         [BZ #15416]
6672         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6673         accurately for denominator in atan2.
6674         * math/s_catanf.c (__catanf): Likewise.
6675         * math/s_catanh.c (__catanh): Likewise.
6676         * math/s_catanhf.c (__catanhf): Likewise.
6677         * math/s_catanhl.c (__catanhl): Likewise.
6678         * math/s_catanl.c (__catanl): Likewise.
6679         * math/libm-test.inc (catan_test): Add more tests.
6680         (catanh_test): Likewise.
6681         * sysdeps/i386/fpu/libm-test-ulps: Update.
6682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6684 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6686         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6688         * benchtests/Makefile (bench): Remove slow benchmarks.
6689         * benchtests/atan-inputs: Add slow benchmark inputs.
6690         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6691         (BENCH_FUNC): Accept variant offset.
6692         (VARIANT): Define.
6693         * benchtests/bench-skeleton.c (main): Run benchmark for each
6694         variant.
6695         * benchtests/cos-inputs: Add slow benchmark inputs.
6696         * benchtests/exp-inputs: Likewise.
6697         * benchtests/pow-inputs: Likewise.
6698         * benchtests/sin-inputs: Likewise.
6699         * benchtests/slowatan-inputs: Remove.
6700         * benchtests/slowatan.c: Remove.
6701         * benchtests/slowcos-inputs: Remove.
6702         * benchtests/slowcos.c: Remove.
6703         * benchtests/slowexp-inputs: Remove.
6704         * benchtests/slowexp.c: Remove.
6705         * benchtests/slowpow-inputs: Remove.
6706         * benchtests/slowpow.c: Remove.
6707         * benchtests/slowsin-inputs: Remove.
6708         * benchtests/slowsin.c: Remove.
6709         * benchtests/slowtan-inputs: Remove.
6710         * benchtests/slowtan.c: Remove.
6711         * benchtests/tan-inputs: Add slow benchmark inputs.
6712         * scripts/bench.pl: Parse comments and directives.
6714         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
6715         in CPPFLAGS.
6716         ($(objpfx)bench-%.c): Remove *-ITER.
6717         * benchtests/bench-modf.c: Remove definition of ITER.
6718         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6719         (main): Loop for DURATION seconds instead of fixed number of
6720         iterations.
6721         * scripts/bench.pl: Don't expect iterations in parameters.
6723 2013-04-29  Roland McGrath  <roland@hack.frob.com>
6725         * io/fchdir.c (__fchdir): Renamed from fchdir.
6726         (fchdir): Define as weak alias.
6728 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6730         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6731         (ERRNO_EDOM): Likewise.
6732         (ERRNO_ERANGE): Likewise.
6733         (noErrnoTests): New variable.
6734         (init_max_error): Set errno to 0.
6735         (test_single_errno): New function.
6736         (test_errno): Likewise.
6737         (check_float_internal): Call test_errno.  Set errno to 0.
6738         (check_complex): Refer to errno tests in comment.
6739         (check_int): Call test_errno.  Set errno to 0.
6740         (check_long): Likewise.
6741         (check_bool): Likewise.
6742         (check_longlong): Likewise.
6743         (cos_test): Use ERRNO_* flags for errno tests instead of
6744         check_int.
6745         (expm1_test): Likewise.
6746         (fmod_test): Likewise.
6747         (ilogb_test): Likewise.
6748         (lgamma_test): Likewise.
6749         (pow_test): Likewise.
6750         (remainder_test): Likewise.
6751         (sin_test): Likewise.
6752         (tan_test): Likewise.
6753         (yn_test): Likewise.
6754         (initialize): Set errno to 0.
6755         (main): Print number of errno tests.
6756         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6758 2013-04-29  Andreas Jaeger  <aj@suse.de>
6760         [BZ #15084]
6761         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6762         and RES_USEVC.
6764         [BZ #15085]
6765         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6766         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6767         unimplemented.
6769         [BZ #15380]
6770         * stdlib/random.c (__initstate): Return NULL if
6771         __initstate fails.
6773         [BZ #15086]
6774         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6775         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6776         RES_SNGLKUPREOP.
6778 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6782 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6784         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6785         of individual tests.
6786         (casin_test): Likewise.
6787         (casinh_test): Likewise.
6789 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
6791         [BZ #15409]
6792         * math/s_catan.c (__catan): Handle arguments with large real or
6793         imaginary part separately without squaring.
6794         * math/s_catanf.c (__catanf): Likewise.
6795         * math/s_catanh.c (__catanh): Likewise.
6796         * math/s_catanhf.c (__catanhf): Likewise.
6797         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6798         and redefine.
6799         (__catanhl): Handle arguments with large real or imaginary part
6800         separately without squaring.
6801         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6802         and redefine.
6803         (__catanl): Handle arguments with large real or imaginary part
6804         separately without squaring.
6805         * math/libm-test.inc (catan_test): Add more tests.
6806         (catanh_test): Likewise.
6807         * sysdeps/i386/fpu/libm-test-ulps: Update.
6808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6810 2013-04-27  Andreas Jaeger  <aj@suse.de>
6812         [BZ #15007]
6813         * stdlib/stdlib.h: Update guards for qecvt.
6814         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6815         <stdlib.h>.
6817 2013-04-27  Allan McRae  <allan@archlinux.org>
6819         * sysdeps/i386/fpu/libm-test-ulps: Update.
6821 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
6823         [BZ #15406]
6824         * math/s_catan.c: Include <float.h>.
6825         (__catan): Ensure underflow exception occurs for underflowed
6826         result.
6827         * math/s_catanf.c: Include <float.h>.
6828         (__catanf): Ensure underflow exception occurs for underflowed
6829         result.
6830         * math/s_catanh.c: Include <float.h>.
6831         (__catanh): Ensure underflow exception occurs for underflowed
6832         result.
6833         * math/s_catanhf.c: Include <float.h>.
6834         (__catanhf): Ensure underflow exception occurs for underflowed
6835         result.
6836         * math/s_catanhl.c: Include <float.h>.
6837         (__catanhl): Ensure underflow exception occurs for underflowed
6838         result.
6839         * math/s_catanl.c: Include <float.h>.
6840         (__catanl): Ensure underflow exception occurs for underflowed
6841         result.
6842         * math/libm-test.inc (catan_test): Add more tests.
6843         (catanh_test): Likewise.
6845         [BZ #15405]
6846         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6847         underflowed result.
6848         * math/s_ccoshf.c (__ccoshf): Likewise.
6849         * math/s_ccoshl.c (__ccoshl): Likewise.
6850         * math/s_csin.c (__csin): Likewise.
6851         * math/s_csinf.c (__csinf): Likewise.
6852         * math/s_csinh.c (__csinh): Likewise.
6853         * math/s_csinhf.c (__csinhf): Likewise.
6854         * math/s_csinhl.c (__csinhl): Likewise.
6855         * math/s_csinl.c (__csinl): Likewise.
6856         * math/libm-test.inc (ccos_test): Add more tests.
6857         (ccosh_test): Likewise.
6858         (csin_test): Likewise.
6859         (csinh_test): Likewise.
6861 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6863         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6864         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6865         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6866         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6867         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6868         powerpc/power5+/fpu folders.
6869         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6872 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
6874         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6876 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
6878         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6879         additions to variable.
6880         [$(config-machine) = x86_64] (modules-names): Likewise.
6881         ($(objpfx)tst-audit3): Remove dependency.
6882         ($(objpfx)tst-audit3.out): Likewise.
6883         ($(objpfx)tst-audit4): Likewise.
6884         ($(objpfx)tst-audit4.out): Likewise.
6885         ($(objpfx)tst-audit5): Likewise.
6886         ($(objpfx)tst-audit5.out): Likewise.
6887         ($(objpfx)tst-audit6): Likewise.
6888         ($(objpfx)tst-audit6.out): Likewise.
6889         ($(objpfx)tst-audit7): Likewise.
6890         ($(objpfx)tst-audit7.out): Likewise.
6891         (tst-audit3-ENV): Remove variable.
6892         (tst-audit4-ENV): Likewise.
6893         (tst-audit5-ENV): Likewise.
6894         (tst-audit6-ENV): Likewise.
6895         (tst-audit7-ENV): Likewise.
6896         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6897         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6898         addition to variable.
6899         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6900         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6901         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6902         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6903         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6904         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6905         tst-audit3, tst-audit4 and tst-audit5.
6906         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6907         tst-audit6 and tst-audit7.
6908         [$(subdir) = elf] (modules-names): Add audit modules for those
6909         tests.
6910         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6911         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6912         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6913         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6914         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6915         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6916         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6917         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6918         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6919         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6920         [$(subdir) = elf] (tst-audit3-ENV): New variable.
6921         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6922         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6923         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6924         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6925         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6926         Likewise.
6927         [$(subdir) = elf && $(config-cflags-avx) = yes]
6928         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6929         [$(subdir) = elf && $(config-cflags-avx) = yes]
6930         (CFLAGS-tst-auditmod4a.c): Likewise.
6931         [$(subdir) = elf && $(config-cflags-avx) = yes]
6932         (CFLAGS-tst-auditmod4b.c): Likewise.
6933         [$(subdir) = elf && $(config-cflags-avx) = yes]
6934         (CFLAGS-tst-auditmod6b.c): Likewise.
6935         [$(subdir) = elf && $(config-cflags-avx) = yes]
6936         (CFLAGS-tst-auditmod6c.c): Likewise.
6937         [$(subdir) = elf && $(config-cflags-avx) = yes]
6938         (CFLAGS-tst-auditmod7b.c): Likewise.
6939         * elf/tst-audit3.c: Move to ...
6940         * sysdeps/x86_64/tst-audit3.c: ... here.
6941         * elf/tst-audit4.c: Move to ...
6942         * sysdeps/x86_64/tst-audit4.c: ... here.
6943         * elf/tst-audit5.c: Move to ...
6944         * sysdeps/x86_64/tst-audit5.c: ... here.
6945         * elf/tst-audit6.c: Move to ...
6946         * sysdeps/x86_64/tst-audit6.c: ... here.
6947         * elf/tst-audit7.c: Move to ...
6948         * sysdeps/x86_64/tst-audit7.c: ... here.
6949         * elf/tst-auditmod3a.c: Move to ...
6950         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6951         * elf/tst-auditmod3b.c: Move to ...
6952         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6953         * elf/tst-auditmod4a.c: Move to ...
6954         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6955         * elf/tst-auditmod4b.c: Move to ...
6956         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6957         * elf/tst-auditmod5a.c: Move to ...
6958         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6959         * elf/tst-auditmod5b.c: Move to ...
6960         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6961         * elf/tst-auditmod6a.c: Move to ...
6962         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6963         * elf/tst-auditmod6b.c: Move to ...
6964         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6965         * elf/tst-auditmod6c.c: Move to ...
6966         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6967         * elf/tst-auditmod7a.c: Move to ...
6968         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6969         * elf/tst-auditmod7b.c: Move to ...
6970         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6972 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
6974         [BZ #15366]
6975         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6976         define unconditionally.
6977         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6978         define unconditionally.
6979         (INT8_C, INT16_C, etc.): Likewise.
6981 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
6983         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6984         __ehdr_start with hidden visibility.
6986         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6988 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
6990         * math/libm-test.inc (cos_test): Use accurate hex constants.
6991         (sincost_test): Likewise.
6993 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
6995         * math/libm-test.inc (catan_test): Add more tests.
6996         (catanh_test): Likewise.
6998         * math/s_catanf.c (__catanf): Use suffixed floating-point
6999         constants.
7000         * math/s_catanhf.c (__catanhf): Likewise.
7001         * math/s_catanhl.c (__catanhl): Likewise.
7002         * math/s_catanl.c (__catanl): Likewise.
7004         [BZ #15394]
7005         * math/s_catan.c (__catan): Calculate imaginary part of result
7006         with log1p not log unless computing log of number close to 0.
7007         * math/s_catanf.c (__catanf): Likewise.
7008         * math/s_catanl.c (__catanl): Likewise.
7009         * math/s_catanh.c (__catanh): Calculate real part of result with
7010         log1p not log unless computing log of number close to 0.
7011         * math/s_catanhf.c (__catanhf): Likewise.
7012         * math/s_catanhl.c (__catanhl): Likewise.
7013         * math/libm-test.inc (catan_test): Add more tests.
7014         (catanh_test): Likewise.
7015         * sysdeps/i386/fpu/libm-test-ulps: Update.
7016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7018 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7020         * benchtests/Makefile: Mention files in which fast and slow
7021         paths of math functions are implemented.
7023 2013-04-23  Roland McGrath  <roland@hack.frob.com>
7025         * sysdeps/posix/timespec_get.c: New file.
7027 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7029         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7030         POWER.
7031         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7032         for POWER.
7033         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7034         powerpc/power5/fpu folders.
7035         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7036         * benchtests/Makefile: Add modf testcase.
7037         * benchtests/bench-modf.c: New file: Benchmark test for mo
7039 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7041         [BZ #14888]
7042         * time/Makefile (tests): Add tst-strptime-whitespace.
7043         * time/strptime_l.c (get_number): Use ISSPACE.
7044         (__strptime_internal): Likewise.
7045         * time/tst-strptime-whitespace.c: New test case.
7047 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
7049         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7050         member.
7051         (_nss_files_init): Set it here.
7053 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
7055         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7056         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7057         unsigned.
7059 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
7061         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7063 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7065         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7066         size just once.
7068 2013-04-21  David S. Miller  <davem@davemloft.net>
7070         * po/ru.po: Update Russion translation from translation project.
7072 2013-04-17  Adam Conrad  <adconrad@0c3.net>
7074         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7075         and setfsgid.
7077 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
7079         * configure.in: Remove i386 configure warning. Remove i386 case.
7080         * configure: Regenerate.
7081         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7082         Add example to error message.
7083         * sysdeps/i386/configure: Regenerate.
7085 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7087         * benchtests/Makefile (bench): Add cos, tan, slowcos and
7088         slowtan.
7089         * benchtests/cos-inputs: New file.
7090         * benchtests/slowcos-inputs: New file.
7091         * benchtests/slowcos.c: New file.
7092         * benchtests/slowtan-inputs: New file.
7093         * benchtests/slowtan.c: New file.
7094         * benchtests/tan-inputs: New file.
7096 2013-04-16  Roland McGrath  <roland@hack.frob.com>
7098         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7099         considered kosher.
7101 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7103         * benchtests/Makefile: Include cppflags-iterator.mk to add
7104         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7106         * Makefile.in (bench-clean): New target.
7107         * benchtests/Makefile (bench-clean): Likewise.
7109 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
7111         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7113 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
7115         * stdio-common/tstdiomisc.c: Fix coding-style violation.
7117 2013-04-15  Andreas Schwab  <schwab@suse.de>
7119         * nscd/grpcache.c (cache_addgr): Properly check for short write.
7120         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7121         * nscd/pwdcache.c (cache_addpw): Likewise.
7122         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
7123         more than recsize.
7125 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7127         * benchtests/Makefile (bench): Write all output to
7128         bench-out.tmp together.
7130 2013-04-15  Andreas Schwab  <schwab@suse.de>
7132         * nscd/nscd.c (main): Don't fork again after closing files.
7134 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7136         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7138         * benchtests/Rules (bench-deps): Collect dependencies into a
7139         single variable.  Add Makefile to dependencies.
7140         ($(objpfx)bench-%.c): Depend on bench-deps.
7142 2013-04-12  Roland McGrath  <roland@hack.frob.com>
7143             Xavier Roche  <roche+kml2@exalead.com>
7145         [BZ #15361]
7146         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7147         just that it's a file descriptor.
7148         * manual/llio.texi (Synchronizing AIO Operations): Update description
7149         for EBADF error from aio_fsync.
7151 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7153         * Rules (bench): Move target definition...
7154         * benchtests/Makefile: ... here.
7156 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
7158         * math/libm-test.inc (cos_test): Fix PI/2 test.
7159         (sincos_test): Likewise.
7160         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7161         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7163 2013-04-11  Andreas Schwab  <schwab@suse.de>
7165         [BZ #13988]
7166         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7167         accept exponent character only when digits were seen.
7168         * stdio-common/Makefile (tests): Add bug26.
7169         * stdio-common/bug26.c: New file.
7171         [BZ #14293]
7172         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7173         non-freeable.
7175 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7177         * Makeconfig (rtld-prefix): Define built linker prefix.
7178         * Rules (run-bench): Use it.
7179         * math/Makefile (run-regen-ulps): Likewise.
7181         * Rules (bench): Remove eval.
7183 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7184             Roland McGrath  <roland@hack.frob.com>
7185             Ondrej Bilka  <neleai@seznam.cz>
7187         [BZ #15346]
7188         * time/getdate.c: Include ctype.h and alloca.h.
7189         (__getdate_r): Trim leading and trailing spaces of input.
7190         * time/tst-getdate.c (tests): Add tests with leading and
7191         trailing spaces.
7193 2013-04-08  Roland McGrath  <roland@hack.frob.com>
7195         [BZ #14280]
7196         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7197         when computing value.
7199 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7201         * math/README.libm-test (How can I generate "libm-test-ulps"?):
7202         Use testrun.sh to run libm tests.
7204         [BZ #15309]
7205         * elf/dl-open.c (dl_open_worker): memset all of seen array.
7207 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
7209         [BZ #15264]
7210         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7212 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7214         * Makefile.in (regen-ulps): New target.
7215         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7216         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7217         [ifneq (no,$(PERL)] (regen-ulps): New target.
7218         [ifeq (no,$(PERL)] (regen-ulps): New target.
7219         * math/libm-test.inc (ulps_file_name): Define.
7220         (output_dir): New variable.
7221         (options): Add "output-dir" option.
7222         (parse_opt): Handle 'o' case.
7223         (main): If output_dir is non-NULL use it as a prefix
7224         otherwise use "".
7225         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7227 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7229         [BZ #10060, #10062]
7230         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7231         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7232         fail configure if __sync_val_compare_and_swap is not inlined.
7233         * sysdeps/i386/configure: Regenerate.
7234         * configure.in: Build for i686 when configured for i386.
7235         * configure: Regenerate.
7236         * README: Remove i386 reference.
7238 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7240         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7241         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7243 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7245         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7246         (lmsnanval): New variables.
7247         (F): Add conversion tests.
7248         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7249         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7251         * stdio-common/tstdiomisc.c (F): Properly collect individual
7252         tests' results.
7254         [BZ #14686, #15336]
7255         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7256         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7257         Instead, use input NaN values or generate a qNaN by arithmetic
7258         operation.  Also fix bugs to comply with the standard.
7259         * math/libm-test.inc (remainder_test): Add more tests.
7261         [BZ #15335, #15342]
7262         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7263         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7264         input NaN values or generate a qNaN by arithmetic operation.
7266         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7267         unreachable code.
7269         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7270         definitions.
7272 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
7274         [BZ #14478]
7275         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7276         underflowed result.
7277         * math/s_cexpf.c (__cexpf): Likewise.
7278         * math/s_cexpl.c (__cexpl): Likewise.
7279         * math/libm-test.inc (cexp_test): Add more tests.
7281 2013-04-03  Andreas Schwab  <schwab@suse.de>
7283         [BZ #15330]
7284         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7285         order arrays from heap if bigger than alloca cutoff.
7287 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
7289         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7290         (SNAN_TESTS_double): Refer to GCC PR56831.
7291         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7292         GCC PR56828.
7294 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7296         * Rules (bench): Move bench.out after the run is complete.
7298         * Rules (bench): Echo currently running benchmark.
7300         * benchtests/Makefile (bench): Add atan and slowatan.
7301         * benchtests/atan-inputs: New file.
7302         * benchtests/slowatan-inputs: New file.
7303         * benchtests/slowatan.c: New file.
7305         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7306         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7307         its value.
7309         [BZ #15305]
7310         * sysdeps/unix/sysv/linux/kernel-features.h
7311         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7312         __ASSUME_XFS_RESTRICTED_CHOWN.
7313         * sysdeps/unix/sysv/linux/pathconf.c
7314         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7315         Save and restore errno.
7317 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
7319         [BZ #15327]
7320         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7321         arguments using __kernel_casinh.
7322         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7323         arguments using __kernel_casinhf.
7324         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7325         arguments using __kernel_casinhl.
7326         * math/libm-test.inc (cacosh_test): Add more tests.
7327         * sysdeps/i386/fpu/libm-test-ulps: Update.
7328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7330 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7332         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7333         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7335         * bench/Makefile (bench): Add sin and slowsin.
7336         * benchtests/sin-inputs: New file.
7337         * benchtests/slowsin-inputs: New file.
7338         * benchtests/slowsin.c: New file.
7340         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7341         (bench): Add slowexp and slowpow.
7342         (exp-ITER): Increase iterations.
7343         (pow-ITER): Likewise.
7344         * benchtests/exp-inputs: Change input.
7345         * benchtests/pow-inputs: Likewise.
7346         * benchtests/slowexp-inputs: New file.
7347         * benchtests/slowexp.c: New file.
7348         * benchtests/slowpow-inputs: New file.
7349         * benchtests/slowpow.c: New file.
7351 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7353         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7354         instructions.
7355         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7356         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7357         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7358         * benchtests/Makefile: Add rint benchtest.
7359         * benchtests/rint-inputs: Input for rint benchtest.
7361 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7363         * Versions.def (libm): Add GLIBC_2.18.
7364         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7365         hidden libm prototypes.
7366         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7367         * math/Makefile (libm-calls): Add s_issignaling.
7368         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7369         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
7370         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7371         declaration.
7372         * math/math.h [__USE_GNU] (issignaling): New macro.
7373         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7374         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7375         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7376         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7377         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7378         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7379         * manual/arith.texi (issignaling): New section.
7380         * manual/libm-err-tab.pl (@all_functions): Update comment.
7381         * math/gen-libm-test.pl (parse_args): Apply special handling for
7382         issignaling.
7383         * math/libm-test.inc (print_float, issignaling_test): New
7384         functions.
7385         (check_float_internal): Add issignaling checks.
7386         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7387         default definition.
7388         * sysdeps/powerpc/math-tests.h: New file.
7389         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7390         tests.
7391         * math/test-snan.c (TEST_FUNC): Likewise.
7393 2013-03-30  David S. Miller  <davem@davemloft.net>
7395         * po/de.po: Update from translation team.
7397 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
7399         [BZ #10357]
7400         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7401         imaginary part less than 1.0 and real part less than 0.5
7402         specially.
7403         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7404         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7405         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7406         (cacos_test): Add more tests.
7407         (casin_test): Likewise.
7408         (casinh_test): Likewise.
7409         * sysdeps/i386/fpu/libm-test-ulps: Update.
7410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7412 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7414         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7415         ONE with its value.
7417         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7418         (__pow_mp): Replace ONE and MONE with their values.
7419         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7420         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7421         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7422         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7423         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7424         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7426         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7428         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7429         (__pow_mp): Replace ZERO and MZERO with their values.
7430         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7431         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7432         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7433         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7434         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7435         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7436         (__sqr): Likewise.
7438         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7440         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7442 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7444         * include/stdlib.h [!SHARED] (__call_tls_dtors):
7445         Declare with __attribute__ ((weak)).
7446         * stdlib/exit.c (__libc_atexit) [!SHARED]:
7447         Call __call_tls_dtors only if it's not NULL.
7449 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7451         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7452         didn't do it already, then set _dl_phdr and _dl_phnum based on the
7453         magic __ehdr_start linker symbol if it's defined.
7454         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7455         them up here if it was already done.
7457         * elf/dl-support.c (_dl_phdr): Make pointer to const.
7458         (_dl_aux_init): Use const in cast when setting it.
7459         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7460         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7461         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7463         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7464         Declare them here.
7465         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7466         * csu/libc-tls.c: Nor here.
7467         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7469         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7470         (__libc_message): Never call vsyslog.
7472 2013-03-28  Alan Modra  <amodra@gmail.com>
7474         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7475         Define as empty.
7476         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7477         Likewise.
7479 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7481         [BZ #15214]
7482         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7483         underflow.
7484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7486 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7488         [BZ #15304]
7489         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7490         Don't add gid passed as argument.
7492         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7494 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
7496         [BZ #15307]
7497         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7498         imaginary part between 1.0 and 1.5 and real part less than 0.5
7499         specially.
7500         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7501         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7502         * math/libm-test.inc (cacos_test): Add more tests.
7503         (casin_test): Likewise.
7504         (casinh_test): Likewise.
7505         * sysdeps/i386/fpu/libm-test-ulps: Update.
7506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7508 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7510         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7511         constants.
7512         (norm): Likewise.
7513         (denorm): Likewise.
7514         (__dbl_mp): Likewise.
7515         (add_magnitudes): Likewise.
7516         (sub_magnitudes): Likewise.
7517         (__add): Likewise.
7518         (__sub): Likewise.
7519         (__mul): Likewise.
7520         (__sqr): Likewise.
7521         (__inv): Likewise.
7522         (__dvd): Likewise.
7524         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7525         commented code.
7526         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7527         (__dubcos): Likewise.
7528         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7529         (__ieee754_acos): Likewise.
7530         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7531         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7532         (__exp1): Likewise.
7533         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7534         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7535         (log1): Likewise.
7536         (my_log2): Likewise.
7537         (checkint): Likewise.
7538         * sysdeps/ieee754/dbl-64/e_remainder.c
7539         (__ieee754_remainder): Likewise.
7540         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7541         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7542         (bsloww): Likewise.
7543         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7545         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7546         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7547         MANTISSA_STORE_T to store computations on mantissa.  Use
7548         macros for rounding and division.
7549         (denorm): Likewise.
7550         (__dbl_mp): Likewise.
7551         (add_magnitudes): Likewise.
7552         (sub_magnitudes): Likewise.
7553         (__mul): Likewise.
7554         (__sqr): Likewise.
7555         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7556         powers of two in terms of TWOPOW macro.
7557         (mp_no): Make type of mantissa as MANTISSA_T.
7558         [!RADIXI]: Define RADIXI.
7559         [!TWO52]: Define TWO52.
7560         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7562 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7564         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7565         llroundl symbol when building for PPC32.
7567 2013-03-24  Mark H Weaver  <mhw@netris.org>
7569         * manual/arith.texi (Normalization Functions): Fix prototypes for
7570         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7572 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7574         [BZ #13889]
7575         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7576         high value to check if expl overflow.
7577         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7578         to check for underflow and overflow.
7579         * math/libm-test.inc: Add exp test.
7581 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
7583         [BZ #11120]
7584         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7585         with NOT_IN_libc.
7587 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7589         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7590         symbol.
7592 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7594         * math/gen-libm-test.pl (parse_args, special_functions): Properly
7595         wrap blocks consisting of several statements.
7597         * sysdeps/generic/math-tests.h: New file.
7598         * sysdeps/i386/fpu/math-tests.h: Likewise.
7599         * math/test-snan.c: Include it.
7600         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7602 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7604         [BZ #15285]
7605         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7606         (__ieee754_j0l): Do not improve calculations using cos of twice
7607         input for inputs above LDBL_MAX / 2.0L.
7608         (__ieee754_y0l): Likewise.
7609         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7610         (__ieee754_j1l): Do not improve calculations using cos of twice
7611         input for inputs above LDBL_MAX / 2.0L.
7612         (__ieee754_y1l): Likewise.
7613         * math/libm-test.inc (j0_test): Add another test.
7614         (j1_test): Likewise.
7615         (y0_test): Likewise.
7616         (y1_test): Likewise.
7617         * sysdeps/i386/fpu/libm-test-ulps: Update.
7619 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7621         * Rules ($(objpfx)bench-%.c): Include code from a C source
7622         file.
7624 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7626         [BZ #15287]
7627         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7628         imaginary part 1.0 and real part less than 0.5 specially.
7629         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7630         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7631         * math/libm-test.inc (cacos_test): Add more tests.
7632         (casin_test): Likewise.
7633         (casinh_test): Likewise.
7634         * sysdeps/i386/fpu/libm-test-ulps: Update.
7635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7637 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7639         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7640         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7642 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
7644         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7645         * config.make.in (config-cflags-sse4): Remove variable.
7646         (config-cflags-avx): Likewise.
7647         (config-cflags-sse2avx): Likewise.
7648         (config-cflags-novzeroupper): Likewise.
7649         (config-asflags-i686): Likewise.
7650         (have-mfma4): Likewise.
7651         (have-as-vis3): Likewise.
7652         (MIG): Likewise.
7653         * configure.in (MIG): Do not AC_SUBST.
7654         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7655         (libc_cv_cc_sse4): Do not AC_SUBST.
7656         (libc_cv_cc_avx): Likewise.
7657         (libc_cv_cc_sse2avx): Likewise.
7658         (libc_cv_cc_novzeroupper): Likewise.
7659         (libc_cv_cc_fma4): Likewise.
7660         (libc_cv_as_i686): Likewise.
7661         (libc_cv_sparc_as_vis3): Likewise.
7662         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7663         LIBC_CONFIG_VAR.
7664         (config-asflags-i686): Likewise.
7665         (config-cflags-avx): Likewise.
7666         (config-cflags-sse2avx): Likewise.
7667         (have-mfma4): Likewise.
7668         (config-cflags-novzeroupper): Likewise.
7669         * sysdeps/mach/configure.in (MIG): Likewise.
7670         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7671         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7672         LIBC_CONFIG_VAR.
7673         (config-cflags-avx): Likewise.
7674         (config-cflags-sse2avx): Likewise.
7675         (have-mfma4): Likewise.
7676         (config-cflags-novzeroupper): Likewise.
7677         * configure: Regenerated.
7678         * sysdeps/i386/configure: Likewise.
7679         * sysdeps/mach/configure: Likewise.
7680         * sysdeps/sparc/configure: Likewise.
7681         * sysdeps/x86_64/configure: Likewise.
7683 2013-03-20  Roland McGrath  <roland@hack.frob.com>
7685         [BZ #14812]
7686         * locale/programs/localedef.c (options): Put N_ translation marker
7687         on argument names, not just descriptions.
7689 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7691         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7693 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
7695         [BZ #14176]
7696         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7698 2013-03-19  Roland McGrath  <roland@hack.frob.com>
7700         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7701         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7702         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7703         [!BEFORE_ABORT] (before_abort): New function.
7704         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7705         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7706         (writev_for_fatal): New function.
7707         (WRITEV_FOR_FATAL): New macro; call that.
7708         (backtrace_and_maps): New function.
7709         (BEFORE_ABORT): New macro; call that.
7710         (struct str_list): Type removed.
7711         (__libc_message, __libc_fatal): Functions removed.
7712         Include <sysdeps/posix/libc_fatal.c> instead.
7714 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
7716         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7717         constants.
7718         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7719         double constants.
7721 2013-03-19  Andreas Schwab  <schwab@suse.de>
7723         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7724         * sysdeps/gnu/configure: Regenerate.
7726         * configure.in: Substitute libc_cv_rtlddir.
7727         * configure: Regenerate.
7728         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7729         * Makeconfig (rtlddir, inst_rtlddir): New variables.
7730         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7731         * elf/Makefile (install-others, CFLAGS-interp.c)
7732         (ldso_install, common-ldd-rewrite): Likewise.
7733         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7734         $(inst_slibdir)/$(rtld-installed-name).
7735         * scripts/rellns-sh: Add -p option.
7736         * Makerules (make-shlib-link): Use rellns-sh to get relative name
7737         for source.
7739 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7741         * manual/nptl.texi: Renamed to ...
7742         * manual/threads.texi: ... this.
7743         * manual/Makefile (chapters): Update.
7745 2013-03-18  Roland McGrath  <roland@hack.frob.com>
7747         [BZ #14812]
7748         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7749         on argument names, not just descriptions.
7750         * malloc/memusagestat.c (options): Likewise.
7751         * nss/getent.c (options): Likewise.
7753 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
7755         [BZ #14812]
7756         * iconv/iconv_prog.c (options): Put N_ translation marker
7757         on argument names, not just descriptions.
7758         * iconv/iconvconfig.c (options): Likewise.
7760 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
7762         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7763         implementation which is faster on all x86_64 architectures.
7764         Tested on AMD, Intel Nehalem, SNB, IVB.
7765         * sysdeps/x86_64/strnlen.S: Likewise.
7767         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7768         Remove all multiarch strlen and strnlen versions.
7769         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7770         Remove strlen and strnlen related parts.
7772         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7773         Inline strlen part.
7774         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7776         * sysdeps/x86_64/multiarch/strlen.S: Remove.
7777         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7778         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7779         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7780         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7781         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7783 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
7785         * manual/memory.texi (Malloc Tunable Parameters):
7786         Sort parameters alphabetically. Add comments for missing entries.
7788 2013-03-17  David S. Miller  <davem@davemloft.net>
7790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7792 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
7794         [BZ #15283]
7795         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7796         for arguments at most half maximum finite value.
7797         * math/libm-test.inc (j0_test): Add more tests.
7798         (j1_test): Likewise.
7799         (y0_test): Likewise.
7800         (y1_test): Likewise.
7801         * sysdeps/i386/fpu/libm-test-ulps: Update.
7802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7804         [BZ #14155]
7805         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7806         1 / x and functions P and Q for arguments above 0x1p256L.
7807         (__ieee754_y0l): Likewise.
7808         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7809         (__ieee754_y1l): Likewise.
7810         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7811         (j1_test): Likewise.
7812         (y0_test): Likewise.
7813         (y1_test): Likewise.
7815 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
7817         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7818         variable.
7820 2013-03-15  Roland McGrath  <roland@hack.frob.com>
7822         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7823         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7824         zero since it's initialized to EXEC_PAGESIZE.
7826         * sysdeps/unix/sysv/linux/ldsodefs.h
7827         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7828         * sysdeps/generic/ldsodefs.h: ... here.
7830 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
7832         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7834         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7835         math/test-snan.c.
7836         * math/test-snan.c: Renamed from
7837         sysdeps/powerpc/fpu/test-powerpc-snan.c.
7838         * math/Makefile (tests): Add test-snan.
7839         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7840         test-powerpc-snan.
7842         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7843         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
7844         functions.
7845         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
7846         __builtin_nan family of functions.
7847         * math/libm-test.inc (initialize): Initialize qnan_value with
7848         __builtin_nan family of functions.
7849         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7850         Remove variables.
7851         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7852         Remove functions.
7853         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
7854         storage class.  Initialize qNaN_var and sNaN_var with
7855         __builtin_nan and __builtin_nans families of functions,
7856         respectively.
7858         * math/libm-test.inc (acosh_test): Also test with qNaN input.
7859         (sqrt_test): Remove duplicate test with qNaN input.
7860         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7861         (round_test, signbit_test, significand_test): Note missing +/-Inf
7862         as well as qNaN tests.
7864         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7865         qNaN_var.  Fix a few strings, too.
7866         * math/libm-test.inc (nan_value): Rename to qnan_value.
7867         * math/gen-libm-test.pl (%beautify): Adjust to that.
7868         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7869         * math/test-misc.c (main): Likewise.
7870         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7871         to __qnan_bytes, and __qnan_union, respectively.
7872         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7873         Likewise.
7874         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7875         and lqnanval, respectively.
7876         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7877         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7878         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7879         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7881         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7882         * math/test-misc.c (main) [__x86_64__]: Enable test for long
7883         doubles.
7885         * math/test-misc.c (main): Fix copy'n'pastos.
7886         * misc/tst-efgcvt.c (special): Likewise.
7888         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7889         Remove declarations.
7891 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7893         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7894         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7895         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7896         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7898 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7900         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7901         macro to return vdso values correctly in IFUNC implementations.
7902         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7903         Optimization by using IFUNC.
7905 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7906             Richard Henderson  <rth@redhat.com>
7907             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7909         * Makefile.in (bench): New target.
7910         * NEWS: Mention the benchmark framework.
7911         * Rules (bench): Likewise.
7912         (binaries-bench): Generate binaries for functions to
7913         benchmark.
7914         * benchtests/Makefile: New makefile for benchmark tests.
7915         * benchtests/bench-skeleton.c: New skeleton file for benchmark
7916         programs.
7917         * benchtests/exp-inputs: New input file for EXP function.
7918         * benchtests/pow-inputs: New input file for POW function.
7919         * scripts/bench.pl: New script to generate source files for
7920         benchmark programs.
7922 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7924         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7925         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7926         computations on mantissa.  Use macros for rounding and
7927         division.
7928         (denorm): Likewise.
7929         (__dbl_mp): Likewise.
7930         (add_magnitudes): Likewise.
7931         (sub_magnitudes): Likewise.
7932         (__mul): Likewise.
7933         (__sqr): Likewise.
7934         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7935         powers of two in terms of TWOPOW macro.
7936         (mp_no): Make type of mantissa as MANTISSA_T.
7937         [!RADIXI]: Define RADIXI.
7938         [!TWO52]: Define TWO52.
7939         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7941         * manual/nptl.texi (cindex): Modify threads to pthreads.
7943 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
7945         * sysdeps/x86_64/preconfigure: Regenerated.
7947 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
7949         [BZ #14155]
7950         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7951         0x1p28 and above.
7952         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7953         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7954         0x1p28 and above.
7955         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7956         * math/libm-test.inc (j0_test): Do not allow one spurious
7957         underflow exception.
7958         (y1_test): Likewise.
7960 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7962         * manual/Makefile (chapters): Add nptl.
7963         * manual/debug.texi (Debugging Support): Add link to Threads
7964         chapter.
7965         * manual/nptl.texi: New file.
7967         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7969 2013-03-14  Petr Baudis  <pasky@ucw.cz>
7971         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7972         for non-NULL pointer before the memory validity test. Pointed
7973         out by Holger Brunck <holger.brunck@keymile.com>.
7975 2013-03-13  Andreas Schwab  <schwab@suse.de>
7977         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7978         instead of .os.
7980 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
7982         * timezone/zic.c: Update from tzcode 2013b.
7984 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
7986         * manual/install.texi (Configuring and compiling):
7987         Mention i686 and i586.
7988         * INSTALL: Regenerate.
7990 2013-03-12  Roland McGrath  <roland@hack.frob.com>
7992         * sysdeps/init_array/elf-init.c: New file.
7993         * csu/elf-init.c
7994         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7995         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7997         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7998         __gmon_start__ as global, but as static with a .preinit_array pointer.
7999         * sysdeps/init_array/gmon-start.c: New file.  Use that.
8000         * sysdeps/init_array/crti.S: New file, empty except for comments.
8001         * sysdeps/init_array/crtn.S: Likewise.
8003 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
8005         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8006         definining bcopy.
8007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8008         Remove Prefer_SSE_for_memop.
8009         * sysdeps/x86_64/multiarch/init-arch.h: Remove
8010         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8011         HAS_PREFER_SSE_FOR_MEMOP.
8012         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8013         memset-x86-64.
8014         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8015         Remove bzero, memset ifunc support.
8016         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8017         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8018         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8019         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8021 2013-03-11  Andreas Schwab  <schwab@suse.de>
8023         [BZ #15234]
8024         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8025         by SHLIB_COMPAT.
8026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8027         (GLIBC_2.16): Remove pthread_atfork.
8029 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8031         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8032         (ptestcases.h): Likewise.
8034 2013-03-08  Roland McGrath  <roland@hack.frob.com>
8036         * Makeconfig ($(common-objpfx)config.status): Depend on
8037         sysdeps/*/preconfigure{,.in} too.
8039 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
8041         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8042         (__free_hook): Use void * instead of __malloc_ptr_t.
8043         (__malloc_hook): Likewise.
8044         (__realloc_hook): Likewise.
8045         (__memalign_hook): Likewise.
8046         (__after_morecore_hook): Likewise.
8047         * malloc/arena.c (save_malloc_hook): Likewise.
8048         (save_free_hook): Likewise.
8049         * malloc/hooks.c (malloc_hook_ini): Likewise.
8050         (realloc_hook_ini): Likewise.
8051         (memalign_hook_ini): Likewise.
8052         * malloc/malloc.c (malloc_hook_ini): Likewise.
8053         (realloc_hook_ini): Likewise.
8054         (memalign_hook_ini): Likewise.
8055         (__free_hook): Likewise.
8056         (__malloc_hook): Likewise.
8057         (__realloc_hook): Likewise.
8058         (__memalign_hook): Likewise.
8059         (__libc_malloc): Likewise.
8060         (__libc_free): Likewise.
8061         (__libc_realloc): Likewise.
8062         (__libc_memalign): Likewise.
8063         (__libc_valloc): Likewise.
8064         (__libc_pvalloc): Likewise.
8065         (__libc_calloc): Likewise.
8066         (__posix_memalign): Likewise.
8067         * malloc/morecore.c (__sbrk): Likewise.
8068         (__default_morecore): Likewise.
8070         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8072         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8073         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8074         __malloc_ptrdiff_t.
8076         * malloc/malloc.h (__malloc_size_t): Remove macro.
8077         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8078         __malloc_size_t.
8079         (old_memalign_hook): Likewise.
8080         (old_realloc_hook): Likewise.
8081         (struct hdr): Likewise.
8082         (flood): Likewise.
8083         (mallochook): Likewise.
8084         (memalignhook): Likewise.
8085         (reallochook): Likewise.
8086         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8087         (tr_old_realloc_hook): Likewise.
8088         (tr_old_memalign_hook): Likewise.
8089         (tr_mallochook): Likewise.
8090         (tr_reallochook): Likewise.
8091         (tr_memalignhook): Likewise.
8093 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8095         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8096         default_ldbl_pack and using as default implementation.
8097         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8098         implementation.
8099         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8100         redundant definition.
8101         (ldbl_insert_mantissa): Likewise.
8102         (ldbl_canonicalize): Likewise.
8103         (ldbl_nearbyint): Likewise.
8104         (ldbl_pack): Rename to ldbl_pack_ppc.
8105         (ldbl_unpack): Rename to ldbl_unpack_ppc.
8106         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8107         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8109 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8111         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8112         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8113         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8114         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8115         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8116         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8117         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8118         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8120 2013-03-07  Andreas Jaeger  <aj@suse.de>
8122         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8123         bits/mman-linux.h.
8125 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8127         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8128         Include mpa.h and declare __MPEXP.
8129         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8130         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8131         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8132         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8133         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8134         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8135         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8137         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8138         (__slowpow): Use long double EXPL and LOGL functions to
8139         compute POW.
8140         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8141         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8142         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8143         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8144         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8145         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8147         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8148         intermediate variable to calculate exponent.
8149         (__sqr): Likewise.
8150         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8151         Likewise.
8152         (__sqr): Likewise.
8154         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8155         [!NO__SQR]: Define __sqr.
8156         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8157         and NO__SQR.  Remove all code except __mul and __sqr.  Include
8158         sysdeps/ieee754/dbl-64/mpa.c.
8159         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8161         [BZ #12723]
8162         * posix/Makefile (tests): Add tst-pathconf.
8163         * posix/tst-pathconf.c: New test case.
8164         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8165         _PC_PIPE_BUF.
8166         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8168 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
8170         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8172 2013-03-06  Andreas Jaeger  <aj@suse.de>
8174         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8175         definition via __MAP_ANONYMOUS.
8177         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8178         it's not part of Linux headers.
8180         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8181         (MAP_HUGE_MASK): Define.
8183         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8184         Define.
8185         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8186         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8187         Define.
8188         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8189         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8190         Define.
8191         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8192         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8193         Define.
8194         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8196         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8197         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8198         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8199         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8200         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8201         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8203         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8204         Handle f2fs.
8206         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8207         Handle f2fs and efivarfs.
8209         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8210         f2fs.
8212         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8213         (EFIVARFS_MAGIC): Add.
8214         (F2FS_LINK_MAX): Add.
8216 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8218         * stdio-common/vfprintf.c: Replace __builtin_expect with
8219         __glibc_unlikely.
8221 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
8223         [BZ #13550]
8224         * sysdeps/generic/bp-sym.h: Remove file.
8225         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8226         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8227         <bp-sym.h> and <bp-asm.h>.
8228         (__longjmp): Don't use BP_SYM.
8229         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8230         and <bp-asm.h>.
8231         (memcpy): Don't use BP_SYM.
8232         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8233         <bp-sym.h> and <bp-asm.h>.
8234         (memcpy): Don't use BP_SYM.
8235         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8236         <bp-asm.h>.
8237         (memcpy): Don't use BP_SYM.
8238         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8239         <bp-asm.h>.
8240         (memset): Don't use BP_SYM.
8241         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8242         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8243         (__bzero): Don't use BP_SYM.
8244         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8245         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8246         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8247         <bp-sym.h> and <bp-asm.h>.
8248         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8249         pointers.
8250         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8251         <bp-sym.h> and <bp-asm.h>.
8252         (memcpy): Don't use BP_SYM.
8253         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8254         <bp-sym.h> and <bp-asm.h>.
8255         (memset): Don't use BP_SYM.
8256         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8257         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8258         (__bzero): Don't use BP_SYM.
8259         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8260         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8261         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8262         <bp-sym.h> and <bp-asm.h>.
8263         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8264         pointers.
8265         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8266         <bp-sym.h> and <bp-asm.h>.
8267         (memcpy): Don't use BP_SYM.
8268         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8269         <bp-sym.h> and <bp-asm.h>.
8270         (memset): Don't use BP_SYM.
8271         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8272         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8273         (__bzero): Don't use BP_SYM.
8274         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8275         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8276         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8277         <bp-sym.h> and <bp-asm.h>.
8278         (__memchr): Don't use BP_SYM.
8279         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8280         <bp-sym.h> and <bp-asm.h>.
8281         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8282         pointers.
8283         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8284         <bp-sym.h> and <bp-asm.h>.
8285         (memcpy): Don't use BP_SYM.
8286         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8287         <bp-sym.h> and <bp-asm.h>.
8288         (__mempcpy): Don't use BP_SYM.
8289         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8290         <bp-sym.h> and <bp-asm.h>.
8291         (__memrchr): Don't use BP_SYM.
8292         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8293         <bp-sym.h> and <bp-asm.h>.
8294         (memset): Don't use BP_SYM.
8295         (__bzero): Likewise.
8296         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8297         <bp-sym.h> and <bp-asm.h>.
8298         (__rawmemchr): Don't use BP_SYM.
8299         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8300         <bp-sym.h> and <bp-asm.h>.
8301         (__STRCMP): Don't use BP_SYM.
8302         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8303         <bp-sym.h> and <bp-asm.h>.
8304         (strchr): Don't use BP_SYM.
8305         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8306         <bp-sym.h> and <bp-asm.h>.
8307         (__strchrnul): Don't use BP_SYM.
8308         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8309         <bp-sym.h> and <bp-asm.h>.
8310         (strlen): Don't use BP_SYM.
8311         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8312         <bp-sym.h> and <bp-asm.h>.
8313         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8314         pointers.
8315         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8316         <bp-sym.h> and <bp-asm.h>.
8317         (__strnlen): Don't use BP_SYM.
8318         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8319         <bp-sym.h> and <bp-asm.h>.
8320         (__GI__setjmp): Don't use BP_SYM.
8321         (_setjmp): Likewise.
8322         (__sigsetjmp): Likewise.
8323         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8324         (L(start_addresses)): Don't use BP_SYM.
8325         (_start): Likewise.
8326         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8327         <bp-asm.h>.
8328         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8329         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8330         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8331         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8332         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8333         <bp-asm.h>.
8334         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8335         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
8336         about bounded pointers.
8337         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8338         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8339         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8340         <bp-asm.h>.
8341         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8342         about bounded pointers.  Remove GKM FIXME comments.
8343         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8344         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8345         <bp-asm.h>.
8346         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8347         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
8348         Remove GKM FIXME comments.
8349         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8350         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8351         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8352         <bp-asm.h>.
8353         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8354         about bounded pointers.  Remove GKM FIXME comment.
8355         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8356         and <bp-asm.h>.
8357         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8358         pointers.
8359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8360         <bp-sym.h> and <bp-asm.h>.
8361         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8363         <bp-sym.h> and <bp-asm.h>.
8364         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8365         comment.
8367 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8369         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8370         call free(NULL).
8372 2013-03-05  David S. Miller  <davem@davemloft.net>
8374         * po/es.po: Update from translation team.
8376 2013-03-05  Andreas Jaeger  <aj@suse.de>
8378         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8379         <bits/mman-linux.h>.
8380         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8381         is fine.
8382         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8383         <bits/mman-linux.h> to end of file.
8384         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8385         is fine.
8386         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8387         <bits/mman-linux.h> to end of file.
8388         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8389         is fine.
8390         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8391         <bits/mman-linux.h> to end of file.
8393         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8394         (MCL_CURRENT, MCL_FUTURE): Define here.
8396 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8398         [BZ #15232]
8399         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8400         attribute_hidden.
8401         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8403 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8405         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8406         fourth parameter needed for rt_sigprocmask syscall.
8407         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8408         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8409         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8410         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8411         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8412         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8414 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
8416         [BZ #13550]
8417         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8418         comment about bounded pointers.
8419         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8420         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8422 2013-03-04  Andreas Jaeger  <aj@suse.de>
8424         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8425         common definitions.
8427         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8428         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8429         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8430         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8431         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8432         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8434 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8436         [BZ #15055]
8437         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8438         __ieee754_sqrl instead of __sqrl.
8440 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
8442         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8443         * sysdeps/powerpc/fpu_control.h: ... here.
8444         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8445         * sysdeps/powerpc/bits/fenvinline.h: ... here.
8446         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8447         * sysdeps/powerpc/bits/mathinline.h: ... here.
8449 2013-03-01  Roland McGrath  <roland@hack.frob.com>
8451         * elf/dl-hwcaps.c (_dl_important_hwcaps):
8452         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8453         to just [NEED_DL_SYSINFO_DSO].
8454         * elf/dl-support.c: Likewise.
8455         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8456         * elf/rtld.c (dl_main): Likewise.
8457         * elf/setup-vdso.h (setup_vdso): Likewise.
8458         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8459         * sysdeps/unix/sysv/linux/dl-sysdep.c
8460         (_dl_discover_osversion): Likewise.
8462 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
8464         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8465         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8467 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8469         * NEWS: Mention libm performance improvements and non-x86 PI
8470         futex support.
8472         * csu/libc-start.c (__pthread_initialize_minimal): Change
8473         function arguments.
8474         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8476 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
8478         [BZ #13550]
8479         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8480         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8481         <bp-sym.h> and <bp-asm.h>.
8482         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8483         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8484         and <bp-asm.h>.
8485         (memcpy): Don't use BP_SYM.
8486         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8487         <bp-asm.h>.
8488         (__mpn_add_n): Don't use BP_SYM.
8489         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8490         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8491         and <bp-asm.h>.
8492         (__mpn_addmul_1): Don't use BP_SYM.
8493         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8494         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8495         <bp-sym.h>.
8496         (_setjmp): Don't use BP_SYM.
8497         (__novmx_setjmp): Likewise.
8498         (__GI__setjmp): Likewise.
8499         (__vmx_setjmp): Likewise.
8500         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8501         <bp-sym.h>.
8502         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8503         (__bzero): Don't use BP_SYM.
8504         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8505         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8506         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8507         <bp-sym.h> and <bp-asm.h>.
8508         (memcpy): Don't use BP_SYM.
8509         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8510         <bp-sym.h> and <bp-asm.h>.
8511         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8512         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8513         <bp-sym.h> and <bp-asm.h>.
8514         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8515         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8516         <bp-asm.h>.
8517         (__mpn_lshift): Don't use BP_SYM.
8518         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8519         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8520         <bp-asm.h>.
8521         (memset): Don't use BP_SYM.
8522         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8523         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8524         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8525         <bp-asm.h>.
8526         (__mpn_mul_1): Don't use BP_SYM.
8527         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8528         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8529         <bp-sym.h> and <bp-asm.h>.
8530         (memcmp): Don't use BP_SYM.
8531         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8532         <bp-sym.h> and <bp-asm.h>.
8533         (memcpy): Don't use BP_SYM.
8534         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8535         <bp-sym.h> and <bp-asm.h>.
8536         (memset): Don't use BP_SYM.
8537         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8538         <bp-sym.h> and <bp-asm.h>.
8539         (strncmp): Don't use BP_SYM.
8540         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8541         <bp-sym.h> and <bp-asm.h>.
8542         (memcpy): Don't use BP_SYM.
8543         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8544         <bp-sym.h> and <bp-asm.h>.
8545         (memset): Don't use BP_SYM.
8546         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8547         <bp-sym.h> and <bp-asm.h>.
8548         (__memchr): Don't use BP_SYM.
8549         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8550         <bp-sym.h> and <bp-asm.h>.
8551         (memcmp): Don't use BP_SYM.
8552         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8553         <bp-sym.h> and <bp-asm.h>.
8554         (memcpy): Don't use BP_SYM.
8555         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8556         <bp-sym.h> and <bp-asm.h>.
8557         (__mempcpy): Don't use BP_SYM.
8558         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8559         <bp-sym.h> and <bp-asm.h>.
8560         (__memrchr): Don't use BP_SYM.
8561         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8562         <bp-sym.h> and <bp-asm.h>.
8563         (memset): Don't use BP_SYM.
8564         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8565         <bp-sym.h> and <bp-asm.h>.
8566         (__rawmemchr): Don't use BP_SYM.
8567         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8568         <bp-sym.h> and <bp-asm.h>.
8569         (__STRCMP): Don't use BP_SYM.
8570         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8571         <bp-sym.h> and <bp-asm.h>.
8572         (strchr): Don't use BP_SYM.
8573         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8574         <bp-sym.h> and <bp-asm.h>.
8575         (__strchrnul): Don't use BP_SYM.
8576         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8577         <bp-sym.h> and <bp-asm.h>.
8578         (strlen): Don't use BP_SYM.
8579         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8580         <bp-sym.h> and <bp-asm.h>.
8581         (strncmp): Don't use BP_SYM.
8582         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8583         <bp-sym.h> and <bp-asm.h>.
8584         (__strnlen): Don't use BP_SYM.
8585         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8586         <bp-asm.h>.
8587         (__mpn_rshift): Don't use BP_SYM.
8588         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8589         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8590         <bp-sym.h> and <bp-asm.h>.
8591         (__sigsetjmp): Don't use BP_SYM.
8592         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8593         (L(start_addresses)): Don't use BP_SYM.
8594         (_start): Likewise.
8595         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8596         <bp-asm.h>.
8597         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8598         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8599         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8600         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8601         <bp-asm.h>.
8602         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8603         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8604         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8605         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8606         <bp-asm.h>.
8607         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8608         comments.
8609         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8610         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8611         <bp-asm.h>.
8612         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
8613         FIXME comments.
8614         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8615         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8616         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8617         <bp-asm.h>.
8618         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8619         comment.
8620         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8621         and <bp-asm.h>.
8622         (strncmp): Don't use BP_SYM,
8623         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8624         <bp-asm.h>.
8625         (__mpn_sub_n): Don't use BP_SYM.
8626         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8627         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8628         and <bp-asm.h>.
8629         (__mpn_submul_1): Don't use BP_SYM.
8630         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8632         <bp-sym.h> and <bp-asm.h>.
8633         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8635         <bp-sym.h> and <bp-asm.h>.
8636         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8637         comment.
8639 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8641         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8642         Use ZK to minimize writes to Z.
8643         (sub_magnitudes): Simplify code a bit.
8644         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8645         Use ZK to minimize writes to Z.
8646         (sub_magnitudes): Simplify code a bit.
8648 2013-02-27  Roland McGrath  <roland@hack.frob.com>
8650         * csu/gmon-start.c: Add special exception to license text.
8652 2013-02-27  Richard Henderson  <rth@redhat.com>
8654         * scripts/config.guess: Update from config.git.
8655         * scripts/config.sub: Likewise.
8657 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8659         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8661         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8663         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8665         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8667         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8669 2013-02-26  Roland McGrath  <roland@hack.frob.com>
8671         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8672         [$(build-shared = yes].
8674 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8676         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8677         (__mul): Reduce iterations for calculating mantissa.
8679         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8680         MPTWO.
8681         (__mpranred): Likewise.
8683         [BZ #15160]
8684         * malloc/memusagestat.c (main): Draw graphs for heap and stack
8685         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8687 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
8689         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8690         Define __attribute__.
8692 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8694         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8695         unused.
8696         * posix/regex_internal.h (__attribute): Remove.
8697         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8698         (re_string_context_at): Likewise.
8699         (bitset_not): Use __attribute__ and mark function as possibly
8700         unused.
8701         (bitset_merge): Likewise.
8702         (bitset_mask): Likewise.
8703         (re_string_char_size_at): Likewise.
8704         (re_string_wchar_at): Likewise.
8705         (re_string_elem_size_at): Likewise.
8707 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8709         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8710         code.
8711         (cc32): Likewise.
8713         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8714         (__acr): Likewise.
8715         (__cpy): Likewise.
8716         (norm): Likewise.
8717         (denorm): Likewise.
8718         (__dbl_mp): Likewise.
8719         (add_magnitudes): Likewise.
8720         (sub_magnitudes): Likewise.
8721         (__mul): Likewise.
8722         (__inv): Likewise.
8724         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8725         style.
8727         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8728         style.
8730         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8731         code.
8733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8734         up changes with default code.
8735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8736         Likewise.
8738 2013-02-24  Allan McRae  <allan@archlinux.org>
8740         * manual/socket.texi (The Internet Namespace): Order menu items
8741         to match that in the file.
8743         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8744         node listing of the info page menu.
8746 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
8748         [BZ #13550]
8749         * sysdeps/i386/bp-asm.h: Remove file.
8750         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8751         (PARMS): Do not use macros from bp-asm.h.
8752         (S1): Likewise.
8753         (S2): Likewise.
8754         (SIZE): Likewise.
8755         (__mpn_add_n): Do not use BP_SYM
8756         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8757         "bp-asm.h".
8758         (PARMS): Do not use macros from bp-asm.h.
8759         (S1): Likewise.
8760         (SIZE): Likewise.
8761         (__mpn_addmul_1): Do not use BP_SYM
8762         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8763         "bp-asm.h".
8764         (PARMS): Do not use macros from bp-asm.h.
8765         (SIGMSK): Likewise.
8766         (_setjmp): Likewise.  Do not use BP_SYM.
8767         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8768         "bp-asm.h".
8769         (PARMS): Do not use macros from bp-asm.h.
8770         (SIGMSK): Likewise.
8771         (setjmp): Likewise.  Do not use BP_SYM.
8772         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8773         "bp-asm.h".
8774         (PARMS): Do not use macros from bp-asm.h.
8775         (__frexp): Do not use BP_SYM.
8776         (frexp): Likewise.
8777         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8778         "bp-asm.h".
8779         (PARMS): Do not use macros from bp-asm.h.
8780         (__frexpf): Do not use BP_SYM.
8781         (frexpf): Likewise.
8782         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8783         "bp-asm.h".
8784         (PARMS): Do not use macros from bp-asm.h.
8785         (__frexpl): Do not use BP_SYM.
8786         (frexpl): Likewise.
8787         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8788         "bp-asm.h".
8789         (PARMS): Do not use macros from bp-asm.h.
8790         (__remquo): Do not use BP_SYM.
8791         (remquo): Likewise.
8792         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8793         "bp-asm.h".
8794         (PARMS): Do not use macros from bp-asm.h.
8795         (__remquof): Do not use BP_SYM.
8796         (remquof): Likewise.
8797         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8798         "bp-asm.h".
8799         (PARMS): Do not use macros from bp-asm.h.
8800         (__remquol): Do not use BP_SYM.
8801         (remquol): Likewise.
8802         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8803         "bp-asm.h".
8804         (PARMS): Do not use macros from bp-asm.h.
8805         (DEST): Likewise.
8806         (SRC): Likewise.
8807         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
8808         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8809         "bp-asm.h".
8810         (PARMS): Do not use macros from bp-asm.h.
8811         (strlen): Do not use BP_SYM.
8812         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8813         "bp-asm.h".
8814         (PARMS): Do not use macros from bp-asm.h.
8815         (S1): Likewise.
8816         (S2): Likewise.
8817         (SIZE): Likewise.
8818         (__mpn_add_n): Do not use BP_SYM.
8819         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8820         "bp-asm.h".
8821         (PARMS): Do not use macros from bp-asm.h.
8822         (S1): Likewise.
8823         (SIZE): Likewise.
8824         (__mpn_addmul_1): Do not use BP_SYM.
8825         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8826         weak_alias.
8827         (bzero): Likewise.
8828         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8829         "bp-asm.h".
8830         (PARMS): Do not use macros from bp-asm.h.
8831         (S): Likewise.
8832         (SIZE): Likewise.
8833         (__mpn_lshift): Do not use BP_SYM.
8834         * sysdeps/i386/i586/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/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8842         libc_hidden_def and weak_alias.
8843         (mempcpy): Do not use BP_SYM in weak_alias.
8844         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8845         "bp-asm.h".
8846         (PARMS): Do not use macros from bp-asm.h.
8847         (DEST): Likewise.
8848         (LEN): Likewise.
8849         [!BZERO_P] (CHR): Likewise.
8850         (memset): Likewise.  Do not use BP_SYM.
8851         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8852         "bp-asm.h".
8853         (PARMS): Do not use macros from bp-asm.h.
8854         (S1): Likewise.
8855         (SIZE): Likewise.
8856         (__mpn_mul_1): Do not use BP_SYM.
8857         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8858         "bp-asm.h".
8859         (PARMS): Do not use macros from bp-asm.h.
8860         (S): Likewise.
8861         (SIZE): Likewise.
8862         (__mpn_rshift): Do not use BP_SYM.
8863         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8864         "bp-asm.h".
8865         (PARMS): Do not use macros from bp-asm.h.
8866         (STR): Likewise.
8867         (CHR): Likewise.
8868         (strchr): Likewise.  Do not use BP_SYM.
8869         (index): Do not use BP_SYM in weak_alias.
8870         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8871         "bp-asm.h".
8872         (PARMS): Do not use macros from bp-asm.h.
8873         (DEST): Likewise.
8874         (SRC): Likewise.
8875         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
8876         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8877         "bp-asm.h".
8878         (PARMS): Do not use macros from bp-asm.h.
8879         (strlen): Do not use BP_SYM.
8880         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8881         "bp-asm.h".
8882         (PARMS): Do not use macros from bp-asm.h.
8883         (S1): Likewise.
8884         (S2): Likewise.
8885         (SIZE): Likewise.
8886         (__mpn_sub_n): Do not use BP_SYM.
8887         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8888         "bp-asm.h".
8889         (PARMS): Do not use macros from bp-asm.h.
8890         (S1): Likewise.
8891         (SIZE): Likewise.
8892         (__mpn_submul_1): Do not use BP_SYM.
8893         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8894         "bp-asm.h".
8895         (PARMS): Do not use macros from bp-asm.h.
8896         (S1): Likewise.
8897         (S2): Likewise.
8898         (SIZE): Likewise.
8899         (__mpn_add_n): Do not use BP_SYM.
8900         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8901         weak_alias.
8902         (bzero): Likewise.
8903         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8904         "bp-asm.h".
8905         (PARMS): Do not use macros from bp-asm.h.
8906         (BLK2): Likewise.
8907         (LEN): Likewise.
8908         (memcmp): Do not use BP_SYM.
8909         (bcmp): Do not use BP_SYM in weak_alias.
8910         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8911         "bp-asm.h".
8912         (PARMS): Do not use macros from bp-asm.h.
8913         (DEST): Likewise.
8914         (SRC): Likewise.
8915         (LEN): Likewise.
8916         (memcpy): Likewise.  Do not use BP_SYM.
8917         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8918         "bp-asm.h".
8919         (PARMS): Do not use macros from bp-asm.h.
8920         (DEST): Likewise.
8921         (SRC): Likewise.
8922         (LEN): Likewise.
8923         (memmove): Likewise.  Do not use BP_SYM.
8924         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8925         "bp-asm.h".
8926         (PARMS): Do not use macros from bp-asm.h.
8927         (DEST): Likewise.
8928         (SRC): Likewise.
8929         (LEN): Likewise.
8930         (__mempcpy): Likewise.  Do not use BP_SYM.
8931         (mempcpy): Do not use BP_SYM in weak_alias.
8932         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8933         "bp-asm.h".
8934         (PARMS): Do not use macros from bp-asm.h.
8935         (DEST): Likewise.
8936         (LEN): Likewise.
8937         [!BZERO_P] (CHR): Likewise.
8938         (memset): Likewise.  Do not use BP_SYM.
8939         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8940         "bp-asm.h".
8941         (PARMS): Do not use macros from bp-asm.h.
8942         (STR2): Likewise.
8943         (strcmp): Do not use BP_SYM.
8944         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8945         "bp-asm.h".
8946         (PARMS): Do not use macros from bp-asm.h.
8947         (STR): Likewise.
8948         (DELIM): Likewise.
8949         [USE_AS_STRTOK_R] (SAVE): Likewise.
8950         (FUNCTION): Likewise.  Do not use BP_SYM.
8951         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8952         aliases.
8953         (strtok_r): Likewise.
8954         (__GI___strtok_r): Likewise.
8955         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8956         (PARMS): Do not use macros from bp-asm.h.
8957         (S): Likewise.
8958         (SIZE): Likewise.
8959         (__mpn_lshift): Do not use BP_SYM.
8960         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8961         (PARMS): Do not use macros from bp-asm.h.
8962         (STR): Likewise.
8963         (CHR): Likewise.
8964         (__memchr): Do not use BP_SYM.
8965         (memchr): Do not use BP_SYM in weak_alias.
8966         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8967         (PARMS): Do not use macros from bp-asm.h.
8968         (BLK2): Likewise.
8969         (LEN): Likewise.
8970         (memcmp): Do not use BP_SYM.
8971         (bcmp): Do not use BP_SYM in weak_alias.
8972         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8973         (PARMS): Do not use macros from bp-asm.h.
8974         (S1): Likewise.
8975         (SIZE): Likewise.
8976         (__mpn_mul_1): Do not use BP_SYM.
8977         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8978         "bp-asm.h".
8979         (PARMS): Do not use macros from bp-asm.h.
8980         (STR): Likewise.
8981         (CHR): Likewise.
8982         (__rawmemchr): Do not use BP_SYM.
8983         (rawmemchr): Do not use BP_SYM in weak_alias.
8984         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8985         (PARMS): Do not use macros from bp-asm.h.
8986         (S): Likewise.
8987         (SIZE): Likewise.
8988         (__mpn_rshift): Do not use BP_SYM.
8989         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8990         (PARMS): Do not use macros from bp-asm.h.
8991         (SIGMSK): Likewise.
8992         (__sigsetjmp): Likewise.  Do not use BP_SYM.
8993         * sysdeps/i386/start.S: Do not include "bp-sym.h".
8994         (_start): Do not use BP_SYM.
8995         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8996         (PARMS): Do not use macros from bp-asm.h.
8997         (DEST): Likewise.
8998         (SRC): Likewise.
8999         (__stpcpy): Likewise.  Do not use BP_SYM.
9000         (stpcpy): Do not use BP_SYM in weak_alias.
9001         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9002         "bp-asm.h".
9003         (PARMS): Do not use macros from bp-asm.h.
9004         (DEST): Likewise.
9005         (SRC): Likewise.
9006         (LEN): Likewise.
9007         (__stpncpy): Likewise.  Do not use BP_SYM.
9008         (stpncpy): Do not use BP_SYM in weak_alias.
9009         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9010         (PARMS): Do not use macros from bp-asm.h.
9011         (STR): Likewise.
9012         (CHR): Likewise.
9013         (strchr): Likewise.  Do not use BP_SYM.
9014         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9015         "bp-asm.h".
9016         (PARMS): Do not use macros from bp-asm.h.
9017         (STR): Likewise.
9018         (CHR): Likewise.
9019         (__strchrnul): Likewise.  Do not use BP_SYM.
9020         (strchrnul): Do not use BP_SYM in weak_alias.
9021         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9022         "bp-asm.h".
9023         (PARMS): Do not use macros from bp-asm.h.
9024         (STOP): Likewise.
9025         (strcspn): Do not use BP_SYM.
9026         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9027         "bp-asm.h".
9028         (PARMS): Do not use macros from bp-asm.h.
9029         (STR): Likewise.
9030         (STOP): Likewise.
9031         (strpbrk): Likewise.  Do not use BP_SYM.
9032         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9033         "bp-asm.h".
9034         (PARMS): Do not use macros from bp-asm.h.
9035         (STR): Likewise.
9036         (CHR): Likewise.
9037         (strrchr): Likewise.  Do not use BP_SYM.
9038         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9039         (PARMS): Do not use macros from bp-asm.h.
9040         (SKIP): Likewise.
9041         (strspn): Do not use BP_SYM.
9042         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9043         (PARMS): Do not use macros from bp-asm.h.
9044         (STR): Likewise.
9045         (DELIM): Likewise.
9046         (SAVE): Likewise.
9047         (FUNCTION): Likewise.  Do not use BP_SYM.
9048         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9049         aliases.
9050         (strtok_r): Likewise.
9051         (__GI___strtok_r): Likewise.
9052         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9053         (PARMS): Do not use macros from bp-asm.h.
9054         (S1): Likewise.
9055         (S2): Likewise.
9056         (SIZE): Likewise.
9057         (__mpn_sub_n): Do not use BP_SYM.
9058         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9059         "bp-asm.h".
9060         (PARMS): Do not use macros from bp-asm.h.
9061         (S1): Likewise.
9062         (SIZE): Likewise.
9063         (__mpn_submul_1): Do not use BP_SYM.
9064         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9065         <bp-sym.h>.
9066         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9067         and <bp-asm.h>.
9068         (PARMS): Do not use macros from bp-asm.h.
9069         (FLAGS): Likewise.
9070         (PTID): Likewise.
9071         (TLS): Likewise.
9072         (CTID): Likewise.
9073         (__clone): Do not use BP_SYM.
9074         (clone): Do not use BP_SYM in weak_alias.
9075         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9076         and <bp-asm.h>.
9077         (PARMS): Do not use macros from bp-asm.h.
9078         (LEN): Likewise.
9079         (__mmap64): Do not use BP_SYM.
9080         (mmap64): Do not use BP_SYM in weak_alias.
9081         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9082         <bp-sym.h> and <bp-asm.h>.
9083         (PARMS): Do not use macros from bp-asm.h.
9084         (__posix_fadvise64_l64): Do not use BP_SYM.
9085         * sysdeps/unix/sysv/linux/i386/semtimedop.S
9086         (PARMS): Do not use macros from bp-asm.h.
9087         (NSOPS): Likewise.
9088         (semtimedop): Do not use BP_SYM.
9089         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9090         and <bp-asm.h>.
9092 2013-02-21  Allan McRae  <allan@archlinux.org>
9094         * manual/message.texi (Charset conversion in gettext):
9095         Move @end statement to beginning of line.
9097 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9100         static.
9101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9102         Likewise.
9104         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9105         (denorm): Likewise.
9106         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9107         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9109 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9111         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9112         tail-call to the resolved function if pltexit isn't needed.
9114 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9116         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9117         or Y being zero as being unlikely.
9118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9119         Likewise.
9121 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
9123         * manual/nss.texi (System Databases and Name Service Switch):
9124         Remove frobnicate @pxref.
9126 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9128         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9129         __attribute__ ((unused)) to __attribute__ ((__unused__)).
9131 2013-02-20  Petr Machata  <pmachata@redhat.com>
9133         * elf/elf.h (R_ARM_TARGET1): New macro.
9134         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9135         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9136         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9137         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9138         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9139         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9140         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9141         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9142         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9143         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9144         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9145         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9146         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9147         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9148         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9149         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9150         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9151         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9152         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9153         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9154         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9155         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9156         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9157         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9158         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9159         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9160         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9161         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9162         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9163         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9164         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9165         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9166         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9167         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9168         (R_ARM_THM_GOT_BREL12): Likewise.
9169         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9170         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9171         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9172         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9173         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9174         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9175         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9176         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9177         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9179 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9181         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9182         __attribute_used__ to __attribute__ ((unused)).
9184 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9186         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9187         powerpc mpa.c.
9188         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9189         comment formatting.
9190         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9192 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
9194         [BZ #13550]
9195         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9196         Remove macro.
9197         (ENTER): Remove both macro definitions.
9198         (LEAVE): Likewise.
9199         (CHECK_BOUNDS_LOW): Likewise.
9200         (CHECK_BOUNDS_HIGH): Likewise.
9201         (CHECK_BOUNDS_BOTH): Likewise.
9202         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9203         (RETURN_BOUNDED_POINTER): Likewise.
9204         (RETURN_NULL_BOUNDED_POINTER): Likewise.
9205         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9206         (POP_ERRNO_LOCATION_RETURN): Likewise.
9207         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9208         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9209         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9210         macros.
9211         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9212         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9213         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9214         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9215         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9216         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9217         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9218         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9219         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9220         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9221         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9222         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9223         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9224         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9225         removed macros.
9226         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9227         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9228         macros.
9229         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9230         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9231         * sysdeps/i386/i586/memset.S (memset): Likewise.
9232         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9233         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9234         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9235         macros.
9236         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9237         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9238         Change uses of L(2) to L(out).
9239         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9240         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9241         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9242         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9243         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9244         removed macros.
9245         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9246         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9247         macros.
9248         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9249         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9250         (RETURN): Do not use macro LEAVE.
9251         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9252         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9253         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9254         * sysdeps/i386/i686/memset.S (memset): Likewise.
9255         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9256         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9257         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9258         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9259         Likewise.
9260         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9261         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
9262         L(1_2) and L(1_3) into L(1).
9263         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9264         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9265         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9266         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9267         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9268         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9269         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9270         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9271         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9272         macros.
9273         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9274         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9275         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9276         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9277         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9278         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9279         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9280         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9281         * sysdeps/i386/strcspn.S (strcspn): Likewise.
9282         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9283         * sysdeps/i386/strrchr.S (strrchr): Likewise.
9284         * sysdeps/i386/strspn.S (strspn): Likewise.
9285         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9286         conditional code.
9287         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9288         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9289         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9290         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
9291         L(1_3) into L(1_1).
9292         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9293         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9294         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9295         macros.
9296         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9298 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
9300         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9301         macro.
9303 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9305         * math/atest-exp.c (exp_mpn): Remove ROUND.
9306         * math/atest-exp2.c (exp_mpn): Likewise.
9307         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9309         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9310         * stdlib/tst-tls-atexit-lib.c: Likewise.
9311         * stdlib/tst-tls-atexit.c: Likewise.
9313 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9315         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9316         and __attribute_alloc_size__.
9318 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9320         * include/programs/xmalloc.h: Change __attribute_alloc_size to
9321         __attribute_alloc_size__.
9322         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9323         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9325 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9327         * include/programs/xmalloc.h: New file.
9328         * catgets/gencat.c: Include it.
9329         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9330         * elf/pldd.c: Likewise.
9331         * iconv/iconv_charmap.c: Likewise.
9332         * iconv/iconvconfig.c: Likewise.
9333         * iconv/strtab.c: Likewise.
9334         * locale/programs/locale.c: Likewise.
9335         * locale/programs/localedef.h: Likewise.
9336         * locale/programs/simple-hash.c: Likewise.
9337         * nscd/nscd.h: Likewise.
9338         * nss/makedb.c: Likewise.
9339         * sysdeps/generic/ldconfig.h: Likewise.
9341 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9343         * Versions.def: Add GLIBC_2.18.
9344         * include/link.h (struct link_map): New member l_tls_dtor_count.
9345         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9346         (__call_tls_dtors): Likewise.
9347         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9348         __cxa_thread_atexit_impl.
9349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9350         Likewise.
9351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9352         Likewise.
9353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9354         Likewise.
9355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9356         Likewise.
9357         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9359         Likewise.
9360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9361         Likewise.
9362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9363         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9364         Likewise.
9365         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9366         (tests): Add test case tst-tls-atexit.
9367         (modules-names): Add shared library for tst-tls-atexit.
9368         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9369         (GLIBC_PRIVATE): Add __call_tls_dtors.
9370         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9371         for libstdc++.
9372         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9373         * stdlib/tst-tls-atexit.c: New test case.
9374         * stdlib/tst-tls-atexit-lib.c: New test case.
9376         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9378         * elf/Versions (ld): Add _dl_find_dso_for_object.
9379         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9380         * elf/dl-open.c (_dl_find_dso_for_object): New function.
9381         (dl_open_worker): Use _dl_find_dso_for_object.
9382         * elf/dl-sym.c (do_sym): Likewise.
9383         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9385 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9387         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9388         Syntactic changes only.
9389         (_dl_runtime_profile): Do a tail-call to the resolved function.
9391 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
9393         [BZ #13550]
9394         * sysdeps/x86_64/bp-asm.h: Remove file.
9395         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9396         <bp-sym.h> and <bp-asm.h>.
9397         (__clone): Do not use BP_SYM.
9398         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9399         <bp-sym.h> and <bp-asm.h>.
9400         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9401         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9402         "bp-asm.h".
9403         (_setjmp): Do not use BP_SYM.
9404         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9405         "bp-asm.h".
9406         (setjmp): Do not use BP_SYM.
9407         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9408         libc_hidden_def.
9409         (mempcpy): Do not use BP_SYM in weak_alias.
9410         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9411         "bp-asm.h".
9412         (strchr): Do not use BP_SYM.
9413         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9414         "bp-asm.h".
9415         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9416         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9417         (_start): Do not use BP_SYM.
9418         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9419         "bp-asm.h".
9420         (strcat): Do not use BP_SYM.
9421         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9422         "bp-asm.h".
9423         (STRCMP): Do not use BP_SYM.
9424         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9425         "bp-asm.h".
9426         (STRCPY): Do not use BP_SYM.
9427         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9428         "bp-asm.h".
9429         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9430         "bp-asm.h".
9431         (FUNCTION): Do not use BP_SYM.
9432         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9433         weak_alias.
9434         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9436 2013-02-17  Andreas Jaeger  <aj@suse.de>
9438         * time/Versions: Sort entries.
9439         * string/Versions: Likewise.
9440         * resolv/Versions: Likewise.
9441         * posix/Versions: Likewise.
9442         * iconv/Versions: Likewise.
9443         * elf/Versions: Likewise.
9444         * wcsmbs/Versions: Likewise.
9446 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9448         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9449         loop termination condition.
9451         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9452         variable to calculate EZ.
9453         (__sqr): Likewise.
9455         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9456         the lower precision input.
9458 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
9460         [BZ #13550]
9461         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9462         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9463         (run-via-rtld-prefix): Do not handle %-bp tests.
9464         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9465         (all-object-suffixes): Remove .ob.
9466         (bppfx): Remove variable.
9467         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9468         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9469         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9470         [$(build-bounded) = yes] (libtype.ob): Likewise.
9471         * Makerules (elide-routines.ob): Remove variable.
9472         (do-tests-clean): Do not handle *-bp.out.
9473         (common-mostlyclean): Do not handle *-bp and *-bp.out.
9474         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9475         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9476         (tests): Do not include $(tests-bp.out).
9477         (xtests): Do not include $(xtests-bp.out).
9478         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9479         [$(build-bounded) = yes] ($(addprefix
9480         $(objpfx),$(binaries-bounded))): Remove rule.
9481         ($(objpfx)%-bp.out): Remove rule.
9482         * config.make.in (build-bounded): Remove variable.
9483         * crypt/Makefile [$(build-bounded) = yes]
9484         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9485         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9486         append to variable.
9487         [$(build-bounded) = yes] (install-lib): Likewise.
9488         [$(build-bounded) = yes] (generated): Likewise.
9489         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9490         Remove rule.
9491         * intl/Makefile [$(build-bounded) = yes]
9492         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9493         * math/Makefile [$(build-bounded) = yes]
9494         ($(tests:%=$(objpfx)%-bp): Likewise.
9495         * misc/Makefile [$(build-bounded) = yes]
9496         ($(objpfx)tst-tsearch-bp): Likewise.
9497         * nptl/Makeconfig (bounded-thread-library): Remove variable.
9498         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9499         Remove dependency.
9500         * string/Makefile (o-objects.ob): Remove variable.
9501         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9502         (CFLAGS-.ob): Remove variable.
9503         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9504         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9505         both definitions of variable.
9506         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9507         (ASFLAGS-.ob): Remove variable.
9509 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
9511         [BZ #13550]
9512         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9513         Remove __BOUNDED_POINTERS__ from condition.
9514         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9515         * string/bits/string2.h [!__NO_STRING_INLINES &&
9516         !__BOUNDED_POINTERS__]: Likewise.
9517         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9518         Likewise.
9519         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9520         Remove conditional code.
9521         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9522         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9523         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9524         condition.
9526         [BZ #13550]
9527         * csu/libc-start.c: Do not include <bp-sym.h>.
9528         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9529         * elf/dl-open.c: Do not include <bp-sym.h>.
9530         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9531         * math/fegetenv.c: Do not include <bp-sym.h>.
9532         (fegetenv): Do not use BP_SYM in versioned symbols.
9533         * nptl/sysdeps/pthread/bits/libc-lockP.h
9534         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9535         <bp-sym.h>.
9536         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9537         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9538         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9539         (__pthread_mutex_destroy): Likewise.
9540         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9541         (__pthread_mutex_lock): Likewise.
9542         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9543         (__pthread_mutex_trylock): Likewise.
9544         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9545         (__pthread_mutex_unlock): Likewise.
9546         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9547         (__pthread_mutexattr_init): Likewise.
9548         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9549         (__pthread_mutexattr_destroy): Likewise.
9550         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9551         (__pthread_mutexattr_settype): Likewise.
9552         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9553         (__pthread_rwlock_init): Likewise.
9554         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9555         (__pthread_rwlock_destroy): Likewise.
9556         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9557         (__pthread_rwlock_rdlock): Likewise.
9558         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9559         (__pthread_rwlock_tryrdlock): Likewise.
9560         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9561         (__pthread_rwlock_wrlock): Likewise.
9562         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9563         (__pthread_rwlock_trywrlock): Likewise.
9564         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9565         (__pthread_rwlock_unlock): Likewise.
9566         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9567         (__pthread_key_create): Likewise.
9568         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9569         (__pthread_setspecific): Likewise.
9570         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9571         (__pthread_getspecific): Likewise.
9572         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9573         Likewise.
9574         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9575         (_pthread_cleanup_push_defer): Likewise.
9576         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9577         (_pthread_cleanup_pop_restore): Likewise.
9578         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9579         (pthread_setcancelstate): Likewise.
9580         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9581         <bp-sym.h>.
9582         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9583         (memchr): Do not use BP_SYM in weak_alias.
9584         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9585         (fegetenv): Do not use BP_SYM in versioned symbols.
9586         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9587         (fesetenv): Do not use BP_SYM in versioned symbols.
9588         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9589         (feupdateenv): Do not use BP_SYM in versioned symbols.
9590         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9591         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9592         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9593         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9594         (open64): Do not use BP_SYM in weak_alias.
9595         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9596         (fegetenv): Do not use BP_SYM in versioned symbols.
9597         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9598         (fesetenv): Do not use BP_SYM in versioned symbols.
9599         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9600         (feupdateenv): Do not use BP_SYM in versioned symbols.
9601         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9602         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9603         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9604         (feraiseexcept): Do not use BP_SYM in versioned symbols.
9605         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9606         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9607         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9608         <bp-sym.h>.
9609         (__libc_start_main): Do not use BP_SYM.
9611 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9614         redundant return line.
9615         (norm): Likewise.
9616         (denorm): Likewise.
9617         (dbl_mp): Likewise.
9618         (sub_magnitudes): Likewise.
9619         (__add): Likewise.
9620         (__sub): Likewise.
9621         (__mul): Likewise.
9622         (__inv): Likewise.
9623         (__dvd): Likewise.
9624         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9625         (norm): Likewise.
9626         (denorm): Likewise.
9627         (dbl_mp): Likewise.
9628         (sub_magnitudes): Likewise.
9629         (__add): Likewise.
9630         (__sub): Likewise.
9631         (__mul): Likewise.
9632         (__inv): Likewise.
9633         (__dvd): Likewise.
9635         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9636         instead of __mul.
9637         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9638         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9639         (cc32): Likewise.
9641         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9642         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9643         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9644         of __mul for squares.
9645         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9646         function
9647         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9648         Likewise.
9649         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9650         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9652 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
9654         [BZ #13550]
9655         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9656         code.
9657         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9658         prototype or function definition.  Rename ubp_* variables and
9659         parameters.  Remove argv definitions conditional on
9660         [__BOUNDED_POINTERS__].
9661         * debug/backtrace.c (__backtrace): Do not use __unbounded.
9662         * elf/dl-runtime.c (_dl_fixup): Likewise.
9663         * include/set-hooks.h (RUN_HOOK): Likewise.
9664         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9665         definition.
9666         * string/strcpy.c (strcpy): Do not use __unbounded.
9667         * sysdeps/generic/frame.h (struct layout): Likewise.
9668         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9669         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9670         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9671         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9672         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9673         (__backtrace): Likewise.
9674         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9675         use __ptrvalue.
9676         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9677         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9678         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9679         Likewise.
9680         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9681         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9682         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9683         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9684         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9685         Do not use __unbounded.
9686         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9687         Rename __unboundedrlimits parameter to rlimits in prototype.
9688         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9689         Do not use __unbounded.
9690         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9691         not use __ptrvalue.
9692         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9693         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9694         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9695         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9696         __ptrvalue or __unbounded.
9697         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9698         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9699         use __unbounded.
9700         (__new_msgctl): Do not use __ptrvalue.
9701         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9702         __unbounded.
9703         (__libc_msgrcv): Do not use __ptrvalue.
9704         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9705         startup_info): Do not use __unbounded.
9706         (__libc_start_main): Likewise.  Rename ubp_* variables and
9707         parameters.  Remove argv definitions conditional on
9708         [__BOUNDED_POINTERS__].
9709         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9710         __ptrvalue.
9711         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9712         use __unbounded.
9713         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9714         or __ptrvalue.
9715         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9716         use __unbounded.
9717         (__new_shmctl): Do not use __ptrvalue.
9718         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9719         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9720         Likewise.
9721         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9722         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9723         (__libc_sigaction): Likewise.
9724         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9725         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9726         Likewise.
9727         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9729 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
9731         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9733         * string/mempcpy.c: Implement by calling memcpy.
9735 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9737         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9739         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9740         evaluation.
9742         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9743         values in the mantissa.
9745         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9746         minimize writes to Z.
9747         (sub_magnitudes): Simplify code a bit.
9749 2013-02-12  Roland McGrath  <roland@hack.frob.com>
9751         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9752         from the message.  The linker prefixes all warnings with that already.
9754 2013-02-12  Andreas Schwab  <schwab@suse.de>
9756         [BZ #15078]
9757         * posix/regexec.c (extend_buffers): Add parameter min_len.
9758         (check_matching): Pass minimum needed length.
9759         (clean_state_log_if_needed): Likewise.
9760         (get_subexp): Likewise.
9761         * posix/Makefile (tests): Add bug-regex34.
9762         (bug-regex34-ENV): Define.
9763         * posix/bug-regex34.c: New file.
9765         [BZ #11561]
9766         * posix/regcomp.c (parse_bracket_exp): When looking up collating
9767         elements compare against the byte sequence of it, not its name.
9768         * posix/Makefile (tests): Add bug-regex35.
9769         (bug-regex35-ENV): Define.
9770         * posix/bug-regex35.c: New file.
9772 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9774         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
9775         comment.
9776         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9777         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9778         (CHECK_EOL): Add undef.
9780 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
9782         * bits/stdlib-bsearch.h: New file.
9783         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9784         * stdlib/stdlib.h: Likewise.
9786 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9788         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9789         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9790         declaration.
9791         * manual/search.texi (Array Search Function): Add missing const in
9792         lfind prototype.
9793         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9794         declaration to use rlim_t.
9795         (Basic Scheduling Functions): Remove erroneous const from
9796         sched_getparam prototype.  Remove erroneous * from
9797         sched_get_priority_max and sched_get_priority_min prototypes.
9798         (Resource Usage): Fix summary @comment on vtimes to refer to
9799         sys/vtimes.h rather than vtimes.h.
9800         Add missing *s in vtimes prototype.
9801         (Limits on Resources): Fix ulimit prototype to return long int.
9802         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9803         prototypes to use long int rather than double.
9804         (BSD Random): Fix initstate and setstate to use char *, not void *.
9805         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9806         prototype to make second argument 'struct aiocb64 *const[]'.
9807         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9808         (Status of AIO Operations): Remove erroneous const in aio_return and
9809         aio_return64 prototypes.
9810         (Synchronizing I/O): Fix sync prototype to return void.
9811         * manual/startup.texi (Suboptions): Remove an erroneous const in
9812         getsubopt prototype.
9813         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9814         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9815         use size_t rather than int.
9816         (Scanning All Users): Likewise for getpwent_r.
9817         (Setting Groups): Add missing const to setgroups prototype.
9818         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9819         * manual/socket.texi (Host Names): Fix gethostbyaddr and
9820         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9821         'const void *' rather than 'const char *'.
9822         (Host Address Functions): Likewise for inet_ntop.
9823         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9824         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9825         ssize_t for return value.
9826         (Sending Data): Likewise for send, sendto, sendmsg.
9827         (Socket Option Functions): Add a missing const in setsockopt prototype.
9828         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9829         use wchar_t for the argument.
9830         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9831         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9832         take no arguments.
9833         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9834         double/float/long double for second argument.
9835         Fix return types of significand, significandf, significandl.
9836         * manual/filesys.texi (Setting Permissions): Use mode_t for second
9837         argument in fchmod prototype.
9838         (File Owner): Use uid_t and gid_t in fchown prototype.
9839         (File Times): Add const to utimes, futimes, and lutimes prototypes.
9840         (Making Special Files): Use mode_t and dev_t in mknod prototype.
9841         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9842         use 'const struct dirent **' as argument types to CMP function pointer
9843         argument.
9844         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9845         (File Times): Fix summary magic @comment for struct utimbuf and utime
9846         to refer to utime.h, not time.h.
9847         * manual/string.texi (Argz Functions): Add missing const in
9848         argz_extract and argz_next prototypes.
9849         (Finding Tokens in a String): Likewise for basename.
9850         (String/Array Comparison): Fix typo in wcscasecmp prototype.
9851         (Copying and Concatenation): Fix typo in wmemmove prototype.
9852         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9853         (Signal Stack): Remove erroneous const in sigstack prototype.
9854         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9855         prototype.
9856         (Simple Calendar Time): Likewise for stime.
9857         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9858         prototype.
9859         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9860         say sys/sysctl.h instead.
9861         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9862         and vsyslog prototypes.
9864 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9866         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9867         Remove.
9869 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9871         * misc/sys/mman.h: Fix typo in mremap comment.
9873 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9875         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9876         the '\0' terminator.
9878 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9880         [BZ #13550]
9881         * debug/segfault.c: Don't include <bp-checks.h>.
9882         * sysdeps/generic/bp-checks.h: Remove file.
9883         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9884         (__GETDENTS): Don't use CHECK_N.
9885         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9886         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9887         (__getgroups): Don't use CHECK_N.
9888         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9889         (setgroups): Don't use CHECK_N.
9890         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9891         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9892         (__libc_msgrcv): Don't use CHECK_N.
9893         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9894         (__libc_msgsnd): Don't use CHECK_N.
9895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9896         <bp-checks.h>.
9897         (__libc_pread): Don't use CHECK_N.
9898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9899         include <bp-checks.h>.
9900         (__libc_pread64): Don't use CHECK_N.
9901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9902         include <bp-checks.h>.
9903         (__libc_pwrite): Don't use CHECK_N.
9904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9905         include <bp-checks.h>.
9906         (__libc_pwrite64): Don't use CHECK_N.
9907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9908         <bp-checks.h>.
9909         (__libc_pread): Don't use CHECK_N.
9910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9911         include <bp-checks.h>.
9912         (__libc_pread64): Don't use CHECK_N.
9913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9914         include <bp-checks.h>.
9915         (__libc_pwrite): Don't use CHECK_N.
9916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9917         include <bp-checks.h>.
9918         (__libc_pwrite64): Don't use CHECK_N.
9919         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9920         (do_pread): Don't use CHECK_N.
9921         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9922         (do_pread64): Don't use CHECK_N.
9923         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9924         (do_pwrite): Don't use CHECK_N.
9925         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9926         (do_pwrite64): Don't use CHECK_N.
9927         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9928         (__libc_readv): Don't use CHECK_N.
9929         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9930         (semop): Don't use CHECK_N.
9931         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9932         <bp-checks.h>.
9933         (semtimedop): Don't use CHECK_N.
9934         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9935         (__libc_pread): Don't use CHECK_N.
9936         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9937         <bp-checks.h>.
9938         (__libc_pread64): Don't use CHECK_N.
9939         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9940         <bp-checks.h>.
9941         (__libc_pwrite): Don't use CHECK_N.
9942         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9943         <bp-checks.h>.
9944         (__libc_pwrite64): Don't use CHECK_N.
9945         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9946         <bp-checks.h>.
9947         (__libc_msgrcv): Don't use CHECK_N.
9948         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9949         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
9950         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9951         (__libc_writev): Don't use CHECK_N.
9953 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9955         * string/strcpy.c: Removed unused variable.
9957         * Makeconfig (+sysdep-includes): Define with := rather than =.
9958         Use an existing include/ subdir of each sysdeps dir before it.
9960 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9962         * nscd/connection.c (register_traced_file): Comment function.
9963         [HAVE_INOTIFY] (union __inev): Define.
9964         [HAVE_INOTIFY] (inotify_check_files): New function.
9965         [HAVE_INOTIFY] (clear_db_cache): Likewise.
9966         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9967         clear_db_cache.
9968         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9970 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9972         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9973         loaded if not already and that a failure is permanent.
9975 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9977         [BZ #15006]
9978         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9979         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9981 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9983         [BZ #13550]
9984         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9985         (CHECK_1_NULL_OK): Likewise.
9986         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9987         (__fxstat): Do not use CHECK_1.
9988         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9989         <bp-checks.h>.
9990         (___fxstat64): Do not use CHECK_1.
9991         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9992         <bp-checks.h>.
9993         (__fxstatat): Do not use CHECK_1.
9994         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9995         <bp-checks.h>.
9996         (__fxstatat64): Do not use CHECK_1.
9997         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9998         <bp-checks.h>.
9999         (__fxstat): Do not use CHECK_1.
10000         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10001         <bp-checks.h>.
10002         (__fxstatat): Do not use CHECK_1.
10003         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10004         <bp-checks.h>.
10005         (__getresgid): Do not use CHECK_1.
10006         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10007         <bp-checks.h>.
10008         (__getresuid): Do not use CHECK_1.
10009         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10010         <bp-checks.h>.
10011         (__lxstat): Do not use CHECK_1.
10012         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10013         <bp-checks.h>.
10014         (__old_msgctl): Do not use CHECK_1.
10015         (__new_msgctl): Likewise.
10016         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10017         <bp-checks.h>.
10018         (__new_setrlimit): Do not use CHECK_1.
10019         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10020         <bp-checks.h>.
10021         (__old_shmctl): Do not use CHECK_1.
10022         (__new_shmctl): Likewise.
10023         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10024         <bp-checks.h>.
10025         (__xstat): Do not use CHECK_1.
10026         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10027         (__lxstat): Do not use CHECK_1.
10028         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10029         <bp-checks.h>.
10030         (___lxstat64): Do not use CHECK_1.
10031         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10032         (__old_msgctl): Do not use CHECK_1.
10033         (__new_msgctl): Likewise.
10034         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10035         <bp-checks.h>.
10036         (__gettimeofday): Do not use CHECK_1.
10037         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10038         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10039         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10040         <bp-checks.h>.
10041         (__gettimeofday): Do not use CHECK_1.
10042         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10043         (__old_shmctl): Do not use CHECK_1_NULL_OK.
10044         (__new_shmctl): Do not use CHECK_1.
10045         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10046         <bp-checks.h>.
10047         (do_sigtimedwait): Do not use CHECK_1.
10048         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10049         <bp-checks.h>.
10050         (do_sigwaitinfo): Do not use CHECK_1.
10051         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10052         <bp-checks.h>.
10053         (msgctl): Do not use CHECK_1.
10054         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10055         <bp-checks.h>.
10056         (shmctl): Do not use CHECK_1.
10057         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10058         (ustat): Do not use CHECK_1.
10059         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10060         <bp-checks.h>.
10061         (__fxstat): Do not use CHECK_1.
10062         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10063         <bp-checks.h>.
10064         (__fxstatat): Do not use CHECK_1.
10065         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10066         <bp-checks.h>.
10067         (__lxstat): Do not use CHECK_1.
10068         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10069         <bp-checks.h>.
10070         (__xstat): Do not use CHECK_1.
10071         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10072         (__xstat): Do not use CHECK_1.
10073         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10074         (___xstat64): Do not use CHECK_1.
10076         [BZ #13550]
10077         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10078         definitions.
10079         (CHECK_BOUNDS_HIGH): Likewise.
10080         * string/strcpy.c: Do not include <bp-checks.h>.
10081         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10083 2013-02-07  Roland McGrath  <roland@hack.frob.com>
10085         * nscd/nscd-client.h (__nscd_drop_map_ref):
10086         Add __attribute__ ((unused)).
10087         * nis/nss-nisplus.h (niserr2nss): Likewise.
10089         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10090         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10092         * csu/libc-tls.c (init_static_tls, init_slotinfo):
10093         Remove inline keyword.
10094         * include/rounding-mode.h (round_away): Likewise.
10095         * libio/wfileops.c (adjust_wide_data): Likewise.
10096         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10097         (__m128i_strloadu_tolower): Likewise.
10098         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10099         (__m128i_strloadu_tolower): Likewise.
10100         * time/mktime.c (ydhms_diff): Likewise.
10101         * locale/elem-hash.h (elem_hash): Likewise.
10102         * locale/setlocale.c (setdata): Likewise.
10103         * posix/regex_internal.h (re_string_char_size_at): Likewise.
10104         (re_string_wchar_at): Likewise.
10105         (bitset_not, bitset_merge, bitset_mask): Likewise.
10106         [!(__GNUC__ > 3)] (inline): Remove macro.
10107         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10108         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10109         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10110         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10111         * string/memcmp.c (memcmp_bytes): Likewise.
10112         * locale/programs/locarchive.c (compute_hashval): Likewise.
10113         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10114         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10115         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10116         * nss/getent.c (print_rpc, print_protocols): Likewise.
10117         (print_passwd, print_group, print_aliases): Likewise.
10118         * nis/nss-nisplus.h (niserr2nss): Likewise.
10119         * nscd/connections.c (restart_p): Likewise.
10120         Change return type to bool.
10122 2013-02-05  Roland McGrath  <roland@hack.frob.com>
10124         * Makeconfig (all-Depend-files): Add existing
10125         $(sorted-subdirs:=/Depend) files.
10126         (all-subdirs): Remove nss.
10127         * sysdeps/unix/inet/Subdirs: Add it here instead.
10128         * hesiod/Depend: New file.
10130         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10131         instead of calling alloca.
10133         * io/lseek.c (__lseek): Rename to __libc_lseek.
10134         Define __lseek as an alias.
10136         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10138 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
10140         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10141         else clause and remove check for non-standard endianness.
10143 2013-02-04  David S. Miller  <davem@davemloft.net>
10145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10147 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
10149         [BZ #13550]
10150         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10151         (__ubp_memchr): Remove prototype.
10152         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10153         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10154         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10155         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10156         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10157         Remove alias.
10158         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10159         (__ubp_memchr): Likewise.
10160         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10161         (__ubp_memchr): Likewise.
10162         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10163         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10164         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10165         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10166         CHECK_STRING.
10167         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10168         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10169         (__getcwd): Do not use CHECK_STRING.
10170         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10171         <bp-checks.h>.
10172         (__real_chown): Do not use CHECK_STRING.
10173         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10174         <bp-checks.h>.
10175         (fchownat): Do not use CHECK_STRING.
10176         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10177         CHECK_STRING.
10178         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10179         <bp-checks.h>.
10180         (__lchown): Do not use CHECK_STRING.
10181         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10182         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10183         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10184         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10186         include <bp-checks.h>.
10187         (truncate64): Do not use CHECK_STRING.
10188         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10189         <bp-checks.h>.
10190         (__real_chown): Do not use CHECK_STRING.
10191         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10192         <bp-checks.h>.
10193         (__lchown): Do not use CHECK_STRING.
10194         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10195         <bp-checks.h>.
10196         (__chown): Do not use CHECK_STRING.
10197         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10198         <bp-checks.h>.
10199         (truncate64): Do not use CHECK_STRING.
10200         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10201         Likewise.
10202         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10203         (__xmknod): Do not use CHECK_STRING.
10204         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10205         <bp-checks.h>.
10206         (__xmknodat): Do not use CHECK_STRING.
10207         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10208         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10210 2013-02-04  Andreas Schwab  <schwab@suse.de>
10212         [BZ #14142]
10213         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10214         * include/netdb.h: Likewise for h_errno.
10215         * elf/tst-stackguard1.c: Include <tls.h>.
10217 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10219         * elf/link.h (struct link_map): Extend the l_addr comment.
10220         * include/link.h (struct link_map): Likewise.
10222 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
10224         [BZ #13550]
10225         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10226         (BOUNDED_1): Remove macro.
10227         * debug/backtrace.c: Don't include <bp-checks.h>.
10228         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10229         (__backtrace): Likewise.
10230         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10231         <bp-checks.h>.
10232         (__backtrace): Don't use BOUNDED_1.
10233         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10234         <bp-checks.h>.
10235         (__backtrace): Don't use BOUNDED_1.
10236         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10237         (__backtrace): Don't use BOUNDED_1.
10238         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10239         (shmat): Don't use BOUNDED_N.
10241 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
10243         [BZ #13550]
10244         * sysdeps/generic/bp-start.h: Remove file.
10245         * csu/libc-start.c: Don't include <bp-start.h>.
10246         (LIBC_START_MAIN): Set up __environ directly instead of using
10247         INIT_ARGV_and_ENVIRON.
10248         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10249         <bp-start.h>.
10251         [BZ #13550]
10252         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10253         definitions.
10254         (CHECK_FCNTL): Likewise.
10255         (CHECK_N_PAGES): Likewise.
10257         [BZ #13550]
10258         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10259         definitions.
10260         (CHECK_SIGSET_NULL_OK): Likewise.
10261         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10262         <bp-checks.h>.
10263         (sigpending): Don't use CHECK_SIGSET.
10264         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10265         <bp-checks.h>.
10266         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10267         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10268         <bp-checks.h>.
10269         (do_sigsuspend): Don't use CHECK_SIGSET.
10270         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10271         use CHECK_SIGSET.
10272         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10273         (do_sigwait): Don't use CHECK_SIGSET.
10274         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10275         use CHECK_SIGSET.
10276         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10277         include <bp-checks.h>.
10278         (sigpending): Don't use CHECK_SIGSET.
10279         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10280         include <bp-checks.h>.
10281         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10282         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10283         <bp-checks.h>.
10284         (sigpending): Don't use CHECK_SIGSET.
10285         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10286         <bp-checks.h>.
10287         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10289         [BZ #13550]
10290         * sysdeps/generic/bp-semctl.h: Remove file.
10291         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10292         <bp-checks.h> and <bp-semctl.h>.
10293         (__old_semctl): Don't use CHECK_SEMCTL.
10294         (__new_semctl): Likewise.
10295         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10296         and <bp-semctl.h>.
10297         (__old_semctl): Don't use CHECK_SEMCTL.
10298         (__new_semctl): Likewise.
10299         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10300         <bp-checks.h> and <bp-semctl.h>.
10301         (__old_semctl): Don't use CHECK_SEMCTL.
10302         (__new_semctl): Likewise.
10303         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10304         <bp-checks.h> and <bp-semctl.h>.
10305         (semctl): Don't use CHECK_SEMCTL.
10307         [BZ #13550]
10308         * Makerules (elide-bp-thunks): Remove variable.
10309         (elide-routines.oS): Don't use $(elide-bp-thunks).
10310         (elide-routines.os): Likewise.
10311         (elide-routines.o): Likewise.
10312         (elide-routines.op): Likewise.
10313         (elide-routines.og): Likewise.
10314         (objects): Don't use $(bp-thunks).
10315         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10316         include.
10317         (common-generated): Do not add s-proto-bp.d.
10318         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10319         (int): Likewise.
10320         (typ): Likewise.
10321         Do not generate makefile rules for bounded-pointer thunks.
10322         * sysdeps/generic/bp-thunks.h: Remove file.
10323         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10324         * sysdeps/unix/s-proto-bp.S: Likewise.
10326         [BZ #15062]
10327         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10328         parts of result separately when argument is not close to line from
10329         -i to i and one part of argument is small.
10330         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10331         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10332         * math/libm-test.inc (cacos_test): Add more tests.
10333         (casin_test): Likewise.
10334         (casinh_test): Likewise.
10335         * sysdeps/i386/fpu/libm-test-ulps: Update.
10336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10338 2013-01-31  David S. Miller  <davem@davemloft.net>
10340         * po/de.po: Update from translation team.
10342 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10344         * time/tzfile.c: Include stdint.h for SIZE_MAX.
10346 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
10348         * configure.in (_AC_PROG_CC_C89): New definition.
10349         * configure: Regenerate.
10351         * configure.in (AC_PROG_CPP): New definition.
10352         * configure: Regenerate.
10354 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10356         * debug/tst-backtrace.h: New file.
10357         * debug/tst-backtrace2.c: Include tst-backtrace.h.
10358         (ret): Remove variable.
10359         (x): Likewise.
10360         (FAIL): Remove macro.
10361         (NO_INLINE): Likewise.
10362         (fn1): Use match function instead of strstr.
10363         * debug/tst-backtrace3.c: Include tst-backtrace.h.
10364         (ret): Remove variable.
10365         (x): Likewise.
10366         (FAIL): Remove macro.
10367         (NO_INLINE): Likewise.
10368         (fn): Use match function instead of strstr.
10369         * debug/tst-backtrace4.c: Include tst-backtrace.h.
10370         (ret): Remove variable.
10371         (x): Likewise.
10372         (FAIL): Remove macro.
10373         (NO_INLINE): Likewise.
10374         (handle_signal): Use match function instead of strstr.
10375         * debug/tst-backtrace5.c: Include tst-backtrace.h.
10376         (ret): Remove variable.
10377         (x): Likewise.
10378         (FAIL): Remove macro.
10379         (NO_INLINE): Likewise.
10380         (handle_signal): Use match function instead of strstr.
10382 2013-01-23  Roland McGrath  <roland@hack.frob.com>
10384         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10386 2013-01-23  David S. Miller  <davem@davemloft.net>
10388         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10389         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10390         argument of CAS if possible.
10391         * sysdeps/sparc/sparc64/bits/atomic.h
10392         (__arch_compare_and_exchange_val_32_acq): Likewise.
10393         (__arch_compare_and_exchange_val_64_acq): Likewise.
10395 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
10397         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10398         * sysdeps/posix/ulimit.c: ... this.
10399         Include <limits.h>.
10400         * sysdeps/unix/bsd/ulimit.c: Remove file.
10402 2013-01-23  Adam Conrad  <adconrad@0c3.net>
10404         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10405         (LDFLAGS-tst-array5): Likewise.
10407 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10409         [BZ #15036]
10410         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10411         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10412         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10413         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10415 2013-01-21  David S. Miller  <davem@davemloft.net>
10417         * sysdeps/sparc/backtrace.c: New file.
10418         * sysdeps/sparc/sparc32/backtrace.h: New file.
10419         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10420         * sysdeps/sparc/sparc64/backtrace.h: New file.
10421         * sysdeps/sparc/sparc64/backtrace.c: Delete.
10422         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10423         -funwind-tables.
10425 2013-01-21  Andreas Schwab  <schwab@suse.de>
10427         [BZ #15020]
10428         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10429         closed its stdout.
10431 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
10433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10434         "mpa2.h".
10435         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10437 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
10438             Mark Mitchell  <mark@codesourcery.com>
10439             Tom de Vries  <tom@codesourcery.com>
10440             Paul Pluzhnikov  <ppluzhnikov@google.com>
10442         * debug/tst-backtrace2.c: New file.
10443         * debug/tst-backtrace3.c: Likewise.
10444         * debug/tst-backtrace4.c: Likewise.
10445         * debug/tst-backtrace5.c: Likewise.
10446         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10447         (CFLAGS-tst-backtrace3.c): Likewise.
10448         (CFLAGS-tst-backtrace4.c): Likewise.
10449         (CFLAGS-tst-backtrace5.c): Likewise.
10450         (LDFLAGS-tst-backtrace2): Likewise.
10451         (LDFLAGS-tst-backtrace3): Likewise.
10452         (LDFLAGS-tst-backtrace4): Likewise.
10453         (LDFLAGS-tst-backtrace5): Likewise.
10454         (tests): Add new tests tst-backtrace2, tst-backtrace3,
10455         tst-backtrace4 and tst-backtrace5.
10457 2013-01-18  Anton Blanchard  <anton@samba.org>
10458             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10460         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10461         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10462         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10463         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10465         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10466         "+r" and remove output regs list as redundant.  Add explicit inline
10467         asm to specify register of return val to work around compiler codegen
10468         bug.  Remove (int) cast on return value.  Add return type parameter to
10469         use in macro so that this macro does not truncate return value for
10470         64-bit values.
10471         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10472         pass to INTERNAL_VSYSCALL_NCS.
10473         (INLINE_VSYSCALL): Add 'long int' as return type to
10474         INTERNAL_VSYSCALL_NCS macro invocation.
10475         (INTERNAL_VSYSCALL): Add 'long int' as return type to
10476         INTERNAL_VSYSCALL_NCS macro invocation.
10477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10479 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10481         [BZ #14496]
10482         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10483         Fix application of SIMD FP exception mask.
10485         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10486         mp_no from a power of two.
10487         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10488         __mpexp_twomm1.  Use __pow_mp.
10490         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10491         multiplication.
10493 2013-01-17  David S. Miller  <davem@davemloft.net>
10495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10497 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10499         [BZ #15023]
10500         * include/complex.h: Condition contents on [!_COMPLEX_H].
10501         (__kernel_casinhf): New prototype.
10502         (__kernel_casinh): Likewise.
10503         (__kernel_casinhl): Likewise.
10504         * math/Makefile (libm_calls): Add k_casinh.
10505         * math/k_casinh.c: New file.
10506         * math/k_casinhf.c: Likewise.
10507         * math/k_casinhl.c: Likewise.
10508         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10509         finite nonzero arguments.
10510         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10511         finite nonzero arguments.
10512         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10513         finite nonzero arguments.
10514         * math/s_casinh.c: Do not include <float.h>.
10515         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10516         * math/s_casinhf.c: Do not include <float.h>.
10517         (__casinhf): Move code for finite nonzero arguments to
10518         k_casinhf.c.
10519         * math/s_casinhl.c: Do not include <float.h>.
10520         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10521         redefine.
10522         (__casinhl): Move code for finite nonzero arguments to
10523         k_casinhl.c.
10524         * math/libm-test.inc (cacos_test): Add more tests.
10525         * sysdeps/i386/fpu/libm-test-ulps: Update.
10526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10528 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
10530         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10531         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10532         [!HAVE_MREMAP]: Remove [defined linux] case.
10533         * malloc/arena.c: Do not include <malloc-sysdep.h>.
10535 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10537         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10539 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
10541         * elf/elf.h (R_386_SIZE32): New relocation.
10542         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10543         R_386_SIZE32.
10544         (elf_machine_rela): Likewise.
10545         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10546         R_X86_64_SIZE64 and R_X86_64_SIZE32.
10548 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10550         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10551         (FP_FAST_FMA): Do not define.
10552         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10553         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10554         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10555         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10556         !_SOFT_FLOAT]: Likewise.
10557         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10558         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10559         value.
10560         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10561         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10562         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10563         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10564         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10565         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10566         file.
10568 2013-01-16  Andreas Schwab  <schwab@suse.de>
10570         [BZ #14327]
10571         * include/stdlib.h (__mktemp): Add declaration.
10572         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10573         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10575 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10577         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10578         definitions.
10579         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10580         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10581         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10582         definitions here.
10583         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10584         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10585         definitions.
10586         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10587         and ONE.
10588         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10589         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10590         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10591         definitions.
10592         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10593         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10594         definitions.
10595         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10597         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10599 2013-01-15  David S. Miller  <davem@davemloft.net>
10601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10602         trunc{,f} to libm-sysdep_routes.
10603         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10605         file.
10606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10608         file.
10609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10610         file.
10611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10613         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10614         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10615         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10616         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10617         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10618         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10621         nearbyint{,f} to libm-sysdep_routes.
10622         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10624         New file.
10625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10626         file.
10627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10628         New file.
10629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10630         file.
10631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10633         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10634         file.
10635         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10636         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10637         file.
10638         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10639         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10640         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10642         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10643         libc_feholdexcept and libc_fesetenv.
10645 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
10647         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10649 2013-01-14  David S. Miller  <davem@davemloft.net>
10651         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10652         (SPARC_ASM_VIS2_IFUNC): Likewise.
10653         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10655         use of 'siam' instruction.
10656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10657         Likewise.
10658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10659         Likewise.
10660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10661         Likewise.
10662         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10663         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10664         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10665         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10667         file.
10668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10669         file.
10670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10671         file.
10672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10673         file.
10674         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10675         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10676         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10677         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10679         new VIS2 routines.
10680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10683         Likewise.
10684         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10685         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10686         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10687         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10689         routines to libm-sysdep_routines.
10690         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10693         fdim/fdimf to libm-sysdep_routines.
10694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10695         file.
10696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10698         file.
10699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10702         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10703         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10704         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10705         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10707 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10709         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10710         to optimize copies.
10712         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10713         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10714         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10716         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10717         local variable MPTWO.
10718         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10719         Likewise.
10721 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10723         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10724         GLOB_NOESCAPE.
10726 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10728         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10730 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10732         * manual/pattern.texi (glob_t): Document gl_flags.
10733         (glob64_t): Likewise.
10735 2013-01-11  David S. Miller  <davem@davemloft.net>
10737         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10738         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10739         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
10740         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10741         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10742         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10743         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10744         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10745         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10746         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10747         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10748         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10749         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10751         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10752         sparc V9 rather than using V8 code.
10753         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10754         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10756         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10757         Move to...
10758         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10759         Here.
10761 2013-01-11  Roland McGrath  <roland@hack.frob.com>
10763         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10764         not in the main loop.
10765         * configure: Regenerated.
10767 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
10769         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10770         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10771         to just #else.
10772         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
10773         [!__GLIBC_HAVE_LONG_LONG] case.
10774         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10775         condition to just #else.
10776         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10777         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10778         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10779         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10780         unconditional.
10781         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10782         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10783         #elif condition to just #else.
10784         * sysdeps/unix/sysv/linux/sys/sysmacros.h
10785         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10786         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10787         #elif condition to just #else.
10789 2013-01-11  Steve Ellcey  <sellcey@mips.com>
10791         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10792         (EF_MIPS_ARCH_64): Fix value.
10793         (EF_MIPS_ARCH_32R2): New.
10794         (EF_MIPS_ARCH_64R2): New.
10796 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
10798         * Makeconfig (+link-pie-before-libc): New.
10799         (+link-pie-after-libc): Likewise.
10800         (+link-pie-tests): Likewise.
10801         (+link-pie): Rewritten.
10802         (link-before-libc): Remove $(config-LDFLAGS).
10803         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10804         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10805         (config-LDFLAGS): Renamed to ...
10806         (rtld-LDFLAGS): This.
10807         (rtld-tests-LDFLAGS): New macro.
10808         (link-libc-rpath-link): Likewise.
10809         (link-libc-tests-rpath-link): Likewise.
10810         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10811         (link-libc): Prepand $(link-libc-rpath-link).
10812         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10813         (test-program-prefix): New macro.
10814         (test-via-rtld-prefix): Likewise.
10815         (test-program-cmd): Likewise.
10816         (host-test-program-cmd): Likewise.
10817         * Makefile ($(common-objpfx)testrun.sh): Replace
10818         $(run-program-prefix) with $(test-program-prefix).
10819         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10820         $(rtld-LDFLAGS).
10821         ($(common-objpfx)shlib.lds): Likewise.
10822         (build-module-helper): Likewise.
10823         ($(common-objpfx)format.lds): Likewise.
10824         * Rules (binaries-pie-tests): New.
10825         (binaries-pie-notests): Likewise.
10826         (binaries-pie): Rewritten.
10827         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10828         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10829         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10830         (make-test-out): Replace $(host-built-program-cmd) with
10831         $(host-test-program-cmd).
10832         * config.make.in (build-hardcoded-path-in-tests): New variable.
10833         * configure.in (--enable-hardcoded-path-in-tests): New configure
10834         option.
10835         (hardcoded_path_in_tests): New AC_SUBST.
10836         * configure: Regenerated.
10837         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10838         $(built-program-cmd) with $(test-program-cmd).
10839         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10840         (test_program_cmd): This.
10841         * elf/Makefile ($(objpfx)order.out): Run test with
10842         $(test-program-prefix).
10843         ($(objpfx)order2.out): Likewise.
10844         ($(objpfx)tst-initorder.out): Likewise.
10845         ($(objpfx)tst-initorder2.out): Likewise.
10846         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10847         $(test-program-cmd).
10848         ($(objpfx)tst-array1-static.out): Likewise.
10849         ($(objpfx)tst-array2.out): Likewise.
10850         ($(objpfx)tst-array3.out): Likewise.
10851         ($(objpfx)tst-array4.out): Likewise.
10852         ($(objpfx)tst-array5.out): Likewise.
10853         ($(objpfx)tst-array5-static.out): Likewise.
10854         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10855         $(test-program-cmd).
10856         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10857         $(run-program-prefix) with $(test-program-prefix).
10858         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10859         (test_program_prefix): This.
10860         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10861         $(run-program-prefix) with $(test-program-prefix).
10862         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10863         (test_program_prefix): This.
10864         * iconvdata/tst-tables.sh: Likewise.
10865         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10866         $(run-program-prefix) with $(test-program-prefix).
10867         ($(objpfx)tst-translit.out): Likewise.
10868         ($(objpfx)tst-gettext2.out): Likewise.
10869         ($(objpfx)tst-gettext4.out): Likewise.
10870         ($(objpfx)tst-gettext6.out): Likewise.
10871         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10872         (test_program_prefix): This.
10873         * intl/tst-gettext2.sh: Likewise.
10874         * intl/tst-gettext4.sh  Likewise.
10875         * intl/tst-gettext6.sh: Likewise.
10876         * intl/tst-translit.sh: Likewise.
10877         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10878         with $(test-program-cmd).
10879         * libio/Makefile ($(objpfx)test-freopen.out): Replace
10880         $(run-program-prefix) with $(test-program-prefix).
10881         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10882         (test_program_prefix): This.
10883         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10884         $(run-program-prefix) with $(test-program-prefix).
10885         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10886         (test_program_prefix): This.
10887         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10888         * posix/Makefile ($(objpfx)globtest.out): Replace
10889         $(run-via-rtld-prefix) and $(test-wrapper) with
10890         $(test-program-prefix) and $(test-via-rtld-prefix).
10891         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10892         $(test-program-prefix).
10893         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10894         $(host-test-program-cmd).
10895         (tst-spawn-ARGS): Likewise.
10896         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10897         $(test-program-prefix).
10898         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10899         (test_via_rtld_prefix): This.
10900         (test_wrapper): Renamed to ...
10901         (test_program_prefix): This.
10902         (run_program_prefix): Replaced by test_program_prefix.
10903         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10904         (test_program_prefix): This.
10905         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10906         with $(host-test-program-cmd).
10907         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10908         $(run-program-prefix) with $(test-program-prefix).
10909         ($(objpfx)tst-printf.out): Likewise.
10910         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10911         $(test-program-cmd).
10912         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10913         (test_program_prefix): This.
10914         * stdio-common/tst-unbputc.sh: Likewise.
10915         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10916         $(run-program-prefix) with $(test-program-prefix).
10917         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10918         (test_program_prefix): This.
10919         * string/Makefile ($(objpfx)tst-svc.out):  Replace
10920         $(built-program-cmd) with $(test-program-cmd).
10922 2013-01-11  Andreas Jaeger  <aj@suse.de>
10924         [BZ #15003]
10925         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10926         value. Sync with Linux 3.7.
10928 2013-01-10  David S. Miller  <davem@davemloft.net>
10930         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10931         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10932         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10934 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10936         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10937         never set.
10938         * configure: Regenerated.
10940 2013-01-10  David S. Miller  <davem@davemloft.net>
10942         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10943         sparc V9 rather than using V8 code.
10944         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10945         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10947 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10949         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10950         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10951         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10952         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10953         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10954         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10955         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10956         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10957         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10958         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10959         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10960         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10961         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10962         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10963         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10964         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10965         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10966         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10967         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10968         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10969         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10970         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10971         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10972         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10973         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10974         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10975         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10977 2013-01-10  David S. Miller  <davem@davemloft.net>
10979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10981 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10983         * posix/Makefile (tests-static): New variable.
10984         (tests): Add $(tests-static).
10985         (tst-exec-static-ARGS): New variable.
10986         (tst-spawn-static-ARGS): Likewise.
10987         * posix/tst-exec-static.c: New file.
10988         * posix/tst-spawn-static.c: Likewise.
10989         * posix/tst-exec.c: Support run directly.
10990         * posix/tst-spawn.c: Likewise.
10992 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
10994         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10995         long.
10996         * math/bits/mathcalls.h (llrint): Likewise.
10997         (llround): Likewise.
10998         * stdlib/stdlib.h (struct drand48_data): Likewise.
10999         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11000         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11001         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11002         Likewise.
11003         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11004         Likewise.
11005         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11006         (elf_greg_t): Likewise.
11007         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11008         (__jmp_buf): Likewise.
11009         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11010         definitions.
11011         (llrint): Likewise, for all definitions.
11012         (llrintl): Likewise.
11014         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11015         Remove [__GNUC__] condition.
11016         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11017         condition to just [__USE_ISOC99].
11018         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11020 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11022         [BZ #14200]
11023         * sysdeps/unix/sysv/linux/x86/bits/environments.h
11024         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11025         defined.
11026         (_POSIX_V6_ILP32_OFF32): Likewise.
11027         (_XBS5_ILP32_OFF32): Likewise.
11028         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11029         (__ILP32_OFFBIG_LDFLAGS): Likewise.
11031 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11033         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11035         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11036         doubles __mpexp_twomm1.  Adjust usage.
11037         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11038         Remove.
11040 2013-01-10  Andreas Schwab  <schwab@suse.de>
11042         [BZ #14964]
11043         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11044         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11046 2013-01-09  David S. Miller  <davem@davemloft.net>
11048         [BZ #15003]
11049         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11050         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11051         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11052         TCP_FASTOPEN): Define.
11053         (tcp_repair_opt): New structure.
11054         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11055         enum values.
11056         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11057         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11058         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11059         (tcp_cookie_transactions): New structure.
11061 2013-01-09  Anton Blanchard  <anton@samba.org>
11063         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11064         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11065         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11066         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11068 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
11070         * include/features.h (__USE_ANSI): Remove.
11072 2013-01-09  Roland McGrath  <roland@hack.frob.com>
11074         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11076         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11078 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11080         * sysdeps/s390/fpu/libm-test-ulps: Update.
11082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11084         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11085         (__acr): Likewise.
11086         (__cpy): Likewise.
11087         (norm): Likewise.
11088         (denorm): Likewise.
11089         (__mp_dbl): Likewise.
11090         (__dbl_mp): Likewise.
11091         (add_magnitudes): Likewise.
11092         (sub_magnitudes): Likewise.
11093         (__add): Likewise.
11094         (__sub): Likewise.
11095         (__mul): Likewise.
11096         (__inv): Likewise.
11097         (__dvd): Likewise.
11098         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11099         (__acr): Likewise.
11100         (__cpy): Likewise.
11101         (norm): Likewise.
11102         (denorm): Likewise.
11103         (__mp_dbl): Likewise.
11104         (__dbl_mp): Likewise.
11105         (add_magnitudes): Likewise.
11106         (sub_magnitudes): Likewise.
11107         (__add): Likewise.
11108         (__sub): Likewise.
11109         (__mul): Likewise.
11110         (__inv): Likewise.
11111         (__dvd): Likewise.
11112         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11113         (__acr): Likewise.
11114         (__cpy): Likewise.
11115         (norm): Likewise.
11116         (denorm): Likewise.
11117         (__mp_dbl): Likewise.
11118         (__dbl_mp): Likewise.
11119         (add_magnitudes): Likewise.
11120         (sub_magnitudes): Likewise.
11121         (__add): Likewise.
11122         (__sub): Likewise.
11123         (__mul): Likewise.
11124         (__inv): Likewise.
11125         (__dvd): Likewise.
11127 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
11129         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11130         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11131         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11132         2 && __USE_EXTERN_INLINES]: Likewise.
11134 2013-01-08  Andreas Jaeger  <aj@suse.de>
11136         [BZ# 14985]
11137         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11138         Remove.
11139         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11140         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11142 2013-01-07  Anton Blanchard  <anton@samba.org>
11144         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11145         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11146         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11147         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11148         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11149         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11150         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11151         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11152         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11153         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11154         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11155         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11156         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11157         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11158         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11159         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11160         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11161         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11162         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11163         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11164         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11165         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11166         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11167         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11168         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11169         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11170         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11171         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11172         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11173         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11174         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11175         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11176         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11177         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11178         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11179         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11180         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11181         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11182         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11183         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11184         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11185         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11186         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11188 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
11190         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11191         (__MALLOC_PMT): Likewise.
11192         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11193         [__GNUC__], only on [_LIBC].
11194         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11195         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11196         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11197         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11198         forward declaration.
11199         (realloc_hook_ini): Likewise.
11200         (memalign_hook_ini): Likewise.
11201         (__libc_memalign): Do not use __MALLOC_PMT in variable
11202         declaration.
11203         (__libc_valloc): Likewise.
11204         (__libc_pvalloc): Likewise.
11205         (__libc_calloc): Likewise.
11206         (__posix_memalign): Likewise.
11208         [BZ #14996]
11209         * math/s_casinh.c: Include <float.h>.
11210         (__casinh): Do not do computation with squaring and square root
11211         for large arguments.
11212         * math/s_casinhf.c: Include <float.h>.
11213         (__casinhf): Do not do computation with squaring and square root
11214         for large arguments.
11215         * math/s_casinhl.c: Include <float.h>.
11216         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11217         (__casinhl): Do not do computation with squaring and square root
11218         for large arguments.
11219         * math/libm-test.inc (casin_test): Add more tests.
11220         (casinh_test): Likewise.
11221         * sysdeps/i386/fpu/libm-test-ulps: Update.
11222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11224 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
11226         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11227         (__x86_64_raw_data_cache_size): Likewise.
11228         (__x86_64_data_cache_size_half): Likewise.
11229         (__x86_64_raw_data_cache_size_half): Likewise.
11230         (__x86_64_shared_cache_size): Likewise.
11231         (__x86_64_raw_shared_cache_size): Likewise.
11232         (__x86_64_shared_cache_size_half): Likewise.
11233         (__x86_64_raw_shared_cache_size_half): Likewise.
11234         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11235         to ...
11236         (__x86_data_cache_size): This.
11237         (__x86_64_raw_data_cache_size): Renamed to ...
11238         (__x86_raw_data_cache_size): This.
11239         (__x86_64_data_cache_size_half): Renamed to ...
11240         (__x86_data_cache_size_half): This.
11241         (__x86_64_raw_data_cache_size_half): Renamed to ...
11242         (__x86_raw_data_cache_size_half): This.
11243         (__x86_64_shared_cache_size): Renamed to ...
11244         (__x86_shared_cache_size): This.
11245         (__x86_64_raw_shared_cache_size): Renamed to ...
11246         (__x86_raw_shared_cache_size): This.
11247         (__x86_64_shared_cache_size_half): Renamed to ...
11248         (__x86_shared_cache_size_half): This.
11249         (__x86_64_raw_shared_cache_size_half): Renamed to ...
11250         (__x86_raw_shared_cache_size_half): This.
11251         * sysdeps/x86_64/memcpy.S: Updated.
11252         * sysdeps/x86_64/memset.S: Likewise.
11253         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11254         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11255         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11257 2013-01-04  David S. Miller  <davem@davemloft.net>
11259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11261 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
11263         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11264         1 to avoid redefinition warning.
11265         (__USE_GNU): Don't define.
11266         (init_signaling_nan): Protoize.
11268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11270 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11272         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11274         (__cpymn): Likewise.
11275         (norm): Remove commented code.
11276         (denorm): Likewise.
11277         (__mp_dbl): Likewise.
11278         (__inv): Likewise.
11279         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11280         (__cpymn): Likewise.
11281         (norm): Remove commented code.
11282         (denorm): Likewise.
11283         (__mp_dbl): Likewise.
11284         (__inv): Likewise.
11286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11287         mp_no value for 1.0 and 2.0.
11288         (norm): Use RADIXI instead of radixi.d.
11289         (denorm): Likewise.
11290         (__mul): Use 0.0 instead of zero.d.
11291         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11292         mp_no value for 1.0 and 2.0.
11293         (norm): Use RADIXI instead of radixi.d.
11294         (denorm): Likewise.
11295         (__mul): Use 0.0 instead of zero.d.
11297 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
11299         [BZ #14994]
11300         * math/s_casinh.c (__casinh): Reduce finite argument to first
11301         quadrant then set signs of results at the end.
11302         * math/s_casinhf.c (__casinhf): Likewise.
11303         * math/s_casinhl.c (__casinhl): Likewise.
11304         * math/libm-test.inc (casin_test): Add more tests.
11305         (casinh_test): Likewise.
11306         * sysdeps/i386/fpu/libm-test-ulps: Update.
11307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11309 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11311         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11313         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11315         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11316         declarations.
11317         (denorm): Likewise.
11318         (__mp_dbl): Likewise.
11319         (__inv): Likewise.
11321         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11322         and adjust the header comment.
11324         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11325         variable name from declaration.
11327 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
11329         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11330         Initialize COMMON_CPUID_INDEX_7 element.
11331         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11332         (CPUID_RTM): Likewise.
11333         (HAS_RTM): Likewise.
11334         (COMMON_CPUID_INDEX_7): New enum.
11336 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
11338         [BZ #14981]
11339         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11340         size is zero, record memory as freed.
11342 2013-01-03  Andreas Jaeger  <aj@suse.de>
11344         * po/ia.po: Add new Interlingua translation.
11346 2012-01-03  Allan McRae  <allan@archlinux.org>
11348         * locale/programs/localedef.c: Fix description of '--posix' flag.
11350 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
11352         * NEWS: Update dates in second copyright notice.
11353         * README: Update copyright dates in example.
11354         * manual/libc.texinfo: Update copyright dates.
11355         * scripts/test-installation.pl: Update copyright date in --version
11356         output.
11358         * hurd/ctty-input.c: Fix copyright notice formatting.
11359         * hurd/ctty-output.c: Likewise.
11360         * hurd/dtable.c: Likewise.
11361         * hurd/hurd-raise.c: Likewise.
11362         * hurd/hurdprio.c: Likewise.
11363         * hurd/msgportdemux.c: Likewise.
11364         * misc/sys/file.h: Likewise.
11365         * misc/sys/ioctl.h: Likewise.
11366         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11367         * sysdeps/mach/hurd/chdir.c: Likewise.
11368         * sysdeps/mach/hurd/fchdir.c: Likewise.
11369         * sysdeps/mach/hurd/rename.c: Likewise.
11370         * sysdeps/mach/hurd/rmdir.c: Likewise.
11371         * sysdeps/mach/hurd/seekdir.c: Likewise.
11372         * sysdeps/mach/hurd/setsid.c: Likewise.
11373         * sysdeps/posix/wait3.c: Likewise.
11375         * All files with FSF copyright notices: Update copyright dates
11376         using scripts/update-copyrights.
11377         * intl/plural.c: Regenerated.
11378         * locale/programs/charmap-kw.h: Likewise.
11379         * locale/programs/locfile-kw.h: Likewise.
11381 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11383         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11384         four values.
11386         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11387         calculation loop and add branch prediction.
11389         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11390         check access beyond bounds of m1np.
11392         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11393         MPTWO.
11394         (__inv): Remove local variable MPTWO to use the global
11395         constant.
11396         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11397         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11398         variable MPTWO.
11399         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11400         MP3HALFS static const.
11402 2013-01-01  David S. Miller  <davem@davemloft.net>
11404         * po/ca.po: Update from translation team.
11406 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
11408         * scripts/update-copyrights: New file.
11409         * Makeconfig: Reformat copyright notice.
11410         * ctype/ctype.h: Likewise.
11411         * debug/swprintf_chk.c: Likewise.
11412         * elf/dl-cache.c: Likewise.
11413         * elf/dl-debug.c: Likewise.
11414         * elf/dl-object.c: Likewise.
11415         * grp/initgroups.c: Likewise.
11416         * hurd/Makefile: Likewise.
11417         * hurd/hurd/signal.h: Likewise.
11418         * hurd/hurdfault.c: Likewise.
11419         * hurd/hurdioctl.c: Likewise.
11420         * hurd/hurdlookup.c: Likewise.
11421         * hurd/intr-msg.c: Likewise.
11422         * iconv/gconv_open.c: Likewise.
11423         * libio/swprintf.c: Likewise.
11424         * locale/lc-ctype.c: Likewise.
11425         * locale/nl_langinfo.c: Likewise.
11426         * mach/Machrules: Likewise.
11427         * mach/Makefile: Likewise.
11428         * malloc/obstack.h: Likewise.
11429         * manual/Makefile: Likewise.
11430         * manual/tsort.awk: Likewise.
11431         * misc/bits/stab.def: Likewise.
11432         * nis/nis_print_group_entry.c: Likewise.
11433         * nis/nis_table.c: Likewise.
11434         * nis/nss_compat/compat-pwd.c: Likewise.
11435         * nis/nss_compat/compat-spwd.c: Likewise.
11436         * po/Makefile: Likewise.
11437         * posix/fnmatch.c: Likewise.
11438         * posix/regex.h: Likewise.
11439         * resolv/Makefile: Likewise.
11440         * resolv/nss_dns/dns-network.c: Likewise.
11441         * resolv/res_hconf.c: Likewise.
11442         * scripts/gen-sorted.awk: Likewise.
11443         * soft-fp/soft-fp.h: Likewise.
11444         * stdio-common/printf.h: Likewise.
11445         * stdlib/monetary.h: Likewise.
11446         * stdlib/random.c: Likewise.
11447         * stdlib/random_r.c: Likewise.
11448         * sysdeps/generic/Makefile: Likewise.
11449         * sysdeps/gnu/Makefile: Likewise.
11450         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11451         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11452         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11453         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11454         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11455         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11456         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11457         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11458         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11459         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11460         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11461         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11462         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11463         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11464         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11465         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11466         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11467         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11468         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11469         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11470         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11471         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11472         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11473         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11474         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11475         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11476         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11477         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11478         * sysdeps/mach/hurd/errnos.awk: Likewise.
11479         * sysdeps/mach/hurd/fork.c: Likewise.
11480         * sysdeps/mach/hurd/getcwd.c: Likewise.
11481         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11482         * sysdeps/mach/hurd/mmap.c: Likewise.
11483         * sysdeps/mach/hurd/utimes.c: Likewise.
11484         * sysdeps/mach/hurd/xmknod.c: Likewise.
11485         * sysdeps/posix/profil.c: Likewise.
11486         * sysdeps/posix/readdir_r.c: Likewise.
11487         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11488         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11489         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11490         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11491         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11492         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11493         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11494         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11495         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11496         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11497         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11498         * sysdeps/pthread/lio_listio.c: Likewise.
11499         * sysdeps/sparc/dl-procinfo.h: Likewise.
11500         * sysdeps/unix/i386/sysdep.S: Likewise.
11501         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11502         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11503         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11504         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11506         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11507         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11508         * sysdeps/unix/sysv/linux/speed.c: Likewise.
11509         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11510         * sysdeps/wordsize-32/divdi3.c: Likewise.
11511         * time/sys/time.h: Likewise.
11512         * wcsmbs/Makefile: Likewise.
11514 2013-01-01  David S. Miller  <davem@davemloft.net>
11516         * po/fr.po: Update from translation team.
11518         * catgets/gencat.c: Update copyright year.
11519         * csu/version.c: Likewise.
11520         * debug/catchsegv.sh: Likewise.
11521         * debug/pcprofiledump.c: Likewise.
11522         * debug/xtrace.sh: Likewise.
11523         * elf/ldconfig.c: Likewise.
11524         * elf/ldd.bash.in: Likewise.
11525         * elf/pldd.c: Likewise.
11526         * elf/sotruss.ksh: Likewise.
11527         * elf/sprof.c: Likewise.
11528         * iconv/iconv_prog.c: Likewise.
11529         * iconv/iconvconfig.c: Likewise.
11530         * locale/programs/locale.c: Likewise.
11531         * locale/programs/localedef.c: Likewise.
11532         * login/programs/pt_chown.c: Likewise.
11533         * malloc/memusage.sh: Likewise.
11534         * malloc/memusagestat.c: Likewise.
11535         * malloc/mtrace.pl: Likewise.
11536         * nscd/nscd.c: Likewise.
11537         * nss/getent.c: Likewise.
11538         * nss/makedb.c: Likewise.
11539         * posix/getconf.c: Likewise.
11541 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11543         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11544         numbers.
11546 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
11548         * math/bits/mathcalls.h (modf): Use __nonnull.
11550 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11552         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11553         (split): Use macro CN instead of the bare value.
11554         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11555         could be used.
11556         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11557         instead of the bare value.
11558         (power1): Likewise.
11560 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11562         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11563         __ATAN_TWOM.
11564         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11566         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11567         their values.
11568         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11569         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11570         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11571         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11573 2012-12-28  Andreas Jaeger  <aj@suse.de>
11575         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
11576         values are from Linux 3.7.
11578         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11579         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
11581 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11583         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11584         TRUE case.
11586         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11587         (norm): Likewise.
11588         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11589         variables with preprocessor constants.
11590         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11591         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11592         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11594 2012-12-27  Bruno Haible  <bruno@clisp.org>
11596         [BZ #14317]
11597         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11598         only if needed.
11600 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11602         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11603         and use variable directly.
11604         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11606         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11607         MPONE.
11608         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11609         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11610         variable MPONE.
11611         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11612         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11613         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11614         include directive.  Remove local variable MPONE.
11615         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11616         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11617         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11619 2012-12-25  David S. Miller  <davem@davemloft.net>
11621         * version.h (RELEASE): Set to "development".
11622         (VERSION): Set to "2.17.90".
11623         * NEWS: Add 2.18 section.
11625 2012-12-21  David S. Miller  <davem@davemloft.net>
11627         * po/hr.po: Update from translation team.
11629 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11631         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11633 2012-12-19  Steve Ellcey  <sellcey@mips.com>
11635         * NEWS:  Mention new memcpy for MIPS.
11637 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11639         * manual/contrib.texi (Contributors): Spelling correction.
11641 2012-12-15  David S. Miller  <davem@davemloft.net>
11643         * po/ru.po: Update from translation team.
11645 2012-12-13  David S. Miller  <davem@davemloft.net>
11647         * NEWS: Mention IFUNC testsuite enhancements.
11649         * po/pl.po: Update from translation team.
11650         * po/bg.po: Likewise.
11652         * manual/contrib.texi (Contributors): Update entries for Hongjiu
11653         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
11655 2012-12-11  David S. Miller  <davem@davemloft.net>
11657         * po/sv.po: Update from translation team.
11659         * po/vi.po: Update from translation team.
11661         * po/cs.po: Update from translation team.
11663         * po/de.po: Update from translation team.
11664         * po/eo.po: Likewise.
11665         * po/nl.po: Likewise.
11667 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11669         [BZ #14246]
11670         * manual/argp.texi (Argp Helper Functions): Move node to follow
11671         Argp Parsing State.
11673         [BZ #14872]
11674         * manual/conf.texi (Limits on File System Capacity): Mention if
11675         terminating null is included in the max size.
11677 2012-12-10  Andreas Jaeger  <aj@suse.de>
11679         * po/cs.po: Update from translation team.
11681 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11683         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11684         void pointer and cast to uintptr_t.
11685         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11686         path.
11687         * sysdeps/s390/s390-64/memcpy.S: Likewise.
11688         * sysdeps/s390/s390-64/memset.S: Likewise.
11690 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
11692         [BZ #14833]
11693         * menual/message.texi (Message Translation): Fix typos.
11694         (Helper programs for gettext): Likewise.
11696 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
11698         [BZ #14898]
11699         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11700         Change to -1.
11702 2012-12-07  David S. Miller  <davem@davemloft.net>
11704         * po/libc.pot: Update.
11706 2012-12-07  Richard Henderson  <rth@redhat.com>
11708         [BZ #10114]
11709         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11710         normal/normal case to before the switch.
11711         (_FP_DIV): Likewise.
11713 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
11714             Mike Frysinger  <vapier@gentoo.org>
11716         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11717         check for __NR_fadvise64_64.
11719 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
11721         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11722         0, not just to plain "0" as a statement.
11723         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11724         with cw.
11726 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
11728         * NEWS: Use sourceware.org in Bugzilla URL.
11730 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11733         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11735         * stdio-common/tst-put-error.c (do_test): Add newline to the
11736         padded test to ensure flush.
11738 2012-12-05  Jeff Law  <law@redhat.com>
11740         * sunrpc/etc.rpc (fedfs_admin): Add entry.
11742 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
11744         * README: Don't refer to ports add-on as distributed separately.
11745         Mention AArch64 in list of systems supported in the ports add-on.
11747         * LICENSES: Add more non-FSF copyright and license notices.
11749         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11750         ((unused)).
11752         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11754         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11755         10000 as width of padded output.
11757 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11759         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11761         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11762         variable LX with __attribute__ ((unused)).
11763         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11764         Likewise.
11765         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11766         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11767         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11768         with __attribute__ ((unused)).
11770 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
11772         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11774 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11776         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11777         (CFLAGS-nldbl-acos.c): New variable.
11778         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11779         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11780         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11781         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11782         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11783         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11784         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11785         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11786         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11787         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11788         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11789         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11790         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11791         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11792         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11793         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11794         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11795         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11796         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11797         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11798         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11799         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11800         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11801         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11802         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11803         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11804         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11805         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11806         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11807         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11808         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11809         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11810         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11811         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11812         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11813         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11814         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11815         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11816         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11817         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11818         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11819         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11820         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11821         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11822         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11823         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11824         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11825         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11826         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11827         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11828         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11829         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11830         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11831         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11832         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11833         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11834         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11835         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11836         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11837         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11838         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11839         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11840         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11841         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11842         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11843         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11844         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11845         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11846         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11847         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11848         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11849         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11850         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11851         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11852         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11853         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11854         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11855         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11856         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11857         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11858         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11859         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11860         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11861         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11862         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11863         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11864         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11865         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11866         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11867         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11868         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11869         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11870         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11871         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11872         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11873         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11874         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11877         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11879         [BZ #14914]
11880         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11881         whole low double instead of just low 47 bits when splitting values
11882         into two parts.
11884 2012-12-03  Allan McRae  <allan@archlinux.org>
11886         * manual/stdio.texi (Predefined Printf Handlers): Remove
11887         @hsep and @vsep usage.
11889 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
11891         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11892         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11894 2012-12-03  Jeff Law  <law@redhat.com>
11896         * time/sys/time.h (settimeofday): Do not mark TV argument
11897         as __nonnull.
11899 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
11901         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11902         when currently writing and seek to current position when not.
11903         * libio/Makefile (tests): Remove bug-fclose1.
11904         * libio/bug-fclose1.c: Delete.
11906 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
11908         * manual/arith.texi (feenableexcept): Fix typo.
11909         (fedisableexcept): Likewise.
11911 2012-11-30  Roland McGrath  <roland@hack.frob.com>
11913         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11914         second, differently-typed declaration, rather than a cast.
11916 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11918         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11919         * include/rpc/svc.h: ... here.
11921 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
11923         [BZ #13013]
11924         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11925         depending n and resplen2 to catch cases where answer
11926         equals answerp2.
11928 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
11930         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11931         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11933 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
11935         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11937 2012-11-29  Roland McGrath  <roland@hack.frob.com>
11939         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11941 2012-11-28  Jeff Law  <law@redhat.com>
11943         [BZ #13761]
11944         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11945         dataset_temporary.  Track alloca usage into alloca_used.
11946         If dataset is large allocate and release it via malloc/free.
11948 2012-06-04  Florian Weimer  <fweimer@redhat.com>
11950         [BZ #14197]
11951         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11953 2012-11-28  David S. Miller  <davem@davemloft.net>
11955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11957 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11959         [BZ #14803]
11960         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11961         of pi/2 rounded to nearest to 64 bits.
11962         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11963         nearest to 64 bits.
11964         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11965         bits.
11967 2012-11-28  Jeff Law <law@redhat.com>
11968             Martin Osvald <mosvald@redhat.com>
11970         [BZ #14889]
11971         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11972         * sunrpc/svc.c: Include time.h.
11973         (__svc_accept_failed): New function.
11974         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11975         any reason other than EINTR, call __svc_accept_failed.
11976         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11977         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11979 2012-11-28  Andreas Schwab  <schwab@suse.de>
11981         * scripts/abilist.awk: Also handle indirect functions in .opd
11982         section.
11984 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11986         [BZ #13881]
11987         * sysdeps/x86/fpu/powl_helper.c: New file.
11988         * sysdeps/x86/fpu/Makefile: Likewise.
11989         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11990         (p3): New object.
11991         (__ieee754_powl): Use __powl_helper for finite arguments except
11992         integer exponents below 8.
11993         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11994         (p3): New object.
11995         (__ieee754_powl): Use __powl_helper for finite arguments except
11996         integer exponents below 8.
11997         * math/libm-test.inc (pow_test): Add more tests and enable some
11998         previously disabled tests.
11999         * sysdeps/i386/fpu/libm-test-ulps: Update.
12000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12002 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12003             Carlos O'Donell  <carlos_odonell@mentor.com>
12005         * nss/makedb.c (is_prime): Assert that input is odd and greater
12006         than 4.  Note that fact in a comment too.
12007         (next_prime): Add 4 to input.
12009 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12011         [BZ #11741]
12012         * libio/Makefile (tests): Add test case tst-fwrite-error.
12013         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12014         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12015         * libio/tst-fwrite-error.c: New test case.
12017 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
12019         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12020         before casting to void *.
12021         * include/libc-internal.h (__pointer_type): New macro.
12022         (__integer_if_pointer_type_sub): Likewise.
12023         (__integer_if_pointer_type): Likewise.
12024         (cast_to_integer): Likewise.
12025         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12026         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12027         before casting to atomic64_t.
12028         (atomic_exchange_acq): Likewise.
12029         (__arch_exchange_and_add_body): Likewise.
12030         (__arch_add_body): Likewise.
12031         (atomic_add_negative): Likewise.
12032         (atomic_add_zero): Likewise.
12034 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
12036         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12037         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12038         (add_fdes): Likewise.
12039         (linear_search_fdes): Likewise.
12040         (binary_search_unencoded_fdes): Likewise.
12042 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
12044         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12046 2012-11-24  Adam Conrad  <adconrad@0c3.net>
12048         * configure.in: Autodetect C++ header directories.
12049         * configure: Regenerated.
12051 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
12053         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12055 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
12057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12059 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
12061         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12062         LDBL_MANT_DIG == 106]: Disable some tests.
12063         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12064         Likewise.
12065         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12066         Likewise.
12068         [BZ #14871]
12069         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12070         input for small inputs.  Return +/- pi/2 for large inputs.
12071         * math/libm-test.inc (atan_test): Add more tests.
12073         * sysdeps/generic/unwind-dw2-fde-glibc.c
12074         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12075         __attribute__ ((unused)).
12077         [BZ #14645]
12078         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12079         x * y if x and y are nonzero and z is zero.
12081         [BZ #14811]
12082         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12083         nonzero exponents with absolute value below 0x1p-117 to +/-
12084         0x1p-117.
12086         [BZ #14869]
12087         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12088         up arguments below 2**-450, not just those below 2**-500.
12089         * math/libm-test.inc (hypot_test): Add another test.
12091         [BZ #14868]
12092         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12093         Return a+b for ratio over 2**120, not 2**60.
12094         * math/libm-test.inc (hypot_test): Add another test.
12096         * math/libm-test.inc (clog_test): Use
12097         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12098         (clog10_test): Likewise.
12100         [BZ #6778]
12101         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12103 2012-11-22  Andreas Schwab  <schwab@suse.de>
12105         * sysdeps/i386/fpu/libm-test-ulps: Update.
12107 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
12109         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12110         printf output with newline.
12112 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
12114         [BZ #14865]
12115         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12116         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12117         -z nodlopen, -z initfirst and -z execstack support.
12118         * configure: Regenerated.
12120         * elf/elf.h (DF_1_NODIRECT): New macro.
12121         (DF_1_IGNMULDEF): Likewise.
12122         (DF_1_NOKSYMS): Likewise.
12123         (DF_1_NOHDR): Likewise.
12124         (DF_1_EDITED): Likewise.
12125         (DF_1_NORELOC): Likewise.
12126         (DF_1_SYMINTPOSE): Likewise.
12127         (DF_1_GLOBAUDIT): Likewise.
12128         (DF_1_SINGLETON): Likewise.
12129         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12130         DT_1_SUPPORTED_MASK bits.
12131         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12133 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
12135         * sysdeps/unix/make-syscalls.sh: Document prefixes.
12137 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
12139         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12140         macro.
12142         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12143         (sendmmsg): Move declarations...
12144         * socket/sys/socket.h: ... here.
12145         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12146         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12147         include it from...
12148         * socket/recvmmsg.c: ... this new file.
12149         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12150         (sendmmsg): Rename to __sendmmsg, create weak alias and make
12151         definition of __sendmmsg hidden.
12152         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12153         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12154         Move ENOSYS stub into and include it from...
12155         * socket/sendmmsg.c: ... this new file.
12156         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12157         (sysdep_routines): Move recvmmsg and sendmmsg...
12158         * socket/Makefile (routines): ... here.
12159         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12160         (GLIBC_PRIVATE): Add __sendmmsg.
12161         * include/sys/socket.h (__sendmmsg): Add declarations.
12162         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12163         sendmmsg.
12165 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
12167         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12168         variable I1 with __attribute__ ((unused)).
12169         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12171 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12173         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12174         DUMMY variables with __attribute__ ((unused)).
12176         * bits/byteswap.h: Include <bits/types.h>.
12177         (__bswap_64): Use __uint64_t instead of unsigned long long int.
12179 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12181         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12182         string_t.  Do not manually set errno.
12183         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12184         length with __strnlen.  Make sure to both set errno and return it on
12185         failure.
12187 2012-11-19  David S. Miller  <davem@davemloft.net>
12189         With help from Joseph Myers.
12190         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12191         very large arguments properly.
12192         * math/libm-test.inc (atan_test): New tests.
12193         (atan2_test): New tests.
12194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12195         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12197 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12199         [BZ #14856]
12200         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12201         Define to 3.
12203         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12204         [POSIX] (EADDRNOTAVAIL): Likewise.
12205         [POSIX] (EAFNOSUPPORT): Likewise.
12206         [POSIX] (EALREADY): Likewise.
12207         [POSIX] (ECONNABORTED): Likewise.
12208         [POSIX] (ECONNREFUSED): Likewise.
12209         [POSIX] (ECONNRESET): Likewise.
12210         [POSIX] (EDESTADDRREQ): Likewise.
12211         [POSIX] (EDQUOT): Likewise.
12212         [POSIX] (EHOSTUNREACH): Likewise.
12213         [POSIX] (EIDRM): Likewise.
12214         [POSIX] (EISCONN): Likewise.
12215         [POSIX] (ELOOP): Likewise.
12216         [POSIX] (EMULTIHOP): Likewise.
12217         [POSIX] (ENETDOWN): Likewise.
12218         [POSIX] (ENETUNREACH): Likewise.
12219         [POSIX] (ENOBUFS): Likewise.
12220         [POSIX] (ENODATA): Likewise.
12221         [POSIX] (ENOLINK): Likewise.
12222         [POSIX] (ENOMSG): Likewise.
12223         [POSIX] (ENOPROTOOPT): Likewise.
12224         [POSIX] (ENOSR): Likewise.
12225         [POSIX] (ENOSTR): Likewise.
12226         [POSIX] (ENOTCONN): Likewise.
12227         [POSIX] (ENOTSOCK): Likewise.
12228         [POSIX] (EOPNOTSUPP): Likewise.
12229         [POSIX] (EOVERFLOW): Likewise.
12230         [POSIX] (EPROTO): Likewise.
12231         [POSIX] (EPROTONOSUPPORT): Likewise.
12232         [POSIX] (EPROTOTYPE): Likewise.
12233         [POSIX] (ESTALE): Likewise.
12234         [POSIX] (ETIME): Likewise.
12235         [POSIX] (ETXTBSY): Likewise.
12236         [POSIX] (EWOULDBLOCK): Likewise.
12237         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12238         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12239         [POSIX] (SEEK_CUR): Likewise.
12240         [POSIX] (SEEK_END): Likewise.
12241         [POSIX || UNIX98] (mode_t): Do not require.
12242         [POSIX] (off_t): Likewise.
12243         [POSIX] (pid_t): Likewise.
12244         [POSIX] (sys/stat.h): Do not allow header.
12245         [POSIX] (unistd.h): Likewise.
12246         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12247         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12248         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12249         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12250         require.
12251         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12252         sigevent): Specify elements.
12253         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12254         entry.
12255         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12256         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12258         * conform/data/cpio.h-data [POSIX]: Disable whole file.
12259         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12260         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12261         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12262         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12263         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12264         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12265         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12266         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12267         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12268         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12269         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12270         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12271         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12272         Likewise.
12273         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12274         Likewise.
12275         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12276         Likewise.
12277         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12278         Likewise.
12279         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12280         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12281         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12282         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12283         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12284         Specify lower bound on value.
12285         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12286         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12287         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12288         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12289         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12290         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12291         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12292         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12293         value.
12294         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12295         as optional.
12296         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12297         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12298         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12299         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12300         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12301         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12302         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12303         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12304         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12305         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12306         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12307         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12308         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12309         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12310         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12311         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12312         entry.
12313         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12314         optional.
12315         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12316         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12317         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12318         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12319         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12320         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12321         Likewise.
12322         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12323         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12324         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12325         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12326         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
12327         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12328         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12329         as optional.
12330         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12331         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12332         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12333         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12334         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12335         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12336         specify as optional.
12337         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12338         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12339         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12340         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12341         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12342         [XPG3] (NL_LANGMAX): Likewise.
12343         [POSIX || XPG3] (NL_MSGMAX): Likewise.
12344         [POSIX || XPG3] (NL_NMAX): Likewise.
12345         [POSIX || XPG3] (NL_SETMAX): Likewise.
12346         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12347         [XPG3] (NZERO): Likewise.
12348         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12349         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12350         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12351         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12352         (REG_ERANGE): Expect.
12353         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12354         optional-constant.
12355         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12356         Use (void) in prototype.
12357         [POSIX] (*_t): Allow.
12358         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12359         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12360         (WRDE_BADVAL): Expect.
12362         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12363         expect.
12364         [XPG3 || XPG4] (O_RSYNC): Likewise.
12365         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12366         Likewise.
12367         [XPG3 || XPG4] (pthread_sigmask): Likewise.
12368         [XPG3 || XPG4] (sigqueue): Likewise.
12369         [XPG3 || XPG4] (sigtimedwait): Likewise.
12370         [XPG3 || XPG4] (sigwaitinfo): Likewise.
12371         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12372         [XPG3 || XPG4] (vsnprintf): Likewise.
12373         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12374         Likewise.
12375         [XPG3 || XPG4] (blksize_t): Likewise.
12376         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12377         Likewise.
12378         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12379         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12380         [XPG3 || XPG4] (struct itimerspec): Likewise.
12381         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12382         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12383         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12384         [XPG3 || XPG4] (clockid_t): Likewise.
12385         [XPG3 || XPG4] (timer_t): Likewise.
12386         [XPG3 || XPG4] (clock_getres): Likewise.
12387         [XPG3 || XPG4] (clock_gettime): Likewise.
12388         [XPG3 || XPG4] (clock_settime): Likewise.
12389         [XPG3 || XPG4] (nanosleep): Likewise.
12390         [XPG3 || XPG4] (timer_create): Likewise.
12391         [XPG3 || XPG4] (timer_delete): Likewise.
12392         [XPG3 || XPG4] (timer_gettime): Likewise.
12393         [XPG3 || XPG4] (timer_getoverrun): Likewise.
12394         [XPG3 || XPG4] (timer_settime): Likewise.
12395         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12396         [XPG3 || XPG4] (getlogin_r): Likewise.
12397         [XPG3 || XPG4] (pread): Likewise.
12398         [XPG3 || XPG4] (pthread_atfork): Likewise.
12399         [XPG3 || XPG4] (pwrite): Likewise.
12401         [BZ #14835]
12402         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12403         <bits/siginfo.h>.
12405 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12407         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12408         finalizing MALLSTREAM.
12410         * sysdeps/mach/hurd/syncfs.c: New file.
12412 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12414         [BZ #14719]
12415         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12416         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12417         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12418         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12419         (_nss_dns_gethostbyname4_r): Likewise.
12420         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12421         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12423 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
12425         [BZ #13763]
12426         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12428 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
12430         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12431         * elf/cache.c (print_entry): Print ",AArch64" for
12432         FLAG_AARCH64_LIB64
12434         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12435         * elf/cache.c (print_entry): Print ",hard-float" for
12436         FLAG_ARM_LIBHF.
12438 2012-11-18  David S. Miller  <davem@davemloft.net>
12440         With help from Joseph Myers.
12441         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12442         cutoff to 2**-13.
12443         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12444         cutoff to 2**-25.
12445         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12446         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12447         small.
12448         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12449         * math/libm-test.inc (y0_test): New tests.
12450         (y1_test): New tests.
12451         * sysdeps/i386/fpu/libm-test-ulps: Update.
12452         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12455 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
12457         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12458         64-bit targets.
12459         * configure: Regenerated.
12461 2012-11-17  David S. Miller  <davem@davemloft.net>
12463         [BZ #14811]
12464         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12465         nonzero exponents with absolute value below 0x1p-128 to +/-
12466         0x1p-128.
12468 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
12470         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12472         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12474         * posix/getconf-speclist.c: New file.
12475         * posix/posix-envs.def: Likewise.
12476         * posix/confstr.c (START_ENV_GROUP): New macro.
12477         (END_ENV_GROUP): Likewise.
12478         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12479         (KNOWN_PRESENT_ENV_STRING): Likewise.
12480         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12481         (UNKNOWN_ENVIRONMENT): Likewise.
12482         (confstr): Include posix-envs.def instead of handling
12483         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12484         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12485         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12486         (END_ENV_GROUP): Likewise.
12487         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12488         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12489         (UNKNOWN_ENVIRONMENT): Likewise.
12490         (__sysconf): Include posix-envs.def instead of handling associated
12491         cases directly here.
12492         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12493         preprocessing getconf-speclist.c rather than running getconf or
12494         generating empty file.
12496 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
12498         * scripts/check-local-headers.sh: Ignore 'mach' headers.
12500 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
12502         [BZ #14672]
12503         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12505 2012-11-16  David S. Miller  <davem@davemloft.net>
12507         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12508         smaller than LDBL_EPSILON/2.0L, just return xm1.
12510 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
12512         * elf/tst-array1.c (init): Set constructor priority to 1000.
12513         (fini): Set destructor priority to 1000.
12514         * elf/tst-array2dep.c: Likewise.
12516 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12518         [BZ #11741]
12519         * libio/fileops.c (_IO_new_file_write): Correctly return error.
12520         (_IO_new_file_xsputn): Also return EOF if none of the input
12521         data was written when overflow failed.
12522         * libio/iopadn.c (_IO_padn): Likewise.
12523         * libio/iowpadn.c (_IO_wpadn): Likewise.
12524         * stdio-common/tst-put-error.c: Add copyright notice.
12525         (do_test): Add case for printing padded string.
12526         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12527         _IO_padn returned error.
12528         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12529         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12530         return EOF.
12532 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12534         * libio/libioP.h: Add comment note that the references to C++
12535         bits are now obsolete.
12537 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12539         * math/libm-test.inc (check_complex): Use asprintf.
12541 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
12543         * debug/pcprofiledump.c (print_version): Update copyright year.
12544         * malloc/memusagestat.c (print_version): Likewise.
12546 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12548         [BZ #14831]
12549         * elf/Makefile (tests): Add tst-audit8.
12550         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12551         ($(objpfx)tst-audit8.out): New target.
12552         (tst-audit8-ENV): New variable.
12553         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12554         audit if l_reloc_result is NULL.
12555         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12556         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12557         * elf/tst-audit8.c: New file.
12559 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12561         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12562         * misc/Makefile (CFLAGS-select.c): Define.
12563         * posix/Makefile (CFLAGS-pause.c): Define.
12565 2012-11-13  David S. Miller  <davem@davemloft.net>
12567         * crypt/Makefile: Move test targets after toplevel Rules
12568         inclusion.  Grab any necessary sysdep routines when linking.
12569         * crypt/md5.c (md5_process_block): Remove define, we will always
12570         name it __md5_process_block.
12571         (md5_finish_ctx): Update md5_process_block call.
12572         (md5_stream): Likewise.
12573         (md5_process_bytes): Likewise.
12574         (md5_process_block): Rename to __md5_process_block and move to ...
12575         * crypt/md5-block.c: ... here.
12576         * crypt/sha256.c (sha256_process_block): Move to ...
12577         * crypt/sha256-block.c: ... here.
12578         * crypt/sha512.c (sha512_process_block): Move to ...
12579         * crypt/sha512-block.c: ... here.
12580         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12581         path.
12582         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12583         * sysdeps/sparc/sparc64/multiarch/Makefile
12584         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12585         crypt subdir.
12586         (localedef-aux): Add md5 crypto assembler when in locale subdir.
12587         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12588         multiarch changes.
12589         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12590         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12591         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12592         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12593         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12594         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12595         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12596         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12597         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12598         file.
12599         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12600         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12601         file.
12602         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12604 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
12606         * timezone/tzselect.ksh: Update from tzcode git revision
12607         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12608         * timezone/zdump.c: Likewise.
12609         * timezone/zic.c: Likewise.
12610         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12611         in TZVERSION setting, not $(PKGVERSION).
12612         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
12613         REPORT_BUGS_TO settings.
12615         [BZ #14838]
12616         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12617         macro.
12619 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12621         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12622         detection to immediately after _FP_ROUND().
12623         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12624         bits are 0.
12626 2012-11-11  David S. Miller  <davem@davemloft.net>
12628         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12629         inttypes.h
12630         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12631         __close rather than their public counterparts.
12633 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
12635         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12636         file.
12637         [UNIX98] (sem_timedwait): Do not expect.
12638         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12639         [XPG4 || UNIX98] (sockatmark): Do not expect.
12640         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12641         (clock_getcpuclockid): Do not expect.
12642         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12643         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12644         Do not expect.
12645         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12646         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12647         [UNIX98] (vwscanf): Likewise.
12648         [UNIX98] (vswscanf): Likewise.
12650 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
12652         * timezone/version.h: Remove file.
12653         * timezone/README: Do not refer to version.h.
12654         * timezone/Makefile ($(objpfx)zic.o): New dependency on
12655         $(objpfx)version.h.
12656         ($(objpfx)zdump.o): Likewise.
12657         ($(objpfx)version.h): New target.
12659         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12660         2012i.
12661         * timezone/README: Don't mention modification to tzselect.ksh.
12662         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12663         work on unmodified tzselect.ksh.  Substitute version numbers in
12664         tzselect.ksh.
12666         * Makefile (format-me): Remove.
12667         (INSTALL): Adjust indentation.  Use commands directly instead of
12668         using $(format-me).
12670         * aclocal.m4 (ACX_PKGVERSION): New macro.
12671         (ACX_BUGURL): Likewise.
12672         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12673         (PKGVERSION): New AC_DEFINE_UNQUOTED.
12674         (REPORT_BUGS_TO): Likewise.
12675         * configure: Regenerated.
12676         * config.h.in (PKGVERSION): New macro.
12677         (REPORT_BUGS_TO): Likewise.
12678         * config.make.in (PKGVERSION): New variable.
12679         (PKGVERSION_TEXI): Likewise.
12680         (REPORT_BUGS_TO): Likewise.
12681         (REPORT_BUGS_TEXI): Likewise.
12682         * Makefile (format-me): Use -I$(common-objpfx)manual.
12683         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12684         ($(common-objpfx)manual/%): New target.
12685         (manual/%): Remove target.
12686         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12687         (print_version): Use PKGVERSION.
12688         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12689         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12690         and REPORT_BUGS_TO.
12691         ($(objpfx)xtrace): Likewise.
12692         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12693         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12694         (print_version): Use PKGVERSION.
12695         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12696         (do_version): Use PKGVERSION.
12697         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12698         REPORT_BUGS_TO.
12699         (common-ldd-rewrite): Likewise.
12700         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12701         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12702         (print_version): Use PKGVERSION.
12703         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12704         * elf/pldd.c (argp_program_bug_address): Remove variable.
12705         (more_help): New function.
12706         (argp): Use more_help.
12707         (print_version): Use PKGVERSION.
12708         * elf/sln.c (main): Use PKGVERSION.
12709         (usage): Use REPORT_BUGS_TO.
12710         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12711         (top level): Use PKGVERSION.
12712         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12713         (print_version): Use PKGVERSION.
12714         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12715         (print_version): Use PKGVERSION.
12716         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12717         (print_version): Use PKGVERSION.
12718         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12719         (print_version): Use PKGVERSION.
12720         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12721         (print_version): Use PKGVERSION.
12722         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12723         (print_version): Use PKGVERSION.
12724         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12725         and BUGURL.
12726         ($(objpfx)memusage): Likewise.
12727         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12728         (do_version): Use PKGVERSION.
12729         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12730         (print_version): Use PKGVERSION.
12731         * malloc/mtrace.pl ($PACKAGE): Remove variable.
12732         ($PKGVERSION): New variable.
12733         ($REPORT_BUGS_TO): Likewise.
12734         (usage): Use $REPORT_BUGS_TO.
12735         (top level): Use $PKGVERSION.
12736         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12737         ($(objpfx)pkgvers.texi): New rule.
12738         ($(objpfx)stamp-pkgvers): Likewise.
12739         * manual/install.texi: Include pkgvers.texi.
12740         (--with-pkgversion): Document new configure option.
12741         (--with-bugurl): Likewise.
12742         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12743         than necessarily for this particular distribution.  Use
12744         REPORT_BUGS_TO for where to report bugs.
12745         * INSTALL: Regenerated.
12746         * manual/libc.texinfo: Include pkgvers.texi.
12747         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12748         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12749         (print_version): Use PKGVERSION.
12750         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12751         (print_version): Use PKGVERSION.
12752         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12753         (print_version): Use PKGVERSION.
12754         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12755         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12756         macro.
12757         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12758         (print_version): Use PKGVERSION.
12759         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12760         (print_version): Use PKGVERSION.
12761         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12762         and PKGVERSION.
12764         * timezone/checktab.awk: Update from tzcode 2012i.
12765         * timezone/ialloc.c: Likewise.
12766         * timezone/private.h: Likewise.
12767         * timezone/scheck.c: Likewise.
12768         * timezone/tzfile.h: Likewise.
12769         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12770         (TZVERSION): Hardcode tzcode version number.
12771         * timezone/zdump.c: Update from tzcode 2012i.
12772         * timezone/zic.c: Likewise.
12773         * timezone/version.h: New file.
12774         * timezone/README: Describe version.h.  Update upstream location.
12776         [BZ #14824]
12777         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12778         (mktemp): Enable declaration.
12779         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12780         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12781         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12782         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12783         Likewise.
12784         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12785         Likewise.
12786         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12787         Likewise.
12788         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12789         Likewise.
12790         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12791         Likewise.
12792         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12793         Likewise.
12795         [BZ #14821]
12796         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12797         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
12798         for copies of such integer values.
12799         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12800         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12802 2012-11-09  Andreas Jaeger  <aj@suse.de>
12804         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12805         definitions and declarations that are provided by
12806         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12808 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12810         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12811         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12812         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12813         definition.
12815 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12817         * elf/elf.h: Update comment before AArch64 relocations.
12819 2012-11-07  David S. Miller  <davem@davemloft.net>
12821         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12822         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12823         (__start_context): Declare.
12824         (__makecontext_ret): Delete.
12825         (__makecontext): Hook up __start_context instead of
12826         __makecontext_ret.
12827         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12828         (sysdep_routines): Add __start_context when in stdlib.
12830 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12832         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12833         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12834         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
12835         hardcoded "nm".
12836         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
12837         (READELF): New variable.  Use it instead of hardcoded "readelf".
12839 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12841         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12842         * sysdeps/x86/Makefile: Here.
12843         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12844         * sysdeps/x86/tst-xmmymm.sh: This.
12846 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12848         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12849         expectations.
12850         [UNIX98] (pthread_barrier_t): Do not expect.
12851         [UNIX98] (pthread_barrierattr_t): Likewise.
12852         [UNIX98] (pthread_spinlock_t): Likewise.
12853         [UNIX98] (pthread_barrier_destroy): Likewise.
12854         [UNIX98] (pthread_barrier_init): Likewise.
12855         [UNIX98] (pthread_barrier_wait): Likewise.
12856         [UNIX98] (pthread_barrierattr_destroy): Likewise.
12857         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12858         [UNIX98] (pthread_barrierattr_init): Likewise.
12859         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12860         [UNIX98] (pthread_getcpuclockid): Likewise.
12861         [UNIX98] (pthread_mutex_timedlock): Likewise.
12862         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12863         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12864         [UNIX98] (pthread_sigmask): Likewise.
12865         [UNIX98] (pthread_spin_destroy): Likewise.
12866         [UNIX98] (pthread_spin_init): Likewise.
12867         [UNIX98] (pthread_spin_lock): Likewise.
12868         [UNIX98] (pthread_spin_trylock): Likewise.
12869         [UNIX98] (pthread_spin_unlock): Likewise.
12870         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12871         Do not expect.
12872         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12873         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12874         [XPG3 || XPG4] (pthread_cond_t): Likewise.
12875         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12876         [XPG3 || XPG4] (pthread_key_t): Likewise.
12877         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12878         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12879         [XPG3 || XPG4] (pthread_once_t): Likewise.
12880         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12881         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12882         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12883         [XPG3 || XPG4] (pthread_t): Likewise.
12885         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12886         not expect.
12887         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12889         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12890         Change function return type to int.
12892         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12893         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12894         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12895         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12896         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12897         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12898         [!POSIX] (posix_madvise): Likewise.
12899         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12900         && !UNIX98].
12901         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12902         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12903         (mode_t): Likewise.
12904         (posix_mem_offset): Likewise.
12905         (posix_typed_mem_get_info): Likewise.
12906         (posix_typed_mem_open): Likewise.
12908         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12909         Change condition to [XOPEN2K8].
12911         * conform/conformtest.pl: Preprocess allow-header data with -x c
12912         instead of from stdin.
12913         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12914         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12915         [C99-based standards] (cerfc): Likewise.
12916         [C99-based standards] (cexp2): Likewise.
12917         [C99-based standards] (cexpm1): Likewise.
12918         [C99-based standards] (clog10): Likewise.
12919         [C99-based standards] (clog1p): Likewise.
12920         [C99-based standards] (clog2): Likewise.
12921         [C99-based standards] (clgamma): Likewise.
12922         [C99-based standards] (ctgamma): Likewise.
12923         [C99-based standards] (cerff): Likewise.
12924         [C99-based standards] (cerfcf): Likewise.
12925         [C99-based standards] (cexp2f): Likewise.
12926         [C99-based standards] (cexpm1f): Likewise.
12927         [C99-based standards] (clog10f): Likewise.
12928         [C99-based standards] (clog1pf): Likewise.
12929         [C99-based standards] (clog2f): Likewise.
12930         [C99-based standards] (clgammaf): Likewise.
12931         [C99-based standards] (ctgammaf): Likewise.
12932         [C99-based standards] (cerfl): Likewise.
12933         [C99-based standards] (cerfcl): Likewise.
12934         [C99-based standards] (cexp2l): Likewise.
12935         [C99-based standards] (cexpm1l): Likewise.
12936         [C99-based standards] (clog10l): Likewise.
12937         [C99-based standards] (clog1pl): Likewise.
12938         [C99-based standards] (clog2l): Likewise.
12939         [C99-based standards] (clgammal): Likewise.
12940         [C99-based standards] (ctgammal): Likewise.
12941         * conform/data/inttypes.h-data [C99-based standards]: Include
12942         stdint.h-data.  Remove all expectations for stdint.h contents.
12943         [C99-based standards] (PRI*): Do not allow.
12944         [C99-based standards] (SCN*): Likewise.
12945         [C99-based standards] (*_t): Likewise.
12946         [C99-based-standards] (PRId8): Expect macro.
12947         [C99-based-standards] (PRIi8): Likewise.
12948         [C99-based-standards] (PRIo8): Likewise.
12949         [C99-based-standards] (PRIu8): Likewise.
12950         [C99-based-standards] (PRIx8): Likewise.
12951         [C99-based-standards] (PRIX8): Likewise.
12952         [C99-based-standards] (SCNd8): Likewise.
12953         [C99-based-standards] (SCNi8): Likewise.
12954         [C99-based-standards] (SCNo8): Likewise.
12955         [C99-based-standards] (SCNu8): Likewise.
12956         [C99-based-standards] (SCNx8): Likewise.
12957         [C99-based-standards] (PRIdLEAST8): Likewise.
12958         [C99-based-standards] (PRIiLEAST8): Likewise.
12959         [C99-based-standards] (PRIoLEAST8): Likewise.
12960         [C99-based-standards] (PRIuLEAST8): Likewise.
12961         [C99-based-standards] (PRIxLEAST8): Likewise.
12962         [C99-based-standards] (PRIXLEAST8): Likewise.
12963         [C99-based-standards] (SCNdLEAST8): Likewise.
12964         [C99-based-standards] (SCNiLEAST8): Likewise.
12965         [C99-based-standards] (SCNoLEAST8): Likewise.
12966         [C99-based-standards] (SCNuLEAST8): Likewise.
12967         [C99-based-standards] (SCNxLEAST8): Likewise.
12968         [C99-based-standards] (PRIdFAST8): Likewise.
12969         [C99-based-standards] (PRIiFAST8): Likewise.
12970         [C99-based-standards] (PRIoFAST8): Likewise.
12971         [C99-based-standards] (PRIuFAST8): Likewise.
12972         [C99-based-standards] (PRIxFAST8): Likewise.
12973         [C99-based-standards] (PRIXFAST8): Likewise.
12974         [C99-based-standards] (SCNdFAST8): Likewise.
12975         [C99-based-standards] (SCNiFAST8): Likewise.
12976         [C99-based-standards] (SCNoFAST8): Likewise.
12977         [C99-based-standards] (SCNuFAST8): Likewise.
12978         [C99-based-standards] (SCNxFAST8): Likewise.
12979         [C99-based-standards] (PRId16): Likewise.
12980         [C99-based-standards] (PRIi16): Likewise.
12981         [C99-based-standards] (PRIo16): Likewise.
12982         [C99-based-standards] (PRIu16): Likewise.
12983         [C99-based-standards] (PRIx16): Likewise.
12984         [C99-based-standards] (PRIX16): Likewise.
12985         [C99-based-standards] (SCNd16): Likewise.
12986         [C99-based-standards] (SCNi16): Likewise.
12987         [C99-based-standards] (SCNo16): Likewise.
12988         [C99-based-standards] (SCNu16): Likewise.
12989         [C99-based-standards] (SCNx16): Likewise.
12990         [C99-based-standards] (PRIdLEAST16): Likewise.
12991         [C99-based-standards] (PRIiLEAST16): Likewise.
12992         [C99-based-standards] (PRIoLEAST16): Likewise.
12993         [C99-based-standards] (PRIuLEAST16): Likewise.
12994         [C99-based-standards] (PRIxLEAST16): Likewise.
12995         [C99-based-standards] (PRIXLEAST16): Likewise.
12996         [C99-based-standards] (SCNdLEAST16): Likewise.
12997         [C99-based-standards] (SCNiLEAST16): Likewise.
12998         [C99-based-standards] (SCNoLEAST16): Likewise.
12999         [C99-based-standards] (SCNuLEAST16): Likewise.
13000         [C99-based-standards] (SCNxLEAST16): Likewise.
13001         [C99-based-standards] (PRIdFAST16): Likewise.
13002         [C99-based-standards] (PRIiFAST16): Likewise.
13003         [C99-based-standards] (PRIoFAST16): Likewise.
13004         [C99-based-standards] (PRIuFAST16): Likewise.
13005         [C99-based-standards] (PRIxFAST16): Likewise.
13006         [C99-based-standards] (PRIXFAST16): Likewise.
13007         [C99-based-standards] (SCNdFAST16): Likewise.
13008         [C99-based-standards] (SCNiFAST16): Likewise.
13009         [C99-based-standards] (SCNoFAST16): Likewise.
13010         [C99-based-standards] (SCNuFAST16): Likewise.
13011         [C99-based-standards] (SCNxFAST16): Likewise.
13012         [C99-based-standards] (PRId32): Likewise.
13013         [C99-based-standards] (PRIi32): Likewise.
13014         [C99-based-standards] (PRIo32): Likewise.
13015         [C99-based-standards] (PRIu32): Likewise.
13016         [C99-based-standards] (PRIx32): Likewise.
13017         [C99-based-standards] (PRIX32): Likewise.
13018         [C99-based-standards] (SCNd32): Likewise.
13019         [C99-based-standards] (SCNi32): Likewise.
13020         [C99-based-standards] (SCNo32): Likewise.
13021         [C99-based-standards] (SCNu32): Likewise.
13022         [C99-based-standards] (SCNx32): Likewise.
13023         [C99-based-standards] (PRIdLEAST32): Likewise.
13024         [C99-based-standards] (PRIiLEAST32): Likewise.
13025         [C99-based-standards] (PRIoLEAST32): Likewise.
13026         [C99-based-standards] (PRIuLEAST32): Likewise.
13027         [C99-based-standards] (PRIxLEAST32): Likewise.
13028         [C99-based-standards] (PRIXLEAST32): Likewise.
13029         [C99-based-standards] (SCNdLEAST32): Likewise.
13030         [C99-based-standards] (SCNiLEAST32): Likewise.
13031         [C99-based-standards] (SCNoLEAST32): Likewise.
13032         [C99-based-standards] (SCNuLEAST32): Likewise.
13033         [C99-based-standards] (SCNxLEAST32): Likewise.
13034         [C99-based-standards] (PRIdFAST32): Likewise.
13035         [C99-based-standards] (PRIiFAST32): Likewise.
13036         [C99-based-standards] (PRIoFAST32): Likewise.
13037         [C99-based-standards] (PRIuFAST32): Likewise.
13038         [C99-based-standards] (PRIxFAST32): Likewise.
13039         [C99-based-standards] (PRIXFAST32): Likewise.
13040         [C99-based-standards] (SCNdFAST32): Likewise.
13041         [C99-based-standards] (SCNiFAST32): Likewise.
13042         [C99-based-standards] (SCNoFAST32): Likewise.
13043         [C99-based-standards] (SCNuFAST32): Likewise.
13044         [C99-based-standards] (SCNxFAST32): Likewise.
13045         [C99-based-standards] (PRId64): Likewise.
13046         [C99-based-standards] (PRIi64): Likewise.
13047         [C99-based-standards] (PRIo64): Likewise.
13048         [C99-based-standards] (PRIu64): Likewise.
13049         [C99-based-standards] (PRIx64): Likewise.
13050         [C99-based-standards] (PRIX64): Likewise.
13051         [C99-based-standards] (SCNd64): Likewise.
13052         [C99-based-standards] (SCNi64): Likewise.
13053         [C99-based-standards] (SCNo64): Likewise.
13054         [C99-based-standards] (SCNu64): Likewise.
13055         [C99-based-standards] (SCNx64): Likewise.
13056         [C99-based-standards] (PRIdLEAST64): Likewise.
13057         [C99-based-standards] (PRIiLEAST64): Likewise.
13058         [C99-based-standards] (PRIoLEAST64): Likewise.
13059         [C99-based-standards] (PRIuLEAST64): Likewise.
13060         [C99-based-standards] (PRIxLEAST64): Likewise.
13061         [C99-based-standards] (PRIXLEAST64): Likewise.
13062         [C99-based-standards] (SCNdLEAST64): Likewise.
13063         [C99-based-standards] (SCNiLEAST64): Likewise.
13064         [C99-based-standards] (SCNoLEAST64): Likewise.
13065         [C99-based-standards] (SCNuLEAST64): Likewise.
13066         [C99-based-standards] (SCNxLEAST64): Likewise.
13067         [C99-based-standards] (PRIdFAST64): Likewise.
13068         [C99-based-standards] (PRIiFAST64): Likewise.
13069         [C99-based-standards] (PRIoFAST64): Likewise.
13070         [C99-based-standards] (PRIuFAST64): Likewise.
13071         [C99-based-standards] (PRIxFAST64): Likewise.
13072         [C99-based-standards] (PRIXFAST64): Likewise.
13073         [C99-based-standards] (SCNdFAST64): Likewise.
13074         [C99-based-standards] (SCNiFAST64): Likewise.
13075         [C99-based-standards] (SCNoFAST64): Likewise.
13076         [C99-based-standards] (SCNuFAST64): Likewise.
13077         [C99-based-standards] (SCNxFAST64): Likewise.
13078         [C99-based-standards] (PRIdMAX): Likewise.
13079         [C99-based-standards] (PRIiMAX): Likewise.
13080         [C99-based-standards] (PRIoMAX): Likewise.
13081         [C99-based-standards] (PRIuMAX): Likewise.
13082         [C99-based-standards] (PRIxMAX): Likewise.
13083         [C99-based-standards] (PRIXMAX): Likewise.
13084         [C99-based-standards] (SCNdMAX): Likewise.
13085         [C99-based-standards] (SCNiMAX): Likewise.
13086         [C99-based-standards] (SCNoMAX): Likewise.
13087         [C99-based-standards] (SCNuMAX): Likewise.
13088         [C99-based-standards] (SCNxMAX): Likewise.
13089         [C99-based-standards] (PRIdPTR): Likewise.
13090         [C99-based-standards] (PRIiPTR): Likewise.
13091         [C99-based-standards] (PRIoPTR): Likewise.
13092         [C99-based-standards] (PRIuPTR): Likewise.
13093         [C99-based-standards] (PRIxPTR): Likewise.
13094         [C99-based-standards] (PRIXPTR): Likewise.
13095         [C99-based-standards] (SCNdPTR): Likewise.
13096         [C99-based-standards] (SCNiPTR): Likewise.
13097         [C99-based-standards] (SCNoPTR): Likewise.
13098         [C99-based-standards] (SCNuPTR): Likewise.
13099         [C99-based-standards] (SCNxPTR): Likewise.
13100         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13101         allow.
13102         * conform/data/stdint.h-data: Update comments to clarify
13103         requirements.
13104         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
13105         type.
13106         [C99-based standards] (INT8_MAX): Likewise.
13107         [C99-based standards] (INT16_MIN): Likewise.
13108         [C99-based standards] (INT16_MAX): Likewise.
13109         [C99-based standards] (INT32_MIN): Likewise.
13110         [C99-based standards] (INT32_MAX): Likewise.
13111         [C99-based standards] (INT64_MIN): Likewise.
13112         [C99-based standards] (INT64_MAX): Likewise.
13113         [C99-based standards] (UINT8_MAX): Likewise.
13114         [C99-based standards] (UINT16_MAX): Likewise.
13115         [C99-based standards] (UINT32_MAX): Likewise.
13116         [C99-based standards] (UINT64_MAX): Likewise.
13117         [C99-based standards] (INT_LEAST8_MIN): Likewise.
13118         [C99-based standards] (INT_LEAST8_MAX): Likewise.
13119         [C99-based standards] (INT_LEAST16_MIN): Likewise.
13120         [C99-based standards] (INT_LEAST16_MAX): Likewise.
13121         [C99-based standards] (INT_LEAST32_MIN): Likewise.
13122         [C99-based standards] (INT_LEAST32_MAX): Likewise.
13123         [C99-based standards] (INT_LEAST64_MIN): Likewise.
13124         [C99-based standards] (INT_LEAST64_MAX): Likewise.
13125         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13126         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13127         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13128         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13129         [C99-based standards] (INT_FAST8_MIN): Likewise.
13130         [C99-based standards] (INT_FAST8_MAX): Likewise.
13131         [C99-based standards] (INT_FAST16_MIN): Likewise.
13132         [C99-based standards] (INT_FAST16_MAX): Likewise.
13133         [C99-based standards] (INT_FAST32_MIN): Likewise.
13134         [C99-based standards] (INT_FAST32_MAX): Likewise.
13135         [C99-based standards] (INT_FAST64_MIN): Likewise.
13136         [C99-based standards] (INT_FAST64_MAX): Likewise.
13137         [C99-based standards] (UINT_FAST8_MAX): Likewise.
13138         [C99-based standards] (UINT_FAST16_MAX): Likewise.
13139         [C99-based standards] (UINT_FAST32_MAX): Likewise.
13140         [C99-based standards] (UINT_FAST64_MAX): Likewise.
13141         [C99-based standards] (INTPTR_MIN): Likewise.
13142         [C99-based standards] (INTPTR_MAX): Likewise.
13143         [C99-based standards] (UINTPTR_MAX): Likewise.
13144         [C99-based standards] (INTMAX_MIN): Likewise.
13145         [C99-based standards] (INTMAX_MAX): Likewise.
13146         [C99-based standards] (UINTMAX_MAX): Likewise.
13147         [C99-based standards] (PTRDIFF_MIN): Likewise.
13148         [C99-based standards] (PTRDIFF_MAX): Likewise.
13149         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13150         [C99-based standards] (SIZE_MAX): Likewise.
13151         [C99-based standards] (WCHAR_MAX): Likewise.
13152         [C99-based standards] (WINT_MAX): Likewise.
13153         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
13154         constraint on value.
13155         [C99-based standards] (WCHAR_MIN): Likewise.
13156         [C99-based standards] (WINT_MIN): Likewise.
13157         [C99-based standards] (*_t): Allow.
13158         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13159         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13160         Include math.h-data and complex.h-data.  Remove all expectations
13161         of math.h and complex.h contents.
13162         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13163         at end of line.
13164         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13165         (struct tm): Expect tag.
13166         [C99-based-standards] (wcstof): Expect function.
13167         [C99-based-standards] (wcstold): Likewise.
13168         [C99-based-standards] (wcstoll): Likewise.
13169         [C99-based-standards] (wcstoull): Likewise.
13170         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13171         macro-int-constant.  Specify type.
13172         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
13173         constraint on value.
13174         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13175         Specify type.
13176         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13177         Specify value.
13178         [ISO C standards]: Do not allow headers.
13179         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13180         wcs[abcdefghijklmnopqrstuvwxyz]*.
13181         [ISO C standards] (*_t): Do not allow.
13182         * conform/data/wctype.h-data [C99-based standards] (iswblank):
13183         Expect function.
13184         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13185         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13186         Specify type.
13187         [ISO C standards]: Do not allow headers.
13188         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13189         is[abcdefghijklmnopqrstuvwxyz]*.
13190         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13191         to[abcdefghijklmnopqrstuvwxyz]*.
13192         [ISO C standards] (*_t): Do not allow.
13193         * conform/data/stdalign.h-data: New file.
13194         * conform/data/stdbool.h-data: Likewise.
13195         * conform/data/stdnoreturn.h-data: Likewise.
13197 2012-11-07  Roland McGrath  <roland@hack.frob.com>
13199         [BZ #14815]
13200         * manual/filesys.texi (Directory Entries): Typo fix.
13201         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13203 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13205         * elf/elf.h (EM_AARCH64): New macro.
13206         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13207         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13208         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13209         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13210         (R_AARCH64_TLSDESC): Likewise.
13211         (NT_ARM_TLS): Likewise.
13212         (NT_ARM_HW_BREAK): Likewise.
13213         (NT_ARM_HW_WATCH): Likewise.
13215 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13217         [BZ #14811]
13218         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13219         (__ieee754_powl): Saturate nonzero exponents with absolute value
13220         below 0x1p-79 to +/- 0x1p-79.
13221         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13222         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13223         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13224         nonzero exponents with absolute value below 0x1p-32 to +/-
13225         0x1p-32.
13226         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13227         (__ieee754_powl): Saturate nonzero exponents with absolute value
13228         below 0x1p-79 to +/- 0x1p-79.
13229         * math/libm-test.inc (pow_test): Add more tests.
13231 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13233         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13234         _dl_s390_cap_flags with kernel. Increase string length.
13235         (_dl_s390_platforms): Add z196 and zEC12.
13237 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13239         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13240         Change XOPEN21K to XOPEN2K.
13242 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
13244         * string/memmove.c: Use memcpy when possible.
13246 2012-11-06  Andreas Jaeger  <aj@suse.de>
13248         * po/eo.po: Update from translation team.
13250 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
13252         [BZ #14793]
13253         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13254         exponent and small x and y exponents, scale x or y up.  Increase
13255         by 2 the exponent used in scaling up.
13256         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13257         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13258         * math/libm-test.inc (fma_test): Add more tests.
13259         (fma_test_towardzero): Likewise.
13260         (fma_test_downward): Likewise.
13261         (fma_test_upward): Likewise.
13263 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
13265         [BZ #14805]
13266         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13267         fenv_t *.
13269         [BZ #14801]
13270         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13271         namespace for names of struct fields.
13272         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13273         fenv_t fields.
13274         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13275         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13277 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13279         [BZ #3665]
13280         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13282 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13284         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13285         PTR_DEMANGLE.
13287         [BZ #5246]
13288         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13289         PTR_DEMANGLE.
13291 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
13293         [BZ #14797]
13294         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13295         definitely overflow as x * y not x * y + z.
13296         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13297         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13298         * math/libm-test.inc (fma_test): Add more tests.
13299         (fma_test_towardzero): Likewise.
13300         (fma_test_downward): Likewise.
13301         (fma_test_upward): Likewise.
13303 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13305         [BZ #157]
13307         * include/stub-tag.h: Remove file.
13308         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13309         '#include' of it.
13310         * manual/maint.texi (Porting): Don't reference it.
13311         * Makerules ($(objpfx)stubs): Likewise.
13312         * dirent/closedir.c: Don't include <stub-tag.h>.
13313         * dirent/dirfd.c: Likewise.
13314         * dirent/fdopendir.c: Likewise.
13315         * dirent/getdents.c: Likewise.
13316         * dirent/getdents64.c: Likewise.
13317         * dirent/opendir.c: Likewise.
13318         * dirent/readdir.c: Likewise.
13319         * dirent/readdir64.c: Likewise.
13320         * dirent/readdir64_r.c: Likewise.
13321         * dirent/readdir_r.c: Likewise.
13322         * dirent/rewinddir.c: Likewise.
13323         * dirent/seekdir.c: Likewise.
13324         * dirent/telldir.c: Likewise.
13325         * gmon/profil.c: Likewise.
13326         * grp/setgroups.c: Likewise.
13327         * inet/if_index.c: Likewise.
13328         * io/access.c: Likewise.
13329         * io/chdir.c: Likewise.
13330         * io/chmod.c: Likewise.
13331         * io/chown.c: Likewise.
13332         * io/close.c: Likewise.
13333         * io/dup.c: Likewise.
13334         * io/dup2.c: Likewise.
13335         * io/dup3.c: Likewise.
13336         * io/euidaccess.c: Likewise.
13337         * io/faccessat.c: Likewise.
13338         * io/fchdir.c: Likewise.
13339         * io/fchmod.c: Likewise.
13340         * io/fchmodat.c: Likewise.
13341         * io/fchown.c: Likewise.
13342         * io/fchownat.c: Likewise.
13343         * io/fcntl.c: Likewise.
13344         * io/flock.c: Likewise.
13345         * io/fstatfs.c: Likewise.
13346         * io/fstatfs64.c: Likewise.
13347         * io/fstatvfs.c: Likewise.
13348         * io/fstatvfs64.c: Likewise.
13349         * io/futimens.c: Likewise.
13350         * io/fxstat.c: Likewise.
13351         * io/fxstat64.c: Likewise.
13352         * io/fxstatat.c: Likewise.
13353         * io/fxstatat64.c: Likewise.
13354         * io/getcwd.c: Likewise.
13355         * io/isatty.c: Likewise.
13356         * io/lchmod.c: Likewise.
13357         * io/lchown.c: Likewise.
13358         * io/link.c: Likewise.
13359         * io/linkat.c: Likewise.
13360         * io/lseek.c: Likewise.
13361         * io/lseek64.c: Likewise.
13362         * io/lxstat64.c: Likewise.
13363         * io/mkdir.c: Likewise.
13364         * io/mkdirat.c: Likewise.
13365         * io/mkfifo.c: Likewise.
13366         * io/mkfifoat.c: Likewise.
13367         * io/open.c: Likewise.
13368         * io/open64.c: Likewise.
13369         * io/openat.c: Likewise.
13370         * io/openat64.c: Likewise.
13371         * io/pipe.c: Likewise.
13372         * io/pipe2.c: Likewise.
13373         * io/poll.c: Likewise.
13374         * io/posix_fadvise.c: Likewise.
13375         * io/posix_fadvise64.c: Likewise.
13376         * io/posix_fallocate.c: Likewise.
13377         * io/posix_fallocate64.c: Likewise.
13378         * io/read.c: Likewise.
13379         * io/readlink.c: Likewise.
13380         * io/readlinkat.c: Likewise.
13381         * io/rmdir.c: Likewise.
13382         * io/sendfile.c: Likewise.
13383         * io/sendfile64.c: Likewise.
13384         * io/statfs.c: Likewise.
13385         * io/statfs64.c: Likewise.
13386         * io/statvfs.c: Likewise.
13387         * io/statvfs64.c: Likewise.
13388         * io/symlink.c: Likewise.
13389         * io/symlinkat.c: Likewise.
13390         * io/ttyname.c: Likewise.
13391         * io/ttyname_r.c: Likewise.
13392         * io/umask.c: Likewise.
13393         * io/unlink.c: Likewise.
13394         * io/unlinkat.c: Likewise.
13395         * io/utime.c: Likewise.
13396         * io/utimensat.c: Likewise.
13397         * io/write.c: Likewise.
13398         * io/xmknod.c: Likewise.
13399         * io/xmknodat.c: Likewise.
13400         * io/xstat.c: Likewise.
13401         * io/xstat64.c: Likewise.
13402         * login/getpt.c: Likewise.
13403         * login/grantpt.c: Likewise.
13404         * login/unlockpt.c: Likewise.
13405         * math/e_acoshl.c: Likewise.
13406         * math/e_acosl.c: Likewise.
13407         * math/e_asinl.c: Likewise.
13408         * math/e_atan2l.c: Likewise.
13409         * math/e_atanhl.c: Likewise.
13410         * math/e_coshl.c: Likewise.
13411         * math/e_expl.c: Likewise.
13412         * math/e_fmodl.c: Likewise.
13413         * math/e_gammal_r.c: Likewise.
13414         * math/e_hypotl.c: Likewise.
13415         * math/e_j0l.c: Likewise.
13416         * math/e_j1l.c: Likewise.
13417         * math/e_jnl.c: Likewise.
13418         * math/e_lgammal_r.c: Likewise.
13419         * math/e_log10l.c: Likewise.
13420         * math/e_log2l.c: Likewise.
13421         * math/e_logl.c: Likewise.
13422         * math/e_powl.c: Likewise.
13423         * math/e_rem_pio2l.c: Likewise.
13424         * math/e_sinhl.c: Likewise.
13425         * math/e_sqrtl.c: Likewise.
13426         * math/fclrexcpt.c: Likewise.
13427         * math/fedisblxcpt.c: Likewise.
13428         * math/feenablxcpt.c: Likewise.
13429         * math/fegetenv.c: Likewise.
13430         * math/fegetexcept.c: Likewise.
13431         * math/fegetround.c: Likewise.
13432         * math/feholdexcpt.c: Likewise.
13433         * math/fesetenv.c: Likewise.
13434         * math/fesetround.c: Likewise.
13435         * math/feupdateenv.c: Likewise.
13436         * math/fgetexcptflg.c: Likewise.
13437         * math/fraiseexcpt.c: Likewise.
13438         * math/fsetexcptflg.c: Likewise.
13439         * math/ftestexcept.c: Likewise.
13440         * math/k_cosl.c: Likewise.
13441         * math/k_rem_pio2l.c: Likewise.
13442         * math/k_sinl.c: Likewise.
13443         * math/k_tanl.c: Likewise.
13444         * math/s_asinhl.c: Likewise.
13445         * math/s_atanl.c: Likewise.
13446         * math/s_cbrtl.c: Likewise.
13447         * math/s_erfl.c: Likewise.
13448         * math/s_expm1l.c: Likewise.
13449         * math/s_log1pl.c: Likewise.
13450         * math/s_tanhl.c: Likewise.
13451         * misc/acct.c: Likewise.
13452         * misc/brk.c: Likewise.
13453         * misc/chflags.c: Likewise.
13454         * misc/chroot.c: Likewise.
13455         * misc/fchflags.c: Likewise.
13456         * misc/fgetxattr.c: Likewise.
13457         * misc/flistxattr.c: Likewise.
13458         * misc/fremovexattr.c: Likewise.
13459         * misc/fsetxattr.c: Likewise.
13460         * misc/fsync.c: Likewise.
13461         * misc/ftruncate.c: Likewise.
13462         * misc/futimes.c: Likewise.
13463         * misc/futimesat.c: Likewise.
13464         * misc/getdomain.c: Likewise.
13465         * misc/getdtsz.c: Likewise.
13466         * misc/gethostid.c: Likewise.
13467         * misc/gethostname.c: Likewise.
13468         * misc/getloadavg.c: Likewise.
13469         * misc/getpagesize.c: Likewise.
13470         * misc/getsysstats.c: Likewise.
13471         * misc/getxattr.c: Likewise.
13472         * misc/gtty.c: Likewise.
13473         * misc/ioctl.c: Likewise.
13474         * misc/lgetxattr.c: Likewise.
13475         * misc/listxattr.c: Likewise.
13476         * misc/llistxattr.c: Likewise.
13477         * misc/lremovexattr.c: Likewise.
13478         * misc/lsetxattr.c: Likewise.
13479         * misc/lutimes.c: Likewise.
13480         * misc/madvise.c: Likewise.
13481         * misc/mincore.c: Likewise.
13482         * misc/mlock.c: Likewise.
13483         * misc/mlockall.c: Likewise.
13484         * misc/mmap.c: Likewise.
13485         * misc/mprotect.c: Likewise.
13486         * misc/msync.c: Likewise.
13487         * misc/munlock.c: Likewise.
13488         * misc/munlockall.c: Likewise.
13489         * misc/munmap.c: Likewise.
13490         * misc/preadv.c: Likewise.
13491         * misc/preadv64.c: Likewise.
13492         * misc/ptrace.c: Likewise.
13493         * misc/pwritev.c: Likewise.
13494         * misc/pwritev64.c: Likewise.
13495         * misc/readv.c: Likewise.
13496         * misc/reboot.c: Likewise.
13497         * misc/remap_file_pages.c: Likewise.
13498         * misc/removexattr.c: Likewise.
13499         * misc/revoke.c: Likewise.
13500         * misc/select.c: Likewise.
13501         * misc/setdomain.c: Likewise.
13502         * misc/setegid.c: Likewise.
13503         * misc/seteuid.c: Likewise.
13504         * misc/sethostid.c: Likewise.
13505         * misc/sethostname.c: Likewise.
13506         * misc/setregid.c: Likewise.
13507         * misc/setreuid.c: Likewise.
13508         * misc/setxattr.c: Likewise.
13509         * misc/sstk.c: Likewise.
13510         * misc/stty.c: Likewise.
13511         * misc/swapoff.c: Likewise.
13512         * misc/swapon.c: Likewise.
13513         * misc/sync.c: Likewise.
13514         * misc/syncfs.c: Likewise.
13515         * misc/syscall.c: Likewise.
13516         * misc/truncate.c: Likewise.
13517         * misc/ualarm.c: Likewise.
13518         * misc/usleep.c: Likewise.
13519         * misc/ustat.c: Likewise.
13520         * misc/utimes.c: Likewise.
13521         * misc/vhangup.c: Likewise.
13522         * misc/writev.c: Likewise.
13523         * posix/_exit.c: Likewise.
13524         * posix/alarm.c: Likewise.
13525         * posix/execve.c: Likewise.
13526         * posix/fexecve.c: Likewise.
13527         * posix/fork.c: Likewise.
13528         * posix/fpathconf.c: Likewise.
13529         * posix/getaddrinfo.c: Likewise.
13530         * posix/getegid.c: Likewise.
13531         * posix/geteuid.c: Likewise.
13532         * posix/getgid.c: Likewise.
13533         * posix/getgroups.c: Likewise.
13534         * posix/getlogin.c: Likewise.
13535         * posix/getlogin_r.c: Likewise.
13536         * posix/getpgid.c: Likewise.
13537         * posix/getpid.c: Likewise.
13538         * posix/getppid.c: Likewise.
13539         * posix/getresgid.c: Likewise.
13540         * posix/getresuid.c: Likewise.
13541         * posix/getsid.c: Likewise.
13542         * posix/getuid.c: Likewise.
13543         * posix/glob64.c: Likewise.
13544         * posix/nanosleep.c: Likewise.
13545         * posix/pathconf.c: Likewise.
13546         * posix/pause.c: Likewise.
13547         * posix/posix_madvise.c: Likewise.
13548         * posix/pread.c: Likewise.
13549         * posix/pread64.c: Likewise.
13550         * posix/pwrite.c: Likewise.
13551         * posix/pwrite64.c: Likewise.
13552         * posix/sched_getaffinity.c: Likewise.
13553         * posix/sched_getp.c: Likewise.
13554         * posix/sched_gets.c: Likewise.
13555         * posix/sched_primax.c: Likewise.
13556         * posix/sched_primin.c: Likewise.
13557         * posix/sched_rr_gi.c: Likewise.
13558         * posix/sched_setaffinity.c: Likewise.
13559         * posix/sched_setp.c: Likewise.
13560         * posix/sched_sets.c: Likewise.
13561         * posix/sched_yield.c: Likewise.
13562         * posix/setgid.c: Likewise.
13563         * posix/setlogin.c: Likewise.
13564         * posix/setpgid.c: Likewise.
13565         * posix/setresgid.c: Likewise.
13566         * posix/setresuid.c: Likewise.
13567         * posix/setsid.c: Likewise.
13568         * posix/setuid.c: Likewise.
13569         * posix/sleep.c: Likewise.
13570         * posix/spawni.c: Likewise.
13571         * posix/sysconf.c: Likewise.
13572         * posix/times.c: Likewise.
13573         * posix/wait.c: Likewise.
13574         * posix/wait3.c: Likewise.
13575         * posix/wait4.c: Likewise.
13576         * posix/waitpid.c: Likewise.
13577         * resolv/gai_sigqueue.c: Likewise.
13578         * resource/getpriority.c: Likewise.
13579         * resource/getrlimit.c: Likewise.
13580         * resource/getrusage.c: Likewise.
13581         * resource/nice.c: Likewise.
13582         * resource/setpriority.c: Likewise.
13583         * resource/setrlimit.c: Likewise.
13584         * resource/ulimit.c: Likewise.
13585         * rt/aio_cancel.c: Likewise.
13586         * rt/aio_fsync.c: Likewise.
13587         * rt/aio_read.c: Likewise.
13588         * rt/aio_sigqueue.c: Likewise.
13589         * rt/aio_suspend.c: Likewise.
13590         * rt/aio_write.c: Likewise.
13591         * rt/clock_getres.c: Likewise.
13592         * rt/clock_gettime.c: Likewise.
13593         * rt/clock_nanosleep.c: Likewise.
13594         * rt/clock_settime.c: Likewise.
13595         * rt/lio_listio.c: Likewise.
13596         * rt/mq_close.c: Likewise.
13597         * rt/mq_getattr.c: Likewise.
13598         * rt/mq_notify.c: Likewise.
13599         * rt/mq_open.c: Likewise.
13600         * rt/mq_receive.c: Likewise.
13601         * rt/mq_send.c: Likewise.
13602         * rt/mq_setattr.c: Likewise.
13603         * rt/mq_timedreceive.c: Likewise.
13604         * rt/mq_timedsend.c: Likewise.
13605         * rt/mq_unlink.c: Likewise.
13606         * rt/shm_open.c: Likewise.
13607         * rt/shm_unlink.c: Likewise.
13608         * rt/timer_create.c: Likewise.
13609         * rt/timer_delete.c: Likewise.
13610         * rt/timer_getoverr.c: Likewise.
13611         * rt/timer_gettime.c: Likewise.
13612         * rt/timer_settime.c: Likewise.
13613         * setjmp/__longjmp.c: Likewise.
13614         * setjmp/setjmp.c: Likewise.
13615         * signal/kill.c: Likewise.
13616         * signal/killpg.c: Likewise.
13617         * signal/raise.c: Likewise.
13618         * signal/sigaction.c: Likewise.
13619         * signal/sigaltstack.c: Likewise.
13620         * signal/sigblock.c: Likewise.
13621         * signal/sigignore.c: Likewise.
13622         * signal/sigintr.c: Likewise.
13623         * signal/signal.c: Likewise.
13624         * signal/sigpause.c: Likewise.
13625         * signal/sigpending.c: Likewise.
13626         * signal/sigqueue.c: Likewise.
13627         * signal/sigreturn.c: Likewise.
13628         * signal/sigset.c: Likewise.
13629         * signal/sigsetmask.c: Likewise.
13630         * signal/sigstack.c: Likewise.
13631         * signal/sigsuspend.c: Likewise.
13632         * signal/sigtimedwait.c: Likewise.
13633         * signal/sigvec.c: Likewise.
13634         * signal/sigwait.c: Likewise.
13635         * signal/sigwaitinfo.c: Likewise.
13636         * signal/sysv_signal.c: Likewise.
13637         * socket/accept.c: Likewise.
13638         * socket/accept4.c: Likewise.
13639         * socket/bind.c: Likewise.
13640         * socket/connect.c: Likewise.
13641         * socket/getpeername.c: Likewise.
13642         * socket/getsockname.c: Likewise.
13643         * socket/getsockopt.c: Likewise.
13644         * socket/isfdtype.c: Likewise.
13645         * socket/listen.c: Likewise.
13646         * socket/recv.c: Likewise.
13647         * socket/recvfrom.c: Likewise.
13648         * socket/recvmsg.c: Likewise.
13649         * socket/send.c: Likewise.
13650         * socket/sendmsg.c: Likewise.
13651         * socket/sendto.c: Likewise.
13652         * socket/setsockopt.c: Likewise.
13653         * socket/shutdown.c: Likewise.
13654         * socket/sockatmark.c: Likewise.
13655         * socket/socket.c: Likewise.
13656         * socket/socketpair.c: Likewise.
13657         * stdio-common/ctermid.c: Likewise.
13658         * stdio-common/cuserid.c: Likewise.
13659         * stdio-common/remove.c: Likewise.
13660         * stdio-common/rename.c: Likewise.
13661         * stdio-common/renameat.c: Likewise.
13662         * stdio-common/tempname.c: Likewise.
13663         * stdlib/getcontext.c: Likewise.
13664         * stdlib/makecontext.c: Likewise.
13665         * stdlib/setcontext.c: Likewise.
13666         * stdlib/swapcontext.c: Likewise.
13667         * stdlib/system.c: Likewise.
13668         * streams/fattach.c: Likewise.
13669         * streams/fdetach.c: Likewise.
13670         * streams/getmsg.c: Likewise.
13671         * streams/getpmsg.c: Likewise.
13672         * streams/putmsg.c: Likewise.
13673         * streams/putpmsg.c: Likewise.
13674         * sysdeps/unix/bsd/getpt.c: Likewise.
13675         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13676         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13677         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13679         Likewise.
13680         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13681         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13682         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13683         * sysvipc/msgctl.c: Likewise.
13684         * sysvipc/msgget.c: Likewise.
13685         * sysvipc/msgrcv.c: Likewise.
13686         * sysvipc/msgsnd.c: Likewise.
13687         * sysvipc/semctl.c: Likewise.
13688         * sysvipc/semget.c: Likewise.
13689         * sysvipc/semop.c: Likewise.
13690         * sysvipc/semtimedop.c: Likewise.
13691         * sysvipc/shmat.c: Likewise.
13692         * sysvipc/shmctl.c: Likewise.
13693         * sysvipc/shmdt.c: Likewise.
13694         * sysvipc/shmget.c: Likewise.
13695         * termios/tcdrain.c: Likewise.
13696         * termios/tcflow.c: Likewise.
13697         * termios/tcflush.c: Likewise.
13698         * termios/tcgetattr.c: Likewise.
13699         * termios/tcgetpgrp.c: Likewise.
13700         * termios/tcsendbrk.c: Likewise.
13701         * termios/tcsetattr.c: Likewise.
13702         * termios/tcsetpgrp.c: Likewise.
13703         * time/adjtime.c: Likewise.
13704         * time/clock.c: Likewise.
13705         * time/getitimer.c: Likewise.
13706         * time/gettimeofday.c: Likewise.
13707         * time/setitimer.c: Likewise.
13708         * time/settimeofday.c: Likewise.
13709         * time/stime.c: Likewise.
13710         * time/time.c: Likewise.
13712 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
13714         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13715         /usr/old/bin.
13717         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13718         instead of spaces.
13719         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13721 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
13723         [BZ #14796]
13724         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13725         FE_TONEAREST before applying Dekker multiplication and Knuth
13726         addition.  Clear inexact exceptions and check for exact zero
13727         results afterwards.
13728         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13729         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13730         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13731         * math/libm-test.inc (fma_test): Add more tests.
13732         (fma_test_towardzero): Likewise.
13733         (fma_test_downward): Likewise.
13734         (fma_test_upward): Likewise.
13735         * sysdeps/generic/math_private.h (default_libc_fesetround): New
13736         function.
13737         (libc_fesetround): New macro.
13738         (libc_fesetroundf): Likewise.
13739         (libc_fesetroundl): Likewise.
13740         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13741         function.
13742         (libc_fesetround_387): Likewise.
13743         (libc_fesetroundf): New macro.
13744         (libc_fesetround): Likewise.
13745         (libc_fesetroundl): Likewise.
13746         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13747         function.
13748         (libc_fesetroundf): New macro.
13749         (libc_fesetround): Likewise.
13750         (libc_fesetroundl): Likewise.
13751         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13752         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13753         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13754         libm_hidden_ver.
13755         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13756         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13757         libm_hidden_def.
13758         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13759         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13760         libm_hidden_ver.
13761         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13762         libm_hidden_def.
13764         [BZ #3439]
13765         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13766         integer constant usable in #if and use that to give value to enum
13767         constant.
13768         (FE_DIVBYZERO): Likewise.
13769         (FE_UNDERFLOW): Likewise.
13770         (FE_OVERFLOW): Likewise.
13771         (FE_INVALID): Likewise.
13772         (FE_INVALID_SNAN): Likewise.
13773         (FE_INVALID_ISI): Likewise.
13774         (FE_INVALID_IDI): Likewise.
13775         (FE_INVALID_ZDZ): Likewise.
13776         (FE_INVALID_IMZ): Likewise.
13777         (FE_INVALID_COMPARE): Likewise.
13778         (FE_INVALID_SOFTWARE): Likewise.
13779         (FE_INVALID_SQRT): Likewise.
13780         (FE_INVALID_INTEGER_CONVERSION): Likewise.
13781         (FE_TONEAREST): Likewise.
13782         (FE_TOWARDZERO): Likewise.
13783         (FE_UPWARD): Likewise.
13784         (FE_DOWNWARD): Likewise.
13785         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13786         (FE_DIVBYZERO): Likewise.
13787         (FE_OVERFLOW): Likewise.
13788         (FE_UNDERFLOW): Likewise.
13789         (FE_INEXACT): Likewise.
13790         (FE_TONEAREST): Likewise.
13791         (FE_DOWNWARD): Likewise.
13792         (FE_UPWARD): Likewise.
13793         (FE_TOWARDZERO): Likewise.
13794         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13795         (FE_UNDERFLOW): Likewise.
13796         (FE_OVERFLOW): Likewise.
13797         (FE_DIVBYZERO): Likewise.
13798         (FE_INVALID): Likewise.
13799         (FE_TONEAREST): Likewise.
13800         (FE_TOWARDZERO): Likewise.
13801         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13802         (FE_OVERFLOW): Likewise.
13803         (FE_UNDERFLOW): Likewise.
13804         (FE_DIVBYZERO): Likewise.
13805         (FE_INEXACT): Likewise.
13806         (FE_TONEAREST): Likewise.
13807         (FE_TOWARDZERO): Likewise.
13808         (FE_UPWARD): Likewise.
13809         (FE_DOWNWARD): Likewise.
13810         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13811         (FE_DIVBYZERO): Likewise.
13812         (FE_OVERFLOW): Likewise.
13813         (FE_UNDERFLOW): Likewise.
13814         (FE_INEXACT): Likewise.
13815         (FE_TONEAREST): Likewise.
13816         (FE_DOWNWARD): Likewise.
13817         (FE_UPWARD): Likewise.
13818         (FE_TOWARDZERO): Likewise.
13820 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
13822         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13824 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
13826         * scripts/cross-test-ssh.sh (command): Use newlines to separate
13827         commands.  Quote $PWD.
13828         (blacklist_exports): Don't use remove_newlines.  Replace "declare
13829         -x" by "export".
13830         (remove_newlines): Remove.
13832 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
13834         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13835         * stdlib/stdlib.h (atof): Moved to ...
13836         * include/bits/stdlib-float.h: Here.  New file.
13837         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13838         * stdlib/bits/stdlib-float.h: New file.
13839         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13840         -mno-sse -mno-mmx.
13841         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13842         <xmmintrin.h>.
13844 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13846         * conform/conformtest.pl (@headers): Add fenv.h.
13847         * conform/data/fenv.h-data: New file.
13848         * include/fenv.h [_ISOMAC]: Disable all contents of file except
13849         include of <math/fenv.h>.
13851         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13852         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13853         && !UNIX98].  Enables tests for XOPEN2K8.
13854         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13855         POSIX2008]: Likewise.
13857         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13858         (struct rusage): Do not expect type or its members.
13860         [BZ #3439]
13861         * math/math.h (FP_NAN): Define macro to integer constant usable in
13862         #if and use that to give value to enum constant.
13863         (FP_INFINITE): Likewise.
13864         (FP_ZERO): Likewise.
13865         (FP_SUBNORMAL): Likewise.
13866         (FP_NORMAL): Likewise.
13868 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
13870         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13871         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13872         arguments.
13874 2012-11-02  Roland McGrath  <roland@hack.frob.com>
13876         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13877         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13878         autoconf-time if not.
13879         * configure.in: Remove AC_PREREQ.
13881 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13883         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13884         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13885         of the internal implementation.
13887 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13889         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13890         except include of <misc/sys/syslog.h>.
13892 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13895         function returns with a NULL context exit with zero.
13897 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13899         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13901 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
13903         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13904         (run_program_cmd): This.
13905         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13906         (tst_langinfo): New variable.  Use it.
13908 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
13910         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13911         floating point opcodes.
13913 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13915         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13916         variable.
13918         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13920         * sysdeps/mach/hurd/powerpc: Remove directory.
13921         * sysdeps/mach/powerpc: Likewise.
13923 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13925         * scripts/check-local-headers.sh: Ignore c++ headers.
13927 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13929         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13930         __libc_cleanup_region_start argument.
13932 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
13934         [BZ #14784]
13935         [BZ #14785]
13936         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13937         x * y using scaling, not as x * y + z.
13938         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13939         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13940         * math/libm-test.inc (fma_test): Add more tests.
13941         (fma_test_towardzero): Likewise.
13942         (fma_test_downward): Likewise.
13943         (fma_test_upward): Likewise.
13945 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13947         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13949 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13951         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13952         New variable.
13954 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
13956         * rt/tst-shm.c (worker): Correct checking for mmap failure.
13958 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13961         Fix sort order.
13962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13963         Likewise.
13965 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13968         Fix the order of the list for glibc 2.17.
13969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13970         Likewise.
13972 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13976 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13978         [BZ #14610]
13979         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13980         for low part of x being zero before using __atanl (y).
13981         * math/libm-test.inc (atan2_test): Add another test.
13983         * manual/install.texi (Configuring and compiling): Document
13984         general use of test-wrapper and test-wrapper-env.
13985         * INSTALL: Regenerated.
13987         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13988         (__fma): Do not extract and scale down low bits on after-rounding
13989         systems when result rounded to normal precision would have normal
13990         exponent.
13991         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13992         (__fmal): Do not extract and scale down low bits on after-rounding
13993         systems when result rounded to normal precision would have normal
13994         exponent.
13995         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13996         (__fmal): Do not extract and scale down low bits on after-rounding
13997         systems when result rounded to normal precision would have normal
13998         exponent.
13999         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14000         macro.
14001         (fma_test): Add more tests.
14002         (fma_test_towardzero): Likewise.
14003         (fma_test_downward): Likewise.
14004         (fma_test_upward): Likewise.
14006 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
14008         * sysdeps/i386/tininess.h: Renamed to ...
14009         * sysdeps/x86/tininess.h: This.
14010         * sysdeps/x86_64/tininess.h: Removed.
14012 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14014         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14015         input.  Use $(build-program-cmd).
14016         ($(objpfx)tst-array1-static.out): Likewise.
14017         ($(objpfx)tst-array2.out): Likewise.
14018         ($(objpfx)tst-array3.out): Likewise.
14019         ($(objpfx)tst-array4.out): Likewise.
14020         ($(objpfx)tst-array5.out): Likewise.
14021         ($(objpfx)tst-array5-static.out): Likewise.
14023 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
14025         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14026         if defined.
14028         * nss/nsswitch.h (nss_interface_function): Provide new
14029         macro for use with NSS functions.
14030         * grp/initgroups.c: Use new macro.
14031         * nss/getXXbyYY.c: Likewise.
14032         * nss/getXXbyYY_r.c: Likewise.
14033         * nss/getXXent.c: Likewise.
14034         * nss/getXXent_r.c: Likewise.
14035         * sysdeps/posix/getaddrinfo.c: Likewise.
14037 2012-10-30  Andreas Jaeger  <aj@suse.de>
14039         * po/ru.po: Update Russion translation from translation project.
14041 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14043         [BZ #14152]
14044         [BZ #14783]
14045         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14046         result and shift together with sticky bit instead of replicating
14047         round-to-nearest rounding.
14048         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14049         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14050         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
14051         missing underflow exceptions.
14052         (fma_test_towardzero): Add more tests.
14053         (fma_test_downward): Likewise.
14054         (fma_test_upward): Likewise.
14056         [BZ #14047]
14057         * sysdeps/generic/tininess.h: New file.
14058         * sysdeps/i386/tininess.h: Likewise.
14059         * sysdeps/sh/tininess.h: Likewise.
14060         * sysdeps/x86_64/tininess.h: Likewise.
14061         * stdlib/tst-strtod-underflow.c: Likewise.
14062         * stdlib/tst-tininess.c: Likewise.
14063         * stdlib/strtod_l.c: Include <tininess.h>.
14064         (round_and_return): Do not set errno for exact underflow cases.
14065         Force an underflow exception when setting errno for underflow.
14066         Determine underflow based on rounding to normal precision if
14067         TININESS_AFTER_ROUNDING.
14068         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14069         ERANGE for exact underflow cases.
14070         * stdlib/Makefile (tests): Add tst-tininess and
14071         tst-strtod-underflow.
14072         ($(objpfx)tst-tininess): Use $(link-libm).
14073         ($(objpfx)tst-strtod-underflow): Likewise.
14075 2012-10-30  Andreas Jaeger  <aj@suse.de>
14077         [BZ#14767]
14078         * elf/Makefile (tests): Remove conditional for have-initfini-array
14079         since this is now always required and the variable does not exist
14080         anymore.
14081         (tests-static): Likewise.
14082         (modules-names): Likewise.
14084         * po/eo.po: Add Esperanto translation from translation project.
14086         * elf/tst-array1.c (fini_array): Make writeable so that it can be
14087         merged with constructor/destructor.
14088         (init_array): Likewise.
14089         * elf/tst-array2dep.c (fini_array): Likewise.
14090         (init_array): Likewise.
14092 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
14094         * manual/message.texi: Delete @cartouche tags.
14096 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
14098         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14099         EOPNOTSUPP.
14100         * sysdeps/mach/hurd/fsync.c: Likewise.
14102         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14103         [_POSIX_REALTIME_SIGNALS]: Change condition to
14104         [_POSIX_REALTIME_SIGNALS > 0].
14106 2012-10-27  Andreas Jaeger  <aj@suse.de>
14108         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14109         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14110         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14111         [__WORDSIZE != 64]: Likewise.
14113 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
14115         *  iconvdata/tst-table.sh: Remove ${SHELL}.
14116         *  iconvdata/tst-tables.sh: Likewise.
14118 2012-10-25  David S. Miller  <davem@davemloft.net>
14120         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14121         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14122         of strtoull.
14124         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14125         ifunc-impl-list.c
14126         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14127         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14128         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14129         file.
14131 2012-10-25  Roland McGrath  <roland@hack.frob.com>
14133         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14134         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14135         __getdirentries.
14137 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14138             Jim Blandy  <jimb@codesourcery.com>
14140         * scripts/cross-test-ssh.sh: New file.
14141         * manual/install.texi (Configuring and compiling): Document use of
14142         cross-test-ssh.sh.
14143         * INSTALL: Regenerated.
14145 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
14147         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14148         EOPNOTSUPP.
14150 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14152         * Makeconfig (run-program-prefix): Fix comment.
14154 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14155             Jim Blandy  <jimb@codesourcery.com>
14157         * Makeconfig (test-wrapper): New variable,
14158         (test-wrapper-env): Likewise.
14159         [$(cross-compiling) = yes && $(test-wrapper) != ""]
14160         (run-built-tests): Define to yes.
14161         (run-program-prefix): Use $(test-wrapper).
14162         (built-program-cmd): Likewise.
14163         * Rules (make-test-out): Use $(test-wrapper-env) and
14164         $(host-built-program-cmd).
14165         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14166         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14167         tst-pathopt.sh.
14168         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14169         $(test-wrapper-env) to tst-rtld-load-self.sh.
14170         ($(objpfx)order2.out): Use $(test-wrapper).
14171         ($(objpfx)tst-initorder.out): Likewise.
14172         ($(objpfx)tst-initorder2.out): Likewise.
14173         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14174         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14175         (test_wrapper_env): New variable.  Use it to run ld.so.
14176         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14177         Use it to run ld.so.
14178         (test_wrapper_env): Likewise.
14179         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14180         $(test-wrapper) to run-iconv-test.sh.
14181         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14182         (ICONV): Use $test_wrapper.
14183         * posix/Makefile ($(objpfx)globtest.out): Pass
14184         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14185         globtest.sh, not $(run-program-prefix).
14186         * posix/globtest.sh (run_via_rtld_prefix): New variable.
14187         (test_wrapper): Likewise.
14188         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
14189         set together with run_via_rtld_prefix.
14190         (run_program_prefix): Define in terms of test_wrapper and
14191         run_via_rtld_prefix.
14193 2012-10-24  Roland McGrath  <roland@hack.frob.com>
14195         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14196         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14197         Targets removed.
14199         [BZ #14743]
14200         * include/time.h: Remove librt_hidden_proto (clock_gettime).
14201         Declare __clock_getres, __clock_gettime, __clock_settime,
14202         __clock_nanosleep, and __clock_getcpuclockid.
14203         * rt/clock_gettime.c: Define __clock_gettime as an alias.
14204         Remove librt_hidden_def (clock_gettime).
14205         * sysdeps/unix/clock_gettime.c: Likewise.
14206         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14207         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14208         * rt/clock_getres.c: Define __clock_getres as an alias.
14209         * sysdeps/posix/clock_getres.c: Likewise.
14210         * rt/clock_settime.c: Define __clock_settime as an alias.
14211         * sysdeps/unix/clock_settime.c: Likewise.
14212         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14213         * sysdeps/unix/clock_nanosleep.c: Likewise.
14214         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14215         * rt/clock-compat.c: New file.
14216         * rt/Makefile (librt-routines): Add clock-compat and move
14217         $(clock-routines) to ...
14218         (routines): ... here, new variable.
14219         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14220         Don't add get_clockfreq here.
14221         * rt/Versions (libc: GLIBC_2.17): New version set.
14222         Add clock_* symbols here.
14223         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
14224         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14225         (GLIBC_2.17): Add clock_* symbols.
14226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14228         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14230         Likewise.
14231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14232         Likewise.
14233         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14237         * NEWS: Mention the move.
14239         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14240         Use __open, __read, __close rather than their public counterparts.
14241         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14242         (__get_clockfreq_via_cpuinfo): Likewise.
14243         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14244         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14246         * config.h.in (HAVE_IFUNC): New #undef.
14247         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14248         was successful.
14249         * configure: Regenerated.
14251 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14253         * configure.in: Move READELF check to start of file.
14254         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14255         libc_cv_asm_gnu_indirect_function in the process.
14256         * configure: Regenerated.
14258 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14260         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14261         send the output to /dev/null.
14262         (libc_cv_cc_with_libunwind): Likewise.
14263         (libc_cv_as_noexecstack): Likewise.
14264         * configure: Regenerate.
14266 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14268         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14270         * posix/globtest.sh (TMPDIR): Do not set.
14271         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14272         (testout): Likewise.
14274 2012-10-24  Andreas Jaeger  <aj@suse.de>
14276         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14277         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14278         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14279         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14280         posix_fadvise64, posix_fallocate64.
14282         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14283         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14284         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14285         Likewise.
14286         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14287         Likewise.
14288         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14290         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14291         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14292         <bits/fcntl-linux.h>.
14293         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14295         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14296         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14297         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14298         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14299         [__WORDSIZE != 64]: Likewise.
14301 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14303         * Makeconfig (run-built-tests): New variable.
14304         * Rules [$(cross-compiling) = yes]: Change condition to
14305         [$(run-built-tests) = no].
14306         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14307         to [$(run-built-tests) = yes].
14308         * elf/Makefile [$(cross-compiling) = no]: Likewise
14309         * grp/Makefile [$(cross-compiling) = no]: Likewise.
14310         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14311         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14312         * intl/Makefile [$(cross-compiling) = no]: Likewise.
14313         * io/Makefile [$(cross-compiling) = no]: Likewise.
14314         * libio/Makefile [$(cross-compiling) = no]: Likewise.
14315         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14316         * misc/Makefile [$(cross-compiling) = no]: Likewise.
14317         * posix/Makefile [$(cross-compiling) = no]: Likewise.
14318         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14319         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14320         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14321         * string/Makefile [$(cross-compiling) = no]: Likewise.
14323         * posix/Makefile ($(objpfx)globtest.out): Pass
14324         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14325         $(rtld-installed-name).
14326         * posix/globtest.sh (elf_objpfx): Remove variable.
14327         (rtld_installed_name): Likewise.
14328         (library_path): Likewise.
14329         (run_program_prefix): New variable.  Use for running globtest
14330         binary.
14332 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
14333             Joseph Myers  <joseph@codesourcery.com>
14335         * Makeconfig (host-built-program-cmd): New variable.
14336         * elf/Makefile (tst-stackguard1-ARGS): Use
14337         $(host-built-program-cmd).
14338         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14339         (tst-spawn-ARGS): Likewise.
14340         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14342 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14343             Jim Blandy  <jimb@codesourcery.com>
14345         * Makeconfig (run-via-rtld-prefix): New variable.
14346         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14347         (built-program-cmd): Likewise.
14349 2012-10-22  Andreas Jaeger  <aj@suse.de>
14351         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14352         __O_RSYNC if it exists, otherwise to O_SYNC.
14354 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
14355             Joseph Myers  <joseph@codesourcery.com>
14357         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14358         /dev/null.
14359         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14360         from /dev/null
14361         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14362         /dev/null.
14364 2012-10-22  Andreas Jaeger  <aj@suse.de>
14366         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14367         Define always.
14368         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14370         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14371         bits/fcntl-linux.h.
14373         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14374         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14376         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14377         to __O_LARGEFILE.
14378         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14379         to __O_LARGEFILE.
14381 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
14382             Joseph Myers  <joseph@codesourcery.com>
14384         * config.make.in (NM): New variable.
14386 2012-10-21  Andreas Jaeger  <aj@suse.de>
14388         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14389         definitions and declarations that are provided by
14390         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14392 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14394         [BZ #14683]
14395         * elf/Makefile (tests-static): Add tst-leaks1-static.
14396         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14397         ($(objpfx)tst-leaks1-static): New rule.
14398         ($(objpfx)tst-leaks1-static-mem): Likewise.
14399         (tst-leaks1-static-ENV): New macro.
14400         * elf/dl-open.c (dl_open_worker): Check the main application
14401         only if SHARED is defined.
14402         * elf/tst-leaks1-static.c: New file.
14404 2012-10-20  Andreas Jaeger  <aj@suse.de>
14406         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14407         generic values for Linux.
14408         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14409         and declarations that are provided by <bits/fcntl-linux.h> and
14410         include <bits/fcntl-linux.h>.
14411         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14412         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14414 2012-10-20  Roland McGrath  <roland@hack.frob.com>
14416         * io/fcntl.h: Move include of <bits/types.h> to the top and
14417         include it unconditionally.
14419 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14421         * wcsmbs/Makefile (tests-ifunc): New variable.
14422         (tests): Add $(tests-ifunc).
14423         * wcsmbs/test-wcschr-ifunc.c: New file.
14424         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14425         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14426         * wcsmbs/test-wcslen-ifunc.c: Likewise.
14427         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14428         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14430         * string/Makefile (tests-ifunc): New variable.
14431         (tests): Add $(tests-ifunc).
14432         * string/test-memccpy.c (TEST_NAME): New macro.
14433         * string/test-memchr.c (TEST_NAME): Likewise.
14434         * string/test-memcmp.c (TEST_NAME): Likewise.
14435         * string/test-memcpy.c (TEST_NAME): Likewise.
14436         * string/test-memmem.c (TEST_NAME): Likewise.
14437         * string/test-memmove.c (TEST_NAME): Likewise.
14438         * string/test-memset.c (TEST_NAME): Likewise.
14439         * string/test-rawmemchr.c (TEST_NAME): Likewise.
14440         * string/test-stpcpy.c (TEST_NAME): Likewise.
14441         * string/test-stpncpy.c (TEST_NAME): Likewise.
14442         * string/test-strcasecmp.c (TEST_NAME): Likewise.
14443         * string/test-strcasestr.c (TEST_NAME): Likewise.
14444         * string/test-strcat.c (TEST_NAME): Likewise.
14445         * string/test-strchr.c (TEST_NAME): Likewise.
14446         * string/test-strcmp.c(TEST_NAME): Likewise.
14447         * string/test-strcpy.c (TEST_NAME): Likewise.
14448         * string/test-strcspn.c (TEST_NAME): Likewise.
14449         * string/test-strlen.c (TEST_NAME): Likewise.
14450         * string/test-strncasecmp.c (TEST_NAME): Likewise.
14451         * string/test-strncmp.c (TEST_NAME): Likewise.
14452         * string/test-strncpy.c (TEST_NAME): Likewise.
14453         * string/test-strnlen.c (TEST_NAME): Likewise.
14454         * string/test-strpbrk.c (TEST_NAME): Likewise.
14455         * string/test-strrchr.c (TEST_NAME): Likewise.
14456         * string/test-strspn.c (TEST_NAME): Likewise.
14457         * string/test-strstr.c (TEST_NAME): Likewise.
14458         * string/test-bcopy-ifunc.c: New file.
14459         * string/test-bzero-ifunc.c: Likewise.
14460         * string/test-memccpy-ifunc.c: Likewise.
14461         * string/test-memchr-ifunc.c: Likewise.
14462         * string/test-memcmp-ifunc.c: Likewise.
14463         * string/test-memcpy-ifunc.c: Likewise.
14464         * string/test-memmem-ifunc.c: Likewise.
14465         * string/test-memmove-ifunc.c: Likewise.
14466         * string/test-mempcpy-ifunc.c: Likewise.
14467         * string/test-memset-ifunc.c: Likewise.
14468         * string/test-rawmemchr-ifunc.c: Likewise.
14469         * string/test-stpcpy-ifunc.c: Likewise.
14470         * string/test-stpncpy-ifunc.c: Likewise.
14471         * string/test-strcasecmp-ifunc.c: Likewise.
14472         * string/test-strcasestr-ifunc.c: Likewise.
14473         * string/test-strcat-ifunc.c: Likewise.
14474         * string/test-strchr-ifunc.c: Likewise.
14475         * string/test-strchrnul-ifunc.c: Likewise.
14476         * string/test-strcmp-ifunc.c: Likewise.
14477         * string/test-strcpy-ifunc.c: Likewise.
14478         * string/test-strcspn-ifunc.c: Likewise.
14479         * string/test-strlen-ifunc.c: Likewise.
14480         * string/test-strncasecmp-ifunc.c: Likewise.
14481         * string/test-strncat-ifunc.c: Likewise.
14482         * string/test-strncmp-ifunc.c: Likewise.
14483         * string/test-strncpy-ifunc.c: Likewise.
14484         * string/test-strnlen-ifunc.c: Likewise.
14485         * string/test-strpbrk-ifunc.c: Likewise.
14486         * string/test-strrchr-ifunc.c: Likewise.
14487         * string/test-strspn-ifunc.c: Likewise.
14488         * string/test-strstr-ifunc.c: Likewise.
14490         * debug/Makefile (tests-ifunc): New variable.
14491         (tests): Add $(tests-ifunc).
14492         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14493         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14494         * debug/test-stpcpy_chk-ifunc.c: New file.
14495         * debug/test-strcpy_chk-ifunc.c: Likewise.
14497 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14499         [BZ #13601]
14500         * elf/dl-load.c (open_verify): Retry read if the entire ELF
14501         header is not read in.
14503 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
14505         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
14506         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
14507         directly.  Pass built executable to script as
14508         $(built-program-cmd).
14509         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
14510         $testprogram without using LD_LIBRARY_PATH and $ldso.
14512         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14513         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14514         $(rtld-installed-name).
14515         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14516         (rtld_installed_name): Likewise.
14517         (library_path): Likewise.
14518         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
14519         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14520         $(run-program-prefix) to tst-tables.sh.
14521         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
14522         it to run tst-table-from and tst-table-to.
14523         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14524         Pass it to tst-table.sh.
14525         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14526         $(run-program-prefix) to tst-gettext.sh.
14527         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14528         tst-translit.sh.
14529         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14530         tst-gettext2.sh.
14531         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
14532         to run tst-gettext.
14533         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
14534         to run tst-gettext2.
14535         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
14536         to run tst-translit.
14537         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14538         $(run-program-prefix) to tst-mtrace.sh.
14539         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
14540         to run tst-mtrace.
14541         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14542         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14543         $(rtld-installed-name).
14544         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14545         (rtld_installed_name): Likewise.
14546         (run_program_prefix): New variable.  Use it to run wordexp-test.
14548         * Makeconfig (ARCH): Remove all definitions.
14549         (machine): Likewise.
14550         [ARCH]: Remove conditional code.
14551         [!objdir]: Give error.
14552         [!objdir] (objpfx): Remove.
14553         [!objdir] (common-objpfx): Likewise.
14554         [!objdir] (common-objdir): Likewise.
14555         * configure.in (config_makefile): Remove.  Hardcode Makefile in
14556         AC_CONFIG_FILES call.
14557         * configure: Regenerated.
14559         [BZ #13888]
14560         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14561         or TMPDIR.
14562         (testout): Likewise.
14564         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14565         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14566         $(rtld-installed-name).
14567         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14568         (rtld_installed_name): Likwise.
14569         (runit): Remove function.
14570         (run_getconf): New variable,  Use it for running getconf binary.
14572 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
14574         [BZ #14716]
14575         * string/test-memmem.c (check_result): New function.
14576         (do_one_test): Use it.
14577         (check1): New function.
14578         (test_main): Use it.
14580 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
14582         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14584 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
14586         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14587         (_G_LSEEK64): Likewise.
14588         (_G_MMAP64): Likewise.
14589         (_G_FSTAT64): Likewise.
14590         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14591         (_G_LSEEK64): Likewise.
14592         (_G_MMAP64): Likewise.
14593         (_G_FSTAT64): Likewise.
14594         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14595         unconditional.  Call __mmap64 directly.
14596         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14597         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
14598         __lseek64 directly.
14599         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14600         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
14601         __mmap64 directly.
14602         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14603         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14604         __lseek64 directly.
14605         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14606         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14607         __lseek64 directly.
14608         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14609         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
14610         __lseek64 directly.
14611         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14612         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
14613         __fxstat64 directly.
14614         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14615         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14616         unconditional.
14617         (freopen64) [!_G_OPEN64]: Remove conditional code.
14618         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14619         unconditional.
14620         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14621         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14622         unconditional.
14623         (ftello64) [!_G_LSEEK64]: Remove conditional code.
14624         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14625         unconditional.
14626         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14627         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14628         unconditional.
14629         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14630         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14631         unconditional.
14632         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14633         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14634         unconditional.
14635         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14636         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14637         unconditional.
14638         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14640 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14642         [BZ #12140]
14643         * manual/memory.texi (Malloc Tunable Parameters): Add note
14644         about free list pointers overwriting some perturb bytes.
14645         Wording suggested by Roland McGrath.
14647 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
14649         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14650         (lgamma_test): Likewise.
14651         (tgamma_test): Likewise.
14653 2012-10-16  Florian Weimer  <fweimer@redhat.com>
14655         [BZ #14700]
14656         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14657         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14659 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
14661         * NEWS: Mention BZ #14716.
14662         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14663         when removing AVAILABLE1_USES_J macro.
14665 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14667         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14668         (__bswap_64): __uint64_t for unsigned 64-bit int.
14670 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
14672         * include/string.h (memmem): Declare libc hidden alias.
14673         * string/memmem.c (memmem): Define libc hidden alias.
14674         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14675         __read, __close instead of open, read, close.
14677 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
14679         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14680         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14681         global and hidden.
14682         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14683         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14684         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14685         Likewise.
14686         (__rawmemchr_sse2): Likewise.
14687         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14688         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14689         (__strchr_sse2): Likewise.
14690         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14691         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14692         (__strcasecmp_sse2): Likewise.
14693         (__strncasecmp_sse2): Likewise.
14694         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14695         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14696         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14697         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14698         (__strrchr_sse2): Likewise.
14699         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14700         ifunc-impl-list.c.
14701         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14702         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14703         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14704         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14705         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14706         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14707         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14708         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14709         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14710         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14711         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14712         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14713         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14714         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14715         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14716         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14717         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14718         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14719         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14720         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14721         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14722         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14723         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14724         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14725         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14726         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14727         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14728         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14729         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14730         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14732         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14733         global and hidden.
14734         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14735         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14736         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14737         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14738         Likewise.
14739         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14740         Likewise.
14741         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14742         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14743         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14744         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14745         ifunc-impl-list.c.
14746         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14747         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14748         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14749         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14750         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14751         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14752         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14753         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14754         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14755         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14756         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14757         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14758         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14759         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14760         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14761         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14762         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14763         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14764         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14765         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14766         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14767         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14768         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14769         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14770         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14771         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14772         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14773         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14774         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14775         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14776         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14777         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14778         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14779         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14780         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14781         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14782         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14783         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14784         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14785         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14786         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14788         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14789         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14790         * include/ifunc-impl-list.h: New file.
14791         * misc/ifunc-impl-list.c: Likewise.
14792         * misc/Makefile (routines): Add ifunc-impl-list.
14793         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14794         * string/test-string.h: Include <ifunc-impl-list.h>.
14795         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14796         impl_array): New variables.
14797         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14798         are defined.
14799         (test_init): Call __libc_ifunc_impl_list to initialize
14800         func_list if TEST_IFUNC and TEST_NAME are defined.
14802         * string/Makefile (strop-tests): Add bcopy and bzero.
14803         * string/test-bcopy.c: New file.
14804         * string/test-bzero.c: Likewise.
14805         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14806         defined.
14807         * string/test-memset.c: Support bzero test if TEST_BZERO is
14808         defined.
14809         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14810         __libc_memmove.
14811         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14812         __libc_memset.
14813         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14814         of memset.
14816 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
14818         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14819         * configure: Regenerated.
14821         * Makeconfig (+link-static-before-libc): Don't include
14822         $(link-static-libc).
14824         * libio/libio.h (_IO_pos_t): Remove.
14826 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14828         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
14829         McGrath.
14831 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14833         * crypt/crypt-entry.c: Include fips-private.h.
14834         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14835         * crypt/md5c-test.c (main): Tolerate disabled MD5.
14836         * sysdeps/unix/sysv/linux/fips-private.h: New file.
14837         * sysdeps/generic/fips-private.h: New file, dummy fallback.
14839 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14841         * crypt/crypt-private.h: Include stdbool.h.
14842         (_ufc_setup_salt_r): Return bool.
14843         * crypt/crypt-entry.c: Include errno.h.
14844         (__crypt_r): Return NULL with EINVAL for bad salt.
14845         * crypt/crypt_util.c (bad_for_salt): New.
14846         (_ufc_setup_salt_r): Check that salt is long enough and within
14847         the specified alphabet.
14848         * crypt/badsalttest.c: New file.
14849         * crypt/Makefile (tests): Add it.
14850         ($(objpfx)badsalttest): New.
14852 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
14854         * NEWS: Add entry for BZ #14602.
14856 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14858         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14859         type-generic.
14860         * math/libm-test.inc: Update comment listing what functions and
14861         macros are tested.
14862         (isgreater_test): New function.
14863         (isgreaterequal_test): Likewise.
14864         (isless_test): Likewise.
14865         (islessequal_test): Likewise.
14866         (islessgreater_test): Likewise.
14867         (isunordered_test): Likewise.
14868         (main): Call the new functions.
14870 2012-10-09  Roland McGrath  <roland@hack.frob.com>
14872         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14873         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14874         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14875         * sysdeps/i386/configure: Regenerated.
14876         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14877         * sysdeps/mach/configure: Regenerated.
14878         * sysdeps/mach/hurd/configure: Regenerated.
14879         * sysdeps/powerpc/configure: Regenerated.
14880         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14881         * sysdeps/powerpc/powerpc64/configure: Regenerated.
14882         * sysdeps/s390/s390-32/configure: Regenerated.
14883         * sysdeps/s390/s390-64/configure: Regenerated.
14884         * sysdeps/sh/configure: Regenerated.
14885         * sysdeps/sparc/configure: Regenerated.
14886         * sysdeps/unix/sysv/linux/configure: Regenerated.
14887         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14888         * sysdeps/x86_64/configure: Regenerated.
14890         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14891         defined.  Don't check if MAP is NULL.
14893 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14895         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14896         (_G_stat64): Likewise.
14897         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14898         (_G_stat64): Likewise.
14899         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14900         instead of struct _G_stat64.
14901         * libio/fileops.c (mmap_remap_check): Likewise.
14902         (decide_maybe_mmap): Likewise.
14903         (_IO_new_file_seekoff): Likewise.
14904         (_IO_file_stat): Likewise.
14905         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14906         _G_off64_t.
14907         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14908         instead of struct _G_stat64.
14909         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14911 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
14913         [BZ #14602]
14914         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14915         Replace with ...
14916         (CHECK_EOL): New macro.
14917         (two_way_short_needle): Check beginning of haystack for EOL.  Use
14918         CHECK_EOL.
14919         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14920         Replace with CHECK_EOL.
14921         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14922         Replace with CHECK_EOL.
14924 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
14926         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14927         type-generic.
14928         * math/libm-test.inc: Update comment listing what functions and
14929         macros are tested.
14930         (finite_test): New function.
14931         (isinf_test): Likewise.
14932         (isnan_test): Likewise.
14933         (fpclassify_test): Test subnormal input.
14934         (isfinite_test): Likewise.
14935         (isnormal_test): Likewise.
14936         (main): Call the new functions.
14938 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
14940         [BZ #14660]
14941         * Makerules (%.dynsym): Force C locale when running
14942         $(OBJDUMP) --dynamic-syms.
14944 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
14946         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14947         <stdint.h>.
14949 2012-10-06  David S. Miller  <davem@davemloft.net>
14951         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14952         upper 32-bits of the length value in %o2 since we use branch-on-register
14953         tests which consider the entire 64-bit register.
14955 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
14957         * string/test-strstr.c (check2): Add a test for page boundary.
14959 2012-10-05  David S. Miller  <davem@davemloft.net>
14961         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14962         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14963         file.
14964         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14965         sysdep_routines.
14966         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14967         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14968         and bzero when HWCAP_SPARC_CRYPTO is present.
14970 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
14972         [BZ #14602]
14973         * string/test-strstr.c (check2): New function.
14974         (test_main): Call check2.
14976         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14977         and bug-strchr1.
14978         * string/bug-strcasestr1.c (do_test): Moved to ...
14979         * string/test-strcasestr.c (check1): Here.  New function.
14980         (do_one_test): Break out result checking code into ...
14981         (check_result): This.  New function.
14982         (do_one_test): Call check_result.
14983         (test_main): Call check1.
14984         * string/bug-strchr1.c (do_test): Moved to ...
14985         * string/test-strchr.c (check1): Here.  New function.
14986         (do_one_test): Break out result checking code into ...
14987         (check_result): This.  New function.
14988         (do_one_test): Call check_result.
14989         (test_main): Call check1.
14990         * string/bug-strstr1.c (main): Moved to ...
14991         * string/test-strstr.c (check1): Here.  New function.
14992         (do_one_test): Break out result checking code into ...
14993         (check_result): This.  New function.
14994         (do_one_test): Call check_result.
14995         (test_main): Call check1.
14996         * string/bug-strcasestr1.c: Removed.
14997         * string/bug-strchr1.c: Likewise.
14998         * string/bug-strstr1.c: Likewise.
15000         * elf/Makefile (dl-routines): Add hwcaps.
15001         * elf/dl-support.c (_dl_important_hwcaps): Removed.
15002         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15003         (_dl_important_hwcaps): Moved to ...
15004         * elf/dl-hwcaps.c: Here.  New file.
15005         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15007         [BZ #14557]
15008         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15009         if IS_IN_rtld isn't defined.
15011         * elf/dl-support.c (_dl_sysinfo_map): New.
15012         Include "get-dynamic-info.h" and "setup-vdso.h".
15013         (_dl_non_dynamic_init): Call setup_vdso.
15014         * elf/dynamic-link.h: Don't include <assert.h>.
15015         (elf_get_dynamic_info): Moved to ...
15016         * elf/get-dynamic-info.h: Here.  New file.
15017         * elf/dynamic-link.h: Include "get-dynamic-info.h".
15018         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15019         * elf/setup-vdso.h: Here.  New file.
15020         * elf/rtld.c: Include "setup-vdso.h".
15021         (dl_main): Call setup_vdso.
15023 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
15025         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15026         creal in comment listing functions tested.  List finite, isinf,
15027         isnan, isless, islessequal, isgreater, isgreaterequal,
15028         islessgreater, isunordered, lgamma_r and pow10 as functions and
15029         macros not tested.  Mention which functions not tested are aliases
15030         for other functions.  Fix typo.  Note that signs of NaNs are not
15031         tested.
15033         * scripts/config.guess: Update from config.git.
15034         * scripts/config.sub: Likewise.
15036 2012-10-04  Roland McGrath  <roland@hack.frob.com>
15038         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15039         * misc/madvise.c (madvise): Renamed to __madvise.
15040         Make madvise a weak alias.
15041         * include/sys/mman.h: Declare __madvise.
15042         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15043         * sysdeps/unix/syscalls.list
15044         (madvise): Make __madvise the strong name, and madvise a weak alias.
15045         * sysdeps/unix/sysv/linux/syscalls.list
15046         (madvise, mmap): Remove redundant entries.
15047         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15048         * malloc/malloc.c (mtrim): Likewise.
15049         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15051 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15053         * sysdeps/mach/hurd/dl-cache.c: File removed.
15054         * config.h.in (USE_LDCONFIG): New #undef.
15055         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15056         * configure: Regenerated.
15057         * elf/Makefile (dl-routines): Add dl-cache only under
15058         [$(use-ldconfig) = yes].
15059         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15060         cache on [USE_LDCONFIG].
15061         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15062         [USE_LDCONFIG].
15063         * elf/rtld.c (dl_main): Likewise.
15065 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
15067         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15068         _SC_LEVEL4_CACHE_LINESIZE.
15070 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15072         * sysdeps/unix/bsd/confstr.h: File removed.
15074 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
15076         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15077         sys/sdt-config.h.
15079 2012-10-02  Roland McGrath  <roland@hack.frob.com>
15081         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15082         Make 'mapoff' field ElfW(Off) rather than off_t.
15084 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
15086         * nscd/Makefile: Remove nscd-cflags and all its users.
15087         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15088         (CFLAGS-nonlib): Add compiler flags for nscd modules.
15090         [BZ #10631]
15091         * malloc.c (malloc_printerr): Clarify error message.
15093 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
15095         [BZ #14648]
15096         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15097         Set bit_FMA_Usable if FMA is supported.
15098         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15099         macro.
15100         (bit_FMA4_Usable): Updated.
15101         (index_FMA_Usable): New macro.
15102         (CPUID_FMA): Likewise
15103         (HAS_FMA): Defined with bit_FMA_Usable.
15105 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15107         * bits/types.h (__swblk_t): Type removed.
15108         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15109         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15110         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15111         (__SWBLK_T_TYPE): Likewise.
15112         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15113         (__SWBLK_T_TYPE): Likewise.
15114         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15115         (__SWBLK_T_TYPE): Likewise.
15116         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15117         (__SWBLK_T_TYPE): Likewise.
15119 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
15120             Honza Horak <hhorak@redhat.com>
15122         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15123         (xdr_mapname): Use YPMAXMAP as maxsize.
15124         (xdr_peername): Use YPMAXPEER as maxsize.
15125         (xdr_keydat): Use YPAXRECORD as maxsize.
15126         (xdr_valdat): Use YPMAXRECORD as maxsize.
15128 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15130         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15132         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15133         * csu/init-first.c: ... here.
15134         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15135         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15136         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15137         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15138         * sysdeps/i386/init-first.c: File removed.
15139         * sysdeps/sh/init-first.c: File removed.
15141 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
15143         [BZ #14645]
15144         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15145         if x * y might underflow to zero and z is zero.
15146         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15147         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15148         * math/libm-test.inc (min_subnorm_value): New variable.
15149         (fma_test): Add more tests.
15150         (fma_test_towardzero): Likewise.
15151         (fma_test_downward): Likewise
15152         (fma_test_upward): Likewise.
15153         (initialize): Set min_subnorm_value.
15155 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
15157         [BZ #14638]
15158         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15159         0 + 0.
15160         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15161         mode for addition resulting in exact zero.
15162         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15163         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15164         exact 0 + 0.
15165         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15166         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15167         * math/libm-test.inc (fma_test): Add more tests.
15168         (fma_test_towardzero): New function.
15169         (fma_test_downward): Likewise.
15170         (fma_test_upward): Likewise.
15171         (main): Call the new functions.
15173 2012-09-28  David S. Miller  <davem@davemloft.net>
15175         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15177 2012-09-28  Roland McGrath  <roland@hack.frob.com>
15179         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15180         instead of SIGALRM.
15182         * sysdeps/gnu/_G_config.h: Moved to ...
15183         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15184         * sysdeps/mach/hurd/_G_config.h: Moved to ...
15185         * sysdeps/generic/_G_config.h: ... here.
15187         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
15189         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15191         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15192         Conditionalize target on [libnss_test1.so-version].
15194         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15196         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15197         (elfobjdir): Move out of conditionals.
15199         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15200         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15201         (__nss_lookup_function): Conditionalize label remove_from_tree on
15202         [!DO_STATIC_NSS || SHARED], matching its only use.
15204 2012-09-28  David S. Miller  <davem@davemloft.net>
15206         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15207         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15208         file.
15209         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15210         sysdep_routines.
15211         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15212         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15213         when HWCAP_SPARC_CRYPTO is present.
15215 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15217         * io/tst-mknodat.c: Create a FIFO instead of a socket.
15219 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15221         [BZ #6530]
15222         * stdio-common/vfprintf.c (process_string_arg): Revert
15223         2000-07-22 change.
15225 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
15227         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15228         for testcase.
15229         * stdio-common/tst-sprintf.c: Include <locale.h>
15230         (main): Test sprintf's handling of incomplete multibyte
15231         characters.
15233 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
15235         * elf/dl-runtime.c (VERSYMIDX): Removed.
15236         * elf/dl-version.c (VERSYMIDX): Likewise.
15237         * elf/do-rel.h (VERSYMIDX): Likewise.
15238         (VALIDX): Likewise.
15239         * elf/dynamic-link.h (VERSYMIDX): Likewise.
15240         * elf/rtld.c (VALIDX): Likewise.
15241         (ADDRIDX): Likewise.
15242         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15243         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15244         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15245         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15246         (VALIDX): Likewise.
15247         (ADDRIDX): Likewise.
15249 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15251         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15253 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
15255         [BZ #11438]
15256         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15257         to global scope.
15258         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15259         addresses are in the same scope as 192.0.2/24.
15260         * posix/gai.conf: Document new scope table defaults.
15262 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15264         [BZ #5298]
15265         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15266         for ftell.  Compute offsets from write pointers instead.
15267         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15269 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15271         [BZ #14543]
15272         * libio/Makefile (tests): New test case tst-fseek.
15273         * libio/tst-fseek.c: New test case to verify that fseek/ftell
15274         combination works in wide mode.
15275         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15276         state when the external buffer state changes.
15278 2012-09-27  David S. Miller  <davem@davemloft.net>
15280         [BZ #14376]
15281         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15282         pass reloc->r_addend in as the 'high' argument to
15283         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15287 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15289         * rt/tst-aio2.c: Include <pthread.h>.
15290         * rt/tst-aio3.c: Likewise.
15292 2012-09-27  Steve Ellcey  <sellcey@mips.com>
15294         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15296 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
15298         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15299         contents on [SHARED].
15301 2012-09-26  Marek Polacek  <polacek@redhat.com>
15303         [BZ #14530]
15304         [BZ #13741]
15305         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15306         for C++ and GCC <4.3 as well as for non GCC compilers.
15308 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15310         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15312 2012-09-25  Roland McGrath  <roland@hack.frob.com>
15314         * Makefile.in (all, install): Declare with .PHONY.
15315         Reported by Michael Hope <michael.hope@linaro.org>.
15317 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15319         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15320         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15321         system header.
15322         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15323         Likewise.
15324         (sydep_routines): Add the new and the internal functions.
15325         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15326         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15328         (GLIBC_2.17): Add the new function.
15329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15330         (GLIBC_2.17): Likewise.
15331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15332         (GLIBC_2.17): Likewise.
15333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15334         (GLIBC_2.17): Likewise.
15335         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15337 2012-09-25  Alan Modra  <amodra@gmail.com>
15339         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15340         Add release barrier before setting once_control to say
15341         initialisation is done.  Add hints on lwarx.  Use macro in
15342         place of isync.
15343         (clear_once_control): Add release barrier.
15345 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15347         [BZ #13629]
15348         * math/s_clog.c (__clog): Handle more values close to |z| = 1
15349         specially.
15350         * math/s_clog10.c (__clog10): Likewise.
15351         * math/s_clog10f.c (__clog10f): Likewise.
15352         * math/s_clog10l.c (__clog10l): Likewise.
15353         * math/s_clogf.c (__clogf): Likewise.
15354         * math/s_clogl.c (__clogl): Likewise.
15355         * math/Makefile (libm-calls): Add x2y2m1.
15356         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15357         (__x2y2m1): Likewise.
15358         (__x2y2m1l): Likewise.
15359         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15360         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15361         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15362         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15363         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15364         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15365         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15366         * sysdeps/i386/fpu/libm-test-ulps: Update.
15367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15369         [BZ #14621]
15370         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15371         int as type of variable DEPTH.
15372         (glob): Use size_t instead of int as type of variables NEWCOUNT
15373         and OLD_PATHC.
15375 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15377         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15378         Add s_sincosf-sse2.
15379         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15380         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15381         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15382         macros for using routine as __sincosf_ia32.
15383         Use macro for function declaration and weak_alias.
15384         * sysdeps/i386/fpu/libm-test-ulps: Update.
15386         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15387         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15389         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15390         subnormal argument.
15391         * math/s_cexpf.c (__cexpf): Likewise.
15392         * math/s_csinf.c (__csinf): Likewise.
15393         * math/s_csinhf.c (__csinhf): Likewise.
15394         * math/s_ctanf.c (__ctanf): Likewise.
15395         * math/s_ctanhf.c (__ctanhf): Likewise.
15396         * math/s_ccosh.c (__ccoshf): Likewise.
15397         * math/s_cexp.c (__cexpl): Likewise.
15398         * math/s_csin.c (__csin): Likewise.
15399         * math/s_csinh.c (__csinh): Likewise.
15400         * math/s_ctan.c (__ctan): Likewise.
15401         * math/s_ctanh.c (ctanh): Likewise.
15402         * math/s_ccoshl.c (__ccoshl): Likewise.
15403         * math/s_cexpl.c (__cexpl): Likewise.
15404         * math/s_csinl.c (__csinl): Likewise.
15405         * math/s_csinhl.c (__csinhl): Likewise.
15406         * math/s_ctanl.c (__ctanl): Likewise.
15407         * math/s_ctanhl.c (__ctanhl): Likewise.
15409 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15411         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15412         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15413         (_IO_off_t): Define to __off_t, not _G_off_t.
15414         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15415         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15416         (_IO_wint_t): Define to wint_t, not _G_wint_t.
15417         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15418         type of __dummy and __dummy2 fields.
15419         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15420         (_G_ssize_t): Likewise.
15421         (_G_off_t): Likewise.
15422         (_G_pid_t): Likewise.
15423         (_G_uid_t): Likewise.
15424         (_G_wchar_t): Likewise.
15425         (_G_wint_t): Likewise.
15426         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15427         (_G_ssize_t): Likewise.
15428         (_G_off_t): Likewise.
15429         (_G_pid_t): Likewise.
15430         (_G_uid_t): Likewise.
15431         (_G_wchar_t): Likewise.
15432         (_G_wint_t): Likewise.
15433         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15434         (_G_ssize_t): Likewise.
15435         (_G_off_t): Likewise.
15436         (_G_pid_t): Likewise.
15437         (_G_uid_t): Likewise.
15438         (_G_wchar_t): Likewise.
15439         (_G_wint_t): Likewise.
15441 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15443         * malloc/arena.c: Include malloc-sysdep.h.
15444         (shrink_heap): Use check_may_shrink_heap to decide if madvise
15445         is sufficient to shrink the heap or an unmap is needed.
15446         * sysdeps/generic/malloc-sysdep.h: New file.  Define
15447         new function check_may_shrink_heap.
15448         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
15449         new function check_may_shrink_heap.
15451 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15453         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15454         comments.
15456 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
15458         * catgets/test-gencat.sh: Add "set -e".
15459         * elf/tst-pathopt.sh: Likewise.
15460         * grp/tst_fgetgrent.sh: Likewise.
15461         * iconvdata/run-iconv-test.sh: Likewise.
15462         * intl/tst-gettext.sh: Likewise.
15463         * intl/tst-gettext2.sh: Likewise.
15464         * intl/tst-gettext4.sh: Likewise.
15465         * intl/tst-gettext6.sh: Likewise.
15466         * intl/tst-translit.sh: Likewise.
15467         * io/ftwtest-sh: Likewise.
15468         * libio/test-freopen.sh: Likewise.
15469         * malloc/tst-mtrace.sh: Likewise.
15470         * posix/globtest.sh: Likewise.
15471         * posix/tst-getconf.sh: Likewise.
15472         * posix/wordexp-tst.sh: Likewise.
15473         * stdio-common/tst-printf.sh: Likewise.
15474         * stdio-common/tst-unbputc.sh: Likewise.
15475         * stdlib/tst-fmtmsg.sh: Likewise.
15476         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15477         * catgets/Makefile: Do not specify -e option when running
15478         testsuite shell scripts.
15479         * elf/Makefile: Likewise.
15480         * grp/Makefile: Likewise.
15481         * iconvdata/Makefile: Likewise.
15482         * intl/Makefile: Likewise.
15483         * io/Makefile: Likewise.
15484         * libio/Makefile: Likewise.
15485         * malloc/Makefile: Likewise.
15486         * posix/Makefile: Likewise.
15487         * stdio-common/Makefile: Likewise.
15488         * stdlib/Makefile: Likewise.
15489         * sysdeps/x86_64/Makefile: Likewise.
15491         * io/ftwtest-sh: Add copyright header.
15492         * posix/globtest.sh: Likewise.
15493         * posix/tst-getconf.sh: Likewise.
15494         * posix/wordexp-tst.sh: Likewise.
15495         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15497 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
15499         [BZ #13679]
15500         * Makeconfig (+link): Defined as $(+link-static) if
15501         $(build-shared) isn't yes.
15502         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15503         isn't yes.
15504         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15506         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15508         [BZ #14562]
15509         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15510         new chunk size with MALLOC_ALIGN_MASK.
15512 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
15514         [BZ #5044]
15515         * stdio-common/printf_fphex.c: Include <stdbool.h> and
15516         <rounding-mode.h>.
15517         (__printf_fphex): Determine rounding using get_rounding_mode and
15518         round_away.
15519         * stdio-common/tst-printf-round.c (struct hex_test): New
15520         structure.
15521         (hex_tests): New variable.
15522         (test_hex_in_one_mode): New function.
15523         (do_test): Also run tests for hex float output.
15525 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
15527         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15528         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15529         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15530         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15531         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15532         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15533         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15534         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15536 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
15538         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15539         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15540         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15541         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15543 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
15545         [BZ #14579]
15546         * elf/rtld.c (dl_main): Limit the check for self loading to normal
15547         mode only.
15548         * elf/tst-rtld-load-self.sh: New test.
15549         * elf/Makefile: Run it.
15551 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
15553         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15554         (tst-writev-ENV): Remove.
15555         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15557 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
15559         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15561 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
15563         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15564         unconditional.
15565         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15566         Likewise.
15567         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15568         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15569         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15570         Likewise.
15572 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
15574         [BZ #14587]
15575         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15576         * config.make.in (have-cpp-asm-debuginfo): Removed.
15577         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15578         * configure: Regenerated.
15580 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
15582         [BZ #5044]
15583         * stdio-common/printf_fp.c: Include <stdbool.h> and
15584         <rounding-mode.h>.
15585         (___printf_fp): Determine rounding using get_rounding_mode and
15586         round_away.
15587         * stdio-common/tst-printf-round.c: New file.
15588         * stdio-common/Makefile (tests): Add tst-printf-round.
15589         (link-libm): New variable.
15590         ($(objpfx)tst-printf-round): Depend in $(link-libm).
15592 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
15594         [BZ #14576]
15595         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15596         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15597         Likewise.
15598         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15599         Likewise.
15601 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
15603         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15604         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15605         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15606         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15608 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
15610         [BZ #14518]
15611         * include/rounding-mode.h: New file.
15612         * sysdeps/generic/get-rounding-mode.h: Likewise.
15613         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15614         * stdlib/strtod_l.c: Include <rounding-mode.h>.
15615         (MAX_VALUE): New macro.
15616         (MIN_VALUE): Likewise.
15617         (overflow_value): New function.
15618         (underflow_value): Likewise.
15619         (round_and_return): Use overflow_value and underflow_value to
15620         determine return values in overflow and underflow cases.  Use
15621         round_away to determine rounding depending on rounding mode.
15622         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15623         determine return values in overflow and underflow cases.
15624         * stdlib/tst-strtod-round.c: Include <fenv.h>.
15625         (struct test_results): New structure.
15626         (struct test): Use struct test_results to store expected results
15627         for all rounding modes.
15628         (TEST): Include expected results for all rounding modes.
15629         (test_in_one_mode): New function.
15630         (do_test): Use test_in_one_mode to compute and check results.
15631         Check results for all rounding modes.
15632         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15633         $(link-libm).
15635 2012-12-09  Allan McRae  <allan@archlinux.org>
15637         * sysdeps/i386/fpu/libm-test-ulps: Update
15639 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
15641         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15642         (_G_int32_t): Likewise.
15643         (_G_uint16_t): Likewise.
15644         (_G_uint32_t): Likewise.
15645         (_G_HAVE_BOOL): Likewise.
15646         (_G_HAVE_ATEXIT): Likewise.
15647         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15648         (_G_HAVE_IO_FILE_OPEN): Likewise.
15649         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15650         (_G_int32_t): Likewise.
15651         (_G_uint16_t): Likewise.
15652         (_G_uint32_t): Likewise.
15653         (_G_HAVE_BOOL): Likewise.
15654         (_G_HAVE_ATEXIT): Likewise.
15655         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15656         (_G_HAVE_IO_FILE_OPEN): Likewise.
15657         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15658         (_G_int32_t): Likewise.
15659         (_G_uint16_t): Likewise.
15660         (_G_uint32_t): Likewise.
15661         (_G_HAVE_BOOL): Likewise.
15662         (_G_HAVE_ATEXIT): Likewise.
15663         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15664         (_G_HAVE_IO_FILE_OPEN): Likewise.
15666 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
15668         * csu/libc-tls.c: Update copyright years.
15670 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
15672         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15673         [!_G_USING_THUNKS]: Remove conditional code.
15674         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15675         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15677         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15678         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15679         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15680         (_G_VTABLE_LABEL_PREFIX): Likewise.
15681         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15682         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15683         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15684         (_G_VTABLE_LABEL_PREFIX): Likewise.
15685         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15686         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15687         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15688         (_G_VTABLE_LABEL_PREFIX): Likewise.
15689         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15691 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
15693         * libio/Makefile: Include ../Makeconfig before tests.
15694         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15695         only if $(build-shared) is yes.
15697         * iconv/gconv_db.c: Update copyright years.
15699 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15701         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15702         unwind info if defined PIC. Fix special cases description.
15703         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15705         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15706         DP_HI_MASK entry.
15707         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15709 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
15711         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15713         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15714         is NULL.
15716         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15717         (LDLIBS-tst-chk4): This.
15718         (LDFLAGS-tst-chk5): Renamed to ...
15719         (LDLIBS-tst-chk5): This.
15720         (LDFLAGS-tst-chk6): Renamed to ...
15721         (LDLIBS-tst-chk6): This.
15722         (LDFLAGS-tst-lfschk4): Renamed to ...
15723         (LDLIBS-tst-lfschk4): This.
15724         (LDFLAGS-tst-lfschk5): Renamed to ...
15725         (LDLIBS-tst-lfschk5): This.
15726         (LDFLAGS-tst-lfschk6): Renamed to ...
15727         (LDLIBS-tst-lfschk6): This.
15729         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15730         on $(common-objpfx)soversions.mk.
15732 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
15734         [BZ #10014]
15735         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15736         example host name.
15738 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15740         * malloc/arena.c (arena_get_retry): New function that gets
15741         another arena for the caller to try its request on.
15742         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15743         current arena cannot fulfill the request.
15744         (__libc_memalign): Likewise.
15745         (__libc_memalign): Likewise.
15746         (__libc_pvalloc): Likewise.
15747         (__libc_calloc): Likewise.
15749 2012-09-05  John Tobey  <john.tobey@gmail.com>
15751         [BZ #13542]
15752         * manual/arith.texi (Operations on Complex): Fix description
15753         of carg branch cut.
15755 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15757         [BZ #10014]
15758         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15759         host name.
15761         [BZ #10038]
15762         * manual/memory.texi (Memory): Make order of menu items match
15763         order of sections.
15765 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15767         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15768         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
15769         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15771 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15773         * csu/libc-tls.c (static_dtv): Renamed to ...
15774         (_dl_static_dtv): This.  Make it global.
15775         (_dl_initial_dtv): Removed.
15776         (__libc_setup_tls): Updated.
15777         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15778         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15779         DL_INITIAL_DTV.
15781 2012-09-06  Petr Machata  <pmachata@redhat.com>
15783         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15784         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15785         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15786         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15788 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15790         [BZ #14545]
15791         * csu/libc-tls.c (_dl_initial_dtv): New variable.
15792         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15793         freeing dtv[-1].
15795 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15797         [BZ #14544]
15798         * Makeconfig (link-static-before-libc): Replace $(+prector)
15799         with $(+prectorT).
15800         (link-static-after-libc): Replace $(+postctor) with
15801         $(+postctorT).
15802         (link-bounded): Replace $(+prector)/$(+postctor) with
15803         $(+prectorT)/$(+postctorT).
15804         (+prectorT): New macro.
15805         (+postctorT): Likewise.
15807 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15809         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15810         (round_str): Handle values above the maximum for IBM long double
15811         as inexact.
15812         * stdlib/tst-strtod-round.c (tests): Regenerated.
15814 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15816         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15817         assembler flag.
15818         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15819         zarch_nohighgprs around the zarch optimized routines.
15820         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15821         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15822         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15823         for zarch.
15825 2012-09-05  David S. Miller  <davem@davemloft.net>
15827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15829         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15830         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15831         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15832         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15833         entries.
15835 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15837         * malloc/arena.c: Fold copyright years.
15838         * malloc/mcheck.c, malloc/memusage.c: Likewise.
15840 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15842         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15844 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15846         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
15848 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15850         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15851         change internal state upon failure.
15853 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15855         * malloc/mcheck.c (mcheck_check_all): Fix typo.
15856         * malloc/memusage.c (mmap): Likewise.
15857         (mmap64, mremap): Likewise.  Adjust name in comment.
15859 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15861         * libio/fileops.c: Fix typos in comments.
15862         * libio/oldfileops.c: Likewise.
15863         * libio/wfileops.c: Likewise.
15865 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15867         [BZ #1349]
15868         * malloc/Makefile (tests): Add tst-malloc-usable test case.
15869         (tst-malloc-usable-ENV): Set environment for test case.
15870         * malloc/hooks.c (malloc_check_get_size): New function to get
15871         requested size.
15872         * malloc/malloc.c (musable): Use malloc_check_get_size.
15873         * malloc/tst-malloc-usable.c: New test case.
15875 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15877         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15879 2012-09-05  Allan McRae  <allan@archlinux.org>
15881         [BZ #13966]
15882         * configure.in (CXX_SYSINCLUDES): Use compiler output to
15883         determine header location.
15884         * configure: Regenerated.
15886 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15888         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15889         float format.
15890         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15891         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15892         format.
15893         (test): Regenerate.
15895 2012-09-04  David S. Miller  <davem@davemloft.net>
15897         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15898         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15899         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15901 2012-09-04  Florian Weimer  <fweimer@redhat.com>
15903         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15904         failures.
15906         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15908 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
15910         [BZ #9914]
15911         * libio/iogetdelim.c: Include <limits.h>.
15912         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15913         + len + 1 would overflow.
15915 2012-09-03  Andreas Jaeger  <aj@suse.de>
15917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15918         * sysdeps/i386/fpu/libm-test-ulps: Update.
15920 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15922         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15923         Add s_sinf-sse2, s_conf-sse2.
15925         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15926         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15927         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15928         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15930         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15931         for using routine as __sinf_ia32.
15932         Use macro for function declaration and weak_alias.
15933         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15934         for using routine as __cosf_ia32.
15935         Use macro for function declaration and weak_alias.
15937         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15938         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15940         * sysdeps/x86_64/fpu/s_sinf.S: New file.
15941         * sysdeps/x86_64/fpu/s_cosf.S: New file.
15942         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15944         * math/libm-test.inc (cos_test): Add more test cases.
15945         (sin_test): Likewise.
15946         (sincos_test): Likewise.
15948 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15950         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15951         (IFUNC_RESOLVE): Make pointers to the specialized implementations
15952         hidden.
15953         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15955 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
15957         [BZ #14538]
15958         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15959         first element of the GOT.
15960         (elf_machine_load_address): Return the difference between
15961         the runtime address of _DYNAMIC and elf_machine_dynamic ().
15963 2012-09-01  Allan McRae  <allan@archlinux.org>
15965         [BZ #13412]
15966         * configure.in (AWK): Require gawk version 3.0 or later.
15967         * configure: Regenerated.
15969 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
15971         * sysdeps/unix/sysv/linux/kernel-features.h
15972         (__ASSUME_POSIX_CPU_TIMERS): Remove.
15973         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15974         [__NR_clock_getres]: Make code unconditional.
15975         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15976         (clock_getcpuclockid): Remove code left unreachable by removal of
15977         conditionals.
15978         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15979         code unconditional.
15980         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15981         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15982         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15983         Make code unconditional.
15984         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15985         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15986         * sysdeps/unix/sysv/linux/clock_settime.c
15987         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15988         conditional code.
15989         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15990         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15992 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
15994         [BZ #14476]
15995         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15996         scripts/test-installation.pl.
15998         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15999         and $ld_so_version if it is set.
16001 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16003         [BZ #14516]
16004         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16005         failure if reading from procfs failed.
16006         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16008 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16010         * sysdeps/unix/sysv/linux/kernel-features.h
16011         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16012         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16013         Remove conditional code.
16014         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16015         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16016         Remove conditional code.
16017         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16018         * sysdeps/unix/sysv/linux/i386/fxstat.c
16019         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16020         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16021         * sysdeps/unix/sysv/linux/i386/fxstatat.c
16022         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16023         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16024         * sysdeps/unix/sysv/linux/i386/lxstat.c
16025         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16026         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16027         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16028         Remove conditional code.
16029         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16030         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16031         Remove conditional code.
16032         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16033         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16034         <kernel-features.h>.
16035         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16036         Remove.
16037         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16038         Remove conditional code.
16039         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16040         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16041         Remove conditional.
16043 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
16045         [BZ #5400]
16046         * NEWS: Add fixed bug number.
16048 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16050         [BZ #14519]
16051         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16052         underflowing exponent in case of negative sign.
16053         * stdlib/tst-strtod-round-data: Add more tests.
16054         * stdlib/tst-strtod-round.c (tests): Regenerated.
16056         [BZ #3479]
16057         * stdlib/strtod_l.c (NDIG): Remove.
16058         (HEXNDIG): Likewise.
16059         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16060         smallest representable value.
16061         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16062         lie within an exact representation of 1/2 ulp of the result.
16063         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16064         unconditionally.
16065         (TENS_P9_IDX): Define unconditionally.
16066         (TENS_P9_SIZE): Likewise.
16067         (TENS_P10_IDX): Likewise.
16068         (TENS_P10_SIZE): Likewise.
16069         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16070         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16071         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16072         entries for 10^2^13 and 10^2^14.
16073         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16074         (TENS_P13_IDX): Define.
16075         (TENS_P13_SIZE): Likewise.
16076         (TENS_P14_IDX): Likewise.
16077         (TENS_P14_SIZE): Likewise.
16078         (_fpioconst_pow10): Change array size to
16079         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
16080         unconditional.
16081         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16082         1024]: Add entries for 10^2^13 and 10^2^14.
16083         [LAST_POW10 > _LAST_POW10]: Remove #error.
16084         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16085         (_fpioconst_pow10): Change array size to
16086         FPIOCONST_POW10_ARRAY_SIZE.
16087         * stdlib/gen-fpioconst.c: New file.
16088         * stdlib/gen-tst-strtod-round.c: Likewise.
16089         * stdlib/tst-strtod-round-data: Likewise.
16090         * stdlib/tst-strtod-round.c: Likewise.
16091         * stdlib/Makefile (tests): Add tst-strtod-round.
16093         [BZ #14459]
16094         * stdlib/strtod_l.c: Include <stdint.h>.
16095         (NDEBUG): Do not define.
16096         (round_and_return): Change EXPONENT parameter to type intmax_t.
16097         Rearrange calculations to avoid internal overflow possibilities.
16098         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16099         Rearrange calculations to avoid internal overflow possibilities.
16100         Assert that number fits inside MPNSIZE limbs.
16101         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16102         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
16103         calculations and add assertions to avoid internal overflow
16104         possibilities.  Add casts to avoid signed/unsigned operations.
16105         * stdlib/tst-strtod-overflow.c: New file.
16106         * stdlib/Makefile (tests): Add tst-strtod-overflow.
16108 2012-08-25  Marek Polacek  <polacek@redhat.com>
16110         * time/time.h: Fix some typos in comments.
16112 2012-08-23  Roland McGrath  <roland@hack.frob.com>
16114         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16115         * posix/tst-rfc3484-2.c: Likewise.
16116         * posix/tst-rfc3484-3.c: Likewise.
16118 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
16120         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16121         (EF_ARM_ABI_FLOAT_HARD): Likewise.
16123 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
16125         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16126         #include of fxstatat64.c.
16128 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16130         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16131         * shadow/getspent_r.c: Likewise.
16132         * shadow/getspnam.c: Likewise.
16133         * shadow/getspnam_r.c: Likewise.
16134         * gshadow/getsgent.c: Likewise.
16135         * gshadow/getsgent_r.c: Likewise.
16136         * gshadow/getsgnam.c: Likewise.
16137         * gshadow/getsgnam_r.c: Likewise.
16138         * inet/getnetbyad.c: Likewise.
16139         * inet/getnetbyad_r.c: Likewise.
16140         * inet/getnetbynm.c: Likewise.
16141         * inet/getnetbynm_r.c: Likewise.
16142         * inet/getnetent.c: Likewise.
16143         * inet/getnetent_r.c: Likewise.
16144         * inet/getproto.c: Likewise.
16145         * inet/getproto_r.c: Likewise.
16146         * inet/getprtent.c: Likewise.
16147         * inet/getprtent_r.c: Likewise.
16148         * inet/getprtname.c: Likewise.
16149         * inet/getprtname_r.c: Likewise.
16150         * inet/getrpcbyname.c: Likewise.
16151         * inet/getrpcbyname_r.c: Likewise.
16152         * inet/getrpcbynumber.c: Likewise.
16153         * inet/getrpcbynumber_r.c: Likewise.
16154         * inet/getrpcent.c: Likewise.
16155         * inet/getrpcent_r.c: Likewise.
16156         * inet/getaliasent.c: Likewise.
16157         * inet/getaliasent_r.c: Likewise.
16158         * inet/getaliasname.c: Likewise.
16159         * inet/getaliasname_r.c: Likewise.
16160         * nscd/getgrgid_r.c: Likewise.
16161         * nscd/getgrnam_r.c: Likewise.
16162         * nscd/gethstbyad_r.c: Likewise.
16163         * nscd/gethstbynm3_r.c: Likewise.
16164         * nscd/getpwnam_r.c: Likewise.
16165         * nscd/getpwuid_r.c: Likewise.
16166         * nscd/getsrvbynm_r.c: Likewise.
16167         * nscd/getsrvbypt_r.c: Likewise.
16168         * nscd/gai.c: Likewise.
16170         * configure.in (build_nscd): New substituted variable, set
16171         by --disable-build-nscd and defaults to $use_nscd.
16172         * configure: Regenerated.
16173         * config.make.in (build-nscd): New substituted variable.
16174         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16175         Change conditional to require [$(build-nscd) = yes] as well.
16176         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16178         [BZ# 13696]
16179         * configure.in (use_nscd): New substituted variable, set by
16180         --disable-nscd.  If enabled, define USE_NSCD.
16181         * configure: Regenerated.
16182         * config.h.in: Add USE_NSCD.
16183         * config.make.in (use-nscd): New substituted variable.
16184         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16185         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16186         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16187         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16188         (CFLAGS-getgrnam_r.c): Likewise.
16189         (CFLAGS-initgroups.c): Likewise.
16190         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16191         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16192         Variables removed.
16193         * inet/getnetgrent_r.c
16194         (nscd_setnetgrent): New function, broken out of ...
16195         (setnetgrent): ... here.  Call it.
16196         (innetgr): Conditionalize nscd bits on [USE_NSCD].
16197         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16198         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16199         * nscd/Makefile (routines, aux): Move definitions after include of
16200         Makeconfig.  Conditionalize on [$(use-nscd) != no].
16201         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16202         Conditionalize on [USE_NSCD].
16203         (is_nscd, nscd_init_cb): Likewise.
16204         (nss_load_library): Conditionalize init callback on [USE_NSCD].
16205         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16206         * nss/nss_db/db-init.c: Likewise.
16207         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16208         [USE_NSCD].
16209         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16210         (make_request): Use it.
16211         (cache_valid_p): New function.
16212         (__check_pf): Use it.
16213         * NEWS: Add item for --disable-nscd.
16215 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
16217         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16218         to support sed >= 4.2.1-20-ga9bf076.
16219         * configure: Regenerated.
16221 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16223         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16224         Conditionalize whole body on [IREL].
16226 2012-08-22  Jeff Law <law@redhat.com>
16228         [BZ #14505]
16229         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16230         if the family is PF_UNSPEC.
16232 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
16234         * Makerules (lib-version): Rename from V.
16235         (install-lib-nosubdir): Change V to lib-version.
16237 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
16239         [BZ #14252]
16240         * powerpc32/power6/wcschr.c: New file.
16241         * powerpc32/power6/wcscpy.c: New file.
16242         * powerpc32/power6/wcsrchr.c: New file.
16243         * powerpc64/power6/wcschr.c: New file.
16244         * powerpc64/power6/wcscpy.c: New file.
16245         * powerpc64/power6/wcsrchr.c: New file.
16247 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16249         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16250         (two_way_short_needle): Use it.
16251         * string/strstr.c (AVAILABLE1_USES_J): Define.
16252         * string/strcasestr.c: Likewise.
16254         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16255         array references.
16256         * string/strcasestr.c (TOLOWER): Make side-effect safe.
16258         [BZ #11607]
16259         * NEWS: Add an entry.
16260         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16261         define their defaults.
16262         (two_way_short_needle): Detect end-of-string on-the-fly.
16263         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16264         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16265         * string/bug-strcasestr1.c: New test.
16266         * string/Makefile: Run it.
16268 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16270         [BZ #11607]
16271         * string/str-two-way.h (two_way_short_needle): Optimize matching of
16272         the first character.
16274 2012-08-21  Roland McGrath  <roland@hack.frob.com>
16276         * csu/elf-init.c (__libc_csu_irel): Function removed.
16277         * csu/libc-start.c (apply_irel): New function.
16278         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16280 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
16282         * sysdeps/unix/sysv/linux/kernel-features.h
16283         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16284         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16285         <kernel-features.h>.
16286         [__NR_fadvise64_64]: Make code unconditional.
16287         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16288         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16289         !__NR_fadvise64_64)]: Likewise.
16290         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16291         !__NR_fadvise64_64))]: Likewise.
16292         [__NR_fadvise64]: Make code unconditional.
16293         [!__NR_fadvise64]: Remove conditional code.
16294         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16295         <kernel-features.h>.
16296         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16297         unconditional.
16298         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16299         conditional code.
16300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16301         not include <kernel-features.h>.
16302         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16303         unconditional.
16304         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16305         conditional code.
16306         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16307         include <kernel-features.h>.
16308         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16309         unconditional.
16310         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16311         conditional code.
16313 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16315         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16316         slight instruction rearrangements per scrollpipe analysis.
16317         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16319 2012-08-20  Roland McGrath  <roland@hack.frob.com>
16321         * manual/syslog.texi (syslog; vsyslog, closelog):
16322         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16323         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16325         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16326         DSOCAPS to match condition on defining it.
16328 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
16330         * sysdeps/unix/sysv/linux/kernel-features.h
16331         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16333         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16334         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16336         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16337         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16339         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16340         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16342         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16343         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16345         * sysdeps/unix/sysv/linux/kernel-features.h
16346         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16347         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16348         unconditional.
16349         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16350         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16351         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16352         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16353         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16354         Make code unconditional.
16355         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16356         (__mmap64) [!__NR_mmap2]: Likewise.
16357         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16358         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16359         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16360         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16361         [__NR_mmap2]: Make code unconditional.
16362         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16363         (__mmap64) [!__NR_mmap2]: Likewise.
16365 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16367         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16369 2012-08-18  Andreas Jaeger  <aj@suse.de>
16371         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16373 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16375         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16376         * include/unistd.h (__have_sock_cloexec): Likewise.
16377         (__have_pipe2): Likewise.
16378         (__have_dup3): Likewise.
16380 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16382         [BZ #9685]
16383         * include/unistd.h (__have_pipe2): Change define into an extern int.
16384         (__have_dup3): Likewise.
16385         * socket/have_sock_cloexec.c: Include fcntl.h.
16386         (__have_pipe2): New variable.
16387         (__have_dup3): Likewise.
16389 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
16391         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16393 2012-08-17  Marek Polacek  <polacek@redhat.com>
16395         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16396         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16398 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16400         * configure.in: Add AC_SUBST for sysheaders.
16401         * configure: Regenerated.
16402         * config.make.in (sysheaders): New substituted variable.
16404         * sysdeps/unix/mkfifo.c: Moved ...
16405         * sysdeps/posix/mkfifo.c: ... here.
16406         * sysdeps/unix/mkfifoat.c: Moved ...
16407         * sysdeps/posix/mkfifoat.c: ... here.
16409         * sysdeps/unix/utime.c: Moved ...
16410         * sysdeps/posix/utime.c: ... here.
16412         * sysdeps/unix/time.c: Moved ...
16413         * sysdeps/posix/time.c: ... here.
16414         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16415         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16417         * sysdeps/unix/nice.c: Moved ...
16418         * sysdeps/posix/nice.c: ... here.
16420         * sysdeps/unix/alarm.c: Moved ...
16421         * sysdeps/posix/alarm.c: ... here.
16423         * intl/Makefile ($(codeset_mo)): Depend on the input file.
16425 2012-08-17  Jeff Law <law@redhat.com>
16427         * intl/Makefile (codeset_mo): New variable.
16428         ($(codeset_mo)): New target.
16429         (tst-codeset.out): Depend on that.  Remove explicit rule.
16430         (tst-gettext3.out, tst-gettext5.out): Likewise.
16431         (LOCPATH-ENV, tst-codeset-ENV): New variables.
16432         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16433         * intl/tst-codeset.sh: Remove.
16434         * intl/tst-gettext3.sh: Likewise.
16435         * intl/tst-gettext5.sh: Likewise.
16437 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16439         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
16440         * sysdeps/unix/syscalls.list: ... here.
16442         * sysdeps/posix/getaddrinfo.c
16443         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16444         (gaiconf_init, gaiconf_reload): Use them.
16445         [!_STATBUF_ST_NSEC]
16446         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16447         Define using time_t rather than struct timespec.
16449         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16450         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16451         Macros removed.
16452         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16453         [!NO_THREADS].
16454         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16455         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16456         Likewise.
16458         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16459         __libc_cleanup_push argument.
16461         * bits/param.h: New file.
16462         * misc/sys/param.h: New file.
16463         * include/sys/param.h: New file.
16464         * misc/Makefile (headers): Add bits/param.h.
16465         * sysdeps/generic/sys/param.h: File removed.
16466         * sysdeps/unix/sysv/linux/bits/param.h: New file.
16467         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16468         * sysdeps/mach/hurd/bits/param.h: New file.
16469         * sysdeps/mach/hurd/sys/param.h: File removed.
16471         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16472         last change.
16474         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16475         [_IO_MTSAFE_IO].
16476         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16477         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16478         New macros.
16480         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16481         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16482         rather than -D_IO_MTSAFE_IO conditionally.
16483         * stdio-common/Makefile (CPPFLAGS): Likewise.
16484         * wcsmbs/Makefile (CPPFLAGS): Likewise.
16485         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16486         Use $(libio-mtsafe).
16487         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16488         of -D_IO_MTSAFE_IO.
16489         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16490         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16491         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16492         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16493         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16494         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16495         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16496         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16497         (CFLAGS-fread_u_chk.c): Likewise.
16498         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16499         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16500         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16501         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16502         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16503         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16504         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16505         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16506         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16508         * libio/Makefile: Test [$(libc-reentrant) = yes]
16509         instead of [$(filter %REENTRANT, $(defines)) nonempty].
16511         * Makeconfig
16512         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16513         * sysdeps/pthread/configure: File removed.
16514         * sysdeps/pthread/Makeconfig: New file.
16515         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16516         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16518 2012-08-16  Gary Benson  <gbenson@redhat.com>
16520         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16521         unmapping the first object in a namespace.
16523 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16525         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16526         (__internal_setnetgrent): ... this.  Add internal_function to
16527         definition.  Add libc_hidden_def.
16528         (setnetgrent): Update caller.
16529         (internal_endnetgrent): Renamed to ...
16530         (__internal_endnetgrent): ... this.  Add internal_function to
16531         definition.  Add libc_hidden_def.
16532         (endnetgrent): Update caller.
16533         (internal_getnetgrent_r): Renamed to ...
16534         (__internal_getnetgrent_r): ... this.  Add internal_function to
16535         definition.  Add libc_hidden_def.
16536         (__getnetgrent_r): Update caller.
16537         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
16539 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16541         * stdlib/longlong.h: Update from GCC.
16543 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16545         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16546         on _QL, which is set by umul_ppmm but never used.
16547         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16548         variables, which are set by GMP macros but never used.
16549         * stdio-common/_itowa.c (_itowa): Likewise.
16550         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16551         * stdlib/mod_1.c (mpn_mod_1): Likewise.
16553 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
16555         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16556         struct La_sh_regs is not constant.
16557         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16558         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16559         and struct La_sparc64_regs are not constant.
16561 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16563         * sysdeps/unix/sysv/linux/kernel-features.h
16564         (__ASSUME_POSIX_TIMERS): Remove.
16565         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16566         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16567         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16568         Make code unconditional.
16569         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16570         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16571         Make code unconditional.
16572         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16573         * sysdeps/unix/sysv/linux/clock_nanosleep.c
16574         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16575         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16576         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16577         Make code unconditional.
16578         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16579         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16580         (__libc_missing_posix_timers): Remove.
16582 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16584         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16585         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16587         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16589         * elf/dl-sym.c: Include <stdlib.h>.
16591         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16592         constants, which avoids warnings in 32-bit builds.
16594         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16595         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16597         * misc/lseek.c: File moved to ...
16598         * io/lseek.c: ... here.
16600         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16602         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16603         shifting LEN more than 31 bits at once.
16605 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16607         [BZ #14195]
16608         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16609         segmentation fault for a case of two empty input strings.
16610         * string/test-strncasecmp.c (check1): Renamed to...
16611         (bz12205): ...this.
16612         (bz14195): Add new testcase for two empty input strings and N > 0.
16613         (test_main): Call new testcase, adapt for renamed function.
16615 2012-08-15  Andreas Jaeger  <aj@suse.de>
16617         [BZ #14090]
16618         * crypt/md5test2.c: New test, based on test supplied by Serge
16619         Belyshev <belyshev@depni.sinp.msu.ru>.
16620         * crypt/Makefile (xtests): Add md5test-giant..
16621         * crypt/Makefile ($(objpfx)md5test-giant): Add.
16623 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
16625         [BZ #14090]
16626         * crypt/md5.c (md5_process_block): Don't assume the buffer
16627         length is less than 2**32.
16628         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16629         length is less than 2**64.
16631 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16633         * string/str-two-way.h: Include <sys/param.h>.
16634         (MAX): Macro removed.
16636         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16637         Move #define and #undef of memmove to just before and after
16638         including <string.h>.
16640         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16641         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16642         and after including <string.h>.  Move declarations of
16643         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16644         to before #include "string/memmove.c".
16646         * include/dirent.h: Declare __getdirentries.
16648         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16649         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16651 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
16653         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16654         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16655         * sysdeps/i386/configure: Regenerated.
16656         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16657         STABS_CURRENT_FILE, and STABS_FUN.
16658         (END): Remove call to STABS_FUN_END.
16659         (STABS_CURRENT_FILE1): Delete.
16660         (STABS_CURRENT_FILE): Likewise.
16661         (STABS_FUN): Likewise.
16662         (STABS_FUN_END): Likewise.
16663         (STABS_FUN2): Likewise.
16664         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16665         * sysdeps/x86_64/configure: Regenerated.
16667 2012-08-14  Roland McGrath  <roland@hack.frob.com>
16669         * elf/dl-open.c: Include <atomic.h>.
16670         * elf/dl-lookup.c: Likewise.
16672 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
16674         * sysdeps/unix/sysv/linux/kernel-features.h
16675         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16676         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16677         unconditionally.
16678         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16679         unconditionally.
16680         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16681         condition on __ASSUME_CLONE_THREAD_FLAGS.
16683 2012-08-14  Andreas Jaeger  <aj@suse.de>
16685         * sysdeps/i386/fpu/libm-test-ulps: Update.
16687 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
16689         * include/atomic.h (atomic_exchange_and_add): Split into ...
16690         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16691         New atomic macros.
16693 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
16695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16697 2012-08-13  Jeff Law <law@redhat.com>
16699         * manual/stdio.texi (snprintf): Clarify handling of the trailing
16700         null byte in the output string.
16702 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
16704         * sysdeps/unix/sysv/linux/kernel-features.h
16705         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16706         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16707         (__ASSUME_ARG_MAX_STACK_BASED): Define.
16708         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16709         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16710         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
16711         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16713 2012-08-09  Jeff Law <law@redhat.com>
16715         [BZ #13939]
16716         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16717         When avoid_arena is set, don't retry in the that arena.  Pick the
16718         next one, whatever it might be.
16719         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16720         (arena_lock): Pass in new parameter to arena_get2.
16721         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16722         arena_get2.
16723         (__libc_malloc): Unify retrying after main arena failure with
16724         __libc_memalign version.
16725         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16727 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16729         [BZ #14166]
16730         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16731         to __redirect_strstr.
16732         (__strstr_sse42): Use typeof __redirect_strstr.
16733         (__strstr_ia32): Likewise.
16734         (__libc_strstr): New prototype.
16735         (strstr): Renamed to ...
16736         (__libc_strstr): This.
16737         (strstr): New strong alias of __libc_strstr.
16738         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16739         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16740         __redirect_time.
16741         Include <time.h>.
16742         (__libc_time): New prototype.
16743         (time_ifunc): Replace time with __libc_time.
16744         (time): New strong alias and hidden definition of __libc_time.
16745         (__GI_time): Remove strong alias.
16746         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16747         Include <stddef.h>.
16748         (memmove): Redefined to __redirect_memmove.
16749         (__memmove_sse2): Use typeof __redirect_memmove.
16750         (__memmove_ssse3): Likewise.
16751         (__memmove_ssse3_back): Likewise.
16752         (__libc_memmove): New prototype.
16753         (memmove): Renamed to ...
16754         (__libc_memmove): This.
16755         (memmove): New strong alias of __libc_memmove.
16757 2012-08-08  Mark Salter  <msalter@redhat.com>
16759         * elf/elf.h
16760         (R_MN10300_TLS_GD): Define.
16761         (R_MN10300_TLS_LD): Likewise.
16762         (R_MN10300_TLS_LDO): Likewise.
16763         (R_MN10300_TLS_GOTIE): Likewise.
16764         (R_MN10300_TLS_IE): Likewise.
16765         (R_MN10300_TLS_LE): Likewise.
16766         (R_MN10300_TLS_DTPMOD): Likewise.
16767         (R_MN10300_TLS_DTPOFF): Likewise.
16768         (R_MN10300_TLS_TPOFF): Likewise.
16769         (R_MN10300_SYM_DIFF): Likewise.
16770         (R_MN10300_ALIGN): Likewise.
16771         (R_MN10300_NUM): Update.
16773 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
16775         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16776         Remove.
16778 2012-08-08  Roland McGrath  <roland@hack.frob.com>
16780         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16782         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16783         sysdeps/unix -> sysdeps/posix move.
16784         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16786 2012-08-07      Allan McRae     <allan@archlinux.org>
16788         [BZ #14303]
16789         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16790         (SUNOS_CPP): Likewise.
16791         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16792         not found.
16793         (open_input): Call CPP using execvp.
16795 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16797         * sysdeps/unix/sysv/linux/kernel-features.h
16798         (__ASSUME_PROT_GROWSUPDOWN): Remove.
16799         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16800         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16801         (__ASSUME_WAITID_SYSCALL): Likewise.
16802         * sysdeps/unix/sysv/linux/dl-execstack.c
16803         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16804         code unconditional.
16805         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16806         conditional code.
16807         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16808         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16809         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16810         code.
16811         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16812         unconditional.
16813         [__ASSUME_WAITID_SYSCALL]: Likewise.
16814         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16816 2012-08-07  Roland McGrath  <roland@hack.frob.com>
16818         * sysdeps/unix/closedir.c: Renamed to ...
16819         * sysdeps/posix/closedir.c: ... here.
16820         * sysdeps/unix/dirfd.c: Renamed to ...
16821         * sysdeps/posix/dirfd.c: ... here.
16822         * sysdeps/unix/dirstream.h: Renamed to ...
16823         * sysdeps/posix/dirstream.h: ... here.
16824         * sysdeps/unix/fdopendir.c: Renamed to ...
16825         * sysdeps/posix/fdopendir.c: ... here.
16826         * sysdeps/unix/opendir.c: Renamed to ...
16827         * sysdeps/posix/opendir.c: ... here.
16828         * sysdeps/unix/readdir.c: Renamed to ...
16829         * sysdeps/posix/readdir.c: ... here.
16830         * sysdeps/unix/readdir_r.c: Renamed to ...
16831         * sysdeps/posix/readdir_r.c: ... here.
16832         * sysdeps/unix/rewinddir.c: Renamed to ...
16833         * sysdeps/posix/rewinddir.c: ... here.
16834         * sysdeps/unix/seekdir.c: Renamed to ...
16835         * sysdeps/posix/seekdir.c: ... here.
16836         * sysdeps/unix/telldir.c: Renamed to ...
16837         * sysdeps/posix/telldir.c: ... here.
16838         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16839         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16840         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16841         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16843         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16844         * bits/fcntl.h: ... here.
16846         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16847         not 0.
16848         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16849         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16850         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16851         (struct flock): Move l_start, l_len to the beginning.
16852         Use __pid_t for l_pid.
16853         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16854         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16855         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16856         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16857         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16858         [__USE_LARGEFILE64] (struct flock64): New type.
16859         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16861         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16862         * bits/dirent.h: ... here.
16864         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16865         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16867 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16869         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16870         Change from 2.6.0 to 2.6.16.
16871         * sysdeps/unix/sysv/linux/configure: Regenerated.
16872         * sysdeps/unix/sysv/linux/kernel-features.h
16873         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16874         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16875         version.
16876         (__ASSUME_UTIMES): Likewise.
16877         (__ASSUME_CLONE_STOPPED): Remove.
16878         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16879         architectures, not kernel version.
16880         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16881         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16882         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16883         (__ASSUME_WAITID_SYSCALL): Likewise.
16884         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16885         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16886         * README: State 2.6.16 as minimum Linux kernel version.  Do not
16887         refer to older versions.
16889 2012-08-06  Roland McGrath  <roland@hack.frob.com>
16891         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16892         Define alphasort64 as an alias.
16893         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16894         Define versionsort64 as an alias.
16895         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16896         Define scandir64 as an alias.
16897         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16898         Define scandirat64 as an alias.
16899         * dirent/alphasort64.c (alphasort64):
16900         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16901         * dirent/versionsort64.c: Likewise.
16902         * dirent/scandir64.c: Likewise.
16903         * dirent/scandirat64.c: Likewise.
16904         * sysdeps/wordsize-64/alphasort.c: File removed.
16905         * sysdeps/wordsize-64/alphasort64.c: File removed.
16906         * sysdeps/wordsize-64/scandir.c: File removed.
16907         * sysdeps/wordsize-64/scandir64.c: File removed.
16908         * sysdeps/wordsize-64/scandirat.c: File removed.
16909         * sysdeps/wordsize-64/scandirat64.c: File removed.
16910         * sysdeps/wordsize-64/versionsort.c: File removed.
16911         * sysdeps/wordsize-64/versionsort64.c: File removed.
16912         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16913         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16914         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16915         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16916         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16917         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16918         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16919         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16921         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16922         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16923         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16924         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16925         [defined __arch64__ || defined __sparcv9]
16926         (__INO_T_MATCHES_INO64_T): New macro.
16927         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16928         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16929         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16930         * sysdeps/unix/sysv/linux/bits/dirent.h
16931         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16932         (_DIRENT_MATCHES_DIRENT64): New macro.
16934         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16935         Define lockf64 as an alias.
16936         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16937         Define fseeko64 as an alias.
16938         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16939         Define ftello64 as an alias.
16940         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16941         Define _IO_fgetpos64 and fgetpos64 as aliases.
16942         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16943         Define _IO_fsetpos64 and fsetpos64 as aliases.
16944         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16945         Conditionalize body on this.
16946         * libio/fseeko64.c: Likewise.
16947         * libio/ftello64.c: Likewise.
16948         * libio/iofgetpos64.c: Likewise.
16949         * libio/iofsetpos64.c: Likewise.
16950         * sysdeps/wordsize-64/lockf.c: File removed.
16951         * sysdeps/wordsize-64/lockf64.c: File removed.
16952         * sysdeps/wordsize-64/fseeko.c: File removed.
16953         * sysdeps/wordsize-64/fseeko64.c: File removed.
16954         * sysdeps/wordsize-64/ftello.c: File removed.
16955         * sysdeps/wordsize-64/ftello64.c: File removed.
16956         * sysdeps/wordsize-64/iofgetpos.c: File removed.
16957         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16958         * sysdeps/wordsize-64/iofsetpos.c: File removed.
16959         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16960         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16961         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16962         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16963         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16964         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16965         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16966         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16967         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16968         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16969         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16971         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16972         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16973         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16974         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16975         [defined __arch64__ || defined __sparcv9]
16976         (__OFF_T_MATCHES_OFF64_T): New macro.
16977         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16978         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16979         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16980         (__OFF_T_MATCHES_OFF64_T): New macro.
16982 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16984         * stdlib/secure-getenv.c (__secure_getenv): Replace
16985         GLIBC_2_16 with GLIBC_2_17.
16987 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16989         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16990         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16992 2012-08-03  David S. Miller  <davem@davemloft.net>
16994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16996 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16998         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16999         Remove.
17000         (__ASSUME_CORRECT_SI_PID): Likewise.
17001         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17002         (__ASSUME_TMPFS_NAME): Likewise.
17003         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17004         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17005         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17006         (HAVE_AUX_SECURE): Make definition unconditional.
17007         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17008         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17010 2012-08-03  Roland McGrath  <roland@hack.frob.com>
17012         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17013         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17014         * sysdeps/mach/hurd/eloop-threshold.h: New file.
17015         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17016         __eloop_threshold instead of SYMLOOP_MAX.
17018         * sysdeps/generic/eloop-threshold.h: New file.
17019         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17020         of MAXSYMLINKS.
17021         * elf/chroot_canon.c (chroot_canon): Likewise.
17023 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17025         [BZ #13717]
17026         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17027         Change to 2.6.0 everywhere.
17028         * sysdeps/unix/sysv/linux/configure: Regenerated.
17029         * sysdeps/unix/sysv/linux/kernel-features.h
17030         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17031         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17032         kernel versions.
17033         (__ASSUME_POSIX_TIMERS): Define unconditionally.
17034         (__ASSUME_FUTEX_REQUEUE): Remove.
17035         (__ASSUME_STATFS64): Define unconditionally.
17036         (__ASSUME_AT_SECURE): Likewise.
17037         (__ASSUME_CORRECT_SI_PID): Likewise.
17038         (__ASSUME_TGKILL): Define without depending on kernel version for
17039         i386.
17040         (__ASSUME_UTIMES): Likewise.
17041         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17042         kernel version.
17043         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17044         (__ASSUME_TMPFS_NAME): Likewise.
17045         * README: Update reference to Linux kernel versions.
17047 2012-08-02  Marek Polacek  <polacek@redhat.com>
17049         [BZ# 14150]
17050         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
17051         libc_cv_asm_type_prefix with %.
17052         * configure: Regenerated.
17053         * include/libc-symbols.h: Remove comment about
17054         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17055         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17056         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17057         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17058         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17059         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17060         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17061         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17062         * elf/tst-unique2mod1.c: Likewise.
17063         * elf/tst-unique1mod2.c: Likewise.
17064         * elf/tst-unique1mod1.c: Likewise.
17065         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17066         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17067         Replace ASM_TYPE_DIRECTIVE with .type.
17068         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17069         * sysdeps/i386/sysdep.h: Likewise.
17070         * sysdeps/x86_64/sysdep.h: Likewise.
17071         * sysdeps/sh/sysdep.h: Likewise.
17072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17073         Do not define ASM_TYPE_DIRECTIVE.
17074         * sysdeps/powerpc/sysdep.h: Likewise.
17075         * sysdeps/powerpc/powerpc32/sysdep.h:
17076         Replace ASM_TYPE_DIRECTIVE with .type.
17077         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17078         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17079         * sysdeps/i386/fpu/e_powf.S: Likewise.
17080         * sysdeps/i386/fpu/e_expl.S: Likewise.
17081         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17082         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17083         * sysdeps/i386/fpu/e_pow.S: Likewise.
17084         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17085         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17086         * sysdeps/i386/fpu/s_expm1.S: Likewise.
17087         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17088         * sysdeps/i386/fpu/e_log2.S: Likewise.
17089         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17090         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17091         * sysdeps/i386/fpu/e_powl.S: Likewise.
17092         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17093         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17094         * sysdeps/i386/fpu/e_logl.S: Likewise.
17095         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17096         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17097         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17098         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17099         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17100         * sysdeps/i386/fpu/e_log.S: Likewise.
17101         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17102         * sysdeps/i386/fpu/e_logf.S: Likewise.
17103         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17104         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17105         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17106         * sysdeps/i386/fpu/e_log10.S: Likewise.
17107         * sysdeps/i386/fpu/s_frexp.S: Likewise.
17108         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17109         * sysdeps/i386/fpu/s_asinh.S: Likewise.
17110         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17111         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17112         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17113         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17114         * sysdeps/i386/i686/strtok.S: Likewise.
17115         * sysdeps/i386/i386-mcount.S: Likewise.
17116         * sysdeps/i386/strtok.S: Likewise.
17117         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17118         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17119         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17120         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17121         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17122         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17123         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17124         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17125         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17126         * sysdeps/x86_64/_mcount.S: Likewise.
17127         * sysdeps/x86_64/strtok.S: Likewise.
17128         * sysdeps/sh/_mcount.S: Likewise.
17130 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17132         * libio/iofopen.c: Include <fcntl.h>.
17133         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17134         (_IO_fopen64, fopen64): Define as aliases.
17135         * libio/iofopen64.c: Include <fcntl.h>.
17136         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17137         Conditionalize body on this.
17138         * sysdeps/wordsize-64/iofopen.c: File removed.
17139         * sysdeps/wordsize-64/iofopen64.c: File removed.
17141 2012-08-01  Marek Polacek  <polacek@redhat.com>
17143         * libc/Makeconfig: Use elf in place of binfmt-subdir.
17144         Use dlfcn directly instead of a variable.
17145         (binfmt-subdir): Do not define.
17146         (dlfcn): Likewise.
17148 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
17150         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17151         Remove all definitions.
17152         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17153         <kernel-features.h>.
17154         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17155         (miss_F_GETOWN_EX): Remove all definitions.
17156         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17157         macro definition.
17158         [!__ASSUME_FCNTL64]: Remove conditional code.
17159         [__ASSUME_FCNTL64]: Make code unconditional.
17160         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17161         <kernel-features.h>.
17162         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17163         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17164         (lockf64) [__NR_fcntl64]: Make code unconditional.
17165         (lockf64) [__ASSUME_FCNTL64]: Likewise.
17167         * sysdeps/unix/sysv/linux/kernel-features.h
17168         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17169         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17170         Make code unconditional.
17171         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17172         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17174         [__NR_vfork]: Make code unconditional.
17175         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17176         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17178         [__NR_vfork]: Make code unconditional.
17179         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17180         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17182 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17184         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17185         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17187         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17188         Define mkstemp64 as an alias.
17189         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17190         Define mkstemps64 as an alias.
17191         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17192         Define mkostemp64 as an alias.
17193         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17194         Define mkostemps64 as an alias.
17195         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17196         Conditionalize body on this.
17197         * misc/mkostemp64.c: Likewise.
17198         * misc/mkostemps64.c: Likewise.
17199         * misc/mkstemps64.c: Likewise.
17200         * sysdeps/wordsize-64/mkstemp64.c: File removed.
17201         * sysdeps/wordsize-64/mkostemp64.c: File removed.
17202         * sysdeps/wordsize-64/mkostemp.c: File removed.
17203         * sysdeps/wordsize-64/mkstemp.c: File removed.
17204         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17205         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17206         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17207         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17209         [BZ #14138]
17210         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17211         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17212         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17213         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17215         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17216         compat_symbol macros from <shlib-compat.h> rather than the underlying
17217         default_symbol_version and symbol_version macros, so that DEFAULT
17218         lines in shlib-versions are respected.
17219         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17221 2012-08-01  Florian Weimer  <fweimer@redhat.com>
17223         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17224         Declare with warn_unused_result.
17225         (setgid, setregid, setegid, setresgid): Likewise.
17226         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17227         Likewise.
17228         * WUR-REPORT: Remove set*id functions.
17230 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
17232         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17234 2012-07-31  Roland McGrath  <roland@hack.frob.com>
17236         [BZ #10191]
17237         * include/sys/socket.h (__libc_accept, __libc_accept4):
17238         Add attribute_hidden.
17239         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17241         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17242         use of PTR_MANGLE.
17243         * inet/getnetgrent_r.c (setup): Likewise.
17245         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17247 2012-07-31  David S. Miller  <davem@davemloft.net>
17249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17251 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
17253         [BZ #13629]
17254         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17255         value between 1.0 and 2.0 and smaller part has absolute value less
17256         than 1.0.
17257         * math/s_clog10.c (__clog10): Likewise.
17258         * math/s_clog10f.c (__clog10f): Likewise.
17259         * math/s_clog10l.c (__clog10l): Likewise.
17260         * math/s_clogf.c (__clogf): Likewise.
17261         * math/s_clogl.c (__clogl): Likewise.
17262         * math/libm-test.inc (clog_test): Add more tests.
17263         (clog10_test): Likewise.
17264         * sysdeps/i386/fpu/libm-test-ulps: Update.
17265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17267 2012-07-31  Florian Weimer  <fweimer@redhat.com>
17269         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17270         Exit with zero in case no suitable GID is found, and write a
17271         message to standard error.
17273 2012-07-30  Roland McGrath  <roland@hack.frob.com>
17275         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17276         rather than to 1.
17277         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17278         (MAXPATHLEN): Removed.
17279         (NOGROUP, NODEV): New macros.
17280         (setbit, clrbit, isset, isclr): New macros.
17281         (howmany, roundup, powerof2): New macros.
17282         (DEV_BSIZE): New macro.
17284         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17285         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17287         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17288         definition on [!__NO_LONG_DOUBLE_MATH].
17290         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17291         PTR_MANGLE and PTR_DEMANGLE.
17293         * socket/accept4.c (accept4): Rename to __libc_accept4.
17294         Define accept4 as a weak alias.
17296         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17297         on [_DIRENT_HAVE_D_TYPE].
17298         * io/ftw.c (ftw_dir): Likewise.
17300         * io/xmknod.c (__xmknod): Don't check PATH for being null.
17302         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17304         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17305         Use the BSD numbers rather than the arbitrary ones we had.
17306         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17307         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17308         (SIGXCPU, SIGXFSZ): New macros.
17309         (_NSIG): Now 32.
17311         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17312         initializer on [_LIBC_REENTRANT].
17314         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17315         definitions inside [_POSIX_MAPPED_FILES].
17317         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17319         * dirent/opendir.c: Include <fcntl.h>.
17321         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17322         (__libc_getspecific): Likewise.
17323         (__libc_key_create): Likewise.
17325         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17326         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17327         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17328         (tmpfile64): Define as alias.
17329         * sysdeps/wordsize-64/tmpfile.c: File removed.
17330         * sysdeps/wordsize-64/tmpfile64.c: File removed.
17331         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17332         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17334         * stdio-common/vfscanf.c: Include <stdbool.h>.
17335         * nss/makedb.c: Likewise.
17336         * stdio-common/_i18n_number.h: Likewise.
17337         * argp/argp-help.c: Likewise.
17338         * posix/wordexp.c: Likewise.
17339         * sysdeps/posix/spawni.c: Likewise.
17340         * nss/nss_files/files-initgroups.c: Likewise.
17341         * stdio-common/reg-modifier.c: Include <stdlib.h>.
17342         * nss/nss_files/files-initgroups.c: Likewise.
17343         * nss/nss_db/db-netgrp.c: Likewise.
17344         * nss/nss_db/db-initgroups.c: Likewise.
17345         * io/fchmodat.c: Include <sys/stat.h>.
17347         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17348         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17350         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17351         [HAVE_MMAP].
17353         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17354         Add multiple inclusion protection.
17356 2012-07-27  David S. Miller  <davem@davemloft.net>
17358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17360 2012-07-27  Gary Benson  <gbenson@redhat.com>
17362         [BZ #14298]
17363         * elf/rtld.c: Include <stap-probe.h>.
17364         (dl_main): Added static probes "init_start" and "init_complete".
17365         * elf/dl-load.c: Include <stap-probe.h>.
17366         (lose): Take new parameter "nsid".
17367         Added static probe "map_failed".
17368         (_dl_map_object_from_fd): Pass namespace id to lose.
17369         Added static probe "map_start".
17370         (open_verify): Pass namespace id to lose.
17371         * elf/dl-open.c: Include <stap-probe.h>.
17372         (dl_open_worker) Added static probes "map_complete", "reloc_start"
17373         and "reloc_complete".
17374         * elf/dl-close.c: Include <stap-probe.h>.
17375         (_dl_close_worker): Added static probes "unmap_start" and
17376         "unmap_complete".
17377         * elf/rtld-debugger-interface.txt: New file documenting the above.
17379 2012-07-26  Roland McGrath  <roland@hack.frob.com>
17381         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17382         rather than a string variable.
17383         * sunrpc/rpc_main.c (h_output): Likewise.
17384         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17386 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
17388         * inet/check_native.c: New file.
17390 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
17392         [BZ #13629]
17393         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17394         if larger part has absolute value 1.0.
17395         * math/s_clog10.c (__clog10): Likewise.
17396         * math/s_clog10f.c (__clog10f): Likewise.
17397         * math/s_clog10l.c (__clog10l): Likewise.
17398         * math/s_clogf.c (__clogf): Likewise.
17399         * math/s_clogl.c (__clogl): Likewise.
17400         * math/libm-test.inc (clog_test): Add more tests.
17401         (clog10_test): Likewise.
17402         * sysdeps/i386/fpu/libm-test-ulps: Update.
17403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17405         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17406         (pltexit): Likewise.
17407         (La_regs): Likewise.
17408         (La_retval): Likewise.
17409         (int_retval): Likewise.
17410         Update #error for removed macros to refer only to definitions in
17411         tst-audit.h.
17412         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17413         macro.
17414         (pltexit): Likewise.
17415         (La_regs): Likewise.
17416         (La_retval): Likewise.
17417         (int_retval): Likewise.
17418         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17419         macro.
17420         (pltexit): Likewise.
17421         (La_regs): Likewise.
17422         (La_retval): Likewise.
17423         (int_retval): Likewise.
17424         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17425         macro.
17426         (pltexit): Likewise.
17427         (La_regs): Likewise.
17428         (La_retval): Likewise.
17429         (int_retval): Likewise.
17430         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17431         macro.
17432         (pltexit): Likewise.
17433         (La_regs): Likewise.
17434         (La_retval): Likewise.
17435         (int_retval): Likewise.
17436         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17437         macro.
17438         (pltexit): Likewise.
17439         (La_regs): Likewise.
17440         (La_retval): Likewise.
17441         (int_retval): Likewise.
17442         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17443         macro.
17444         (pltexit): Likewise.
17445         (La_regs): Likewise.
17446         (La_retval): Likewise.
17447         (int_retval): Likewise.
17448         * sysdeps/generic/tst-audit.h: Update comment to refer only to
17449         macro definitions in tst-audit.h.
17450         * sysdeps/i386/tst-audit.h: New file.
17451         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17452         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17453         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17454         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17455         * sysdeps/sh/tst-audit.h: Likewise.
17456         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17457         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17458         * sysdeps/x86_64/tst-audit.h: Likewise.
17460 2012-07-26  Andreas Jaeger  <aj@suse.de>
17462         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17463         ptrace.
17465         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17466         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17467         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17468         PTRACE_O_MASK.
17469         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17470         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17471         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17473         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17474         value.
17476         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17477         _sigsys.
17478         (si_call_addr, si_syscall, si_arch): Define new macro.
17479         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17480         _sigsys.
17481         (si_call_addr, si_syscall, si_arch): Define new marcro.
17482         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17483         _sigsys.
17484         (si_call_addr, si_syscall, si_arch): Define new macro.
17485         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17486         _sigsys.
17487         (si_call_addr, si_syscall, si_arch): Define new macro.
17489 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17491         [BZ #13717]
17492         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17493         Change to 2.4.21 where previously 2.4.1.
17494         * sysdeps/unix/sysv/linux/configure: Regenerated.
17495         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17496         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17497         Linux kernel version.
17498         (__ASSUME_STD_AUXV): Remove.
17499         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17500         kernel version.
17501         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17502         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17503         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17504         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17505         (__ASSUME_NETLINK_SUPPORT): Likewise.
17506         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17507         (__no_netlink_support): Remove conditional definition.
17508         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17509         Remove.
17510         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17511         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17512         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17513         (if_nameindex_ioctl): Remove.
17514         (if_nameindex_netlink): Do not handle __no_netlink_support.
17515         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17516         code.
17517         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17518         Remove conditional code.
17519         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17520         code.
17521         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17522         unconditional.
17523         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17524         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17525         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17526         Remove.
17527         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17528         [!__ASSUME_STD_AUXV]: Remove conditional code.
17529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17530         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17531         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17533         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17534         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17535         code.
17536         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17538         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17539         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17540         conditional code.
17541         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17543         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17544         code.
17545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17546         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17547         conditional code.
17548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17549         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17550         code unconditional.
17551         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17552         conditional code.
17553         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17554         unconditional.
17555         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17556         conditional code.
17557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17558         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17559         unconditional.
17560         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17561         conditional code.
17562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17563         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17564         code unconditional.
17565         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17566         conditional code.
17567         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17568         unconditional.
17569         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17570         conditional code.
17571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17572         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17573         code unconditional.
17574         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17575         conditional code.
17576         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17577         unconditional.
17578         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17579         conditional code.
17581 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
17583         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17584         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17585         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17586         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17587         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17588         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17589         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17590         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17591         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17592         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17593         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17594         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17595         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17596         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17597         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17598         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17599         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17600         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17601         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17602         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17603         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17604         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17605         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17607 2012-07-25  Florian Weimer  <fweimer@redhat.com>
17609         * Versions.def: Add GLIBC_2.17.
17610         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17611         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17612         Introduce __libc_secure_getenv.
17613         * stdlib/Versions (2.17): Add secure_getenv
17614         (GLIBC_PRIVATE): Add __libc_secure_getenv.
17615         * stdlib/secure-getenv.c: Rename __secure_getenv to
17616         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
17617         symbol __secure_getenv for GLIBC_2.0.
17618         * stdlib/tst-secure-getenv.c: New.
17619         * stdlib/Makefile (tests): Add testcase.
17620         * manual/startup.texi (Environment Access): Document
17621         secure_getenv.
17622         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17623         __libc_secure_getenv.
17624         * inet/ruserpass.c (ruserpass): Likewise.
17625         * malloc/mtrace.c (mtrace): Likewise.
17626         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17627         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17628         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17629         * sysdeps/posix/tempname.c: Likewise.  Evaluate
17630         HAVE_SECURE_GETENV.
17631         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17632         __secure_getenv to __libc_secure_getenv.
17633         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17635         Likewise.
17636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17637         Likewise.
17638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17640         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17646 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17648         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17649         (struct La_i86_retval): Likewise.
17650         (struct La_x86_64_regs): Likewise.
17651         (struct La_x86_64_retval): Likewise.
17652         (struct La_x32_regs): Likewise.
17653         (struct La_x32_retval): Likewise.
17654         (struct La_ppc32_regs): Likewise.
17655         (struct La_ppc32_retval): Likewise.
17656         (struct La_ppc64_regs): Likewise.
17657         (struct La_ppc64_retval): Likewise.
17658         (struct La_sh_regs): Likewise.
17659         (struct La_sh_retval): Likewise.
17660         (struct La_s390_32_regs): Likewise.
17661         (struct La_s390_32_retval): Likewise.
17662         (struct La_s390_64_regs): Likewise.
17663         (struct La_s390_64_retval): Likewise.
17664         (struct La_sparc32_regs): Likewise.
17665         (struct La_sparc32_retval): Likewise.
17666         (struct La_sparc64_regs): Likewise.
17667         (struct La_sparc64_retval): Likewise.
17668         (struct audit_ifaces): Remove architecture-specific pltenter and
17669         pltexit members.
17670         * sysdeps/i386/ldsodefs.h: New file.
17671         * sysdeps/powerpc/ldsodefs.h: Likewise.
17672         * sysdeps/s390/ldsodefs.h: Likewise.
17673         * sysdeps/sh/ldsodefs.h: Likewise.
17674         * sysdeps/sparc/ldsodefs.h: Likewise.
17675         * sysdeps/x86_64/ldsodefs.h: Likewise.
17677 2012-07-25  Marek Polacek  <polacek@redhat.com>
17679         [BZ #6808]
17680         * math/libm-test.inc (yn_test): Add another test.
17681         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17682         to ERANGE when the result is +-Inf.
17683         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17684         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17685         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17686         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17688 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
17690         * conform/data/time.h-data (NULL): Use macro-constant.  Require
17691         equal to 0.
17692         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
17693         clock_t.
17694         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
17696 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
17698         * configure.in <sysdeps resolving>: Correct printing
17699         Implies_before.
17700         * configure: Regenerate.
17702 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
17704         * math/w_ilogb.c: Include <limits.h>.
17705         * math/w_ilogbl.c: Likewise.
17707 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17709         * manual/lang.texi (__va_copy): Document primarily as ISO C99
17710         va_copy.  Document allowing for unavailable va_copy only as
17711         pre-C99 compatibility.
17712         * manual/string.texi (Copying and Concatenation): Use va_copy
17713         instead of __va_copy in concat example.
17715 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
17717         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17718         (__sendto): Use create_address_port.  Initialize APORT and deallocate
17719         it if not null.
17721         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17722         with O_NOLINK passed to __file_name_lookup.
17724         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17725         with O_NOLINK passed to __file_name_lookup.
17727         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17728         negative N or less than NGIDS.
17730         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17731         type to string_t.  Set ERANGE as errno and return it if NAME is not big
17732         enough.  Use memcpy instead of strncpy.
17734 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17736         * elf/Makefile (check-data): Remove.
17737         (localplt.data): New vpath directive.
17738         ($(objpfx)check-localplt.out): Use localplt.data from vpath
17739         instead of $(check-data).
17740         * scripts/data/localplt-generic.data: Move to ...
17741         * sysdeps/generic/localplt.data: ... here.
17742         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17743         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17744         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17746         ... here.
17747         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17749         ... here.
17750         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17752         ... here.
17753         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17755         ... here.
17756         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17758         ... here.
17759         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17761         ... here.
17763 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17765         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17766         PPC32 and PPC64 files.
17767         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17768         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17770 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17772         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17773         __makecontext_ret to ...
17774         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17775         ... here and call exit if uc_link is NULL.  New file.
17776         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17777         __makecontext_ret.S.
17778         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17779         __makecontext_ret to ...
17780         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17781         ... here and call exit if uc_link is NULL.  New file.
17782         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17783         __makecontext_ret.S.
17785 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17787         * elf/elf.h (R_390_IRELATIVE): New definition.
17788         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17789         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
17790         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17791         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17792         (elf_machine_lazy_rel): Likewise.
17793         * sysdeps/s390/dl-irel.h: New file.
17794         * sysdeps/s390/s390-64/memcpy.S: New asm code.
17795         * sysdeps/s390/s390-64/memset.S: New asm code.
17796         * sysdeps/s390/s390-64/memcmp.S: New asm code.
17797         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17798         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17799         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17800         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17801         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17802         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17803         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17804         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17805         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17806         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17807         * sysdeps/s390/s390-32/memcpy.S: New asm code.
17808         * sysdeps/s390/s390-32/memset.S: New asm code.
17809         * sysdeps/s390/s390-32/memcmp.S: New asm code.
17811 2012-07-17  Marek Polacek  <polacek@redhat.com>
17813         [BZ #14349]
17814         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17815         * sysdeps/s390/s390-64/configure.in: Likewise.
17816         * sysdeps/sparc/configure.in: Likewise.
17817         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17818         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17819         * sysdeps/i386/configure.in: Likewise.
17820         * sysdeps/x86_64/configure.in: Likewise.
17821         * sysdeps/sh/configure.in: Likewise.
17822         * sysdeps/s390/s390-32/configure: Regenerated.
17823         * sysdeps/s390/s390-64/configure: Likewise.
17824         * sysdeps/x86_64/configure: Likewise.
17825         * sysdeps/sh/configure: Likewise.
17826         * sysdeps/powerpc/powerpc64/configure: Likewise.
17827         * sysdeps/powerpc/powerpc32/configure: Likewise.
17828         * sysdeps/sparc/configure: Likwise.
17829         * sysdeps/i386/configure: Likewise.
17831         * elf/dl-open.c: Comment fixes.
17833 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
17835         * Makefile [CXX] (check-data): Remove.
17836         [CXX] (c++-types.data): New vpath directive.
17837         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17838         vpath.  Do not allow for C++ type data being missing.
17839         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17840         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17841         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17842         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17843         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17844         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17845         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17847         ... here.
17848         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17850         ... here.
17851         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17853         ... here.
17854         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17856         ... here.
17857         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17859         ... here.
17860         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17862         ... here.
17863         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17865         ... here.
17866         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17869         * elf/tls-macros.h (TLS_LE): Move architecture-specific
17870         definitions to architecture-specific files.
17871         (TLS_IE): Likewise.
17872         (TLS_LD): Likewise.
17873         (TLS_GD): Likewise.
17874         * sysdeps/i386/tls-macros.h: New file.
17875         * sysdeps/powerpc/tls-macros.h: Likewise.
17876         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17877         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17878         * sysdeps/sh/tls-macros.h: Likewise.
17879         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17880         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17881         * sysdeps/x86_64/tls-macros.h: Likewise.
17883 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17885         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17886         zero value for regular exit case.
17888         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17889         (__start_context): Preserve zero value for regular exit case.
17891 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17892             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17894         * manual/setjmp.texi (setcontext): Clarify normal process
17895         termination when uc_link is the null pointer.
17896         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17897         exit call.
17899 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
17901         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17902         preprocessor.  Test for each exception mask separately.
17904 2012-07-16  Andreas Jaeger  <aj@suse.de>
17906         * po/ru.po: Update from translation team.
17908 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
17910         * conform/data/string.h-data (NULL): Use macro-constant.  Require
17911         equal to 0.
17912         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17913         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17914         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17915         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17916         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17918 2012-07-13  Andreas Jaeger  <aj@suse.de>
17920         * po/fr.po: Update from translation team.
17922 2012-07-12  Marek Polacek  <polacek@redhat.com>
17924         [BZ #14173]
17925         * math/libm-test.inc (yn_test): Add test for BZ #14173.
17926         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17927         loop condition.
17929 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
17931         [BZ #13717]
17932         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17933         Change to 2.4.1 where previously 2.4.0.
17934         * sysdeps/unix/sysv/linux/configure: Regenerated.
17935         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17936         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17937         version.
17938         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17939         (__ASSUME_AT_CLKTCK): Remove.
17940         (__ASSUME_AT_PAGESIZE): Likewise.
17941         (__ASSUME_AT_XID): Likewise.
17942         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17943         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17944         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17945         unconditionally.
17946         (HAVE_AUX_PAGESIZE): Likewise.
17947         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17948         [__ASSUME_AT_CLKTCK]: Make code unconditional.
17949         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17951 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
17953         [BZ #14307]
17954         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17955         the temporary buffer used to invoke __gethostbyname2_r,
17956         __gethostbyaddr_r and gethostbyname4_r to make room for struct
17957         host_data / struct gaih_addrtuple.
17958         * resolv/nss_dns/dns-host.c (global scope): Move definition of
17959         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17960         header file nss/nsswitch.h.
17961         * nss/nsswitch.h (global scope): Add definition of implementation
17962         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17963         resolv/nss_dns/dns-host.c).
17965 2012-07-11  Andreas Jaeger  <aj@suse.de>
17967         * po/fr.po: Update from translation team.
17969         * po/sv.po: Update from translation team
17970         * po/fr.po: Another update from translation team.
17972 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17974         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17975         for subnormals or multiply small sinh result by itself.
17976         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17979 2012-07-11  David S. Miller  <davem@davemloft.net>
17981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17983 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
17985         [BZ #14347]
17986         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17987         (INTERNAL_MARK): Shift it here.
17989 2012-07-10  Marek Polacek  <polacek@redhat.com>
17991         [BZ #14151]
17992         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
17993         libc_cv_asm_global_directive with .globl.
17994         * configure: Regenerated.
17995         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17996         with .globl.
17997         * sysdeps/i386/configure: Regenerated.
17998         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17999         with .globl.
18000         * sysdeps/x86_64/configure: Regenerated.
18001         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18002         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18003         * elf/tst-unique2mod2.c: Likewise.
18004         * elf/tst-unique2mod1.c: Likewise.
18005         * elf/tst-unique1mod2.c: Likewise.
18006         * elf/tst-unique1mod1.c: Likewise.
18007         * sysdeps/s390/s390-32/sysdep.h: Likewise.
18008         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18009         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18010         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18011         * sysdeps/mach/sysdep.h: Likewise.
18012         * sysdeps/i386/sysdep.h: Likewise.
18013         * sysdeps/i386/i386-mcount.S: Likewise.
18014         * sysdeps/x86_64/_mcount.S: Likewise.
18015         * sysdeps/x86_64/sysdep.h: Likewise.
18016         * sysdeps/sh/_mcount.S: Likewise.
18017         * sysdeps/sh/sysdep.h: Likewise.
18018         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18019         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18020         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18021         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18022         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18023         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18024         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18025         * locale/localeinfo.h: Likewise.
18026         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18027         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18029 2012-07-09  Roland McGrath  <roland@hack.frob.com>
18031         [BZ #14336]
18032         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18033         system".
18034         * manual/message.texi (The Uniforum approach): Likewise.
18035         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18036         (glibc iconv Implementation): Likewise.
18038 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
18040         [BZ #14337]
18041         * math/s_clog.c (__clog): Avoid scaling a value down where that
18042         could result in underflow.
18043         * math/s_clog10.c (__clog10): Likewise.
18044         * math/s_clog10f.c (__clog10f): Likewise.
18045         * math/s_clog10l.c (__clog10l): Likewise.
18046         * math/s_clogf.c (__clogf): Likewise.
18047         * math/s_clogl.c (__clogl): Likewise.
18048         * math/libm-test.inc (clog_test): Add more tests.
18049         (clog10_test): Likewise.
18050         * sysdeps/i386/fpu/libm-test-ulps: Update.
18051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18053 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
18055         [BZ #14283]
18056         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18057         by 7 not 8 to examine high bit of fractional part.
18059         [BZ #14042]
18060         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18061         for call to __mcount_internal.
18062         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18063         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18064         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18066 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
18068         [BZ #14154]
18069         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18070         approximation for values within 0x1p-13f of an odd multiple of
18071         pi/4.
18072         * math/libm-test.inc (tan_test): Do not allow spurious underflow
18073         exception.  Add more tests.
18074         * sysdeps/i386/fpu/libm-test-ulps: Update.
18076         [BZ #6778]
18077         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18078         inputs and return -1 for them.  Do not check for +Inf in case not
18079         reachable for +Inf.
18080         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18081         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18082         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18083         and return -1 for them.  Do not check for +Inf in case not
18084         reachable for +Inf.
18085         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18086         define.
18087         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18088         and return -1 for them.  Do not check for +Inf in case not
18089         reachable for +Inf.
18090         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
18091         spurious underflow.
18092         * sysdeps/i386/fpu/libm-test-ulps: Update.
18093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18095 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
18097         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18099 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
18101         [BZ #14157]
18102         [BZ #14331]
18103         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18104         could result in spurious underflow.  Scale down values above
18105         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18106         * math/s_csqrtf.c (__csqrtf): Likewise.
18107         * math/s_csqrtl.c (__csqrtl): Likewise.
18108         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
18109         spurious underflow.
18110         * sysdeps/i386/fpu/libm-test-ulps: Update.
18111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18113 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18115         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18116         xopen-msg.sed.
18117         * catgets/xopen-msg.awk: New file.
18118         * catgets/xopen-msg.sed: Removed.
18120         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18121         po2text.sed.
18122         * intl/po2test.awk: New file.
18123         * intl/po2test.sed: Removed.
18125 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
18127         [BZ #14328]
18128         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18129         or multiply small sinh result by itself.
18130         * math/s_ctanf.c (__ctanf): Likewise.
18131         * math/s_ctanh.c (__ctanh): Likewise.
18132         * math/s_ctanhf.c (__ctanhf): Likewise.
18133         * math/s_ctanhl.c (__ctanhl): Likewise.
18134         * math/s_ctanl.c (__ctanl): Likewise.
18135         * math/libm-test.inc (ctan_test_tonearest): New function.
18136         (ctan_test_towardzero): Likewise.
18137         (ctan_test_downward): Likewise.
18138         (ctan_test_upward): Likewise.
18139         (ctanh_test_tonearest): Likewise.
18140         (ctanh_test_towardzero): Likewise.
18141         (ctanh_test_downward): Likewise.
18142         (ctanh_test_upward): Likewise.
18143         (main): Call these new functions.
18144         * sysdeps/i386/fpu/libm-test-ulps: Update.
18145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18147 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
18149         * .gitignore: Delete /ports entry.
18151 2012-07-03  Andreas Jaeger  <aj@suse.de>
18153         * po/bg.po: Update from translation team.
18154         * po/cs.po: Likewise.
18155         * po/de.po: Likewise.
18156         * po/hr.po: Likewise.
18157         * po/nl.pl: Likewise.
18158         * po/pl.po: Likewise.
18159         * po/vi.po: Likewise.
18161 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
18163         * Makeconfig [!+link] (+link-before-libc): New variable.
18164         [!+link] (+link-after-libc): Likewise.
18165         [!+link] (+link-tests): Likewise.
18166         [!+link] (+link): Define in terms of $(+link-before-libc) and
18167         $(+link-after-libc).
18168         [!+link-static] (+link-static-before-libc): New variable.
18169         [!+link-static] (+link-static-after-libc): Likewise.
18170         [!+link-static] (+link-static-tests): Likewise.
18171         [!+link-static] (+link-static): Define in terms of
18172         $(+link-static-before-libc) and $(+link-static-after-libc).
18173         [build-shared] (link-libc-before-gnulib): New variable.
18174         [build-shared] (link-libc-tests): Likewise.
18175         [build-shared] (link-libc): Define in terms of
18176         $(link-libc-before-gnulib).
18177         [!build-shared] (link-libc-tests): New variable.
18178         (link-libc-static-tests): New variable.
18179         [!gnulib] (gnulib-arch): New variable.
18180         [!gnulib] (gnulib-tests): Likewise.
18181         [!gnulib] (static-gnulib-arch): Likewise.
18182         [!gnulib] (static-gnulib-tests): Likewise.
18183         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
18184         Define with "=" instead of ":=".
18185         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
18186         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
18187         * Rules (binaries-all-notests): New variable.
18188         (binaries-all-tests): Likewise.
18189         (binaries-static-notests): Likewise.
18190         (binaries-static-tests): Likewise.
18191         (binaries-all): Define using $(binaries-all-notests) and
18192         $(binaries-all-tests).
18193         (binaries-static): Define using $(binaries-static-notests) and
18194         $(binaries-static-tests).
18195         (binaries-shared-tests): New variable.
18196         (binaries-shared-notests): Likewise.
18197         (binaries-shared): Remove variable.
18198         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18199         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18200         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18201         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18202         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18203         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18204         * elf/Makefile (sln-modules): New variable.
18205         (extra-objs): Add $(sln-modules:=.o).
18206         (ldconfig-modules): Add static-stubs.
18207         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18208         * elf/static-stubs.c: New file.
18210         [BZ #14283]
18211         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18212         by 7 not 8 to examine high bit of fractional part.  Use volatile
18213         variables when splitting into final array of floats if
18214         __FLT_EVAL_METHOD__ != 0.
18215         * math/libm-test.inc (cos_test): Add another test.
18216         (sin_test): Likewise.
18217         * sysdeps/i386/fpu/libm-test-ulps: Update.
18219         [BZ #14273]
18220         * math/libm-test.inc (cosh_test): Add more tests.
18222         * version.h (RELEASE): Set to "development".
18223         (VERSION): Set to "2.16.90".
18225 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
18227         * NEWS: Update copyright. Remove last-updated date.
18228         Mention math library bug fixes and timezone data changes.
18229         * README: Mention GNU/Hurd, x32, and HPPA support status.
18231 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
18233         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18235 2012-06-27  Andreas Jaeger  <aj@suse.de>
18237         * manual/contrib.texi (Contributors): Add Samuel Thibault.
18239 2012-06-25  Andreas Jaeger  <aj@suse.de>
18241         * sysdeps/s390/fpu/libm-test-ulps: Update.
18243 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
18244             Thomas Schwinge  <thomas@codesourcery.com>
18246         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18247         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18248         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18249         fanotify_mark.
18251 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
18253         * sysdeps/mach/start.c: Remove file.
18254         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18255         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18256         * sysdeps/sh/init-first.c: Likewise.
18258         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18259         registers for frame unwinding purposes, add CFI directives.
18260         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18261         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18262         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18263         Likewise.
18265         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18266         __fortify_fail returning.
18267         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18269         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18270         sysdeps/sh/____longjmp_chk.S.
18271         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18272         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18273         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18274         (gen-as-const-headers): Append sigaltstack-offsets.sym.
18276         * sysdeps/sh/abort-instr.h: New file.
18277         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18278         process in case exit returns.
18280         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18281         initialize the GOT register before use.
18283         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18284         calculation of ARGC > 4.
18286         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18287         meaningful names to some local labels.
18289 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18290             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18292         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18293         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18294         (__arch_compare_and_exchange_val_16_acq): Likewise.
18295         (__arch_compare_and_exchange_val_32_acq): Likewise.
18296         (atomic_exchange_and_add): Fix gUSA sequence.
18297         (atomic_add): Likewise.
18298         (atomic_add_negative): Likewise.
18299         (atomic_add_zero): Likewise.
18300         (atomic_bit_test_set): Likewise.
18302 2012-06-22  Andreas Schwab  <schwab@redhat.com>
18304         [BZ #13579]
18305         * include/link.h (struct link_map): Add l_free_initfini.
18306         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18307         l_initfini.
18308         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18309         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18310         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18311         set.
18313 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
18315         * configure.in: Use AC_LANG_SOURCE.
18316         * configure: Regenerate.
18318 2012-06-22  Roland McGrath  <roland@hack.frob.com>
18320         * configure.in (libc_cv_localstatedir): New substituted variable.
18321         * configure: Regenerated.
18322         * config.make.in (localstatedir): New variable, substituted from
18323         libc_cv_localstatedir.
18324         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18325         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18326         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18327         * sysdeps/gnu/configure: Regenerated.
18329 2012-06-21  Jeff Law  <law@redhat.com>
18331         [BZ #14277]
18332         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18333         free.  Simplify list management for _LIBC case.
18335 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
18337         [BZ #14273]
18338         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18339         Clear sign bit of 64-bit integer value before comparing against
18340         overflow value.
18342         * sysdeps/mach/configure: Regenerated.
18344 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
18346         [BZ #14278]
18347         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18349 2012-06-21  Jeff Law  <law@redhat.com>
18351         [BZ #13882]
18352         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
18353         uint16_t for elements in the "seen" array to avoid char overflows.
18354         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18355         * elf/dl-open.c (dl_open_worker): Likewise.
18357 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
18359         * scripts/list-sources.sh: Scan PORTS for translations.
18360         * po/libc.pot: Regenerated.
18362 2012-06-21  Andreas Jaeger  <aj@suse.de>
18364         [BZ #12194]
18365         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18366         warning.
18367         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18368         * bits/byteswap-16.h (__bswap_16): Likewise.
18369         * bits/byteswap.h (__bswap_constant_16): Likewise.
18371 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
18373         [BZ #14117]
18374         * sysdeps/i386/fpu_control.h: Removed.
18375         * sysdeps/x86_64/fpu_control.h: Moved to ...
18376         * sysdeps/x86/fpu_control.h: Here.
18378         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18379         (_FPU_SETCW): Likewise.
18381 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
18383         [BZ #14117]
18384         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18385         * sysdeps/x86/fpu/bits/mathinline.h: This.
18386         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18388         [BZ #14050]
18389         [BZ #14117]
18390         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18391         functions if __x86_64__ is defined.
18393 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
18395         * string/endian.h: Add !__ASSEMBLER__ condition for including
18396         conversion interfaces.
18398 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
18400         [BZ #14241]
18401         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18402         of ABS(x) in calculating zero to negative powers other than odd
18403         integers.
18404         * math/libm-test.inc (pow_test): Add more tests.
18406 2012-06-15  Andreas Jaeger  <aj@suse.de>
18408         * manual/contrib.texi (Contributors): Update entry of Liubov
18409         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18410         Machado Filho.
18412 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
18414         * string/string.h: Add __wur to GNU version of strerror_r.
18416 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
18418         [BZ #14229]
18419         * string/Makefile (tests): Add tst-strtok_r.
18420         * string/tst-strtok_r.c: New file.
18421         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18422         RAX_LP/RDX_LP on SAVE_PTR.
18424 2012-06-14  Roland McGrath  <roland@hack.frob.com>
18426         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18428 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
18430         * libm_test.inc (csqrt_test): Allow more spurious underflow
18431         exceptions.
18432         (j0_test): Likewise.
18433         (j1_test): Likewise.
18434         (y0_test): Likewise.
18435         (y1_test): Likewise.
18437 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
18439         * po/Makefile (libc.pot): Use UTF-8 charset.
18441 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
18443         [BZ #14210]
18444         Suppress sign-conversion warning from FD_SET.
18445         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18446         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18447         not unsigned long int.
18448         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18450 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
18452         [BZ #14050]
18453         [BZ #14117]
18454         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18455         __extern_always_inline instead of __extern_inline.
18456         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18457         (__signbit): Likewise.
18458         (__signbitl): Support C++ namespace.
18459         (lrintf): New inline function.
18460         (lrint): Likewise.
18461         (llrintf): Likewise.
18462         (llrint): Likewise.
18463         (fmaxf): Likewise.
18464         (fmax): Likewise.
18465         (fminf): Likewise.
18466         (fmin): Likewise.
18467         (rint): Likewise.
18468         (rintf): Likewise.
18469         (ceil): Likewise.
18470         (ceilf): Likewise.
18471         (floor): Likewise.
18472         (floorf): Likewise.
18473         (nearbyint): Likewise.
18474         (nearbyintf): Likewise.
18476 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
18478         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18479         non-default versions.
18481 2012-06-11  Roland McGrath  <roland@hack.frob.com>
18483         [BZ #14218]
18484         * manual/argp.texi (Argp): Reword argp_parse description slightly.
18486 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
18488         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18489         (FE_UPWARD, FE_DOWNWARD): Don't define.
18490         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18491         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18493         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18494         reading it.
18495         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18496         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18498 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18500         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18501         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18502         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18503         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18505 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18507         [BZ #14117]
18508         * sysdeps/i386/fpu/bits/fenv.h: Removed.
18509         * sysdeps/i386/fpu/Implies: New file.
18510         * sysdeps/x86_64/fpu/Implies: Likewise.
18511         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18512         * sysdeps/x86/fpu/bits/fenv.h: This.
18514         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18515         __SSE_MATH__.
18517 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18519         [BZ #14134]
18520         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18521         character 0xffff that matches the last element of the
18522         conversion table.
18524 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18526         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18527         fmodl commit.
18529 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18531         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18532         values higher than 25.6283.
18534 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18536         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18537         subnormal exponent extraction and add some __builtin_expect.
18538         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18539         Fix for subnormal mantissa calculation.
18541 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
18543         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18544         cpu2 is -1 and errno is not ENOSYS.
18546 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
18548         [BZ #14117]
18549         * sysdeps/i386/i486/bits/string.h: Renamed to ...
18550         * sysdeps/x86/bits/string.h: This.
18551         * sysdeps/x86_64/bits/string.h: Removed.
18553         * sysdeps/i386/i486/bits/string.h: Define inline functions only
18554         if not compiling for x86-64, but compiling for >= i486.
18556         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18557         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18559         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18560         New macro from Linux kernel 3.4.0.
18561         (FP_XSTATE_MAGIC2): Likewise.
18562         (FP_XSTATE_MAGIC2_SIZE): Likewise.
18563         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18564         (struct _fpx_sw_bytes): New struct.
18565         (struct _xsave_hdr): Likewise.
18566         (struct _ymmh_state): Likewise.
18567         (struct _xstate): Likewise.
18569         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18570         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18571         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18572         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18573         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18574         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18576         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18577         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18578         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18579         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18580         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18581         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18583 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18585         [BZ #13743]
18586         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18587         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18588         (sysdep_headers): Include sys/platform/ppc.h.
18589         * sysdeps/powerpc/test-gettimebase.c: Test for
18590         __ppc_get_timebase() to catch future ISA opcode/insn changes.
18591         * manual/Makefile (appendices): Include platform.texi.
18592         * manual/contrib.texi (Contributors): Update @node pointers.
18593         * manual/maint.texi (Maintenance): Likewise.
18594         (Platform): New node.
18595         * manual/platform.texi: New file.  Document the new features.
18597 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18598             Jakub Jelinek  <jakub@redhat.com>
18600         [BZ #14188]
18601         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18602         where __builtin_expect is unavailable.
18604 2012-06-03  David S. Miller  <davem@davemloft.net>
18606         * stdlib/longlong.h: Updated from GCC.
18608 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
18610         [BZ #14042]
18611         * sysdeps/powerpc/powerpc32/mcount.c: New file.
18612         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18613         __mcount_internal.
18614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18615         (GLIBC_2.16): Likewise.
18617 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18619         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18621 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18624         (default-abi): New variable.
18625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18626         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18627         variable.
18628         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18629         Likewise.
18630         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18631         Likewise.
18632         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18633         Likewise.
18635         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18636         definition.  Document in comment.
18638 2012-06-01  David S. Miller  <davem@davemloft.net>
18640         * stdlib/longlong.h: Updated from GCC.
18642 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18644         [BZ #14117]
18645         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18646         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18647         sys/debugreg.h sys/io.h here.
18648         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18649         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18650         sys/io.h.
18651         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18652         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18653         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18654         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18655         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18656         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18658         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18659         Define only if __x86_64__ is defined.
18661 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18663         [BZ #14048]
18664         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18665         Use int64_t for variable i.
18666         * math/libm-test.inc (fmod_test): Add more tests.
18668         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18669         z computation is not scheduled after fetestexcept.
18670         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18671         Use math_force_eval instead of asm to ensure calculation scheduled
18672         before exception test.
18673         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18674         Ensure a1 + u.d computation is not scheduled after fetestexcept.
18676 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
18678         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18679         computation is not scheduled after fetestexcept.
18681 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18683         [BZ #14117]
18684         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18685         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18687 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18689         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18690         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18692 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18694         [BZ #14117]
18695         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18696         <bits/wordsize.h>.
18697         (__WCHAR_MIN): Support __WORDSIZE == 64.
18698         (__WCHAR_MAX): Likewise.
18700         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18701         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18703         [BZ #14183]
18704         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18705         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18707         [BZ #14117]
18708         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18709         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18711         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18712         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18714         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18715         Defined to 1 if __x86_64__ isn't defined.
18716         (_STAT_VER_LINUX_OLD): New.
18717         (st_atime): Remove duplicate.
18718         (st_mtime): Likewise.
18719         (st_ctime): Likewise.
18721 2012-05-31  David S. Miller  <davem@davemloft.net>
18723         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18724         entries.
18726 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
18728         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18729         gen-libm-test.pl.
18731         [BZ #14132]
18732         * elf/dl-reloc.c: Include <_itoa.h>.
18733         (_dl_reloc_bad_type): Remove use of INTUSE.
18734         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18735         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18736         * stdio-common/psiginfo.c (psiginfo): Likewise.
18737         * stdio-common/psignal.c (psignal): Likewise.
18738         * string/strsignal.c (strsignal): Likewise.
18739         * include/signal.h (_sys_siglist): Declare hidden proto.
18740         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
18741         INTVARDEF with libc_hidden_data_def.
18742         * stdio-common/itoa-udigits.c: Likewise.
18743         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18744         (_itoa_lower_digits_internal): Remove declaration.
18745         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18746         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18747         (_sys_sigabbrev_internal): Remove aliases.
18748         (_sys_siglist): Define hidden alias.
18750 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
18752         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18753         bits/sysctl.h.
18755 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18757         [BZ #14117]
18758         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18759         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18761         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18762         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18763         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18764         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18765         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18766         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18768         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18769         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18770         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18772         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18773         with __addr.
18774         (insw): Likewise.
18775         (insl): Likewise.
18776         (outsb): Likewise.
18777         (outsw): Likewise.
18778         (outsl): Likewise.
18780         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18781         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18782         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18784         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18785         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18786         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18787         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18788         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18789         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18791         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18792         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18794         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18795         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18797         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18798         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18799         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18801         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18802         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18803         to ...
18804         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18806         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18807         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18808         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18810         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18811         for x86-64.
18812         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18814 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
18816         * math/math.h (M_El): Use two more decimal places.
18817         (M_LOG2El): Likewise.
18818         (M_LOG10El): Likewise.
18819         (M_LN2l): Likewise.
18820         (M_LN10l): Likewise.
18821         (M_PIl): Likewise.
18822         (M_PI_2l): Likewise.
18823         (M_PI_4l): Likewise.
18824         (M_1_PIl): Likewise.
18825         (M_2_PIl): Likewise.
18826         (M_2_SQRTPIl): Likewise.
18827         (M_SQRT2l): Likewise.
18828         (M_SQRT1_2l): Likewise.
18830 2012-05-31  David S. Miller  <davem@davemloft.net>
18832         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18833         values between float registers.
18834         * sysdeps/sparc/sparc64/memset.S: Likewise.
18835         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18837 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
18839         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18840         -D_FORTIFY_SOURCE=1.
18841         (CPPFLAGS-tst-longjmp_chk.c): Define.
18842         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18843         (CPPFLAGS-tst-longjmp_chk2.c): Define.
18844         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18845         CFLAGS-tst-wchar-h.c.
18847 2012-05-31  Marek Polacek  <polacek@redhat.com>
18849         [BZ #14132]
18850         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18851         __endmntent_internal): Remove declaration.
18852         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18853         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18854         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18856 2012-05-30  David S. Miller  <davem@davemloft.net>
18858         * sysdeps/sparc/sparc32/soft-fp/q_util.c
18859         (___Q_simulate_exceptions): Use real FP ops rather than writing
18860         into the %fsr.
18861         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18862         Likewise.
18864 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18866         [BZ #14117]
18867         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18868         * sysdeps/x86/bits/xtitypes.h: This.
18870         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18871         * sysdeps/x86/bits/wordsize.h: This.
18873         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18874         * sysdeps/x86/bits/huge_vall.h: This.
18876         * sysdeps/i386/bits/select.h: Removed.
18877         * sysdeps/x86_64/bits/select.h: Renamed to ...
18878         * sysdeps/x86/bits/select.h: This.
18880         * sysdeps/i386/bits/setjmp.h: Removed.
18881         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18882         * sysdeps/x86/bits/setjmp.h: This.
18884         * sysdeps/i386/bits/mathdef.h: Removed.
18885         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18886         * sysdeps/x86/bits/mathdef.h: This.
18888 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
18890         [BZ #14132]
18891         * include/sys/socket.h (__connect_internal)
18892         (__libc_sa_len_internal): Remove declaration.
18893         (__connect, __libc_sa_len): Declare hidden_proto.
18894         (SA_LEN): Remove use of INTUSE.
18895         * socket/connect.c: Add libc_hidden_def.
18896         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18897         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18898         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18899         alias.
18900         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18901         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18902         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18903         of adding _internal alias.
18905 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18907         [BZ #14117]
18908         * sysdeps/i386/bits/link.h: Removed.
18909         * sysdeps/i386/bits/linkmap.h: Likewise.
18910         * sysdeps/x86_64/bits/link.h: Renamed to ...
18911         * sysdeps/x86/bits/link.h: This.
18912         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18913         * sysdeps/x86/bits/linkmap.h: This.
18915         * sysdeps/i386/bits/endian.h: Removed.
18916         * sysdeps/x86_64/bits/endian.h: Renamed to ...
18917         * sysdeps/x86/bits/endian.h: This.
18919         * sysdeps/i386/bits/byteswap.h: Removed.
18920         * sysdeps/i386/bits/byteswap-16.h: Likewise.
18921         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18922         * sysdeps/x86/bits/byteswap.h: This.
18923         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18924         * sysdeps/x86/bits/byteswap-16.h: This.
18925         * sysdeps/i386/Implies: Add x86.
18926         * sysdeps/x86_64/Implies: Likewise.
18928 2012-05-30  David S. Miller  <davem@davemloft.net>
18930         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18931         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18932         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18933         (FP_TRAPPING_EXCEPTIONS): Define.
18934         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18935         (FP_TRAPPING_EXCEPTIONS): Define.
18936         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18937         subnormals only when inexact has been signalled or underflow
18938         exceptions are enabled.
18939         (_FP_PACK_CANONICAL): Likewise.
18941 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18943         [BZ #14183]
18944         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18945         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18947 2012-05-30  Richard Henderson  <rth@twiddle.net>
18949         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18950         with #ifndef NOT_IN_libc.
18952         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
18953         marked to avoid plt entry.
18955 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18957         [BZ #14112]
18958         * Makeconfig (default-abi): New macro.
18959         (abi-includes): Likewise.
18960         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
18961         $(abi-$(default-abi)-lib-soname) for soname if defined.
18962         ($(common-objpfx)gnu/lib-names.stmp): Generate from
18963         abi-variants.
18964         * Makefile (installed-stubs): Likewise.
18965         * include/stubs-biarch.h: Removed.
18966         * scripts/lib-names.awk: Only handle one library at a time.
18967         * scripts/soversions.awk: Remove WORDSIZE support.
18968         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18969         entries.
18970         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18971         Removed.
18972         (syscall-list-default-condition): Likewise.
18973         (syscall-list-default-condition): Likewise.
18974         (syscall-list-includes): Likewise.
18975         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18976         syscall-list-* with abi-*.  Handle undefined abi-variants.
18977         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18978         * sysdeps/unix/sysv/linux/i386/Implies: New file.
18979         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18980         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18981         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18982         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18983         Removed.
18984         (syscall-list-32-options): Likewise.
18985         (syscall-list-32-condition): Likewise.
18986         (syscall-list-64-options): Likewise.
18987         (syscall-list-64-condition): Likewise.
18988         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18989         macro.
18990         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18991         Renamed to ...
18992         (abi-*): This.
18993         (abi-64-ld-soname): New macro.
18994         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18995         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18996         Renamed to ...
18997         (abi-*): This.
18998         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18999         * sysdeps/x86_64/x32/shlib-versions: Likewise.
19001 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
19003         * sysdeps/unix/sysv/linux/kernel-features.h
19004         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19005         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19006         include <kernel-features.h>.
19007         [!__NR_ftruncate64]: Remove conditional code.
19008         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19009         [__NR_ftruncate64]: Make code unconditional.
19010         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19011         * sysdeps/unix/sysv/linux/truncate64.c: Do not
19012         include <kernel-features.h>.
19013         [!__NR_ftruncate64]: Remove conditional code.
19014         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19015         [__NR_ftruncate64]: Make code unconditional.
19016         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19018         include <kernel-features.h>.
19019         [!__NR_ftruncate64]: Remove conditional code.
19020         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19021         [__NR_ftruncate64]: Make code unconditional.
19022         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19024         include <kernel-features.h>.
19025         [!__NR_ftruncate64]: Remove conditional code.
19026         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19027         [__NR_ftruncate64]: Make code unconditional.
19028         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19030         * configure.in (libc_cv_fpie): Weaken to a compile test using
19031         LIBC_TRY_CC_OPTION.
19032         * configure: Regenerated.
19034 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19040         Refreshed.
19041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19047         Refreshed.
19049 2012-05-27  David S. Miller  <davem@davemloft.net>
19051         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19052         (___Q_zero): New.
19053         (__Q_simulate_exceptions): Return void.  Change to simulate
19054         exceptions by writing into the %fsr.
19055         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19056         (__Qp_handle_exceptions): Likewise.
19057         (numbers): Delete.
19058         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19059         __Qp_handle_exceptions.
19060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19061         __Qp_handle_exceptions.
19062         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19063         as unused and give dummy FP_RND_NEAREST initializer.
19064         (FP_INHIBIT_RESULTS): Define.
19065         (___Q_simulate_exceptions): Update declaration.
19066         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19067         formatting.
19068         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19069         as unused and give dummy FP_RND_NEAREST initializer.
19070         (__Qp_handle_exceptions): Update declaration.
19071         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19072         formatting.
19074 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
19076         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19077         the temporary FPU control word.
19078         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19079         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19080         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19081         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19082         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19083         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19084         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19085         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19086         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19087         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19088         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19090 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19092         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19093         fields.
19095 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
19097         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19098         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19099         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19100         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19101         Likewise.
19102         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19103         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19104         Likewise.
19106 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
19108         * po/h.po: Update from translation team.
19110 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
19112         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19114         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19115         handling of denormals.
19116         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19117         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19118         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19119         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19120         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19121         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19122         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19123         Likewise.
19125 2012-05-26  Marek Polacek  <polacek@redhat.com>
19127         [BZ #14152]
19128         * math/libm-test.inc (fma_test): Don't always expect underflow
19129         exception.
19131 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19133         [BZ #12416]
19134         * elf/tst-execstack.c: Include stackinfo.h.
19135         (do_test): Adjust test case to ensure that pthread_getattr_np
19136         behaviour remains the same after marking stack executable.
19138 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19140         * sysdeps/unix/sysv/linux/kernel-features.h
19141         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19142         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19143         kernel-features.h.
19144         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19145         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19146         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19147         kernel-features.h.
19148         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19149         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19151 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
19153         * configure.in: Define the default includes to being none.
19154         * configure: Regenerated.
19156 2012-05-25  Roland McGrath  <roland@hack.frob.com>
19158         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19159         * sysdeps/x86_64/setjmp.S: Likewise.
19160         * sysdeps/i386/bsd-setjmp.S: Likewise.
19161         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19162         * sysdeps/i386/setjmp.S: Likewise.
19163         * sysdeps/i386/__longjmp.S: Likewise.
19164         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19165         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19167         * include/stap-probe.h: New file.
19168         * configure.in: Handle --enable-systemtap.
19169         * configure: Regenerated.
19170         * config.h.in (USE_STAP_PROBE): New #undef.
19171         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19172         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19173         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19175 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19177         [BZ #13717]
19178         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19179         to 2.4.0 where earlier.
19180         * sysdeps/unix/sysv/linux/configure: Regenerated.
19181         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19182         <kernel-features.h>.
19183         [__ASSUME_32BITUIDS]: Make code unconditional.
19184         [!__ASSUME_32BITUIDS]: Remove conditional code.
19185         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19186         <kernel-features.h>.
19187         [__ASSUME_32BITUIDS]: Make code unconditional.
19188         [!__ASSUME_32BITUIDS]: Remove conditional code.
19189         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19190         [__ASSUME_32BITUIDS]: Make code unconditional.
19191         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19192         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19193         <kernel-features.h>.
19194         [__ASSUME_32BITUIDS]: Make code unconditional.
19195         [!__ASSUME_32BITUIDS]: Remove conditional code.
19196         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19197         <kernel-features.h>.
19198         [__ASSUME_32BITUIDS]: Make code unconditional.
19199         [!__ASSUME_32BITUIDS]: Remove conditional code.
19200         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19201         <kernel-features.h>.
19202         [__ASSUME_32BITUIDS]: Make code unconditional.
19203         [!__ASSUME_32BITUIDS]: Remove conditional code.
19204         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19205         <kernel-features.h>.
19206         [__ASSUME_32BITUIDS]: Make code unconditional.
19207         [!__ASSUME_32BITUIDS]: Remove conditional code.
19208         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19209         <kernel-features.h>.
19210         [__ASSUME_32BITUIDS]: Make code unconditional.
19211         [!__ASSUME_32BITUIDS]: Remove conditional code.
19212         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19213         <kernel-features.h>.
19214         [__ASSUME_32BITUIDS]: Make code unconditional.
19215         [!__ASSUME_32BITUIDS]: Remove conditional code.
19216         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19217         <kernel-features.h>.
19218         [__ASSUME_32BITUIDS]: Make code unconditional.
19219         [!__ASSUME_32BITUIDS]: Remove conditional code.
19220         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19221         <kernel-features.h>.
19222         [__ASSUME_32BITUIDS]: Make code unconditional.
19223         [!__ASSUME_32BITUIDS]: Remove conditional code.
19224         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19225         <kernel-features.h>.
19226         [__ASSUME_32BITUIDS]: Make code unconditional.
19227         [!__ASSUME_32BITUIDS]: Remove conditional code.
19228         * sysdeps/unix/sysv/linux/i386/semctl.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/i386/setegid.c: Do not include
19233         <kernel-features.h>.
19234         [__NR_setresgid] (__setresgid): Do not declare.
19235         [__ASSUME_32BITUIDS]: Make code unconditional.
19236         [!__ASSUME_32BITUIDS]: Remove conditional code.
19237         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19238         <kernel-features.h>.
19239         [__NR_setresuid] (__setresuid): Do not declare.
19240         [__ASSUME_32BITUIDS]: Make code unconditional.
19241         [!__ASSUME_32BITUIDS]: Remove conditional code.
19242         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19243         <kernel-features.h>.
19244         [__ASSUME_32BITUIDS]: Make code unconditional.
19245         [!__ASSUME_32BITUIDS]: Remove conditional code.
19246         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19247         <kernel-features.h>.
19248         [__ASSUME_32BITUIDS]: Make code unconditional.
19249         [!__ASSUME_32BITUIDS]: Remove conditional code.
19250         * sysdeps/unix/sysv/linux/i386/setgid.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/i386/setgroups.c: Do not include
19255         <kernel-features.h>.
19256         [__ASSUME_32BITUIDS]: Make code unconditional.
19257         [!__ASSUME_32BITUIDS]: Remove conditional code.
19258         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19259         <kernel-features.h>.
19260         [__ASSUME_32BITUIDS]: Make code unconditional.
19261         [!__ASSUME_32BITUIDS]: Remove conditional code.
19262         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19263         <kernel-features.h>.
19264         [__ASSUME_32BITUIDS]: Make code unconditional.
19265         [!__ASSUME_32BITUIDS]: Remove conditional code.
19266         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19267         <kernel-features.h>.
19268         [__ASSUME_32BITUIDS]: Make code unconditional.
19269         [!__ASSUME_32BITUIDS]: Remove conditional code.
19270         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19271         <kernel-features.h>.
19272         [__ASSUME_32BITUIDS]: Make code unconditional.
19273         [!__ASSUME_32BITUIDS]: Remove conditional code.
19274         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19275         <kernel-features.h>.
19276         [__ASSUME_32BITUIDS]: Make code unconditional.
19277         [!__ASSUME_32BITUIDS]: Remove conditional code.
19278         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19279         <kernel-features.h>.
19280         [__ASSUME_32BITUIDS]: Make code unconditional.
19281         [!__ASSUME_32BITUIDS]: Remove conditional code.
19282         * sysdeps/unix/sysv/linux/kernel-features.h
19283         (__ASSUME_SETRESUID_SYSCALL): Remove.
19284         (__ASSUME_SETRESGID_SYSCALL): Likewise.
19285         (__ASSUME_32BITUIDS): Likewise.
19286         (__ASSUME_LDT_WORKS): Likewise.
19287         (__ASSUME_O_DIRECTORY): Likewise.
19288         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19289         architecture but not kernel version.
19290         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19291         (__ASSUME_MMAP2_SYSCALL): Likewise.
19292         (__ASSUME_STAT64_SYSCALL): Likewise.
19293         (__ASSUME_IPC64): Likewise.
19294         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19295         <kernel-features.h>.
19296         [__ASSUME_32BITUIDS]: Make code unconditional.
19297         [!__ASSUME_32BITUIDS]: Remove conditional code.
19298         * sysdeps/unix/sysv/linux/opendir.c: Do not include
19299         <kernel-features.h>.
19300         [__ASSUME_O_DIRECTORY]: Make code unconditional.
19301         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19302         132096]: Remove conditional code.
19303         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19304         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19305         <kernel-features.h>.
19306         [__ASSUME_32BITUIDS]: Make code unconditional.
19307         [!__ASSUME_32BITUIDS]: Remove conditional code.
19308         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19309         <kernel-features.h>.
19310         [__ASSUME_32BITUIDS]: Make code unconditional.
19311         [!__ASSUME_32BITUIDS]: Remove conditional code.
19312         * sysdeps/unix/sysv/linux/setegid.c: Do not include
19313         <kernel-features.h>.
19314         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19315         unconditional.
19316         (__setresgid): Do not declare.
19317         [__ASSUME_32BITUIDS]: Make code unconditional.
19318         [!__ASSUME_32BITUIDS]: Remove conditional code.
19319         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19320         <kernel-features.h>.
19321         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19322         unconditional.
19323         (__setresuid): Do not declare.
19324         [__ASSUME_32BITUIDS]: Make code unconditional.
19325         [!__ASSUME_32BITUIDS]: Remove conditional code.
19326         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19327         <kernel-features.h>.
19328         [__ASSUME_32BITUIDS]: Make code unconditional.
19329         [!__ASSUME_32BITUIDS]: Remove conditional code.
19330         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19331         <kernel-features.h>.
19332         [__ASSUME_32BITUIDS]: Make code unconditional.
19333         [!__ASSUME_32BITUIDS]: Remove conditional code.
19335 2012-05-25  Richard Henderson  <rth@twiddle.net>
19337         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19338         dl_hwcap to ifunc resolver.
19339         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19340         elf_ifunc_invoke.
19341         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19342         dl_hwcap to ifunc resolver.
19343         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19345 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19347         [BZ #14153]
19348         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19349         for |x| <= 2**-26, not 2**-57.
19350         * math/libm-test.inc (acos_test): Do not allow spurious underflow
19351         exception.
19353 2012-05-24  Jeff Law  <law@redhat.com>
19355         * stdio-common/Makefile (tests): Add bug25.
19356         * stdio-common/bug25.c: New test.
19358 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19360         [BZ #13576]
19361         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19362         multiple of MALLOC_ALIGNMENT in size.
19363         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19365 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19367         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19368         Require >= 256.
19369         (FILENAME_MAX): Use macro-int-constant.
19370         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
19371         (_IOFBF): Use macro-int-constant.
19372         (_IOLBF): Likewise.
19373         (_IONBF): Likewise.
19374         (SEEK_CUR): Likewise.
19375         (SEEK_END): Likewise.
19376         (SEEK_SET): Likewise.
19377         (TMP_MAX): Likewise.
19378         (EOF): Use macro-int-constant.  Require < 0.
19379         (NULL): Use macro-constant.  Require == 0.
19380         (stdin): Require type to be FILE *.
19381         (stdout): Likewise.
19382         (stderr): Likewise.
19383         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19384         macro-int-constant.
19385         (EXIT_SUCCESS): Likewise.
19386         (NULL): Use macro-constant.  Require == 0.
19387         (RAND_MAX): Use macro-int-constant.
19388         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19389         [C99-based standards] (strtof): Require function.
19390         [C99-based standards] (strtold): Likewise.
19391         [C99-based standards] (strtoll): Likewise.
19392         [C99-based standards] (strtoull): Likewise.
19393         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19394         [ISO || ISO99 || ISO11] (limits.h): Likewise.
19395         [ISO || ISO99 || ISO11] (math.h): Likewise.
19396         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19397         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19398         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19400 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
19402         [BZ #14132]
19403         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19404         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19405         * intl/dgettext.c (DCGETTEXT): Likewise.
19406         * intl/gettext.c (DCGETTEXT): Likewise.
19407         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19408         * posix/regex_internal.h (gettext): Likewise.
19409         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19410         Remove declaration.
19411         * include/argz.h (__argz_count_internal)
19412         (__argz_stringify_internal): Remove declaration.
19413         (__argz_count, __argz_stringify): Declare hidden proto.
19414         * intl/dcgettext.c: Remove use of INTDEF.
19415         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19416         * string/argz-stringify.c: Likewise.
19417         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19418         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19419         Declare hidden proto.
19420         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19421         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19422         Declare hidden proto.
19423         * include/stdio.h (__asprintf_internal): Don't declare.
19424         (__asprintf): Don't define as macro.  Declare hidden proto.
19425         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19426         (__fsetlocking): Declare hidden proto.
19427         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19428         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19429         hidden proto.
19430         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19431         (_IO_setlinebuf): Remove use of INTUSE.
19432         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19433         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19434         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19435         Remove declaration.
19436         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19437         (_IO_do_flush): Remove use of INTUSE.
19438         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19439         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19440         (_IO_adjust_column, _IO_least_wmarker)
19441         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19442         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19443         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19444         (_IO_default_doallocate, _IO_wdefault_doallocate)
19445         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19446         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19447         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19448         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19449         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19450         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19451         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19452         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19453         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19454         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19455         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19456         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19457         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19458         proto.
19459         (_IO_flush_all_internal, _IO_adjust_column_internal)
19460         (_IO_default_uflow_internal, _IO_default_finish_internal)
19461         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19462         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19463         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19464         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19465         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19466         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19467         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19468         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19469         (_IO_file_close_internal, _IO_file_close_it_internal)
19470         (_IO_file_underflow_internal, _IO_file_overflow_internal)
19471         (_IO_file_init_internal, _IO_file_attach_internal)
19472         (_IO_file_fopen_internal, _IO_file_read_internal)
19473         (_IO_file_sync_internal, _IO_file_seek_internal)
19474         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19475         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19476         (_IO_str_underflow_internal, _IO_str_overflow_internal)
19477         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19478         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19479         (_IO_list_all_internal, _IO_link_in_internal)
19480         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19481         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19482         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19483         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19484         (_IO_do_write_internal, _IO_padn_internal)
19485         (_IO_getline_info_internal, _IO_getline_internal)
19486         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19487         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19488         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19489         (_IO_vfscanf_internal, _IO_vfprintf_internal)
19490         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19491         (_IO_init_internal, _IO_un_link_internal): Don't declare.
19492         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19493         with libc_hidden_ver, remove use of INTUSE.
19494         * libio/genops.c: Likewise.
19495         * libio/freopen.c: Likewise.
19496         * libio/freopen64.c: Likewise.
19497         * libio/iofclose.c: Likewise.
19498         * libio/iofdopen.c: Likewise.
19499         * libio/iofflush.c: Likewise.
19500         * libio/iofflush_u.c: Likewise.
19501         * libio/iofgets.c: Likewise.
19502         * libio/iofgets_u.c: Likewise.
19503         * libio/iofopen.c: Likewise.
19504         * libio/iofopncook.c: Likewise.
19505         * libio/iofread.c: Likewise.
19506         * libio/iofread_u.c: Likewise.
19507         * libio/ioftell.c: Likewise.
19508         * libio/iofwrite.c: Likewise.
19509         * libio/iogetline.c: Likewise.
19510         * libio/iogets.c: Likewise.
19511         * libio/iogetwline.c: Likewise.
19512         * libio/iopadn.c: Likewise.
19513         * libio/iopopen.c: Likewise.
19514         * libio/ioseekoff.c: Likewise.
19515         * libio/ioseekpos.c: Likewise.
19516         * libio/iosetbuffer.c: Likewise.
19517         * libio/iosetvbuf.c: Likewise.
19518         * libio/ioungetc.c: Likewise.
19519         * libio/ioungetwc.c: Likewise.
19520         * libio/iovdprintf.c: Likewise.
19521         * libio/iovsprintf.c: Likewise.
19522         * libio/iovsscanf.c: Likewise.
19523         * libio/memstream.c: Likewise.
19524         * libio/obprintf.c: Likewise.
19525         * libio/oldfileops.c: Likewise.
19526         * libio/oldiofclose.c: Likewise.
19527         * libio/oldiofdopen.c: Likewise.
19528         * libio/oldiofopen.c: Likewise.
19529         * libio/oldiopopen.c: Likewise.
19530         * libio/oldstdfiles.c: Likewise.
19531         * libio/putc.c: Likewise.
19532         * libio/setbuf.c: Likewise.
19533         * libio/setlinebuf.c: Likewise.
19534         * libio/stdfiles.c: Likewise.
19535         * libio/strops.c: Likewise.
19536         * libio/vasprintf.c: Likewise.
19537         * libio/vscanf.c: Likewise.
19538         * libio/vsnprintf.c: Likewise.
19539         * libio/vswprintf.c: Likewise.
19540         * libio/wfiledoalloc.c: Likewise.
19541         * libio/wfileops.c: Likewise.
19542         * libio/wgenops.c: Likewise.
19543         * libio/wmemstream.c: Likewise.
19544         * libio/wstrops.c: Likewise.
19545         * libio/__fpurge.c: Likewise.
19546         * libio/__fsetlocking.c: Likewise.
19547         * assert/assert.c: Likewise.
19548         * debug/fgets_chk.c: Likewise.
19549         * debug/fgets_u_chk.c: Likewise.
19550         * debug/fread_chk.c: Likewise.
19551         * debug/fread_u_chk.c: Likewise.
19552         * debug/gets_chk.c: Likewise.
19553         * debug/obprintf_chk.c: Likewise.
19554         * debug/vasprintf_chk.c: Likewise.
19555         * debug/vdprintf_chk.c: Likewise.
19556         * debug/vsnprintf_chk.c: Likewise.
19557         * debug/vsprintf_chk.c: Likewise.
19558         * malloc/mtrace.c: Likewise.
19559         * misc/error.c: Likewise.
19560         * misc/syslog.c: Likewise.
19561         * stdio-common/asprintf.c: Likewise.
19562         * stdio-common/fxprintf.c: Likewise.
19563         * stdio-common/getw.c: Likewise.
19564         * stdio-common/isoc99_fscanf.c: Likewise.
19565         * stdio-common/isoc99_scanf.c: Likewise.
19566         * stdio-common/isoc99_vfscanf.c: Likewise.
19567         * stdio-common/isoc99_vscanf.c: Likewise.
19568         * stdio-common/isoc99_vsscanf.c: Likewise.
19569         * stdio-common/printf-prs.c: Likewise.
19570         * stdio-common/printf_fp.c: Likewise.
19571         * stdio-common/printf_fphex.c: Likewise.
19572         * stdio-common/printf_size.c: Likewise.
19573         * stdio-common/putw.c: Likewise.
19574         * stdio-common/scanf.c: Likewise.
19575         * stdio-common/sprintf.c: Likewise.
19576         * stdio-common/tmpfile.c: Likewise.
19577         * stdio-common/vfprintf.c: Likewise.
19578         * stdio-common/vfscanf.c: Likewise.
19579         * stdlib/strfmon_l.c: Likewise.
19580         * sunrpc/openchild.c: Likewise.
19581         * sunrpc/xdr_stdio.c: Likewise.
19582         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19583         * sysdeps/mach/hurd/tmpfile.c: Likewise.
19585 2012-05-24  Roland McGrath  <roland@hack.frob.com>
19587         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19589         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19590         in the third column, to generate for the shared library an IFUNC
19591         that uses _dl_vdso_vsym.
19592         * Makerules (COMPILE.c, compile-stdin.c): New variables.
19593         * Makeconfig (object-suffixes-noshared): New variable.
19595         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19596         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19597         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19598         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19600         [BZ #14132]
19601         * include/sys/time.h (__gettimeofday): Remove macro.
19602         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19603         * time/gettimeofday.c (__gettimeofday): Remove #undef.
19604         Remove INTDEF.
19605         (__gettimeofday): Add libc_hidden_def.
19606         (gettimeofday): Add libc_hidden_weak.
19607         * sysdeps/mach/gettimeofday.c: Likewise.
19608         * sysdeps/posix/gettimeofday.c: Likewise.
19609         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19610         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19611         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19612         (__gettimeofday_internal): Remove strong_alias.
19613         (__gettimeofday): Add libc_hidden_def.
19614         (gettimeofday): Add libc_hidden_weak.
19615         * sysdeps/unix/syscalls.list (gettimeofday):
19616         Remove __gettimeofday_internal alias.
19618 2012-05-24  Daniel Jacobowitz  <drow@false.org>
19619             H.J. Lu  <hongjiu.lu@intel.com>
19621         [BZ #12495]
19622         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19623         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19624         (largebin_index_32_big): New.
19625         (largebin_index): Use it for 16-byte alignment.
19626         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
19627         correction with front_misalign.
19629 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19633         Likewise.
19634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19635         Likewise.
19636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19637         Likewise.
19638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19639         Likewise.
19640         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19641         Likewise.
19642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19643         Likewise.
19644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19645         Likewise.
19646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19647         Likewise.
19648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19649         Likewise.
19650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19651         Likewise.
19652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19653         Likewise.
19654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19655         Likewise.
19657         * scripts/data/c++-types-x32-linux-gnu.data: New file.
19658         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19660 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19662         [BZ #10846]
19663         [BZ #14036]
19664         * math/libm-test.inc (exp_test): Add test from bug 14036.
19665         (pow_test): Add test from bug 10846.
19667         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19668         and other flags.
19669         (special_function): Do not include flags in test name.
19670         (parse_args): Likewise.
19671         * sysdeps/i386/fpu/libm-test-ulps: Update.
19672         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19673         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19674         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19677         * math/gen-libm-test.pl (%beautify): Add entries for underflow
19678         exceptions.
19679         * math/libm-test.inc ("Philosophy"): Update comment about
19680         exception testing.
19681         (UNDERFLOW_EXCEPTION): New macro.
19682         (UNDERFLOW_EXCEPTION_OK): Likewise.
19683         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19684         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19685         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19686         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19687         (INVALID_EXCEPTION_OK): Update value.
19688         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19689         (OVERFLOW_EXCEPTION_OK): Likewise.
19690         (IGNORE_ZERO_INF_SIGN): Likewise.
19691         (test_exceptions): Handle underflow exceptions.
19692         (acos_test): Update for underflow exception expectations.
19693         (cexp_test): Likewise.
19694         (clog_test): Likewise.
19695         (clog10_test): Likewise.
19696         (csqrt_test): Likewise.
19697         (ctan_test): Likewise.
19698         (ctanh_test): Likewise.
19699         (exp_test): Likewise.
19700         (exp10_test): Likewise.
19701         (exp2_test): Likewise.
19702         (expm1_test): Likewise.
19703         (fma_test): Likewise.
19704         (j0_test): Likewise.
19705         (jn_test): Likewise.
19706         (nexttoward_test): Likewise.
19707         (pow_test): Likewise.
19708         (scalbn_test): Likewise.
19709         (scalbln_test): Likewise.
19710         (tan_test): Likewise.
19711         (y1_test): Likewise.
19712         * sysdeps/i386/fpu/libm-test-ulps: Update.
19713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19715 2012-05-23  David S. Miller  <davem@davemloft.net>
19717         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19718         (__libc_sigaction): Remove unused local variables.
19720 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19722         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19724 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
19726         mktime: avoid signed integer overflow
19727         * time/mktime.c (__mktime_internal): Do not mishandle the case
19728         where diff == INT_MIN.
19730         mktime: simplify computation of average
19731         * time/mktime.c (ranged_convert): Use new time_t_avg function
19732         instead of rolling our own (probably-slower) code.
19734         mktime: do not assume signed right shift propagates sign bit
19735         * time/mktime.c (isdst_differ): New static function.
19736         (__mktime_internal): No need to normalize tm_isdst now.
19737         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19738         tm_isdst values.
19740         mktime: merge another wrapv change from gnulib
19741         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19742         from some compilers.
19744         mktime: remove incorrect attempt at unusual arithmetics
19745         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19746         The code didn't really work on such machines anyway.
19747         (TYPE_MINIMUM): Assume two's complement.
19748         (twos_complement_arithmetic): Verify that long_int and time_t
19749         are two's complement (or unsigned, in the latter case).
19751         mktime: check signed shifts on long_int and time_t, too
19752         * time/mktime.c (SHR): Check that shifts work as desired
19753         on the types long_int and time_t too, as SHR is used on
19754         such types.
19756         mktime: do not assume 'long' is wide enough
19757         * time/mktime.c (verify): Move decl up.
19758         (long_int): New type.
19759         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19760         to remove assumption in the code that 'long' is wide enough to
19761         store year values.  This assumption is not true on x32 and on
19762         some non-glibc platforms.
19764         mktime: merge wrapv change from gnulib
19765         * time/mktime.c (WRAPV): New macro.
19766         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19767         (guess_time_tm, __mktime_internal): Do not assume that signed
19768         integer overflow wraps around; modern compilers generate code
19769         where this assumption is no longer valid.
19771 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19773         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19774         Replace "jmp L(pseudo_end)" with "ret".
19775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19776         Likewise.
19778 2012-05-23  Andreas Jaeger  <aj@suse.de>
19780         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19781         * sysdeps/unix/sysv/linux/poll.c: Remove file.
19783 2012-05-23  Andreas Jaeger  <aj@suse.de>
19784             Maximilian Attems  <max@stro.at>
19786         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19787         New macros.
19789 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19791         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19792         code so that pseudo_end is just ret and the stack pointer is
19793         correct also for static library in error case.
19795 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
19797         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19798         move to syscalls.list.
19799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19804         * manual/install.texi (Running make install): Do not mention Linux
19805         kernel version for which pt_chown is not needed.
19806         (Linux): Do not mention problems with nscd with 2.0 kernels.
19807         * INSTALL: Regenerated.
19809 2012-05-23  Andreas Jaeger  <aj@suse.de>
19811         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19812         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19813         macro.
19814         * sysdeps/unix/sysv/linux/s390/bits/mman.h
19815         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19816         * sysdeps/unix/sysv/linux/sh/bits/mman.h
19817         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19818         * sysdeps/unix/sysv/linux/i386/bits/mman.h
19819         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19820         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19821         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19822         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19823         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19824         * sysdeps/unix/sysv/linux/bits/in.h
19825         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19827 2012-05-22  Roland McGrath  <roland@hack.frob.com>
19829         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19830         (PREPARE_VERSION): Just use assert instead, it will be elided
19831         under [NDEBUG] anyway.
19833 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19835         * sysdeps/unix/sysv/linux/Makefile: Include
19836         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19837         (sysdep_routines): Remove sysctl.
19838         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19839         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19840         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19841         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19842         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19844 2012-05-22  Andreas Jaeger  <aj@suse.de>
19846         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19847         that pseudo_end is just ret and the stack pointer is correct also
19848         for static library in error case.
19850 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19852         [BZ #14122]
19853         * nss/nsswitch.c (defconfig_entries): New variable.
19854         (__nss_database_lookup): Don't leak defconfig entries.
19855         (nss_parse_service_list): Don't leak on error paths.
19856         (free_database_entries): New function.
19857         (free_defconfig): New function.
19858         (free_mem): Move common code to free_database_entries.
19860 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19862         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19863         Add arch_prctl.
19864         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19866         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19867         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19868         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19869         New macro.
19870         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19871         (INTERNAL_SYSCALL_TYPES): Likewise.
19872         (LOAD_ARGS_TYPES_[1-6]): Likewise.
19873         (LOAD_REGS_TYPES_[1-6]): Likewise.
19874         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19875         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19877 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19879         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19880         copysignl for GLIBC_2_0.
19881         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19882         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19883         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19884         logbl for GLIBC_2_0.
19885         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19886         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19888 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19890         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19891         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19893         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19894         Use "neg %eax".
19896         * time/mktime.c: Update copyright years.
19898 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19900         mktime: merge comment-quoting-style change from gnulib
19901         * time/mktime.c: Quote 'like this' in comments.
19902         The GNU coding standards suggest that we no longer quote `like this',
19903         as "`" and "'" are typically rendered asymmetrically nowadays.
19904         The typical gnulib style is to quote 'like this' when quoting
19905         code, and "like this" when quoting English.
19907         * time/mktime.c (compile-command): Add "-I.".
19909         mktime: merge mktime-internal.h change from gnulib
19910         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19912         mktime: merge time_r change from gnulib
19913         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19915         mktime: merge DEBUG change from gnulib
19916         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19917         case system <time.h> has a #define.
19919         mktime: merge <sys/types.h> change from gnulib
19920         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19921         since <time.t> is now guaranteed to define time_t.
19923         mktime: merge HAVE_CONFIG_H change from gnulib
19924         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19926 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19928         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19929         Use "neg %eax".
19931         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19932         __rlim_t cast.
19933         (struct rusage): Use anonymous union to pad each field to
19934         __syscall_slong_t.
19936 2012-05-21  David S. Miller  <davem@davemloft.net>
19938         * Makefules (o-iterator): Remove .s cases.
19939         (compile-command.s): Delete.
19940         (COMPILE.s): Delete.
19941         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19943 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
19945         * configure.in (libc_cv_predef_stack_protector): Only consider
19946         "foobar" and "__stack_chk_fail" lines in libc_undefs.
19947         * configure: Regenerated.
19949 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19951         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19952         New macro.  Use R*LP on int and pointer.
19953         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19954         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19955         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19956         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19958         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19959         [__WORDSIZE_TIME64_COMPAT32] instead of
19960         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19961         (struct utmp): Likewise.
19962         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19963         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19964         Renamed to ...
19965         (__WORDSIZE_TIME64_COMPAT32): This.
19966         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19967         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19968         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19969         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19970         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19971         (__WORDSIZE_TIME64_COMPAT32): New macro.
19973 2012-05-21  Andreas Jaeger  <aj@suse.de>
19975         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19976         only if [SHARED]. Add prototype for __wcschr_ia32.
19978 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19980         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19981         of %rbp unmolested in the jmp_buf while mangling the low bits.
19982         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19983         unmolested high bits of %rbp while demangling the low bits.
19984         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19986 2012-05-21  Andreas Jaeger  <aj@suse.de>
19988         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19989         * sunrpc/svc_simple.c: Use it for registerrpc.
19990         * sunrpc/xcrypt.c: Use it for passwd2des.
19992         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19994 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19996         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19997         Don't define if [__SYSCALL_WORDSIZE != 32].
19998         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19999         New macro.
20001 2012-05-21  Bruno Haible  <bruno@clisp.org>
20002             Andreas Jaeger  <aj@suse.de>
20004         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20005         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20006         inptr and inend for must_buffer_ch.
20007         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20008         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20009         * stdio-common/Makefile (tests): Remove bug15.
20010         (bug15-ENV): Remove macro.
20011         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20012         anymore.
20014 2012-05-19  Andreas Jaeger  <aj@suse.de>
20015             Roland McGrath  <roland@hack.frob.com>
20017         * manual/contrib.texi: Completely rewritten. It contains now an
20018         alphabetical list of contributors and their contributions.
20020 2012-05-21  Richard Henderson  <rth@twiddle.net>
20022         * misc/getauxval.c (__getauxval): Use unsigned long int.
20023         * misc/sys/auxv.h: Include <sys/cdefs.h>.
20024         (getauxval): Use unsigned long int.
20026 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20028         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20030 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20032         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20033         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20034         __alignof__ (long double).
20036 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20040 2012-05-20  Richard Henderson  <rth@twiddle.net>
20042         * misc/getauxval.c: New file.
20043         * misc/sys/auxv.h: New file.
20044         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20045         (routines): Add getauxval.
20046         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20047         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20048         * elf/dl-sysdep.c (_dl_auxv): Remove.
20049         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20050         * elf/dl-support.c (_dl_auxv): New variable.
20051         (_dl_aux_init): Initialize it.
20052         * manual/startup.texi (Auxiliary Vector): New node.
20053         * sysdeps/generic/bits/hwcap.h: New file.
20054         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20055         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
20056         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20057         * sysdeps/sparc/sysdep.h: ... here.  Include it.
20058         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20059         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20061         Update.
20062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20065         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20071 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20075 2012-05-19  David S. Miller  <davem@davemloft.net>
20077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20079 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20081         [BZ #14123]
20082         * math/s_ccosh.c: Include <float.h>
20083         (__ccosh): Avoid internal overflow calculating sinh and cosh
20084         values before multiplying by sin and cos values.
20085         * math/s_ccoshf.c: Likewise.
20086         * math/s_ccoshl.c: Likewise.
20087         * math/s_csin.c: Likewise.
20088         * math/s_csinf.c: Likewise.
20089         * math/s_csinl.c: Likewise.
20090         * math/s_csinh.c: Likewise.
20091         * math/s_csinhf.c: Likewise.
20092         * math/s_csinhl.c: Likewise.
20093         * math/libm-test.inc (ccos_test): Add more tests.
20094         (ccosh_test): Likewise.
20095         (csin_test): Likewise.
20096         (csinh_test): Likewise.
20097         * sysdeps/i386/fpu/libm-test-ulps: Update.
20098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20100 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20102         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20103         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20105         * sysdeps/x86_64/x32/_itoa.h: Add comment.
20107 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20109         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20110         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20111         * sysdeps/powerpc/soft-fp/Versions: Likewise.
20112         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20113         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20114         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20115         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20116         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20117         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20118         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20119         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20120         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20121         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20122         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20123         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20124         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20125         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20126         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20127         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20128         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20129         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20130         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20131         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20132         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20133         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20134         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20135         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20136         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20137         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20138         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20139         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20141 2012-05-18  Andreas Jaeger  <aj@suse.de>
20143         * csu/.gitignore: Delete.
20145 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20147         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20148         (timex): Use __syscall_slong_t.
20150 2012-05-18  Andreas Jaeger  <aj@suse.de>
20151             Carlos O'Donell  <carlos_odonell@mentor.com>
20153         * manual/install.texi (Configuring and compiling): Update
20154         description about files modified in the source directory.
20155         * INSTALL: Regenerated.
20157 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20159         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20160         value.  Use "or" to set return value to -1.
20161         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20162         negate return value.
20164 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20166         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20167         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20168         failure if the compiler has Graphite support disabled.
20169         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20170         Likewise.
20171         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20172         CFLAGS-memmove.c): Likewise.
20173         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20174         Likewise.
20176 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20178         * sysdeps/x86_64/x32/_itoa.h: New file.
20180         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20181         getdents system call only if kernel and user dirents have the
20182         same d_ino and d_off.
20184         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20185         LLONG_MAX != LONG_MAX.
20186         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20187         (_fitoa_word): Likewise.
20189         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20190         years.
20191         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20192         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20193         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20195         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20196         include <bits/wordsize.h>.  Check __x86_64__ instead of
20197         __WORDSIZE.
20198         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20199         if __x86_64__ is defined.  Use anonymous union on fpstate.
20201         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20202         anonymous union.
20204 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
20206         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20207         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20208         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20209         Refer to _rtld_local_ro instead of _rtld_global_ro.
20210         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20211         Likewise.
20212         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20213         Likewise.
20214         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20215         Likewise.
20216         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20217         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20218         of _rtld_global, and rtld_progname instead of _dl_argv[0].
20220         * sysdeps/powerpc/powerpc32/dl-machine.c
20221         (__elf_machine_runtime_setup) [PROF]: Don't reference
20222         _dl_prof_resolve.
20224 2012-05-18  Andreas Jaeger  <aj@suse.de>
20226         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20227         function only available for GCCs before 3.4 since GCC 3.4
20228         introduced a builtin.
20229         (lrint): Likewise.
20230         (llrintf): Likewise.
20231         (llrint): Likewise.
20232         (fmaxf): Likewise.
20233         (fmax): Likewise.
20234         (fminf): Likewise.
20235         (fmin): Likewise.
20236         (rint): Likewise.
20237         (rintf): Likewise.
20238         (nearbyint): Likewise.
20239         (nearbyintf): Likewise.
20240         (ceil): Likewise.
20241         (ceilf): Likewise.
20242         (floor): Likewise.
20243         (floorf): Likewise.
20245 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20247         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20248         on both fields and cast pointer to __syscall_ulong_t.
20250         * bits/types.h (__fsword_t): New type.
20251         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20252         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20253         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20254         (__FSWORD_T_TYPE): Likewise.
20255         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20256         (__FSWORD_T_TYPE): Likewise.
20257         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20258         (__FSWORD_T_TYPE): Likewise.
20259         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20260         (__FSWORD_T_TYPE): Likewise.
20261         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20262         __SWORD_TYPE with __fsword_t.
20263         (statfs64): Likewise.
20265 2012-05-17  David S. Miller  <davem@davemloft.net>
20267         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20269 2012-05-17  Andreas Jaeger  <aj@suse.de>
20271         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20272         warning.
20274 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20276         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20278 2012-05-17  Andreas Jaeger  <aj@suse.de>
20280         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20281         when it is used.
20283 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20285         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20287 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20289         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20290         * sysdeps/x86_64/tst-mallocalign1.c: New file.
20292 2012-05-17  Andreas Jaeger  <aj@suse.de>
20293             Carlos O'Donell  <carlos_odonell@mentor.com>
20295         [BZ #14059]
20296         * sysdeps/x86_64/multiarch/init-arch.h
20297         (bit_YMM_Usable): Rename to...
20298         (bit_AVX_Usable): ... this.
20299         (bit_FMA4_Usable): New macro.
20300         (bit_XMM_state): New macro.
20301         (bit_YMM_state): New macro.
20302         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20303         [__ASSEMBLER__] (index_AVX_Usable): ... this.
20304         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20305         (CPUID_OSXSAVE): New macro.
20306         (CPUID_AVX): New macro.
20307         (CPUID_FMA4): New macro.
20308         (index_YMM_Usable): Rename to...
20309         (index_AVX_Usable): ... this.
20310         (HAS_AVX): Use HAS_ARCH_FEATURE.
20311         (HAS_FMA4): Likewise.
20312         (HAS_YMM_USABLE): Remove.
20313         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20314         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20315         are present.
20316         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20317         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20318         * sysdeps/x86_64/multiarch/Makefile: Likewise.
20319         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20320         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20322 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20324         * math/libm-test.c: Support platforms without multiple rounding modes.
20325         * math/bug-nextafter.c: Support platforms without FP exceptions.
20326         * math/bug-nexttoward.c: Likewise.
20327         * math/test-fenv.c: Likewise.
20328         * math/test-misc.c: Likewise.
20329         * stdlib/bug-getcontext.c: Likewise.
20331 2012-05-17  Andreas Jaeger  <aj@suse.de>
20333         * manual/examples/search.c (critter_cmp): Change signature to
20334         avoid warnings.
20335         * manual/string.texi (Collation Functions): Likewise.
20337 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20339         * bits/types.h: Fold copyright years.
20340         * bits/typesizes.h: Likewise.
20341         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20342         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20343         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20344         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20345         * time/time.h: Likewise.
20347 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
20349         [BZ #208]
20350         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20351         in instead of returning them.  Return void.
20352         (__libc_mallinfo): Accumulate over all arenas.
20353         (__malloc_stats): Adjust for change in int_mallinfo interface.
20355 2012-05-16  Roland McGrath  <roland@hack.frob.com>
20357         [BZ #10375]
20358         * configure.in (NM): Add AC_CHECK_TOOL for it.
20359         (libc_extra_cflags): New substituted variable.
20360         Check for -fstack-protector being used implicitly.
20361         * configure: Regenerated.
20362         * config.make.in (config-extra-cflags): New variable,
20363         gets @libc_extra_cflags@.
20364         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20366         [BZ #10375]
20367         * configure.in: Check for _FORTIFY_SOURCE being predefined.
20368         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20369         * configure: Regenerated.
20370         * config.make.in (CPPUNDEFS): New substituted variable.
20371         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20372         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20373         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20375 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20377         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20378         (mq_attr): Use __syscall_slong_t.
20380 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20382         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20383         Check __x86_64__ instead of __WORDSIZE.
20384         (_STAT_VER_LINUX): Likewise.
20385         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
20386         __syscall_ulong_t and __syscall_slong_t.
20387         (stat64): Likewise.
20389 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20391         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20393 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20395         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20397 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20399         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20400         __syscall_ulong_t.
20402         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20403         include <bits/wordsize.h>.  Check __x86_64__ instead of
20404         __WORDSIZE.
20405         (greg_t): Use "__extension__ long long int" if __x86_64__ is
20406         defined.
20407         (mcontext_t): Replace "unsigned long" with "unsigned long long".
20409         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20410         include <bits/wordsize.h>.  Check __x86_64__ instead of
20411         __WORDSIZE.
20412         (user_regs_struct): Use "__extension__ unsigned long long"
20413         instead of "unsigned long" if __x86_64__ is defined.
20414         (user): Likewise.  Pad after pointer field if __ILP32__ is
20415         defined.
20417 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
20419         * configure.in (makeinfo): Require version 4.5 or later.  Allow
20420         versions 5 to 9.
20421         * configure: Regenerated.
20422         * manual/install.texi (texinfo): Increase version requirement to
20423         4.5 or later.
20424         * INSTALL: Regenerated.
20426         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20428 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20430         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20432         * sysdeps/x86_64/x32/ffs.c: New file.
20434         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20435         __syscall_ulong_t.
20436         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20437         defined.  Use __syscall_ulong_t.
20438         (shminfo): Use __syscall_ulong_t.
20439         (shm_info): Likewise.
20441         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20442         __syscall_ulong_t.
20444         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20445         <bits/wordsize.h>.
20446         (msgqnum_t): Use __syscall_ulong_t.
20447         (msglen_t): Likewise.
20448         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
20449         __syscall_ulong_t.
20451         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20452         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20454         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20456         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20457         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20459         * sysvipc/sys/msg.h (msgbuf): Replace long int with
20460         __syscall_slong_t.
20462         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20463         include <bits/wordsize.h>.  Check __x86_64__ instead of
20464         __WORDSIZE.
20466         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20467         "unsigned long long int" if __x86_64__ is defined.
20468         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20470         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20471         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20472         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20474         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20475         <stdint.h>.
20476         (GET_PC): Cast to uintptr_t first.
20477         (GET_FRAME): Likewise.
20478         (GET_STACK): Likewise.
20480         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20481         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20482         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20483         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20484         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20485         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20486         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20487         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20488         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20489         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20490         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20491         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20492         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20493         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20494         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20495         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20496         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20497         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20498         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20499         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20500         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20501         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20502         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20503         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20504         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20505         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20506         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20507         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20508         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20510 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
20512         * Makerules (+depfiles): Also collect depfiles from .oS in
20513         $(extra-objs).
20514         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20515         .oS, $(libnldbl-routines)).
20517         * Makerules (native-compile-mkdep-flags): Define.
20518         * sunrpc/Makefile (extra-objs): Add $(addprefix
20519         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20520         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20521         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
20522         calling $(make-target-directory).
20524 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20526         * bits/types.h (__snseconds_t): Removed.
20527         * time/time.h (struct timespec): Replace __snseconds_t with
20528         __syscall_slong_t.
20529         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20530         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20531         Likewise.
20532         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20533         (__SNSECONDS_T_TYPE): Likewise.
20534         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20535         (__SNSECONDS_T_TYPE): Likewise.
20536         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20537         (__SNSECONDS_T_TYPE): Likewise.
20539 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20541         * sysdeps/mach/hurd/bits/typesizes.h
20542         (__SYSCALL_SLONG_TYPE): New macro.
20543         (__SYSCALL_ULONG_TYPE): Likewise.
20545 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20547         * bits/types.h (__syscall_slong_t): New type.
20548         (__syscall_ulong_t): Likewise.
20550         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20551         (__SYSCALL_ULONG_TYPE): Likewise.
20552         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20553         (__SYSCALL_SLONG_TYPE): Likewise.
20554         (__SYSCALL_ULONG_TYPE): Likewise.
20555         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20556         (__SYSCALL_SLONG_TYPE): Likewise.
20557         (__SYSCALL_ULONG_TYPE): Likewise.
20558         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20559         (__SYSCALL_SLONG_TYPE): Likewise.
20560         (__SYSCALL_ULONG_TYPE): Likewise.
20562 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20564         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20565         Add sigaltstack-offsets.sym.
20566         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20567         <sigaltstack-offsets.h>.
20568         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
20569         longjmp_msg pointer.
20570         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
20571         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20572         signal stack.
20573         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20575 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20577         * elf/stackguard-macros.h: Remove file.
20578         * sysdeps/generic/stackguard-macros.h: New file.
20579         * sysdeps/i386/stackguard-macros.h: Likewise.
20580         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20581         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20582         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20583         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20584         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20585         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20586         * sysdeps/x86_64/stackguard-macros.h: Likewise.
20587         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20588         <elf/stackguard-macros.h>.
20590         [BZ #14109]
20591         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20592         __aligned__ in attribute.
20593         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20594         (gregset_t): Likewise.
20596 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20598         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20599         * sysdeps/x86_64/64/Implies-after: Here.  New file.
20600         * sysdeps/x86_64/x32/Implies-after: New file.
20602 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20604         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20605         and access return value for _dl_profile_fixup.  Use R10_LP to
20606         load frame size.
20608 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20610         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20612 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20614         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20615         * sysdeps/x86_64/x32/sysdep.h: New file.
20617 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20619         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20620         * sysdeps/x86_64/setjmp.S: Likewise.
20622 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20624         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20625         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20626         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20627         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20628         remove unused global constant.
20630 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
20632         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20633         include of <not-cancel.h>.
20635 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20637         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20639 2012-05-15  Jeff Law  <law@redhat.com>
20640             Andreas Jaeger  <aj@suse.de>
20642         [BZ #13594]
20643         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20644         out from...
20645         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20646         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20647         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20648         code changing __hst_map_handle.map.
20650 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20652         * configure.in (sysnames): Look for Implies-before and Implies-after
20653         files.
20654         * configure: Regenerated.
20656 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20658         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20659         8-byte data alignment with LP_SIZE alignment.
20661 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20663         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20664         into R10_LP.
20666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20668         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20670 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20672         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20673         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20674         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20675         Likewise.
20676         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20680         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20681         (stackinfo_sub_sp): Likewise.
20683 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20685         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20686         RAX_LP.
20688 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20690         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20691         into R*_LP.
20693 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20695         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20696         sizes into R*_LP.
20698 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20700         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20702 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20704         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20705         into R11_LP and load __x86_64_shared_cache_size_half into
20706         R8_LP.
20708 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20710         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20711         R8_LP.
20713 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20715         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20716         logb for POWER7.
20717         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20718         logbf for POWER7.
20719         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20720         logbl for POWER7.
20721         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20722         powerpc32/power7/fpu/s_logb.c via #include.
20723         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20724         powerpc32/power7/fpu/s_logbf.c via #include.
20725         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20726         powerpc32/power7/fpu/s_logbl.c via #include.
20728 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20730         * README.libm: Remove file.
20732 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20734         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20735         count for x32.  Use R*_LP and omit operand-size suffix.
20737 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20739         * shlib-versions: Move x86_64-.*-linux.* entries to ...
20740         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
20741         * sysdeps/x86_64/x32/shlib-versions: New file.
20743 2012-05-14  Roland McGrath  <roland@hack.frob.com>
20745         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20746         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20747         Use _dl_fatal_printf instead.
20749 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20751         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20752         set if not set by the user.  Do not allow for being unset.
20753         * sysdeps/unix/sysv/linux/configure: Regenerated.
20755 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20757         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20758         the `q' suffix from lea and replace .quad with ASM_ADDR.
20760 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20762         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20763         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
20764         instead of $17.
20765         (PTR_DEMANGLE): Likewise.
20767 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20769         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20770         (LP_OP): Likewise.
20771         (ASM_ADDR): Likewise.
20772         (RAX_LP): Likewise.
20773         (RBP_LP): Likewise.
20774         (RBX_LP): Likewise.
20775         (RCX_LP): Likewise.
20776         (RDI_LP): Likewise.
20777         (RSI_LP): Likewise.
20778         (RSP_LP): Likewise.
20779         (R8_LP): Likewise.
20780         (R9_LP): Likewise.
20781         (R10_LP): Likewise.
20782         (R10_LP): Likewise.
20783         (R11_LP): Likewise.
20784         (R12_LP): Likewise.
20785         (R13_LP): Likewise.
20786         (R14_LP): Likewise.
20787         (R15_LP): Likewise.
20789 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20791         * sysdeps/x86_64/x32/dl-machine.h: New file.
20793 2012-05-14  Andreas Jaeger  <aj@suse.de>
20795         * manual/Makefile (subdir): Remove export of subdir.
20796         (all): Remove target.
20797         (.PHONY): Remove all from list.
20798         (mkinstalldirs): Remove.
20799         (.PHONY): Remove installdirs from list.
20800         ($(inst_infodir)/libc.info): Use make-target-directory.
20801         (installdirs): Remove.
20802         (subdir_%): Remove.
20803         (glibc-targets): Remove.
20804         (lib): Remove.
20805         (stubs): Remove.
20806         ($(objpfx)stubs ../po/manual.pot): Remove.
20807         ($(objpfx)stamp%): Remove.
20808         (make-target-directory): Remove.
20809         (subdir_install): Remove.
20810         (routines): Remove.
20811         (aux): Remove.
20812         (sources): Remove.
20813         (objects): Remove.
20814         (headers): Remove.
20816         [BZ #13750]
20817         * manual/.gitignore: Remove, it's not needed anymore.
20818         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20819         all files in it.
20820         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20821         directory.
20822         (texis): Renamed to $(objpfx)texis.
20823         (texis-path): New, contains path to generated files.
20824         (chapters.%): Use texis-path for complete path, add extra argument
20825         libc-texinfo.sh.
20826         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20827         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20828         (summary,texi, stamp-summary): Use complete path of
20829         files. Generate files in build dir.
20830         (dir-add.texi): Build in build dir.
20831         (libm-err.texi,stamp-libm-err): Likewise.
20832         (version.texi, stamp-version): Likewise.
20833         (.%c.texi): Likewise.
20834         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20835         (mostlyclean): Remove target.
20836         (realclean): Remove target.
20837         (generated): Add new variable with contents from mostlyclean and
20838         realclean, remove entries duplicated in common-mostlyclean, add
20839         stamp-libm-err and stamp-version.
20840         (generated-dirs): Add libc directory.
20841         ($(inst_infodir)/libc.info): Install files from build dir.
20843         * manual/install.texi (Configuring and compiling): Adjust since
20844         the info files are not part of the tar ball anymore.
20846 2012-05-14  Andreas Jaeger  <aj@suse.de>
20848         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20849         variable.
20851 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20853         [BZ #13717]
20854         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20855         to 2.2.0 where earlier.
20856         * sysdeps/unix/sysv/linux/configure: Regenerated.
20857         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20858         Remove conditional code.
20859         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20860         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20861         Remove conditional code.
20862         [!__NR_lchown]: Likewise.
20863         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20864         [__NR_lchown]: Likewise.
20865         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20866         comment referencing __ASSUME_LCHOWN_SYSCALL.
20867         * sysdeps/unix/sysv/linux/i386/sigaction.c
20868         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20869         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20870         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20871         Remove conditional code.
20872         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20873         (__protocol_available): Remove #if 0 code.
20874         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20875         conditional code.
20876         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20877         * sysdeps/unix/sysv/linux/kernel-features.h
20878         (__ASSUME_GETCWD_SYSCALL): Don't define.
20879         (__ASSUME_REALTIME_SIGNALS): Likewise.
20880         (__ASSUME_PREAD_SYSCALL): Likewise.
20881         (__ASSUME_PWRITE_SYSCALL): Likewise.
20882         (__ASSUME_POLL_SYSCALL): Likewise.
20883         (__ASSUME_LCHOWN_SYSCALL): Likewise.
20884         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20885         non-SPARC.
20886         (__ASSUME_SIOCGIFNAME): Don't define.
20887         (__ASSUME_MSG_NOSIGNAL): Likewise.
20888         (__ASSUME_SENDFILE): Define unconditionally.
20889         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20890         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20891         conditional code.
20892         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20893         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20894         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20895         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20896         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20897         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20898         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20900         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20901         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20903         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20904         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20906         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20907         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20909         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20910         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20912         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20913         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20915         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20916         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20918         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20919         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20921         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20922         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20923         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20924         Remove conditional code.
20925         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20926         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20927         Remove conditional code.
20928         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20929         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20930         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20931         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20932         Remove conditional code.
20933         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20934         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20935         Remove conditional code.
20936         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20937         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20938         Remove conditional code.
20939         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20940         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20941         Remove conditional code.
20942         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20943         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20944         Remove conditional code.
20945         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20946         * sysdeps/unix/sysv/linux/sh/pwrite64.c
20947         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20948         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20949         * sysdeps/unix/sysv/linux/sigaction.c
20950         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20951         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20952         * sysdeps/unix/sysv/linux/sigpending.c
20953         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20954         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20955         * sysdeps/unix/sysv/linux/sigprocmask.c
20956         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20957         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20958         * sysdeps/unix/sysv/linux/sigsuspend.c
20959         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20960         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20961         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20962         (__libc_missing_rt_sigs): Remove.
20963         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20964         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20965         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20966         Remove conditional code.
20967         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20968         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20969         return 1.
20970         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20971         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20972         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20973         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20975 2012-05-14  Andreas Jaeger  <aj@suse.de>
20977         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20978         it's not used in glibc.
20979         (__coshm1): Likewise.
20980         (__acosh1p): Likewise.
20981         (__sgn): Likewise.
20983         * manual/string.texi (Copying and Concatenation): Add missing
20984         variable in concat example.
20985         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20987 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20989         [BZ #14103]
20990         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20991         __builtin_clzl with __builtin_clzll.
20993 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20995         [BZ #14104]
20996         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20997         libc_freeres_ptr.
20999 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21001         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21002         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21003         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21004         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21006 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
21008         * NEWS: Update ia64 info.
21010 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
21012         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21013         used as bcopy.
21015 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
21017         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21018         * sysdeps/unix/syscalls.list (dup3): Likewise.
21019         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21020         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21022 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21024         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21025         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21027 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21029         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21030         thread pointer.
21031         (TLS_IE): Use mov/add instead of movq/addq to load thread
21032         pointer.
21033         (TLS_GD_PREFIX): New.
21034         (TLS_GD): Use it.
21036 2012-05-11  David S. Miller  <davem@davemloft.net>
21038         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21039         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21040         (_FPU_SETCW): Likewise.
21042 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21044         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21045         is 32-byte aligned.
21047 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
21049         [BZ #11837]
21050         * iconvdata/gb18030.c: Update tables.
21051         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
21052         characters specially.
21053         (BODY for TO_LOOP): Add encoding of missing ranges.
21055 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
21057         [BZ #13673]
21058         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21059         * sysdeps/mach/hurd/dup3.c: Likewise.
21060         * sysdeps/mach/hurd/readlinkat.c: Likewise.
21061         * sysdeps/powerpc/memmove.c:: Likewise.
21063 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21065         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21066         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21068 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21070         * elf/elf.h (R_X86_64_RELATIVE64): New.
21071         (R_X86_64_NUM): Updated.
21072         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21073         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
21074         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21075         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21076         tst-quad1pie tst-quad2pie
21077         (modules-names): Add tst-quadmod1 tst-quadmod2.
21078         ($(objpfx)tst-quad1): New dependency.
21079         ($(objpfx)tst-quad2): Likewise.
21080         ($(objpfx)tst-quad1pie): Likewise.
21081         ($(objpfx)tst-quad2pie): Likewise.
21082         * sysdeps/x86_64/tst-quad1.c: New file.
21083         * sysdeps/x86_64/tst-quad1pie.c: New file.
21084         * sysdeps/x86_64/tst-quad2.c: Likewise.
21085         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21086         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21087         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21088         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21089         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21091 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21093         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21094         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21095         * streams/stropts.h (t_scalar_t): Define type.
21097         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21098         (_PATH_PRESERVE): Set to "/var/lib".
21099         (_PATH_RWHODIR): Set to "/var/spool/rwho".
21101         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21102         instead of int.
21104         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21105         if __dir_mkfile succeeded.
21107         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21108         checking for _hurd_dtablesize.  Unlock it right after having
21109         finished _hurd_dtable allocation.
21111 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21113         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21114         * sysdeps/mach/hurd/configure: Regenerated.
21115         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21116         special-casing to...
21117         * sysdeps/gnu/configure.in: ... this new file.
21118         * sysdeps/unix/sysv/linux/configure: Regenerated.
21119         * sysdeps/gnu/configure: New generated file.
21121         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21122         for Linux: use nsec instead of usec, as well as:
21123         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21124         members of type struct timespec.
21125         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21126         New macros.
21127         (struct stat64): Likewise.
21128         (_STATBUF_ST_NSEC): New macro.
21129         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21131         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21132         __strtoul_internal rather than strtoul.
21134 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21136         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21137         and reject them.
21139 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21141         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21142         which preserves existing values.
21143         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21145 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21147         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21148         TIMEOUT values.  Return EINVAL for NFDS values either negative or
21149         greater than FD_SETSIZE.
21151 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21153         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21154         allocated, call __vm_protect to finish enabling the existing space, and
21155         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21156         allocate the remainder.
21158 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21160         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21161         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
21163 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21165         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21166         sysdeps/mach/hurd/readlink.c.
21168         * posix/tst-sysconf.c (posix_options): Only use
21169         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21170         _POSIX_SYNCHRONIZED_IO when they are defined
21171         * sysdeps/mach/hurd/bits/posix_opt.h:
21172         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21173         (_XOPEN_REALTIME): Undefine macro.
21174         (_XOPEN_REALTIME_THREADS): Undefine macro.
21175         (_XOPEN_SHM): Undefine macro.
21176         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21177         macro to -1.
21178         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21179         macro to -1.
21180         (_POSIX_ASYNC_IO): Undefine macro.
21181         (_POSIX_PRIORITIZED_IO): Undefine macro.
21182         (_POSIX_SPIN_LOCKS): Define macro to -1.
21184         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21185         SA_NODEFER, SA_RESETHAND.
21186         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21187         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21188         F_DUPFD_CLOEXEC.
21190 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21192         * elf/Makefile (pldd-modules): Define unconditionally.
21194 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21196         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21198 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21200         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21201         Return ENOENT when name is empty.
21202         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21204 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21206         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21208         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21210 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21212         Fix mlock in all cases except non-readable pages.
21213         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21214         instead of VM_PROT_ALL as parameter to __vm_wire function.
21216         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21217         (__mkdir): When path is `/', just fail with EEXIST.
21218         * sysdeps/mach/hurd/mkdirat.c: Likewise.
21220 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21222         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21223         <sys/uio.h> (for writev).
21224         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21225         and <sys/param.h> (for MIN).
21227 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21229         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21230         REQUESTED_TIME.  Properly set the remaining time and return EINTR
21231         if interrupted.
21233 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21235         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21236         Depend on against $(link-rpcuserlibs).
21238 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21240         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21241         (__libc_stack_end): Do not use attribute_relro.
21242         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21243         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21244         to libthread-provided value.
21245         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21246         attribute_relro.
21248 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21250         [BZ #3748]
21251         * bits/libc-lock.h (__libc_once_get): New macro.
21252         * sysdeps/mach/bits/libc-lock.h: Likewise.
21253         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21254         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21255         instead of using implementation details.
21257         * libio/fileops.c: Unconditionally include <kernel-features.h>.
21258         * libio/freopen.c: Likewise.
21259         * libio/freopen64.c: Likewise.
21260         * misc/syslog.c: Likewise.
21261         * nscd/connections.c: Likewise.
21262         * nscd/netgroupcache.c: Likewise.
21263         * sysdeps/posix/getcwd.c: Likewise.
21265 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21267         * math/w_ilogbf.c: Add #include <limits.h>.
21269 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21271         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21272         path instead of returning without unlocking.
21274         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21275         immediate-write ioctls.
21276         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21278 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21280         * sysdeps/mach/hurd/i386/init-first.c (init): Use
21281         __builtin_frame_address instead of making assumptions about the
21282         location of the return address relative to DATA.  Force early load of
21283         the return address.
21284         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21285         __builtin_frame_address.
21287         dup3 for GNU Hurd.
21288         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21289         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
21290         implement dup3 and do some further code clean-ups.
21291         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21292         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21294 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21296         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21298         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21299         HURD_CRITICAL_END around holding _hurd_dtable_lock.
21300         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21301         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21302         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21303         d->port.lock.
21305         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21306         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
21307         when handler == SIG_ERR, not when handler != SIG_ERR.
21309 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21311         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21312         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21313         definitions.
21315         accept4 for GNU Hurd.
21316         * include/sys/socket.h (__libc_accept4): New prototype.
21317         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
21318         to implement __libc_accept4.
21319         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21320         __libc_accept4.
21321         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21323         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21324         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21325         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21326         signal-defines.sym.
21328 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21330         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21332 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21334         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21335         assertion on O_CLOEXEC flag.
21336         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21337         * hurd/intern-fd.c: Likewise.
21338         * hurd/port2fd.c: Likewise.
21340 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21342         [BZ #3906]
21343         * bits/in.h (IPV6_PKTINFO): Define new macro.
21344         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21346 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21348         [BZ #13954]
21349         [BZ #13955]
21350         [BZ #13956]
21351         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21352         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21353         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21354         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21355         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21356         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21357         * math/libm-test.inc (logb_test) : Additional logb tests.
21359 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
21360             Andreas Jaeger  <aj@suse.de>
21362         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21363         * configure: Regenerated.
21364         * config.h.in (LINK_OBSOLETE_RPC): New macro.
21365         * config.make.in (link-obsolete-rpc): New substituted variable.
21366         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21367         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21368         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21369         (shared-only-routines): Don't set it under [link-obsolete-rpc],
21370         so that libc.a contains the symbols.
21371         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21372         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21373         * sunrpc/auth_none.c: Likewise.
21374         * sunrpc/auth_unix.c: Likewise.
21375         * sunrpc/authdes_prot.c: Likewise.
21376         * sunrpc/authuxprot.c: Likewise.
21377         * sunrpc/clnt_gen.c: Likewise.
21378         * sunrpc/clnt_perr.c: Likewise.
21379         * sunrpc/clnt_raw.c: Likewise.
21380         * sunrpc/clnt_simp.c: Likewise.
21381         * sunrpc/clnt_tcp.c: Likewise.
21382         * sunrpc/clnt_udp.c: Likewise.
21383         * sunrpc/clnt_unix.c: Likewise.
21384         * sunrpc/des_crypt.c: Likewise.
21385         * sunrpc/des_soft.c: Likewise.
21386         * sunrpc/get_myaddr.c: Likewise.
21387         * sunrpc/key_call.c: Likewise.
21388         * sunrpc/key_prot.c: Likewise.
21389         * sunrpc/netname.c: Likewise.
21390         * sunrpc/pm_getmaps.c: Likewise.
21391         * sunrpc/pm_getport.c: Likewise.
21392         * sunrpc/pmap_clnt.c: Likewise.
21393         * sunrpc/pmap_prot.c: Likewise.
21394         * sunrpc/pmap_prot2.c: Likewise.
21395         * sunrpc/pmap_rmt.c: Likewise.
21396         * sunrpc/publickey.c: Likewise.
21397         * sunrpc/rpc_cmsg.c: Likewise.
21398         * sunrpc/rpc_common.c: Likewise.
21399         * sunrpc/rpc_dtable.c: Likewise.
21400         * sunrpc/rpc_prot.c: Likewise.
21401         * sunrpc/rpc_thread.c: Likewise.
21402         * sunrpc/rtime.c: Likewise.
21403         * sunrpc/svc.c: Likewise.
21404         * sunrpc/svc_auth.c: Likewise.
21405         * sunrpc/svc_raw.c: Likewise.
21406         * sunrpc/svc_run.c: Likewise.
21407         * sunrpc/svc_tcp.c: Likewise.
21408         * sunrpc/svc_udp.c: Likewise.
21409         * sunrpc/svc_unix.c: Likewise.
21410         * sunrpc/svcauth_des.c: Likewise.
21411         * sunrpc/xcrypt.c: Likewise.
21412         * sunrpc/xdr.c: Likewise.
21413         * sunrpc/xdr_array.c: Likewise.
21414         * sunrpc/xdr_float.c: Likewise.
21415         * sunrpc/xdr_intXX_t.c: Likewise.
21416         * sunrpc/xdr_mem.c: Likewise.
21417         * sunrpc/xdr_rec.c: Likewise.
21418         * sunrpc/xdr_ref.c: Likewise.
21419         * sunrpc/xdr_sizeof.c: Likewise.
21420         * sunrpc/xdr_stdio.c: Likewise.
21422 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21424         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21425         change.  Update copyright years.
21427 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21429         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21431 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
21432             Joseph Myers  <joseph@codesourcery.com>
21433             Paul Pluzhnikov  <ppluzhnikov@google.com>
21435         [BZ #14012]
21436         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21437         requiring rpcgen.
21438         [cross-compiling] (extra-libs): Likewise.
21439         [cross-compiling] (extra-libs-others): Likewise.
21440         [cross-compiling] (librpcsvc-routines): Likewise.
21441         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21442         [cross-compiling] (omit-deps): Likewise.
21443         (sunrpc-CPPFLAGS): New variable.
21444         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21445         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21446         (cross-rpcgen-objs): New variable.
21447         (extra-objs): Append $(cross-rpcgen-objs).
21448         ($(cross-rpcgen-objs)): New rule.
21449         ($(objpfx)cross-rpcgen): Likewise.
21450         (rpcgen-cmd): Define to use $(built-program-file).  Expand
21451         comment.
21452         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21453         ($(objpfx)x%.stmp): Likewise.
21454         * sunrpc/proto.h [IS_IN_build] (_): Define.
21455         [IS_IN_build] (_libc_intl_domainname): Likewise.
21457 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21459         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21460         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21461         and R_X86_64_TPOFF64.
21463 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21465         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21466         sysdeps/unix/sysv/syscalls.list.
21467         (stime): Likewise.
21468         (utime): Likewise.
21469         * sysdeps/unix/sysv/syscalls.list: Remove file.
21471 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
21473         [BZ #3440]
21474         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21475         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21476         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21477         (__LC_IDENTIFICATION): Make these macros useful in #if
21478         expressions, as required by C99.
21480 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
21482         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21483         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
21484         after this.
21486 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
21488         * stdlib/longlong.h: Updated from GCC.
21490 2012-05-09  Andreas Jaeger  <aj@suse.de>
21492         * nscd/nscd.c (run_modes): Make named enum, reorder so that
21493         default is first entry.
21494         (run_mode): Set type.
21495         (main): Remove informal message about syslog.
21496         (options): Fix typo.
21498         [BZ #14053]
21499         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21500         to asm.
21501         (lrint): Likewise.
21502         (llrintf): Likewise.
21503         (llrint): Likewise.
21504         (rint): Likewise.
21505         (rintf): Likewise.
21506         (nearbyint): Likewise.
21507         (nearbyintf): Likewise.
21509 2012-05-09  Andreas Jaeger  <aj@suse.de>
21510             Pedro Alves  <palves@redhat.com>
21512         * nscd/nscd.c (run_mode): Use enum.
21513         (main): Cleanup coding style issue.
21515 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
21516             Andreas Jaeger  <aj@suse.de>
21518         * nscd/nscd.c (go_background): Replaced with...
21519         (run_mode): ... this.
21520         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21521         (options): Add -F --foreground.
21522         (main): Implement it.
21523         (parse_opt): Parse it.
21525 2012-05-09  Andreas Jaeger  <aj@suse.de>
21527         [BZ #14083]
21528         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21529         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21530         -Wconversion warning.
21531         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21532         Likewise.
21534 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
21536         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
21537         == 0.
21538         (LC_ALL): Use macro-int-constant.
21539         (LC_COLLATE): Likewise.
21540         (LC_CTYPE): Likewise.
21541         (LC_MESSAGES): Likewise.
21542         (LC_MONETARY): Likewise.
21543         (LC_NUMERIC): Likewise.
21544         (LC_TIME): Likewise.
21545         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21546         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21547         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21548         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21549         Specify type.
21550         [C99-based standards] (float_t): Expect type.
21551         [C99-based standards] (double_t): Expect type.
21552         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
21553         type.
21554         [C99-based standards] (HUGE_VALL): Likewise.
21555         [C99-based standards] (INFINITY): Likewise.
21556         [C99-based standards] (NAN): Likewise.
21557         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21558         [C99-based standards] (FP_NAN): Likewise.
21559         [C99-based standards] (FP_NORMAL): Likewise.
21560         [C99-based standards] (FP_SUBNORMAL): Likewise.
21561         [C99-based standards] (FP_ZERO): Likewise.
21562         [C99-based standards] (FP_FAST_FMA): Use
21563         optional-macro-int-constant.  Specify type.  Require == 1.
21564         [C99-based standards] (FP_FAST_FMAF): Likewise.
21565         [C99-based standards] (FP_FAST_FMAL): Likewise.
21566         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21567         [C99-based standards] (FP_ILOGBNAN): Likewise.
21568         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21569         Specify type.
21570         [C99-based standards] (MATH_ERREXCEPT): Likewise.
21571         [C99-based standards] (math_errhandling): Specify type.
21572         [ISO99 || ISO11] (signgam): Do not allow.
21573         [non-C99-based standards] (copysignf): Do not allow.
21574         [non-C99-based standards] (exp2f): Likewise.
21575         [non-C99-based standards] (log2f): Likewise.
21576         [non-C99-based standards] (modff): Allow.
21577         [non-C99-based standards] (erff): Do not allow.
21578         [non-C99-based standards] (erfcf): Likewise.
21579         [non-C99-based standards] (gammaf): Likewise.
21580         [non-C99-based standards] (hypotf): Likewise.
21581         [non-C99-based standards] (j0f): Likewise.
21582         [non-C99-based standards] (j1f): Likewise.
21583         [non-C99-based standards] (jnf): Likewise.
21584         [non-C99-based standards] (lgammaf): Likewise.
21585         [non-C99-based standards] (tgammaf): Likewise.
21586         [non-C99-based standards] (y0f): Likewise.
21587         [non-C99-based standards] (y1f): Likewise.
21588         [non-C99-based standards] (ynf): Likewise.
21589         [non-C99-based standards] (isnanf): Likewise.
21590         [non-C99-based standards] (acoshf): Likewise.
21591         [non-C99-based standards] (asinhf): Likewise.
21592         [non-C99-based standards] (atanhf): Likewise.
21593         [non-C99-based standards] (cbrtf): Likewise.
21594         [non-C99-based standards] (expm1f): Likewise.
21595         [non-C99-based standards] (ilogbf): Likewise.
21596         [non-C99-based standards] (log1pf): Likewise.
21597         [non-C99-based standards] (logbf): Likewise.
21598         [non-C99-based standards] (nextafterf): Likewise.
21599         [non-C99-based standards] (remainderf): Likewise.
21600         [non-C99-based standards] (rintf): Likewise.
21601         [non-C99-based standards] (scalbf): Likewise.
21602         [non-C99-based standards] (copysignl): Likewise.
21603         [non-C99-based standards] (exp2l): Likewise.
21604         [non-C99-based standards] (log2l): Likewise.
21605         [non-C99-based standards] (modfl): Allow.
21606         [non-C99-based standards] (erfl): Do not allow.
21607         [non-C99-based standards] (erfcl): Likewise.
21608         [non-C99-based standards] (gammal): Likewise.
21609         [non-C99-based standards] (hypotl): Likewise.
21610         [non-C99-based standards] (j0l): Likewise.
21611         [non-C99-based standards] (j1l): Likewise.
21612         [non-C99-based standards] (jnl): Likewise.
21613         [non-C99-based standards] (lgammal): Likewise.
21614         [non-C99-based standards] (tgammal): Likewise.
21615         [non-C99-based standards] (y0l): Likewise.
21616         [non-C99-based standards] (y1l): Likewise.
21617         [non-C99-based standards] (ynl): Likewise.
21618         [non-C99-based standards] (isnanl): Likewise.
21619         [non-C99-based standards] (acoshl): Likewise.
21620         [non-C99-based standards] (asinhl): Likewise.
21621         [non-C99-based standards] (atanhl): Likewise.
21622         [non-C99-based standards] (cbrtl): Likewise.
21623         [non-C99-based standards] (expm1l): Likewise.
21624         [non-C99-based standards] (ilogbl): Likewise.
21625         [non-C99-based standards] (log1pl): Likewise.
21626         [non-C99-based standards] (logbl): Likewise.
21627         [non-C99-based standards] (nextafterl): Likewise.
21628         [non-C99-based standards] (remainderl): Likewise.
21629         [non-C99-based standards] (rintl): Likewise.
21630         [non-C99-based standards] (scalbl): Likewise.
21631         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21632         [non-C99-based standards] (FP_*): Do not allow.
21633         [C99-based standards] (FP_*): Change to
21634         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21635         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21636         allow.
21637         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21638         (SIG_ERR): Likewise.
21639         [X/Open-based standards] (SIG_HOLD): Likewise.
21640         (SIG_IGN): Likewise.
21641         (SIGABRT): Use macro-int-constant.  Specify type.  Require
21642         positive value.
21643         (SIGFPE): Likewise.
21644         (SIGILL): Likewise.
21645         (SIGINT): Likewise.
21646         (SIGSEGV): Likewise.
21647         (SIGTER): Likewise.
21648         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21649         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21650         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21651         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21652         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21653         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21654         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21655         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21656         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21657         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21658         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21659         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21660         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21661         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21662         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21663         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21664         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21665         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21666         [X/Open-based standards] (SIGTRAP): Likewise.
21667         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21668         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21669         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21670         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21671         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21672         allow.
21674 2012-05-08  Ian Wienand  <ianw@vmware.com>
21676         [BZ #14080]
21677         * time/tzset.c (__tzset_parse_tz): Update default rules for
21678         daylight time changes in the Energy Policy Act of 2005.
21680 2012-05-09  Andreas Jaeger  <aj@suse.de>
21682         [BZ #13983]
21683         * elf/ldconfig.c (parse_conf): Change string to make clear that
21684         ldconfig only issued a warning if ld.so.conf does not exist.
21686 2012-05-08  David S. Miller  <davem@davemloft.net>
21688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21689         movxtod instead of popping the value on the stack.
21691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21693 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
21695         * config.h.in: Add HAVE_ARM_PCS_VFP.
21697 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
21699         [BZ #13979]
21700         * include/features.h: Warn if user requests __FORTIFY_SOURCE
21701         checking but the checks are disabled for any reason.
21703 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
21705         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21706         and ELF64_R_TYPE with ELFW(R_TYPE).
21708 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
21710         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21711         (ulimit): Likewise.
21713         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21714         (settimeofday): Likewise.
21716 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
21718         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
21719         a struct th_u2 inside the union, and move tu_block/tu_code into
21720         a new th_u3 union of tu_block/tu_code inside of that.  Move
21721         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
21722         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
21723         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21724         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21725         (th_stuff): Change to th_u1.tu_stuff.
21726         (th_data): Define.
21727         (th_msg): Change to th_u1.th_u2.tu_data.
21729 2012-05-07  David S. Miller  <davem@davemloft.net>
21731         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21733         [BZ #14074]
21734         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21735         (SETUP_PIC_REG): Use it.
21736         (SETUP_PIC_REG_LEAF): Use it.
21738 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
21740         [BZ #13885]
21741         [BZ #13923]
21742         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21743         USE_AS_EXPM1L.
21744         (EXPL_FINITE): Likewise.
21745         (FLDLOG): Likewise.
21746         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21747         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21748         e_expl.S.
21749         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21750         USE_AS_EXPM1L.
21751         (EXPL_FINITE): Likewise.
21752         (FLDLOG): Likewise.
21753         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21754         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21755         e_expl.S.
21756         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
21757         test of -max_value argument for long double.
21758         * sysdeps/i386/fpu/libm-test-ulps: Update.
21759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21761 2012-05-06  David S. Miller  <davem@davemloft.net>
21763         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21764         quad soft-float symbols whose references which are compiler
21765         generated.
21766         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21768 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
21770         [BZ #13884]
21771         [BZ #13914]
21772         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21773         USE_AS_EXP10L.
21774         (EXPL_FINITE): Likewise.
21775         (FLDLOG): Likewise.
21776         (c0): Likewise.
21777         (c1): Likewise.
21778         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21779         Adjust comments for base varying.
21780         (__expl_finite): Change alias to EXPL_FINITE.
21781         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21782         e_expl.S.
21783         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21784         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21785         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21786         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21787         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21788         USE_AS_EXP10L.
21789         (EXPL_FINITE): Likewise.
21790         (FLDLOG): Likewise.
21791         (c0): Likewise.
21792         (c1): Likewise.
21793         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21794         Adjust comments for base varying.
21795         (__expl_finite): Change alias to EXPL_FINITE.
21796         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
21797         tests for bugs.
21798         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21800         [BZ #14064]
21801         * math/libm-test.inc (check_float_internal): Correct ulp
21802         calculation for subnormal expected results.
21804 2012-05-06  Andreas Jaeger  <aj@suse.de>
21806         * Makeconfig (+math-flags): New, set to -frounding-math.
21807         (+cflags): Add +math-flags so that all of glibc gets compiled with
21808         it.
21810         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21812 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
21814         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21815         Disable one test.
21817         [BZ #13787]
21818         [BZ #13922]
21819         [BZ #14036]
21820         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21821         (__ieee754_expl): Allow for and saturate large arguments.
21822         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21823         (u_threshold): Likewise.
21824         (__exp): Call __ieee754_exp before checking for overflow and
21825         underflow.
21826         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21827         (u_threshold): Likewise.
21828         (__expf): Call __ieee754_expf before checking for overflow and
21829         underflow.
21830         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21831         (u_threshold): Likewise.
21832         (__expl): Call __ieee754_expl before checking for overflow and
21833         underflow.
21834         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21835         (__ieee754_expl): Allow for and saturate large arguments.
21836         * math/libm-test.inc (exp_test): Add another test.  Do not allow
21837         missing overflow exception on overflow.
21838         (expm1_test): Do not allow missing overflow exception on overflow.
21840         * sysdeps/i386/fpu/e_expl.c: Move to ...
21841         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
21842         rather than using inline asm.
21843         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21844         * sysdeps/x86_64/fpu/e_expl.S: Copy from
21845         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21847         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21848         (nice): Likewise.
21849         (poll): Likewise.
21850         (signal): Likewise.
21851         (time): Likewise.
21852         (times): Likewise.
21854 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21856         * sysdeps/unix/syscalls.list (adjtime): Add entry from
21857         sysdeps/unix/common/syscalls.list.
21858         (fchmod): Likewise.
21859         (fchown): Likewise.
21860         (ftruncate): Likewise.
21861         (getrusage): Likewise.
21862         (gettimeofday): Likewise.
21863         (setpgid): Likewise.
21864         (setregid): Likewise.
21865         (setreuid): Likewise.
21866         (sigaction): Likewise.
21867         (truncate): Likewise.
21868         (vhangup): Likewise.
21869         * sysdeps/unix/common/syscalls.list: Remove file.
21870         * sysdeps/unix/bsd/Implies: Don't include unix/common.
21871         * sysdeps/unix/sysv/linux/Implies: Likewise.
21873 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
21875         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21877         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21878         Moved to ...
21879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21880         Here.
21881         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21882         to ...
21883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21884         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21885         to ...
21886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21887         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21888         to ...
21889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21890         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21891         to ...
21892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21893         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21894         to ...
21895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21896         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21897         to ...
21898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21899         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21900         to ...
21901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21902         Here.
21903         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21904         to ...
21905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21906         Here.
21907         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21908         to ...
21909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21910         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21911         Moved to ...
21912         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21913         Here.
21914         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21915         to ...
21916         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21918 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21920         * sysdeps/unix/common/bits/dirent.h: Remove file.
21921         * sysdeps/unix/common/bits/fcntl.h: Likewise.
21923         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21924         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21925         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21926         * sysdeps/unix/bsd/isatty.c: Likewise.
21927         * sysdeps/unix/bsd/tcdrain.c: Likewise.
21928         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21929         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21931 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21933         [BZ #13563]
21934         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21935         long double comparison inaccuracies.
21936         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21939 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
21941         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21942         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21944 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21946         [BZ #14049]
21947         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21948         nonzero digits before rounding a hex value.
21949         * stdlib/tst-strtod.c (tests): Add another test.
21951 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21953         * sysdeps/s390/fpu/libm-test-ulps: Update.
21955 2012-05-03  Andreas Jaeger  <aj@suse.de>
21957         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21958         does not get optimized out.
21959         (malloc_opt_barrier): New.
21961 2012-05-03  Andreas Jaeger  <aj@suse.de>
21962             Roland McGrath  <roland@hack.frob.com>
21964         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21965         intermediate file deletion.
21966         (generated): Add .symlist files.
21968 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
21970         [BZ #13775]
21971         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21972         Redirect under this condition.
21973         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21974         [__USE_GNU] (__dprintf_chk): Not under this condition.
21975         [__USE_GNU] (__vdprintf_chk): Likewise.
21976         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21977         under this condition.
21978         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21979         [__USE_XOPEN2K8] (dprintf): Define under this condition.
21980         [__USE_XOPEN2K8] (vdprintf): Likewise.
21981         [__USE_GNU] (__dprintf_chk): Not under this condition.
21982         [__USE_GNU] (__vdprintf_chk): Likewise.
21983         [__USE_GNU] (dprintf): Likewise.
21984         [__USE_GNU] (vdprintf): Likewise.
21986 2012-05-03  Roland McGrath  <roland@hack.frob.com>
21988         * elf/Makefile (common-generated): Set this instead of generated for
21989         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
21990         $(all-built-dso)-derived lists.
21992 2012-05-03  Andreas Jaeger  <aj@suse.de>
21994         * sysdeps/i386/fpu/libm-test-ulps: Update.
21996         * FAQ: Removed.
21997         * FAQ.in: Likewise.
21998         * scripts/gen-FAQ.pl: Likewise.
21999         * manual/install.texi (Installation): Point to online location of
22000         FAQ.
22001         * Makefile (files-for-dist): Remove FAQ.
22002         (FAQ): Remove.
22004 2012-05-02  Allan McRae  <allan@archlinux.org>
22006         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22007         (LDFLAGS-reldepmod5.so): Likewise.
22008         (LDFLAGS-reldep6mod1.so): Likewise.
22009         (LDFLAGS-reldep6mod4.so): Likewise.
22010         (LDFLAGS-reldep8mod3.so): Likewise.
22011         (LDFLAGS-unload4mod1.so): Likewise.
22012         (LDFLAGS-unload4mod2.so): Likewise.
22013         (LDFLAGS-tst-initorder): Likewise.
22014         (LDFLAGS-tst-initordera2.so): Likewise.
22015         (LDFLAGS-tst-initordera3.so): Likewise.
22016         (LDFLAGS-tst-initordera4.so): Likewise.
22017         (LDFLAGS-tst-initorderb2.so): Likewise.
22018         (LDFLAGS-noload): Likewise.
22019         (LDFLAGS-next): Likewise.
22020         (LDFLAGS-order2mod1.so): Likewise.
22021         (LDFLAGS-order2mod2.so): Likewise.
22022         (LDFLAGS-tst-initorder2): Likewise.
22023         (LDFLAGS-tst-initorder2a.so): Likewise.
22024         (LDFLAGS-tst-initorder2b.so): Likewise.
22025         (LDFLAGS-tst-initorder2c.so): Likewise.
22026         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22028 2012-05-02  David S. Miller  <davem@davemloft.net>
22030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22032 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22034         [BZ #14055]
22035         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22037 2012-05-02  Andreas Jaeger  <aj@suse.de>
22039         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22040         since we manipulate rounding mode.
22041         (CPPFLAGS-test-idouble.c): Likewise.
22042         (CPPFLAGS-test-ifloat.c): Likewise.
22043         (CFLAGS-test-ldouble.c): Likewise.
22044         (CFLAGS-test-double.c): Likewise.
22045         (CFLAGS-test-float.c): Likewise.
22046         (CFLAGS-test-misc.c): Likewise.
22047         (CFLAGS-test-test-fenv.c): Likewise.
22049 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22051         [BZ #2550]
22052         [BZ #2570]
22053         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22054         comparisons to determine direction to adjust input.
22056 2012-05-01  Roland McGrath  <roland@hack.frob.com>
22058         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22059         output to the target.
22061         * scripts/localplt.awk: New file.
22062         * elf/Makefile ($(objpfx)check-localplt): Target removed.
22063         (check-localplt-CFLAGS): Variable removed.
22064         ($(all-built-dso:=.jmprel)): New static pattern rule.
22065         (generated): Add those targets.
22066         (localplt-built-dso): New variable.
22067         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22069         * elf/check-localplt.c: File removed.
22071         * scripts/check-execstack.awk: New file.
22072         * elf/Makefile ($(objpfx)check-execstack): Target removed.
22073         (check-execstack-CFLAGS): Variable removed.
22074         ($(objpfx)check-execstack.h): Target removed.
22075         ($(objpfx)execstack-default): New target.
22076         (generated): Add that instead of check-execstack.h.
22077         ($(all-built-dso:=.phdr)): New static pattern rule.
22078         (generated): Add those targets.
22079         * elf/check-execstack.c: File removed.
22081         * scripts/check-textrel.awk: New file.
22082         * elf/Makefile ($(objpfx)check-textrel): Target removed.
22083         (check-textrel-CFLAGS): Variable removed.
22084         (all-built-dso): Use := to define.o
22085         ($(all-built-dso:=.dyn)): New static pattern rule.
22086         (generated): Add those targets.
22087         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22088         * config.make.in (READELF): New substituted variable.
22089         * elf/check-textrel.c: File removed.
22091 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22093         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22094         allow.
22095         * conform/data/ctype.h-data [C99-based standards] (isblank):
22096         Expect function.
22097         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22098         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22099         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22100         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22101         Specify type.  Require positive value.
22102         (EILSEQ): Likewise.
22103         (ERANGE): Likewise.
22104         [ISO || POSIX] (EILSEQ): Do not expect.
22105         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22106         Specify type.  Require positive value.
22107         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22108         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22109         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22110         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22111         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22112         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22113         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22114         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22115         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22116         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22117         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22118         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22119         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22120         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22121         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22122         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22123         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22124         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22125         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22126         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22127         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22128         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22129         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22130         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22131         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22132         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22133         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22134         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22135         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22136         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22137         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22138         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22139         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22140         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22141         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22142         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22143         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22144         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22145         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22146         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22147         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22148         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22149         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22150         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22151         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22152         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22153         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22154         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22155         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22156         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22157         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22158         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22159         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22160         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22161         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22162         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22163         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22164         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22165         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22166         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22167         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22168         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22169         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22170         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22171         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22172         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22173         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22174         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22175         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22176         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22177         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22178         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22179         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22180         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22181         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22182         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22183         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22184         Require >= 2.
22185         (FLT_ROUNDS): Expect as macro, not constant.
22186         (FLT_MANT_DIG): Use macro-int-constant.
22187         (DBL_MANT_DIG): Likewise.
22188         (LDBL_MANT_DIG): Likewise.
22189         (FLT_DIG): Likewise.
22190         (DBL_DIG): Likewise.
22191         (LDBL_DIG): Likewise.
22192         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
22193         (DBL_MIN_EXP): Likewise.
22194         (LDBL_MIN_EXP): Likewise.
22195         (FLT_MAX_EXP): Use macro-int-constant.
22196         (DBL_MAX_EXP): Likewise.
22197         (LDBL_MAX_EXP): Likewise.
22198         (FLT_MAX_10_EXP): Likewise.
22199         (DBL_MAX_10_EXP): Likewise.
22200         (LDBL_MAX_10_EXP): Likewise.
22201         (FLT_MAX): Use macro-constant.
22202         (DBL_MAX): Likewise.
22203         (LDBL_MAX): Likewise.
22204         (FLT_EPSILON): Use macro-constant.  Give upper bound.
22205         (DBL_EPSILON): Likewise.
22206         (LDBL_EPSILON): Likewise.
22207         (FLT_MIN): Likewise.
22208         (DBL_MIN): Likewise.
22209         (LDBL_MIN): Likewise.
22210         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22211         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22212         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22213         [ISO11] (FLT_HAS_SUBNORM): Likewise.
22214         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22215         [ISO11] (DBL_DECIMAL_DIG): Likewise.
22216         [ISO11] (FLT_DECIMAL_DIG): Likewise.
22217         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22218         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22219         [ISO11] (FLT_TRUE_MIN): Likewise.
22220         [ISO11] (LDBL_TRUE_MIN): Likewise.
22221         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22222         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22223         (SCHAR_MIN): Use macro-int-constant.  Specify type.
22224         (SCHAR_MAX): Likewise.
22225         (UCHAR_MAX): Likewise.
22226         (CHAR_MIN): Likewise.
22227         (CHAR_MAX): Likewise.
22228         (MB_LEN_MAX): Use macro-int-constant.
22229         (SHRT_MIN): Use macro-int-constant.  Specify type.
22230         (SHRT_MAX): Likewise.
22231         (USHRT_MAX): Likewise.
22232         (INT_MAX): Likewise.
22233         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
22234         bound negative.
22235         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22236         bound with "U".
22237         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22238         bound with "L".
22239         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
22240         bound negative.  Suffix upper bound with "L".
22241         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22242         bound with "UL".
22243         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22244         Specify type.
22245         [C99-based standards] (LLONG_MAX): Likewise.
22246         [C99-based standards] (ULLONG_MAX): Likewise.
22247         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
22248         == 0.
22249         [ISO11] (max_align_t): Require type.
22250         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22252         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22253         from $CFLAGS, without defining away __attribute__ calls.
22254         (checknamespace): Use $CFLAGS_namespace.
22256         * conform/conformtest.pl (@keywords): Only include C99 keywords
22257         for standards based on C99 or C11.
22259         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22260         Disable tests.
22261         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22262         UNIX98]: Likewise.
22264         * conform/conformtest.pl: Handle "macro-int-constant" and test for
22265         usability of symbols in #if.
22267         * conform/conformtest.pl: If macro or constant types start
22268         "promoted:", expect the symbol to be of the following type
22269         promoted by the integer promotions.
22271         * conform/conformtest.pl: Parse all "constant" and "macro" lines
22272         in one place.  Also handle "macro-constant".
22274         * conform/conformtest.pl: Only accept expected macro values with
22275         "==".  Parse all "macro" lines in one place.
22276         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22278         * conform/conformtest.pl: Handle braced types on "constant" lines
22279         instead of handling "typed-constant".
22280         * conform/data/signal.h-data: Use "constant" instead of
22281         "typed-constant".
22283         * conform/conformtest.pl: Handle "optional-" at start of lines in
22284         one place rather than duplicating several cases.  Handle each
22285         format of "macro" line with initial "optional-".
22287         * conform/conformtest.pl: Only accept expected constant or
22288         optional-constant values with "==".  Parse all "constant" lines in
22289         one place.  Parse all "optional-constant" lines in one place.
22290         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22291         * conform/data/fmtmsg.h-data: Likewise.
22292         * conform/data/netinet/in.h-data: Likewise.
22293         * conform/data/tar.h-data: Likewise.
22294         * conform/data/limits.h-data: Use "==" form on "constant" and
22295         "optional-constant" lines.
22297         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22298         Use -std=c99 for XOPEN2K.
22299         (@knownproblems): Remove.
22300         (newtoken): Don't check %isknown.
22302         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22303         Do not expect macro.
22304         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22305         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22306         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22307         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22308         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22309         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22310         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22311         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22312         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22313         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22314         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22315         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22316         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22317         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22318         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22319         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22320         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22321         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22322         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22323         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22324         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22325         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22326         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22327         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22328         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22329         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22330         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22331         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22332         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22333         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22334         [XPG3] (acosh): Likewise.
22335         [XPG3] (asinh): Likewise.
22336         [XPG3] (atanh): Likewise.
22337         [XPG3] (cbrt): Likewise.
22338         [XPG3] (expm1): Likewise.
22339         [XPG3] (ilogb): Likewise.
22340         [XPG3] (log1p): Likewise.
22341         [XPG3] (logb): Likewise.
22342         [XPG3] (nextafter): Likewise.
22343         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22344         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22345         [XPG3] (remainder): Likewise.
22346         [XPG3] (rint): Likewise.
22347         [XPG3 || XPG4 || UNIX98] (round): Likewise.
22348         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22349         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22350         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22351         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22352         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22353         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22354         [UNIX98 || XOPEN2K] (scalb): Expect.
22355         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22356         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22357         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22358         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22359         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22360         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22361         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22362         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22363         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22364         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22365         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22366         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22367         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22368         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22369         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22370         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22371         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22372         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22373         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22374         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22375         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22376         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22377         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22378         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22379         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22380         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22381         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22382         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22383         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22384         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22385         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22386         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22387         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22388         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22389         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22390         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22391         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22392         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22393         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22394         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22395         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22396         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22397         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22398         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22399         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22400         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22401         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22402         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22403         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22404         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22405         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22406         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22407         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22408         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22409         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22410         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22411         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22412         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22413         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22414         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22415         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22416         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22417         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22418         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22419         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22420         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22421         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22422         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22423         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22424         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22425         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22426         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22427         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22428         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22429         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22430         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22431         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22432         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22433         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22434         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22435         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22436         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22437         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22438         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22439         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22440         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22441         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22442         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22443         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22444         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22445         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22446         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22447         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22448         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22449         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22450         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22451         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22452         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22453         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22454         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22455         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22456         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22457         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22458         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22459         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22460         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22461         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22462         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22463         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22464         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22465         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22466         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22467         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22468         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22469         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22470         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22471         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22472         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22473         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22474         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22475         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22476         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22477         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22478         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22479         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22480         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22481         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22482         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22483         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22484         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22485         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22486         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22487         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22488         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22489         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22490         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22491         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22493         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22494         _XOPEN_SOURCE_EXTENDED for XPG4.
22496         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22498         * Makeconfig (localtime): Remove variable.
22499         (inst_localtime-file): Likewise.
22501 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22504         Update.
22505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22506         Update.
22507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22508         Update.
22509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22510         Update.
22511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22512         Update.
22513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22514         Update.
22515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22516         Update.
22517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22518         Update.
22519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22520         Update.
22522 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22524         [BZ #2550]
22525         [BZ #2570]
22526         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22527         comparisons to determine direction to adjust input.
22528         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22529         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22530         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22531         Likewise.
22532         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22533         Likewise.
22534         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22535         Likewise.
22536         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22537         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22538         Likewise.
22539         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22540         Likewise.
22541         * math/libm-test.inc (nexttoward_test): Add more tests.
22543 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22545         [BZ #14040]
22546         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22547         in version GLIBC_2.1, not GLIBC_2.0.
22548         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22549         Likewise.
22551 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
22553         [BZ #13942]
22554         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22555         (1 - x) * (1 + x).
22556         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22557         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22558         * math/libm-test.inc (acos_test): Add more tests.
22559         (asin_test): Likewise.
22560         * sysdeps/i386/fpu/libm-test-ulps: Update.
22561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22563         [BZ #14034]
22564         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22565         of square root.
22566         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22567         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22568         * math/libm-test.inc (acos_test_tonearest): New function.
22569         (acos_test_towardzero): Likewise.
22570         (acos_test_downward): Likewise.
22571         (acos_test_upward): Likewise.
22572         (asin_test_tonearest): Likewise.
22573         (asin_test_towardzero): Likewise.
22574         (asin_test_downward): Likewise.
22575         (asin_test_upward): Likewise.
22576         (main): Call the new functions.
22577         * sysdeps/i386/fpu/libm-test-ulps: Update.
22578         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22580         [BZ #13884]
22581         [BZ #13924]
22582         * math/e_exp10.c: Include <float.h>.
22583         (__ieee754_exp10): Handle underflow here rather than multiplying
22584         large negative argument by M_LN10.
22585         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22586         of __ieee754_expf.
22587         * math/e_exp10l.c: Include <float.h>.
22588         (__ieee754_exp10l): Handle underflow here rather than multiplying
22589         large negative argument by M_LN10l.
22590         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
22591         spurious overflow exception on underflow.
22593 2012-04-29  Marek Polacek  <polacek@redhat.com>
22595         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22596         (__fortify_function): New macro.
22597         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22598         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22599         __extern_always_inline.
22600         * libio/bits/stdio2.h: Likewise.
22601         * libio/bits/stdio.h: Likewise.
22602         * string/string.h: Likewise.
22603         * string/bits/string3.h: Likewise.
22604         * include/stdio.h: Likewise.
22605         * stdlib/bits/stdlib.h: Likewise.
22606         * stdlib/stdlib.h: Likewise.
22607         * rt/bits/mqueue2.h: Likewise.
22608         * rt/mqueue.h: Likewise.
22609         * posix/bits/unistd.h: Likewise.
22610         * posix/unistd.h: Likewise.
22611         * io/bits/poll2.h: Likewise.
22612         * io/bits/fcntl2.h: Likewise.
22613         * io/fcntl.h: Likewise.
22614         * io/sys/poll.h: Likewise.
22615         * misc/bits/syslog.h: Likewise.
22616         * misc/bits/syslog-ldbl.h: Likewise.
22617         * misc/sys/syslog.h: Likewise.
22618         * socket/bits/socket2.h: Likewise.
22619         * socket/sys/socket.h: Likewise.
22620         * debug/tst-chk1.c: Likewise.
22621         * wcsmbs/bits/wchar2.h: Likewise.
22622         * wcsmbs/bits/wchar-ldbl.h: Likewise.
22623         * wcsmbs/wchar.h: Likewise.
22625 2012-04-29  Andreas Jaeger  <aj@suse.de>
22627         * Makerules (tests): Remove enable-check-abi protection.
22628         (check-abi-warn): Remove.
22629         (check-abi-%): Remove check-abi-warn usage.
22631         * configure.in: Remove check-abi configure option.
22632         * configure: Regenerated.
22633         * config.make.in (enable-check-abi): Remove.
22635 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
22637         [BZ #14033]
22638         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22639         double functions to double *_finite functions.
22641         [BZ #13941]
22642         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22643         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22644         LDBL_MIN_EXP.
22645         * stdio-common/Makefile (tests): Add tst-sprintf3.
22646         * stdio-common/tst-sprintf3.c: New file.
22648         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22649         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22651 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22653         * conform/conformtest.pl: Remove duplicate typed-constant
22654         handling.
22656 2012-04-28  David S. Miller  <davem@davemloft.net>
22658         * Makerules (%.abilist): Add vpath on sysdep_dirs.
22659         (check-abi-%): Remove AWK script prerequisite and explicit
22660         abilist directory.
22661         (check-abi): Rewrite to just diff the symlist with the abilist.
22662         (config-tls, config-abi-config): Delete, no longer used.
22663         (update-abi-%): Remove AWK script and explicit abilist directory.
22664         (update-abi): Rewrite to simply compare and conditionally copy the
22665         symlist and the sysdep abilist file.  Remove update-abi-config
22666         checks.
22667         * abilist/ld.abilist: Remove.
22668         * abilist/libBrokenLocale.abilist: Remove.
22669         * abilist/libanl.abilist: Remove.
22670         * abilist/libcrypt.abilist: Remove.
22671         * abilist/libdl.abilist: Remove.
22672         * abilist/librt.abilist: Remove.
22673         * abilist/libthread_db.abilist: Remove.
22674         * abilist/libutil.abilist: Remove.
22675         * scripts/extract-abilist.awk: Remove.
22676         * scripts/merge-abilist.awk: Remove.
22677         * sysdeps/generic/libcidn.abilist: New file.
22678         * sysdeps/generic/libnss_compat.abilist: New file.
22679         * sysdeps/generic/libnss_db.abilist: New file.
22680         * sysdeps/generic/libnss_dns.abilist: New file.
22681         * sysdeps/generic/libnss_files.abilist: New file.
22682         * sysdeps/generic/libnss_hesiod.abilist: New file.
22683         * sysdeps/generic/libnss_nis.abilist: New file.
22684         * sysdeps/generic/libnss_nisplus.abilist: New file.
22685         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22686         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22687         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22688         file.
22689         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22690         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22691         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22692         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22693         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22694         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22695         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22696         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22697         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22698         file.
22699         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22700         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22701         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22702         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22703         file.
22704         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22705         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22706         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22707         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22708         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22709         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22710         file.
22711         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22712         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22713         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22714         file.
22715         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22716         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22717         New file.
22718         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22719         New file.
22720         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22721         New file.
22722         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22723         New file.
22724         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22725         New file.
22726         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22727         New file.
22728         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22729         New file.
22730         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22731         New file.
22732         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22733         New file.
22734         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22735         New file.
22736         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22737         New file.
22738         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22739         New file.
22740         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22741         New file.
22742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22743         file.
22744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22745         New file.
22746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22747         New file.
22748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22749         file.
22750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22751         New file.
22752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22753         New file.
22754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22755         file.
22756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22757         New file.
22758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22759         New file.
22760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22761         New file.
22762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22763         New file.
22764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22765         New file.
22766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22767         New file.
22768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22770         file.
22771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22772         New file.
22773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22774         file.
22775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22776         file.
22777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22778         file.
22779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22780         file.
22781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22782         file.
22783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22784         New file.
22785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22786         file.
22787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22788         file.
22789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22790         New file.
22791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22792         file.
22793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22795         file.
22796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22797         New file.
22798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22799         file.
22800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22801         file.
22802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22803         file.
22804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22805         file.
22806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22807         file.
22808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22809         New file.
22810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22811         file.
22812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22813         file.
22814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22815         New file.
22816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22817         file.
22818         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22819         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22820         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22821         file.
22822         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22823         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22824         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22825         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22826         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22827         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22828         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22829         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22830         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22831         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22834         file.
22835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22836         New file.
22837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22838         file.
22839         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22840         file.
22841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22842         file.
22843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22844         file.
22845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22846         file.
22847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22848         New file.
22849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22850         New file.
22851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22852         file.
22853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22854         New file.
22855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22856         file.
22857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22859         file.
22860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22861         New file.
22862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22863         file.
22864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22865         file.
22866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22867         file.
22868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22869         file.
22870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22871         file.
22872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22873         New file.
22874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22875         New file.
22876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22877         file.
22878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22879         New file.
22880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22881         file.
22883 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22885         * conform/conformtest.pl: Fix typo in handling typed-constant from
22886         allow-header.
22888 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22890         * README: Cut down references to pre-2.6 Linux kernels and
22891         Linuxthreads.  Update lists of configurations in libc and ports
22892         and sort alphabetically.  Say "or newer" with Linux kernel version
22893         requirements.
22895         * config.h.in [IS_IN_build]: Allow compiling without optimization.
22897 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22899         [BZ #887]
22900         * math/libm-test.inc (logb_test_downward): New test to expose
22901         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22902         rounding mode.
22904 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22906         [BZ #14027]
22907         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22908         to be done.
22909         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22910         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22912 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
22914         * sysdeps/unix/i386/brk.S: Remove file.
22915         * sysdeps/unix/i386/dl-brk.S: Likewise.
22916         * sysdeps/unix/i386/pipe.S: Likewise.
22917         * sysdeps/unix/i386/sigreturn.S: Likewise.
22918         * sysdeps/unix/i386/syscall.S: Likewise.
22919         * sysdeps/unix/i386/vfork.S: Likewise.
22920         * sysdeps/unix/i386/wait.S: Likewise.
22922         * sysdeps/unix/common/tcsendbrk.c: Move to ...
22923         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22925         * configure.in (arm*-none*): Do not allow without
22926         --enable-hacker-mode.
22927         (netbsd*): Remove case setting base_os.
22928         (386bsd*): Likewise.
22929         (freebsd*): Likewise.
22930         (bsdi*): Likewise.
22931         (osf*): Likewise.
22932         (sunos*): Likewise.
22933         (ultrix*): Likewise.
22934         (newsos*): Likewise.
22935         (dynix*): Likewise.
22936         (*bsd*): Likewise.
22937         (sysv*): Likewise.
22938         (isc*): Likewise.
22939         (esix*): Likewise.
22940         (sco*): Likewise.
22941         (minix*): Likewise.
22942         (irix4*): Likewise.
22943         (irix6*): Likewise.
22944         (solaris[2-9]*): Likewise.
22945         (none): Likewise.
22946         * configure: Regenerated.
22948 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22950         [BZ #11521]
22951         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22952         overflow or cancellation in calculating denominator.
22953         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22954         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22955         down expression to avoid unexpected rounding in newer GCCs.
22956         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22958 2012-04-26  David S. Miller  <davem@davemloft.net>
22960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22961         long-double compat symbols.
22962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22976 2012-04-25  David S. Miller  <davem@davemloft.net>
22978         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22979         HWCAP_* values only after the memory barriers have been defined.
22980         (atomic_full_barrier): Define.
22981         (atomic_read_barrier): Define.
22982         (atomic_write_barrier): Define.
22984 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22986         * shlib-versions: Add libgcc_s version information.
22987         * sysdeps/generic/libgcc_s.h: Remove.
22988         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22989         libgcc_s.h.
22990         * sysdeps/gnu/unwind-resume.c: Likewise.
22991         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22993 2012-04-25  David S. Miller  <davem@davemloft.net>
22995         * sysdeps/unix/sparc/brk.S: Delete.
22996         * sysdeps/unix/sparc/dl-brk.S: Delete.
22997         * sysdeps/unix/sparc/pipe.S: Delete.
22998         * sysdeps/unix/sparc/sysdep.S: Delete.
22999         * sysdeps/unix/sparc/sysdep.h: Delete.
23000         * sysdeps/unix/sparc/vfork.S: Delete.
23001         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23002         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23003         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23004         ret_ERRVAL, r0, r1, MOVE): Define.
23005         (JUMPTARGET): Remove.
23006         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23007         sysdeps/unix/sparc/sysdep.h
23008         (ENTRY, END): Remove.
23009         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23011 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
23013         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23014         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23015         -DIS_IN_build.
23017         * timezone/README: Update upstream location and email address for
23018         tzcode and tzdata.
23019         * timezone/zdump.c: Update from tzcode 2012b.
23020         * timezone/zic.c: Likewise.
23022         * configure.in (libc_cv_as_needed): Remove test.
23023         * configure: Regenerated.
23024         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23025         conditional definition.
23026         [$(have-as-needed) != yes] (no-as-needed): Likewise.
23027         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23028         * config.make.in (have-as-needed): Remove variable.
23030 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23031             Paul Pluzhnikov  <ppluzhnikov@google.com>
23033         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23034         strings correctly.
23036 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
23038         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23039         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23040         * sysdeps/sh/strlen.S: Likewise.
23042 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23044         * sysdeps/unix/fork.S: Remove file.
23045         * sysdeps/unix/i386/fork.S: Likewise.
23046         * sysdeps/unix/sparc/fork.S: Likewise.
23048         * sysdeps/unix/system.c: Remove file.
23049         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23051         * sysdeps/unix/getegid.S: Remove file.
23052         * sysdeps/unix/geteuid.S: Likewise.
23054 2012-04-24  Roland McGrath  <roland@hack.frob.com>
23056         * scripts/check-localplt.awk: New file.
23057         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23058         of diff.
23059         * scripts/data/localplt-generic.data: Add a comment.
23061         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23062         NODE when __dir_mkfile failed.
23063         * sysdeps/mach/hurd/symlinkat.c: Likewise.
23064         Reported by Ludovic Courtès <ludo@gnu.org>.
23066 2012-04-24  Andreas Jaeger  <aj@suse.de>
23068         * Makerules (common-clean): Also remove gen-as-const-headers
23069         files.
23071 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23073         * Makerules (native-compile): Do not change working directory for
23074         build.  Use $(OUTPUT_OPTION) in command.
23075         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23077 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23079         [BZ #13886]
23080         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23081         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23082         * math/libm-test.inc (floor_test): Add more tests.
23083         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23085 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23087         * sysdeps/unix/getdents.c: Remove file.
23088         * sysdeps/unix/sysv/getdents.c: Likewise.
23089         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23091         * sysdeps/unix/syscalls.list (madvise): Add syscall from
23092         sysdeps/unix/mman/syscalls.list.
23093         (mmap): Likewise.
23094         (mprotect): Likewise.
23095         (msync): Likewise.
23096         (munmap): Likewise.
23097         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23098         * sysdeps/unix/mman/syscalls.list: Remove.
23099         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23101         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23102         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23103         * configure: Regenerated.
23104         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23105         $(libgcc_s_suffix).
23106         * config.make.in (libgcc_s_suffix): Remove variable.
23108 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
23110         * sysdeps/unix/sysv/gethostname.c: Move to ...
23111         * sysdeps/posix/gethostname.c: ... here.
23113         * sysdeps/unix/execve.S: Remove file.
23115         * sysdeps/unix/_exit.S: Remove file.
23117 2012-04-23  Andreas Jaeger  <aj@suse.de>
23119         [BZ #13739]
23120         * manual/Makefile: Remove make dist support, there's no
23121         need for a stand-alone documentation tar ball.
23122         (TEXI2DVI): Define always, it's not in Makeconfig.
23123         (dist): Removed.
23124         (tar-it): Removed.
23125         (edition): Removed.
23126         (glibc-doc-$(edition).tar): Removed
23127         (%.Z): Removed.
23128         (%.gz): Removed.
23129         (%.uu): Removed.
23130         (ETAGS): Remove, it's in Makeconfig.
23131         (move-if-change): Remove, it's in Makeconfig.
23133 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
23135         [BZ #13970]
23136         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23137         (strtod, strtof, strtold, strtol, strtoul, strtoq)
23138         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23139         (strtod_l, strtof_l, strtold_l): Remove __wur.
23140         It is not necessarily an error to ignore strtol's return value.
23141         One can reliably look at the stored endptr to decide whether
23142         the number had valid syntax.
23144 2012-04-21  Andreas Jaeger  <aj@suse.de>
23146         [BZ #13739]
23147         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23149 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
23151         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23152         * sysdeps/unix/sysv/Versions: Remove file.
23154 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
23156         [BZ #13927]
23157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23159 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
23161         [BZ #7064]
23162         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23163         version from __vm86.
23165 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
23167         * sysdeps/unix/common/lxstat.c: Remove file.
23168         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23170         * sysdeps/unix/sysv/Makefile: Remove file.
23172         * sysdeps/unix/sysv/direct.h: Remove file.
23174         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23175         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23176         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23177         * sysdeps/unix/sysv/bits/signum.h: Likewise.
23178         * sysdeps/unix/sysv/bits/stat.h: Likewise.
23179         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23180         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23182         * sysdeps/unix/sysv/setrlimit.c: Remove file.
23184         * sysdeps/unix/xmknod.c: Remove file.
23185         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23187         * sysdeps/unix/sysv/settimeofday.c: Remove file.
23189         * sysdeps/unix/sysv/i386/time.S: Remove file.
23191         * sysdeps/unix/fxstat.c: Remove file.
23192         * sysdeps/unix/xstat.c: Likewise.
23193         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23195         * sysdeps/unix/sysv/sigaction.c: Remove file.
23197         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23198         (sysdep_headers): Remove variable.
23199         [termio.h not in sysdep_headers] (generated): Likewise.
23200         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23201         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23202         * sysdeps/unix/sysv/tcdrain.c: Likewise.
23203         * sysdeps/unix/sysv/tcflow.c: Likewise.
23204         * sysdeps/unix/sysv/tcflush.c: Likewise.
23205         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23206         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23207         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23208         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23209         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23211         * sysdeps/unix/siglist.c: Remove file.
23213         * sysdeps/unix/getppid.S: Remove file.
23215         * sysdeps/unix/mkdir.c: Remove file.
23216         * sysdeps/unix/rmdir.c: Likewise.
23218 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
23220         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23221         ERR_MAX value.
23222         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23223         errlist-compat value.
23225 2012-04-18  David S. Miller  <davem@davemloft.net>
23227         * sysdeps/generic/memcopy.h (reg_char): Delete.
23228         * debug/strcat_chk.c: Use char, not reg_char.
23229         * debug/strcpy_chk.c: Likewise.
23230         * debug/strncat_chk.c: Likewise.
23231         * debug/strncpy_chk.c: Likewise.
23232         * string/memchr.c: Likewise.
23233         * string/memrchr.c: Likewise.
23234         * string/rawmemchr.c: Likewise.
23235         * string/strcat.c: Likewise.
23236         * string/strchr.c: Likewise.
23237         * string/strchrnul.c: Likewise.
23238         * string/strcmp.c: Likewise.
23239         * string/strcpy.c: Likewise.
23240         * string/strncat.c: Likewise.
23241         * string/strncmp.c: Likewise.
23242         * string/strncpy.c: Likewise.
23244 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23246         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23247         __builtin_memcopy is called when src and dest ranges are known to not
23248         overlap.
23250 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23252         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23253         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23254         fwd_align_merge macro call.
23255         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23256         bwd_align_merge macro call.
23257         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23259 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23261         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23262         bwd_align_merge macros.
23263         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23264         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23265         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23267 2012-04-18  David S. Miller  <davem@davemloft.net>
23269         * sysdeps/sparc/sparc64/memcopy.h: Delete.
23271 2012-04-18  Andreas Jaeger  <aj@suse.de>
23273         [BZ# 6794]
23274         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23275         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23276         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23278         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23279         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23280         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23282         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23283         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23284         Adjust for changed ldbl-128 files.
23286         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23287         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23288         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23290 2012-04-17  David S. Miller  <davem@davemloft.net>
23292         * sysdeps/sparc/sparc32/memcopy.h: Delete.
23294 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
23296         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23297         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23298         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23299         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23300         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23301         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23303 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23305         [BZ #6794]
23306         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23307         * math/libm-test.inc: Add ilogb errno and exception tests.
23308         * math/w_ilogb.c: New file: ilogb wrapper.
23309         * math/w_ilogbf.c: New file: ilogbf wrapper.
23310         * math/w_ilogbl.c: New file: ilogbl wrapper.
23311         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23312         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23313         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23314         exception being thrown with 0.0 as argument.
23315         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23316         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23317         exception being thrown with 0.0 as argument.
23318         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23319         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23320         exception being thrown with 0.0 as argument.
23321         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23322         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23323         exception being thrown with 0.0 as argument.
23324         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23325         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23326         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23327         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23328         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23329         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23330         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23331         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23332         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23334 2012-04-17  Petr Baudis  <pasky@ucw.cz>
23336         * include/sys/uio.h: Change __vector to __iovec to avoid clash
23337         with altivec.
23339 2012-04-16  Marek Polacek  <polacek@redhat.com>
23341         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23343 2012-04-16  Marek Polacek  <polacek@redhat.com>
23345         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23346         operands of fdivp instruction.
23348 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23350         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23351         * elf/tst-auditmod3b.c: Likewise.
23352         * elf/tst-auditmod4b.c: Likewise.
23353         * elf/tst-auditmod5b.c: Likewise.
23354         * elf/tst-auditmod6b.c: Likewise.
23355         * elf/tst-auditmod6c.c: Likewise.
23356         * elf/tst-auditmod7b.c: Likewise.
23357         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23358         * sysdeps/x86_64/preconfigure.in: Likewise.
23359         * sysdeps/x86_64/preconfigure: Regenerated.
23361 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23363         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23364         __ILP32__.
23366 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
23368         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23369         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23371 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
23373         [BZ #13973]
23374         * locale/iso-639.def: Fix gl language name. Spotted by
23375         Yaron Shahrabani.
23377 2012-04-12  Roland McGrath  <roland@hack.frob.com>
23379         [BZ #2074]
23380         * libio/libio.h (__io_write_fn): Update comment.
23382 2012-04-12  Petr Baudis  <pasky@ucw.cz>
23384         [BZ #2074]
23385         * stdio.texi (Hook Functions): The user provided writer function
23386         is not allowed to return -1.
23388 2012-04-11  David S. Miller  <davem@davemloft.net>
23390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23392 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
23394         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23395         Add a leading slash to rtkaio.
23397 2012-04-11  Jim Meyering  <meyering@redhat.com>
23399         [BZ #11959]
23400         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23401         It is not necessarily an error to ignore fwrite's return
23402         value.  One can reliably use ferror to test for errors after
23403         the fact.
23405 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23407         * bits/types.h (__snseconds_t): New type.
23408         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23410         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23411         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23412         (__SNSECONDS_T_TYPE): Likewise.
23413         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23414         (__SNSECONDS_T_TYPE): Likewise.
23415         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23416         (__SNSECONDS_T_TYPE): Likewise.
23418 2012-04-10  Andreas Jaeger  <aj@suse.de>
23420         [BZ #2636]
23421         * manual/time.texi (Processor Time): Return type of times is
23422         elapsed real time since an arbitrary point in the past.
23423         (CPU Time): Move CLK_TCK from here...
23424         (Processor Time): ...to here.  Correct description.
23425         * manual/conf.texi (Constants for Sysconf): Correct description of
23426         _SC_CLK_TCK.
23428 2012-04-10  David S. Miller  <davem@davemloft.net>
23430         [BZ #13967]
23431         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23432         where the is a gap between DT_REL(A) and DT_JMPREL.
23434 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23436         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23437         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23438         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23440 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23442         * elf/dl-support.c (_dl_inhibit_cache): New variable.
23443         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23444         (dl_main): Handle --inhibit-cache.
23445         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23446         _dl_inhibit_cache.
23447         * elf/dl-load.c (_dl_map_object): Use it.
23448         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23450 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23452         [BZ #13872]
23453         * sysdeps/i386/fpu/e_powl.S (p78): New object.
23454         (__ieee754_powl): Saturate large exponents rather than testing for
23455         overflow of y*log2(x).
23456         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23457         * math/libm-test.inc (pow_test): Do not permit spurious overflow
23458         exceptions.
23460         [BZ #11521]
23461         * math/s_ctan.c: Include <float.h>.
23462         (__ctan): Avoid internal overflow or cancellation in calculating
23463         denominator.
23464         * math/s_ctanf.c: Likewise.
23465         * math/s_ctanl.c: Likewise.
23466         * math/s_ctanh.c: Likewise.
23467         * math/s_ctanhf.c: Likewise.
23468         * math/s_ctanhl.c: Likewise.
23469         * math/libm-test.inc (ctan_test): Add more tests.
23470         (ctanh_test): Likewise.
23471         * sysdeps/i386/fpu/libm-test-ulps: Update.
23472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23474 2012-04-09  Andreas Jaeger  <aj@suse.de>
23476         [BZ #6894]
23477         * manual/filesys.texi (Directory Entries): Mention that d_namlen
23478         is an optional BSD extension.
23480         [BZ #10254]
23481         * manual/stdio.texi (Opening Streams): Document additional fopen
23482         parameters.
23484 2012-04-09  Roland McGrath  <roland@hack.frob.com>
23486         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23487         %eax without telling the compiler.
23489 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
23491         [BZ # 13963]
23492         * manual/install.texi: Use sourceware.org.
23494 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23496         [BZ #13873]
23497         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23498         (__ieee754_pow): Generate overflow and underflow using huge*huge
23499         and tiny*tiny rather than just returning constant infinity or zero
23500         for large exponents.
23501         * math/libm-test.inc (pow_test): Require overflow exceptions for
23502         applicable cases of large exponents.
23504         [BZ #706]
23505         * sysdeps/i386/fpu/e_pow.S (p10): New object.
23506         (__ieee754_pow): Use iterative multiplication algorithm only for
23507         integer exponents with absolute value below 1024.  Check for odd
23508         integer exponents when using algorithm for real exponents.
23509         * math/libm-test.inc (pow_test): Add more tests.
23510         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23512 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
23514         [BZ #13705]
23515         * math/libm-test.inc (exp_test): Do not allow overflow exception
23516         on underflow test.
23518 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
23520         [BZ #13705]
23521         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23522         instead of __kernel_standard_f.
23524 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
23526         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23527         * sysdeps/x86_64/memset_chk.S: Likewise.
23529 2012-04-08  Andreas Jaeger  <aj@suse.de>
23531         [BZ #10153]
23532         * manual/startup.texi (Environment Access): Describe return value
23533         for putenv and setenv.
23535         [BZ #6895]
23536         * manual/filesys.texi (Directory Entries): Add description for
23537         DT_LNK.
23539         [BZ #6890]
23540         * manual/filesys.texi (Directory Entries): Clarify that it's file
23541         system not operating system in the description of DT_UNKNOWN.
23543         [BZ #6578]
23544         * manual/syslog.texi (closelog): Fix reference, it's openlog.
23546 2012-04-08  Stephen Compall  <s11@member.fsf.org>
23548         [BZ #6649]
23549         * manual/llio.texi (Opening and Closing Files): Add cross
23550         reference to explain mode argument.
23552 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
23554         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23555         * sysdeps/x86_64/memset_chk.S: Likewise.
23557 2012-04-07  David S. Miller  <davem@davemloft.net>
23559         * elf/elf.h (R_SPARC_WDISP10): Define.
23560         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23561         R_SPARC_SIZE32.
23562         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23563         R_SPARC_SIZE64 and R_SPARC_H34.
23565 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
23567         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23568         conditions and remove no longer applicable assertion.
23570 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23572         * bits/byteswap.h: Include <features.h>.
23573         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23574         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23576 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23578         * bits/byteswap.h (__bswap_16): Removed.
23579         Include <bits/byteswap-16.h> to get __bswap_16.
23580         * sysdeps/i386/bits/byteswap.h: Likewise.
23581         * sysdeps/s390/bits/byteswap.h: Likewise.
23582         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23583         * bits/byteswap-16.h: New file.
23584         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23585         * sysdeps/s390/bits/byteswap-16.h: Likewise.
23586         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23587         * string/Makefile (headers): Add bits/byteswap-16.h.
23589 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23591         [BZ #13895]
23592         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23593         extra indirection.
23594         * nss/Makefile (tests-static, tests): Add tst-nss-static.
23595         * nss/tst-nss-static.c: New.
23597 2012-04-06  Robert Millan  <rmh@gnu.org>
23599         [BZ #6486]
23600         * manual/llio.texi (File Position Primitive): lseek
23601         refers to WHENCE when it really means OFFSET.
23603 2012-04-06  Andreas Jaeger  <aj@suse.de>
23605         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23606         strncmp declarations.
23608         * abilist/libc.abilist: Add __poll and __ppoll.
23610 2012-04-05  David S. Miller  <davem@davemloft.net>
23612         * scripts/check-local-headers.sh: Accept a host triplet in the
23613         path matched by the exclude regexp.
23615         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23616         definition.
23617         * sysdeps/powerpc/powerpc32/dl-machine.h
23618         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23619         * sysdeps/s390/s390-32/dl-machine.h
23620         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23621         * sysdeps/sparc/sparc32/dl-machine.h
23622         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23623         * sysdeps/sparc/sparc64/dl-machine.h
23624         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23626         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23627         lazy binding.
23628         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23629         undefined symbol errors.
23631         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23632         DT_NEEDED entries.
23634 2012-04-05  Michael Matz  <matz@suse.de>
23636         [BZ #13592]
23637         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23639 2012-04-05  Andreas Jaeger  <aj@suse.de>
23641         [BZ #13908]
23642         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23643         comment.
23645 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23647         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23648         which ROUND is no valid rounding mode.
23650 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23652         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23653         read again.
23654         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23656 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23658         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23659         an exception using FPU order intentionally.
23661 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23663         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23664         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23665         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23666         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23668 2012-04-05  Simon Josefsson  <simon@josefsson.org>
23670         [BZ #12340]
23671         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23672         EINVAL when BUFLEN is too smal.
23674 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23676         [BZ #13553]
23677         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23678         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23680 2012-04-03  Andreas Jaeger  <aj@suse.de>
23682         [BZ #13938]
23683         * manual/setjmp.texi (System V contexts): Fix sentence.
23685         [BZ #13926]
23686         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23687         New macro for this case.
23688         [!__GNUC__] (__bswap_64): New inline function for this case.
23689         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23690         * bits/byteswap.h: Likewise.
23691         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23692         ull, guard with __GLIBC_HAVE_LONG_LONG.
23694         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23695         __GLIBC_HAVE_LONG_LONG.
23697         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23698         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23700 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23702         [BZ #13691]
23703         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23704         inptr and inend, rather than using last_ch.
23706 2012-04-02  David S. Miller  <davem@davemloft.net>
23708         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23709         * stdio-common/printf-parse.h (read_int): Change return type to
23710         'int', return -1 on INT_MAX overflow.
23711         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23712         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
23713         overflows INT_MAX.  Check for overflow of in-format-string precision
23714         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
23715         SIZE_MAX not INT_MAX for integer overflow test.
23716         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23717         skip the construct in the format string but do not record anything.
23718         * stdio-common/bug22.c: Adjust to test both width/prevision
23719         INT_MAX overflow as well as total length INT_MAX overflow.  Check
23720         explicitly for proper errno values.
23722 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23724         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23725         CHAR_MAX.
23726         * string/test-strcmp.c [! WIDE]: Likewise.
23727         * time/tst-mktime2.c: Likewise for INT_MAX.
23728         * string/test-string.h: #include <sys/param.h> for MIN.
23730         * csu/init-first.c (__libc_init_first): Call __ctype_init.
23731         * sysdeps/i386/init-first.c (init): Likewise.
23732         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23733         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23734         * sysdeps/sh/init-first.c (init): Likewise.
23736 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
23738         * po/ru.po: Update from translation team.
23739         * po/vi.po: Likewise.
23741 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23743         * resolv/nss_dns/dns-host.c: Merge copyright years.
23745 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23747         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23748         Optimize memcpy with prefetch if
23749         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
23750         src, dst pointers have unequal 16 byte alignments.
23752 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23754         [BZ #13928]
23755         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23756         from a CNAME entry and return the minimum ttl for the query.
23757         (gaih_getanswer_slice): Likewise.
23759 2012-03-30  Jeff Law  <law@redhat.com>
23761         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23762         due to long keys.
23763         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23764         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23766         * resolv/nss_dns/dns-host.c: Update copyright year.
23768 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
23770         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23771         requests to save a system call.  Fix check that all bytes are sent.
23773         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23774         comments for sendmmsg.
23776 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23778         [BZ #13691]
23779         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23780         with only 1 character between 0x0041 and 0x01b0.
23781         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23782         * wcsmbs/tst-mbsnrtowcs.c: New file.
23784 2012-03-29  David S. Miller  <davem@davemloft.net>
23786         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23787         small copies by hand.
23789 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23791         [BZ #13761]
23792         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23793         _nss_compat_initgroups_dyn): Fall back to malloc/free
23794         for large group memberships.
23796 2012-03-28  David S. Miller  <davem@davemloft.net>
23798         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23799         that branches into memcpy.
23800         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23801         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23802         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23803         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23804         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23805         bits.
23806         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23807         implementation too.
23808         * sysdeps/sparc/mempcpy.S: New file.
23810         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23811         the IFUNC routine in the libc case.
23812         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23814         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23815         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23816         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23817         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23818         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23819         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23820         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23821         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23823         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23824         loop to 256 bytes instead of 64 bytes and fix test signedness.
23826         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23827         * sysdeps/sparc/sparc32/Makefile: rather than here...
23828         * sysdeps/sparc/sparc64/Makefile: and here.
23830 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
23832         * malloc/mallocbug.c: Avoid warnings about unused variables.
23834 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23836         [BZ #13760]
23837         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23838         in the right place. Discard and retry query if response is
23839         larger than input buffer size.
23841 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
23843         [BZ #369]
23844         [BZ #2678]
23845         [BZ #3866]
23846         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23847         x for large integer exponent.
23848         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23849         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
23850         sign of result as needed afterwards.
23851         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23852         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23853         result for underflowing pow the same as for overflow.
23854         (__kernel_standard_l): Handle powl overflow and underflow here
23855         rather than calling __kernel_standard.
23856         * math/libm-test.inc (pow_test): Add more tests.
23858         [BZ #3868]
23859         [BZ #13879]
23860         [BZ #13910]
23861         [BZ #13911]
23862         [BZ #13912]
23863         [BZ #13913]
23864         [BZ #13915]
23865         [BZ #13916]
23866         [BZ #13917]
23867         [BZ #13918]
23868         [BZ #13919]
23869         [BZ #13920]
23870         [BZ #13921]
23871         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23872         * sysdeps/ieee754/k_standard.c: Include <float.h>.
23873         (__kernel_standard_l): New function.
23874         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23875         __kernel_standard.
23876         * math/w_acosl.c (__acosl): Likewise.
23877         * math/w_asinl.c (__asinl): Likewise.
23878         * math/w_atan2l.c (__atan2l): Likewise.
23879         * math/w_atanhl.c (__atanhl): Likewise.
23880         * math/w_coshl.c (__coshl): Likewise.
23881         * math/w_exp10l.c (__exp10l): Likewise.
23882         * math/w_exp2l.c (__exp2l): Likewise.
23883         * math/w_fmodl.c (__fmodl): Likewise.
23884         * math/w_hypotl.c (__hypotl): Likewise.
23885         * math/w_j0l.c (__j0l, __y0l): Likewise.
23886         * math/w_j1l.c (__j1l, __y1l): Likewise.
23887         * math/w_jnl.c (__jnl, __ynl): Likewise.
23888         * math/w_lgammal.c (__lgammal): Likewise.
23889         * math/w_log10l.c (__log10l): Likewise.
23890         * math/w_log2l.c (__log2l): Likewise.
23891         * math/w_logl.c (__logl): Likewise.
23892         * math/w_powl.c (__powl): Likewise.
23893         * math/w_remainderl.c (__remainderl): Likewise.
23894         * math/w_scalbl.c (sysv_scalbl): Likewise.
23895         * math/w_sinhl.c (__sinhl): Likewise.
23896         * math/w_sqrtl.c (__sqrtl): Likewise.
23897         * math/w_tgammal.c (__tgammal): Likewise.
23898         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23899         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23900         * math/libm-test.inc (acos_test): Add more tests.
23901         (acosh_test): Likewise.
23902         (asin_test): Likewise.
23903         (atanh_test): Likewise.
23904         (exp_test): Likewise.
23905         (exp10_test): Likewise.
23906         (exp2_test): Likewise.
23907         (expm1_test): Likewise.
23908         (lgamma_test): Likewise.
23909         (log_test): Likewise.
23910         (log10_test): Likewise.
23911         (log1p_test): Likewise.
23912         (log2_test): Likewise.
23913         (pow_test): Do not allow some spurious overflow exceptions.
23914         (sqrt_test): Add more tests.
23915         (tgamma_test): Likewise.
23916         (y0_test): Likewise.
23917         (y1_test): Likewise.
23918         (yn_test): Likewise.
23920 2012-03-27  Anton Blanchard  <anton@samba.org>
23922         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23923         MAP_HUGETLB.
23924         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23925         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23926         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23928 2012-03-27  David S. Miller  <davem@davemloft.net>
23930         * conform/Makefile: Run run-conformtest.sh using $(BASH).
23932         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23933         have-as-vis3 check.
23935 2012-03-27  Andreas Jaeger  <aj@suse.de>
23937         * sysdeps/x86_64/elf/configure.in: Moved to ...
23938         * sysdeps/x86_64/configure.in: ... here.
23939         * sysdeps/x86_64/elf/start.S: Moved to ...
23940         * sysdeps/x86_64/start.S: ... here.
23941         * sysdeps/x86_64/elf/configure: Delete.
23943         * sysdeps/x86_64/configure.in: Merge contents from
23944         sysdeps/i386/configure.in (without i686 check).
23946         * sysdeps/i386/elf/Versions: Merge into ...
23947         * sysdeps/i386/Versions: ... this.
23948         * sysdeps/i386/elf/Versions: Delete file.
23949         * sysdeps/i386/elf/start.S: Moved to ...
23950         * sysdeps/i386/start.S: ...here.
23951         * sysdeps/i386/elf/configure.in: Merge into...
23952         * sysdeps/i386/configure.in: ...here.
23953         * sysdeps/i386/elf/configure.in: Delete file.
23954         * sysdeps/i386/elf/configure: Delete file.
23956         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23957         * debug/backtracesyms.c: ... here.
23958         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23959         * debug/backtracesymsfd.c: ... here.
23960         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23961         * sysdeps/generic/ifunc-sel.h: ... here.
23963         * sysdeps/unix/i386/start.c: Delete file.
23964         * sysdeps/unix/sparc/start.c: Delete file.
23965         * sysdeps/unix/start.c: Delete file.
23967         * sysdeps/sh/elf/configure.in: Moved to ...
23968         * sysdeps/sh/configure.in: ... here.
23969         * sysdeps/sh/elf/start.S: Moved to ...
23970         * sysdeps/sh/start.S: ... here.
23971         * sysdeps/sh/elf/configure: Delete file.
23973         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23974         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23975         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23976         * sysdeps/powerpc/powerpc64/entry.h: ... here.
23977         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23978         * sysdeps/powerpc/powerpc64/start.S: here.
23979         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23980         * sysdeps/powerpc/powerpc64/Makefile: ... this.
23981         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23982         * sysdeps/powerpc/powerpc64/configure.in: ... this.
23983         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23985         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23986         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23987         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23988         * sysdeps/powerpc/powerpc32/start.S: ... here.
23989         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23990         * sysdeps/powerpc/powerpc32/configure.in: ... this.
23991         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23993         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23994         * sysdeps/powerpc/ifunc-sel.h: ... here.
23995         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23996         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23998         * sysdeps/sparc/elf/configure.in: Moved to ...
23999         * sysdeps/sparc/configure.in: ... here.
24000         * sysdeps/sparc/elf/configure: Delete file.
24001         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24002         * sysdeps/sparc/sparc32/start.S: ... here.
24003         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24004         * sysdeps/sparc/sparc64/start.S: ... here.
24005         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24006         * sysdeps/sparc/sparc32/Makefile: ... this.
24007         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24008         * sysdeps/sparc/sparc64/Makefile: ... this.
24010         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24011         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24012         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24013         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24014         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24015         * sysdeps/s390/s390-32/setjmp.S: ... here.
24016         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24017         * sysdeps/s390/s390-32/configure.in: ... here.
24018         * sysdeps/s390/s390-32/elf/configure: Delete file.
24019         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24020         * sysdeps/s390/s390-32/start.S: ... here.
24022         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24023         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24024         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24025         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24026         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24027         * sysdeps/s390/s390-64/setjmp.S: ... here.
24028         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24029         * sysdeps/s390/s390-64/configure.in: ... here
24030         * sysdeps/s390/s390-64/elf/configure: Delete file.
24031         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24032         * sysdeps/s390/s390-64/start.S: ... here.
24033         * sysdeps/s390/s390-64/elf/configure: Delete.
24035         * configure.in: Remove support for elf directories in sysdeps.
24037         * configure: Regenerated.
24038         * sysdeps/i386/configure: Regenerated.
24039         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24040         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24041         * sysdeps/s390/s390-32/configure: Regenerated.
24042         * sysdeps/s390/s390-64/configure: Regenerated.
24043         * sysdeps/sh/configure: Regenerated.
24044         * sysdeps/sparc/configure: Regenerated.
24045         * sysdeps/x86_64/configure: Regenerated.
24047 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
24049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24051         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24052         denormal result into account.
24054 2012-03-25  Roland McGrath  <roland@hack.frob.com>
24056         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24057         Reported by Allan McRae <allan@archlinux.org>.
24059 2012-03-23  Jeff Law  <law@redhat.com>
24061         * nss/getnssent.c (__nss_getent): Fix typo.
24063 2012-03-23  David S. Miller  <davem@davemloft.net>
24065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24067 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
24069         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24070         to pad to uint64_t for each field.
24071         (dl_tls_index): Replace unsigned long with uint64_t.
24073 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
24074         Paul Pluzhnikov  <ppluzhnikov@google.com>
24076         [BZ #6528]
24077         * grp/Makefile (otherlibs): Don't set it.
24078         * inet/Makefile (otherlibs): Likewise.
24079         * login/Makefile (otherlibs): Likewise.
24080         * nscd/Makefile (otherlibs): Likewise.
24081         * posix/Makefile (otherlibs): Likewise.
24082         * pwd/Makefile (otherlibs): Likewise.
24083         * rt/Makefile (otherlibs): Likewise.
24084         * sunrpc/Makefile (otherlibs): Likewise.
24085         * nss/Makefile (otherlibs): Likewise.
24086         Add libnss_files to routines and static-only-routines.
24087         ($(objpfx)getent): Remove rule.
24088         * resolv/Makefile: Add libnss_dns and libresolv to routines and
24089         static-only-routines.
24091 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24093         [BZ #13892]
24094         * math/s_cexp.c: Include <float.h>.
24095         (__cexp): Handle exp result overflowing not necessarily
24096         overflowing both real and imaginary parts of result.
24097         * math/s_cexpf.c: Likewise.
24098         * math/s_cexpl.c: Likewise.
24099         * math/libm-test.inc (cexp_test): Add more tests.
24100         * sysdeps/i386/fpu/libm-test-ulps: Update.
24101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24103 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24105         * include/link.h (ELFW): New macro.
24106         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24107         Replace ELF64_R_TYPE with ELFW(R_TYPE).
24109 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24111         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24112         with uint64_t.
24114 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24116         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24117         declaration.
24118         (struct La_x32_retval): Likewise.
24120 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24122         * sysdeps/x86_64/preconfigure.in: New file.
24123         * sysdeps/x86_64/preconfigure: New generated file.
24125 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24127         [BZ #13824]
24128         * math/e_exp2l.c: Include <float.h>.
24129         (__ieee754_exp2l): Handle overflow and underflow cases
24130         separately.  Only pass fractional part of argument to
24131         __ieee754_expl.
24132         * math/libm-test.inc (exp2_test): Add more tests.
24134         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24135         negating x to take absolute value.
24136         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24137         Likewise.
24138         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24139         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24140         Likewise.
24141         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24142         computing low part if x was negated.
24143         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24145 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24147         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24148         la_x32_gnu_pltexit.
24149         (pltexit): Cast int_retval to ptrdiff_t.
24150         * elf/tst-auditmod3b.c: Likewise.
24151         * elf/tst-auditmod4b.c: Likewise.
24152         * elf/tst-auditmod5b.c: Likewise.
24153         * elf/tst-auditmod6b.c: Likewise.
24154         * elf/tst-auditmod6c.c: Likewise.
24155         * elf/tst-auditmod7b.c: Likewise.
24157         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24158         and x32_gnu_pltexit.
24160         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24161         __ELF_NATIVE_CLASS.
24162         (La_x32_regs): New macro.
24163         (La_x32_retval): Likewise.
24164         (la_x32_gnu_pltenter): New function prototype.
24165         (la_x32_gnu_pltexit): Likewise.
24167 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
24169         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24170         exponent.
24172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24174         * configure.in (libc_cv_cc_nofma): Check for option to disable
24175         generation of FMA instructions.
24176         * configure: Regenerate.
24177         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24178         * sysdeps/ieee754/dbl-64/Makefile: New file.
24179         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24180         Remove brandred-fma4.
24181         (CFLAGS-brandred-fma4.c): Remove.
24182         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24183         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24184         define.
24185         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24186         define.
24188 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24190         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24191         LLONG_MAX != LONG_MAX.
24192         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24193         (_fitoa_word): Likewise.
24194         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24195         LLONG_MAX != LONG_MAX.
24196         * stdio-common/_itowa.h: Include <_itoa.h>.
24197         (_itowa_word): Use _ITOA_WORD_TYPE on value.
24198         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
24199         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
24200         only if not defined.
24201         (_ITOA_WORD_TYPE): Likewise.
24202         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24203         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24205 2012-03-21  David S. Miller  <davem@davemloft.net>
24207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24209 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24211         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24212         of x86_64 when setting libc_cv_slibdir, libdir and
24213         libc_cv_localedir.
24214         * sysdeps/unix/sysv/linux/configure: Regenerated.
24216 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24218         * manual/lang.texi (Old Varargs): Remove section.
24219         (How Variadic): Update menu.
24220         (va_start): Do not mention varargs.h.
24222 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24223             Joseph Myers  <joseph@codesourcery.com>
24225         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24226         link test.
24227         * configure: Regenerated.
24229 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24231         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24232         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24233         conformtest.pl
24235 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24237         * NOTES: Remove.
24238         * Makefile (files-for-dist): Remove NOTES.
24239         (NOTES): Remove rule.
24240         * README: Don't refer to NOTES.
24241         * manual/creature.texi: Don't include macros.texi.
24242         * manual/intro.texi (creature.texi): Remove comment referring to
24243         NOTES.
24245         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24246         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24247         * configure: Regenerated.
24248         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24249         LIBC_TRY_CC_OPTION.
24250         (libc_cv_as_i686): Likewise.
24251         (libc_cv_cc_avx): Likewise.
24252         (libc_cv_cc_sse2avx): Likewise.
24253         (libc_cv_cc_fma4): Likewise.
24254         (libc_cv_cc_novzeroupper): Likewise.
24255         * sysdeps/i386/configure: Regenerated.
24257         [BZ #13883]
24258         * sysdeps/i386/fpu/s_cexp.S: Remove.
24259         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24260         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24261         * math/libm-test.inc (cexp_test): Add more tests.
24262         * sysdeps/i386/fpu/libm-test-ulps: Update.
24263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24265 2012-03-21  Allan McRae  <allan@archlinux.org>
24267         * timezone/Makefile: Do not install iso3166.tab and zone.tab
24269 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24271         [BZ #13871]
24272         * math/w_exp2.c: Do not include <float.h>.
24273         (o_threshold, u_threshold): Remove.
24274         (__exp2): Calculate result before checking finiteness and calling
24275         __kernel_standard.
24276         * math/w_exp2f.c: Likewise.
24277         * math/w_exp2l.c: Likewise.
24278         * math/libm-test.inc (exp2_test): Require overflow exception for
24279         1e6 input.
24281         [BZ #3866]
24282         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24283         range of signed 64-bit integers before using fistpll.  Remove
24284         checks for whether integers fit in mantissa bits.
24285         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24286         the range of signed 32-bit integers before using fistpl.  Remove
24287         checks for whether integers fit in mantissa bits.
24288         * sysdeps/i386/fpu/e_powl.S (p64): New object.
24289         (__ieee754_powl): Test for y outside the range of signed 64-bit
24290         integers before using fistpll.  Reduce 64-bit values to 63-bit
24291         ones as needed.
24292         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24293         divide-by-zero is raised for zero to large negative powers.
24294         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24295         (__ieee754_powl): Test for y outside the range of signed 64-bit
24296         integers before using fistpll.  Reduce 64-bit values to 63-bit
24297         ones as needed.
24298         * math/libm-test.inc (pow_test): Add more tests.
24300 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24302         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24303         <stdio-common/_itoa.h>.
24304         * debug/segfault.c: Likewise.
24305         * elf/dl-cache.c: Likewise.
24306         * elf/dl-minimal.c: Likewise.
24307         * elf/dl-misc.c: Likewise.
24308         * elf/dl-sysdep.c: Likewise.
24309         * elf/dl-version.c: Likewise.
24310         * elf/rtld.c: Likewise.
24311         * hurd/hurdsock.c: Likewise.
24312         * hurd/lookup-retry.c: Likewise.
24313         * malloc/malloc.c: Likewise.
24314         * malloc/mtrace.c: Likewise.
24315         * nscd/nscd_getgr_r.c: Likewise.
24316         * nscd/nscd_getpw_r.c: Likewise.
24317         * nscd/nscd_getserv_r.c: Likewise.
24318         * posix/getopt_init.c: Likewise.
24319         * posix/wordexp.c: Likewise.
24320         * stdio-common/_itoa.c: Likewise.
24321         * stdio-common/printf_fphex.c: Likewise.
24322         * stdio-common/vfprintf.c: Likewise.
24323         * string/_strerror.c: Likewise.
24324         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24325         * sysdeps/i386/i686/hp-timing.h: Likewise.
24326         * sysdeps/mach/_strerror.c: Likewise.
24327         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24328         * sysdeps/mach/hurd/sethostid.c: Likewise.
24329         * sysdeps/mach/hurd/xmknodat.c: Likewise.
24330         * sysdeps/mach/xpg-strerror.c: Likewise.
24331         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24332         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24333         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24334         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24335         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24336         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24337         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24338         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24339         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24340         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24341         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24342         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24343         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24344         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24345         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24346         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24347         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24348         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24349         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24350         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24351         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24353         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24355         * stdio-common/_itoa.h: Moved to ...
24356         * sysdeps/generic/_itoa.h: Here.
24358         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24360         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24361         instead of "_itoa.h" and "_itowa.h".
24362         * stdio-common/vfprintf.: Likewise.
24364 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24366         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24367         <bits/wordsize.h>.
24368         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24369         (__signbit): Likwise.
24370         (llrintf): Likwise.
24371         (llrint): Likwise.
24373 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24375         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24376         __WORDSIZE != 64.
24378 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
24380         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24381         OVERFLOW_EXCEPTION_OK.
24382         * math/libm-test.inc ("Philosophy"): Update comment about
24383         exception testing.
24384         (OVERFLOW_EXCEPTION): Define.
24385         (OVERFLOW_EXCEPTION_OK): Likewise.
24386         (INVALID_EXCEPTION_OK): Renumber.
24387         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24388         (IGNORE_ZERO_INF_SIGN): Likewise.
24389         (test_exceptions): Handle FE_OVERFLOW.
24390         (exp10_test): Expect overflow exceptions.
24391         (exp2_test): Likewise.
24392         (expm1_test): Likewise.
24393         (nextafter_test): Likewise.
24394         (pow_test): Likewise.
24395         (scalbn_test): Likewise.
24396         (scalbln_test): Likewise.
24398 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24400         * sysdeps/x86_64/bits/atomic.h
24401         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24402         64bit integer.
24403         (atomic_exchange_acq): Likewise.
24404         (__arch_exchange_and_add_body): Likewise.
24405         (__arch_add_body): Likewise.
24406         (atomic_add_negative): Likewise.
24407         (atomic_add_zero): Likewise.
24409 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24411         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24412         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24414 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24416         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24417         Check __x86_64__ instead of __WORDSIZE.
24419 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24421         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24423 2012-03-19  David S. Miller  <davem@davemloft.net>
24425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24427         * sysdeps/sparc/fpu/fenv_private.h: New file.
24428         * sysdeps/sparc/fpu/math_private.h: Use it.
24429         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24430         Remove.
24431         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24432         (libc_feholdexcept_setroundl): Remove.
24433         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24434         Remove.
24435         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24436         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24438 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24440         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24441         int64_t instead of long int.
24442         (INSERT_WORDS64): Likwise.
24444 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24446         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24447         _Unwind_GetCFA return to _Unwind_Ptr first.
24449 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
24451         [BZ #13629]
24452         * math/s_clog.c: Include <float.h>.
24453         (__clog): Scale large or subnormal inputs.
24454         * math/s_clogf.c: Likewise.
24455         * math/s_clogl.c: Likewise.
24456         * math/s_clog10.c: Include <float.h>.
24457         (M_LOG10_2): Define.
24458         (__clog10): Scale large or subnormal inputs.
24459         * math/s_clog10f.c: Likewise.
24460         * math/s_clog10l.c: Likewise.
24461         * math/libm-test.inc (clog_test): Add more tests.
24462         (clog10_test): Likewise.
24463         * sysdeps/i386/fpu/libm-test-ulps: Update.
24464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24466         [BZ #11451]
24467         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24468         x and y.
24469         * math/libm-test.inc (atan2_test): Add another test.
24471         * Makerules (common-objdir-compile): Remove.
24472         * sysdeps/unix/Makefile (config-generated): Do not add
24473         $(unix-generated) to variable.
24474         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24475         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24476         Remove rule.
24477         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24478         Likewise.
24479         [generic bits/local_lim.h] (before-compile): Do not append to
24480         variable.
24481         [generic bits/local_lim.h] (common-generated): Likewise.
24482         [generic sys/param.h] (before-compile): Do not append to variable.
24483         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24484         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24485         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24486         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24487         include.
24488         [generic sys/param.h] (sys/param.h-includes): Remove variable.
24489         [generic sys/param.h] (sys/param.h-includes): Remove rule.
24490         [generic sys/param.h] ($(addprefix
24491         $(common-objpfx),$(sys/param.h-includes))): Likewise.
24492         [generic sys/param.h] (common-generated): Do not append to
24493         variable.
24494         [generic sys/param.h] (sysdep_headers): Likewise.
24495         [generic bits/errno.h] (before-compile): Do not append to
24496         variable.
24497         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24498         rule.
24499         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24500         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24501         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24502         [generic bits/errno.h] (common-generated): Do not append to
24503         variable.
24504         [generic bits/ioctls.h] (before-compile): Do not append to
24505         variable.
24506         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24507         rule.
24508         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24509         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24510         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24511         rule.
24512         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24513         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24514         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24515         [generic bits/ioctls.h] (common-generated): Do not append to
24516         variable.
24517         [generic sys/syscall.h] (syscall.h): Remove variable.
24518         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24519         rule.
24520         [generic sys/syscall.h] (before-compile): Do not append to
24521         variable.
24522         [generic sys/syscall.h] (common-generated): Likewise.
24523         * sysdeps/unix/errnos-tmpl.c: Remove file.
24524         * sysdeps/unix/errnos.awk: Likewise.
24525         * sysdeps/unix/ioctls-tmpl.c: Likewise.
24526         * sysdeps/unix/ioctls.awk: Likewise.
24527         * sysdeps/unix/mk-local_lim.c: Likewise.
24528         * sysdeps/unix/snarf-ioctls: Likewise.
24530 2012-03-19  Richard Henderson  <rth@twiddle.net>
24532         * sysdeps/i386/fpu/fenv_private.h: New file.
24533         * sysdeps/i386/fpu/math_private.h: Use it.
24534         (math_opt_barrier, math_force_eval): Remove.
24535         (libc_feholdexcept_setround_53bit): Remove.
24536         (libc_feupdateenv_53bit): Remove.
24537         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24538         (math_opt_barrier, math_force_eval): Remove.
24539         (libc_feholdexcept): Remove.
24540         (libc_feholdexcept_setround): Remove.
24541         (libc_fetestexcept, libc_fesetenv): Remove.
24542         (libc_feupdateenv_test): Remove.
24543         (libc_feupdateenv, libc_feholdsetround): Remove.
24544         (libc_feresetround): Remove.
24546         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24547         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24549         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24550         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24551         (libc_feupdateenv_testl): New.
24552         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24553         (libc_feupdateenv_testf): New.
24554         (libc_feupdateenv): Use libc_feupdateenv_test.
24555         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24556         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24558         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24559         (libc_feholdsetroundf, libc_feholdsetroundl): New.
24560         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24561         (libc_feresetround_noex): New.
24562         (libc_feresetround_noexf): New.
24563         (libc_feresetround_noexl): New.
24564         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24565         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24566         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24567         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24568         SET_RESTORE_ROUND.
24569         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24570         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24571         (__cos): Likewise.
24572         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24573         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24574         SET_RESTORE_ROUND_NOEX.
24575         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24576         SET_RESTORE_ROUND_NOEXF.
24577         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24578         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24579         (libc_feholdsetroundf): New.
24580         (libc_feresetround, libc_feresetroundf): New.
24582         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24583         (libc_feholdexcept_setround_53bit): Convert from macro to function.
24584         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
24586         * sysdeps/generic/math_private.h: Include <fenv.h>.
24587         (default_libc_feholdexcept): New.
24588         (default_libc_feholdexcept_setround): New.
24589         (default_libc_fesetenv, default_libc_feupdateenv): New.
24590         (libc_feholdexcept): Only define if undefined.
24591         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24592         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24593         (libc_feholdexcept_setroundl): Likewise.
24594         (libc_feholdexcept_setround_53bit): Likewise.
24595         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24596         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24597         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24598         (libc_feupdateenv_53bit): Likewise.
24599         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24600         (libc_feholdexcept): Convert from macro to inline function.
24601         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24602         (libc_fesetenv, libc_feupdateenv): Likewise.
24604         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24605         not previously defined.
24606         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24607         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24608         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24609         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24610         * sysdeps/ieee754/flt-32/math_private.h: New file.
24611         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24612         math_private.h below SET_FLOAT_WORD.
24613         (__isnan, __isinf_ns, __finite): Remove.
24614         (__isnanf, __isinf_nsf, __finitef): Remove.
24616 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
24618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24620 2012-03-17  David S. Miller  <davem@davemloft.net>
24622         [BZ #6471]
24623         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24624         for 2.16.
24626 2012-03-16  David S. Miller  <davem@davemloft.net>
24628         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24629         warnings.
24631         [BZ #6471]
24632         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24633         properly.
24634         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24635         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24636         sysdep_routines when subdir is sysvipc.
24637         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24638         __getshmlba helper.
24640         * sysdeps/sparc/fpu/libm-test/ulps: Update.
24642 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24644         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24645         [__LP64__].
24647 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24649         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24650         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24651         (__lround): Renamed to ...
24652         (__llround): This.  Replace long int with long long int.
24653         Define lround functions as aliases of llround functions.
24654         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24656 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24658         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24659         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
24660         adresses to uintptr_t.  Replace "long int" and "unsigned long
24661         int" with "greg_t" on va_arg.
24663 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24665         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24666         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24668         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24669         Move e_machine check before EI_CLASS check.  Handle x32
24670         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24671         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24672         SKIP_EM_IA_64 and include
24673         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24675         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24676         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24677         (add_system_dir): New macro.
24679         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24680         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24682 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24684         [BZ #2551]
24685         [BZ #2552]
24686         [BZ #2553]
24687         [BZ #2554]
24688         [BZ #2562]
24689         [BZ #2563]
24690         [BZ #2565]
24691         [BZ #2566]
24692         [BZ #2576]
24693         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24694         (y0): Likewise.
24695         * math/w_j0f.c (j0f): Likewise.
24696         (y0f): Likewise.
24697         * math/w_j0l.c (__j0l): Likewise.
24698         (__y0l): Likewise.
24699         * math/w_j1.c (j1): Likewise.
24700         (y1): Likewise.
24701         * math/w_j1f.c (j1f): Likewise.
24702         (y1f): Likewise.
24703         * math/w_j1l.c (__j1l): Likewise.
24704         (__y1l): Likewise.
24705         * math/w_jn.c (jn): Likewise.
24706         (yn): Likewise.
24707         * math/w_jnf.c (jnf): Likewise.
24708         (ynf): Likewise.
24709         * math/w_jnl.c (__jnl): Likewise.
24710         (__ynl): Likewise.
24711         * math/libm-test.inc (j0_test): Add more tests.
24712         (j1_test): Likewise.
24713         (jn_test): Likewise.  Add trailing semicolon to existing test.
24714         (y0_test): Likewise.
24715         (y1_test): Likewise.
24716         * sysdeps/i386/fpu/libm-test-ulps: Update.
24717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24719         [BZ #13851]
24720         [BZ #13854]
24721         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24722         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24723         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24724         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24725         (__tanl): Set errno for infinite argument.
24726         * sysdeps/i386/fpu/mptan.c: Remove.
24727         * sysdeps/i386/fpu/s_tan.S: Likewise.
24728         * sysdeps/i386/fpu/s_tanl.S: Likewise.
24729         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24730         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24731         * math/libm-test.inc (tan_test): Add more tests and enable more
24732         tests for double and long double.
24733         * sysdeps/i386/fpu/libm-test-ulps: Update.
24734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24736 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
24738         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24739         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24741 2012-03-16  Roland McGrath  <roland@hack.frob.com>
24743         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24744         * configure.in: Use it for both main tree and add-ons.
24745         * configure: Regenerated.
24747 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24749         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24751 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24753         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24754         in comment.
24756         [BZ #13851]
24757         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24758         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24759         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24760         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24761         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24762         infinite argument.
24763         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24764         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24765         != 0 for prec == 2.
24766         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24767         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24768         * sysdeps/i386/fpu/s_cosl.S: Likewise.
24769         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24770         * sysdeps/i386/fpu/s_sinl.S: Likewise.
24771         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24772         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24773         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24774         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24775         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24776         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24777         * math/libm-test.inc (cos_test): Add more tests and enable more
24778         tests for long double.
24779         (sin_test): Likewise.
24780         (sincos_test): Likewise.
24781         * sysdeps/i386/fpu/libm-test-ulps: Update.
24782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24784 2012-03-16  David S. Miller  <davem@davemloft.net>
24786         * sysdeps/sparc/fpu/math_private.h: New file.
24788 2012-03-15  David S. Miller  <davem@davemloft.net>
24790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24791         file.
24792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24794         file.
24795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24796         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24797         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24798         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24799         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24800         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24801         sysdep routines.
24802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24804         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24805         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24807         * sysdeps/sparc/sparc-ifunc.h: New file.
24808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24809         sparc-ifunc.h
24810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24812         Likewise.
24813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24814         Likewise.
24815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24819         Likewise.
24820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24825         Likewise.
24826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24827         Likewise.
24828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24832         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24833         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24834         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24835         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24836         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24837         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24838         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24839         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24840         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24841         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24842         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24843         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24844         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24845         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24846         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24847         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24848         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24849         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24850         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24851         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24853 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24855         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24856         scaling.
24857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24859 2012-03-15  Andreas Jaeger  <aj@suse.de>
24861         [BZ #13852]
24862         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24863         ieee754/flt-32 implementation for sin, cos and sincos.
24864         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24865         * sysdeps/i386/fpu/s_cosf.S: Likewise.
24866         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24867         * sysdeps/i386/fpu/s_sinf.S: Likewise.
24868         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24869         ieee754/flt-32 implementation for tan.
24871         * math/libm-test.inc (cos_test): Enable some large input tests for
24872         float as well
24873         (sin_test): Likewise.
24874         (sincos_test): Likewise.
24875         (tan_test): Add tests for large input.
24877         * sysdeps/i386/fpu/libm-test-ulps: Update.
24879 2012-03-15  Andreas Jaeger  <aj@suse.de>
24881         [BZ #13658]
24882         * math/libm-test.inc (cos_test): Add more test cases.
24883         (sin_test): Likewise.
24884         (sincos_test): Likewise.
24886 2012-03-15  Andreas Jaeger  <aj@suse.de>
24888         [BZ #13837]
24889         * math/libm-test.inc (cos_test): Add a test case for large input
24890         value.
24891         (sin_test): Likewise.
24892         (sincos_test): Likewise.
24894 2012-03-15  Andreas Jaeger  <aj@suse.de>,
24895         Joseph Myers  <joseph@codesourcery.com>
24897         [BZ #13658]
24898         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24899         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24900         * sysdeps/i386/fpu/branred.c: Likewise.
24901         * sysdeps/i386/fpu/dosincos.c: Likewise.
24902         * sysdeps/i386/fpu/mpa.c: Likewise.
24903         * sysdeps/i386/fpu/s_cos.S: Likewise.
24904         * sysdeps/i386/fpu/s_sin.S: Likewise.
24905         * sysdeps/i386/fpu/s_sincos.S: Likewise.
24906         * sysdeps/i386/fpu/sincos32.c: Likewise.
24908         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24909         Define.
24910         (libc_feupdateenv_53bit): Define.
24911         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24912         Define.
24913         (libc_feupdateenv_53bit): Define.
24915         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24916         53 bit (without extend i386 double precision).
24918         * math/libm-test.inc (sincos_test): Add tests for large input.
24919         (sin): Likewise.
24920         (cos): Likewise.
24922         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24924 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24928 2012-03-15  David S. Miller  <davem@davemloft.net>
24930         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24931         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24932         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24933         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24938         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24939         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24940         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24941         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24942         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24943         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24944         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24946         file.
24947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24949         file.
24950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24952         file.
24953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24955         file.
24956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24957         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24958         fmin/fmax sysdep routines.
24959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24961 2012-03-14  David S. Miller  <davem@davemloft.net>
24963         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24964         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24965         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24966         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24967         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24968         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24969         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24970         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24971         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24972         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24973         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24974         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24975         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24976         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24977         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24978         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24979         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24980         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24981         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24982         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24983         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24984         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24985         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24986         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24987         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24988         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24989         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24990         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24991         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24992         routines.
24993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24994         file.
24995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24997         file.
24998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25000         file.
25001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25003         file.
25004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25006         file.
25007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25009         file.
25010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25011         file.
25012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25013         file.
25014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25015         file.
25016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25017         New file.
25018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25019         file.
25020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25021         file.
25022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25024         file.
25025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25027         file.
25028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25030         file.
25031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25033         VIS3 routines.
25035         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25036         New file.
25038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25040         * sysdeps/sparc/configure.in: New file.
25041         * sysdeps/sparc/configure: Generate.
25042         * configure.in (libc_cv_sparc_as_vis3): Substitute.
25043         * configure: Regenerate.
25044         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25045         * config.make.in (have-as-vis3): New.
25046         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25047         available use -Av9d instead of -Av9a.
25048         * sysdeps/sparc/sparc64/Makefile: Likewise.
25049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25051         New file.
25052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25053         file.
25054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25055         New file.
25056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25057         file.
25058         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25059         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25060         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25061         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25062         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25064         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25065         fzeros/fnegs to load 0x80000000 into a float register instead of
25066         using the stack.
25067         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25069 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25071         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25072         bits/syscall.h.
25073         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25074         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25075         ($(inst_includedir)/bits/syscall.h): Remove rule.
25076         ($(objpfx)bits/syscall.d): Include instead of
25077         $(objpfx)syscall-list.d.
25078         (generated): Change syscall-list.h and syscall-list.d to
25079         bits/syscall.h and bits/syscall.d.
25081 2012-03-14  Roland McGrath  <roland@hack.frob.com>
25083         [BZ #13846]
25084         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25086 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25088         [BZ #13841]
25089         * math/s_csqrt.c: Include <float.h>.
25090         (__csqrt): Scale large or subnormal inputs.
25091         * math/s_csqrtf.c: Likewise.
25092         * math/s_csqrtl.c: Likewise.
25093         * math/libm-test.inc (csqrt_test): Add more tests.
25094         * sysdeps/i386/fpu/libm-test-ulps: Update.
25095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25097         [BZ #13840]
25098         * math/libm-test.inc (hypot_test): Add more tests.
25100 2012-03-13  David S. Miller  <davem@davemloft.net>
25102         [BZ #13840]
25103         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25104         double-precision for the calculation instead of scaling.
25106 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
25108         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25109         manipulate bits before adding and subtracting TWO52[sx].
25110         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25111         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25112         Likewise.
25113         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25115 2012-03-13  David S. Miller  <davem@davemloft.net>
25117         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25118         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25119         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25120         rtld-global-offsets.h
25121         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25123         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25124         large parameters.
25126         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25128         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25129         'err' in the ifdef scope in which it is actually used.
25131         * nss/nss_db/db-init.c: Include string.h
25133 2012-03-12  David S. Miller  <davem@davemloft.net>
25135         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25136         masking out of the most significant byte of random value used.
25137         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25138         Fix coding style in previous change.
25140         * sysdeps/unix/sysv/linux/kernel-features.h
25141         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25142         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25143         expression.
25144         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25145         later.
25147 2012-03-11  David S. Miller  <davem@davemloft.net>
25149         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25150         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25151         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25152         for 'resultvar' otherwise things get truncated on 64-bit.
25154         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25155         Fix masking out of the most significant byte of random value used.
25157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25159 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
25161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25163 2012-03-09  David S. Miller  <davem@davemloft.net>
25165         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25166         variables with appropriate CPP guards.
25167         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25168         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
25169         on resulting framesize and the management of the outregs buffer for pltexit.
25170         Preserve floating point return values across _dl_call_pltexit call.
25171         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25172         framesize and the management of the outregs buffer for pltexit.
25173         Preserve floating point return values across _dl_call_pltexit
25174         call.
25175         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25176         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25177         (print_exit): Fix format string for return register value.
25179 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
25181         * sunrpc/Makefile (others): Add rpcgen.
25182         ($(objpfx)rpcgen): Remove special build rule and dependency on
25183         libc.
25184         * sunrpc/rpcgen.c: New file.
25186 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
25188         [BZ #13673]
25189         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25190         * stdio-common/bug-vfprintf-nargs.c: Likewise.
25191         * sysdeps/i386/crti.S: Likewise.
25192         * sysdeps/i386/crtn.S: Likewise.
25193         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25194         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25195         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25196         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25197         * sysdeps/sh/crti.S: Likewise.
25198         * sysdeps/sh/crtn.S: Likewise.
25199         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25201         [BZ #13673]
25202         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25203         with URL.
25204         * locale/programs/locfile-kw.gperf: Likewise.
25205         * locale/programs/charmap-kw.h: Regenerated.
25206         * locale/programs/locfile-kw.h: Likewise.
25208         [BZ #13673]
25209         * intl/plural.y: Replace FSF snail mail address with URL.
25210         * intl/plural.c: Regenerated.
25212 2012-03-09  Richard Henderson  <rth@twiddle.net>
25214         * include/math_private.h: Remove file.
25215         * math/math_private.h: Move file ...
25216         * sysdeps/generic/math_private.h: ... here.
25218         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25219         * sysdeps/powerpc/fpu/math_private.h: Likewise.
25220         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25222         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25223         and <math_private.h>.
25224         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25225         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25226         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25227         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25228         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25229         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25230         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25231         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25232         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25233         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25234         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25235         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25236         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25237         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25238         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25239         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25240         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25241         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25242         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25243         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25244         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25245         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25246         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25247         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25248         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25249         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25250         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25251         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25252         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25253         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25254         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25255         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25256         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25257         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25258         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25259         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25260         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25261         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25262         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25263         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25264         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25265         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25266         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25267         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25268         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25269         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25270         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25271         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25272         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25273         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25274         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25275         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25276         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25277         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25278         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25279         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25280         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25281         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25282         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25283         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25284         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25285         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25286         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25287         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25288         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25289         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25290         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25291         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25292         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25293         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25294         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25295         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25296         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25297         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25298         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25299         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25300         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25301         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25302         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25303         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25304         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25305         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25306         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25307         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25308         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25309         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25310         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25311         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25312         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25313         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25314         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25315         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25316         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25317         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25318         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25319         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25320         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25321         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25322         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25323         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25324         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25325         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25326         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25327         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25328         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25329         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25330         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25331         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25332         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25333         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25334         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25335         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25336         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25337         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25338         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25339         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25340         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25341         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25342         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25343         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25344         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25345         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25346         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25347         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25348         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25349         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25350         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25351         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25352         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25353         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25354         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25355         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25356         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25357         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25358         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25359         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25360         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25361         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25362         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25363         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25364         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25365         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25366         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25367         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25368         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25369         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25370         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25371         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25372         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25373         * sysdeps/ieee754/k_standard.c: Likewise.
25374         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25375         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25376         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25377         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25378         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25379         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25380         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25381         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25382         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25383         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25384         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25385         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25386         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25387         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25388         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25389         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25390         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25391         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25392         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25393         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25394         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25395         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25396         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25397         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25398         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25399         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25400         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25401         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25402         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25403         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25404         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25405         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25406         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25407         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25408         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25409         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25410         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25411         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25412         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25413         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25414         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25415         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25416         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25417         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25418         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25419         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25420         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25421         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25422         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25423         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25424         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25425         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25426         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25427         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25428         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25429         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25430         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25431         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25432         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25433         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25434         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25435         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25436         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25437         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25438         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25439         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25440         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25441         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25442         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25443         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25444         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25445         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25446         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25447         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25448         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25449         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25450         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25451         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25452         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25453         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25454         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25455         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25456         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25457         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25458         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25459         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25460         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25461         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25462         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25463         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25464         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25465         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25466         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25467         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25468         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25469         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25470         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25471         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25472         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25473         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25474         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25475         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25476         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25477         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25478         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25479         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25480         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25481         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25482         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25483         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25484         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25485         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25486         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25487         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25488         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25489         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25490         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25491         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25492         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25493         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25494         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25495         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25496         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25497         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25498         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25499         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25500         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25501         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25502         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25503         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25504         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25505         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25506         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25507         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25508         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25509         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25510         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25511         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25512         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25513         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25514         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25515         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25516         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25517         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25518         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25519         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25520         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25521         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25522         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25523         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25524         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25525         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25526         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25527         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25528         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25529         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25530         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25531         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25532         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25533         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25534         * sysdeps/ieee754/s_lib_version.c: Likewise.
25535         * sysdeps/ieee754/s_matherr.c: Likewise.
25536         * sysdeps/ieee754/s_signgam.c: Likewise.
25537         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25538         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25539         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25540         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25541         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25542         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25543         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25544         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25545         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25546         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25547         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25548         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25549         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25550         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25551         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25552         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25553         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25554         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25555         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25556         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25557         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25559 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25561         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25562         * sunrpc/rpc_main.c: Likewise.
25563         * sunrpc/rpc_svcout.c: Likewise.
25565 2012-03-09  David S. Miller  <davem@davemloft.net>
25567         * include/math_private.h: New file.
25569 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25571         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25572         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25573         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25574         from <bits/socket_type.h>.
25575         (enum __socket_type): Don't define here.
25576         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25577         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25578         bits/socket_type.h.
25580         [BZ #13566]
25581         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25582         checking __USE_GNU.
25584         * Makerules ($(inst_includedir)/%.h): New rule.
25585         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25586         (install-others): Remove variable setting.
25587         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25589 2012-03-08  Richard Henderson  <rth@twiddle.net>
25591         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25592         from macro to inline function; merge with the
25593         !__LIBC_INTERNAL_MATH_INLINES version.
25594         (__ieee754_sqrtf): Likewise.
25596         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25597         to inline function.
25598         (__rintf, __floor, __floorf): Likewise.
25600         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25601         macro to inline function.
25602         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25604         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25605         not <math/math_private.h>.
25607 2012-03-08  David S. Miller  <davem@davemloft.net>
25609         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25610         copyright year.
25611         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25613 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
25615         * resolv/gai_misc.c (handle_requests): Fix struct timespec
25616         normalization.
25617         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25618         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25620 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
25622         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
25623         be defined individually, they must be defined as a block.  Define
25624         S for printing a string instead of hidint the different by using a
25625         macro for adding the 'l'.
25626         * stdio-common/tst-fphex-wide.c: Adjust.
25628 2012-03-07  Marek Polacek  <polacek@redhat.com>
25630         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25632 2012-03-08  Marek Polacek  <polacek@redhat.com>
25634         [BZ #13806]
25635         * stdio-common/Makefile (tests): Add tst-fphex-wide.
25636         * stdio-common/tst-fphex.c: Define a few macros to make the
25637         test reusable.  Use them.
25638         * stdio-common/tst-fphex-wide.c: New file.
25640 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
25642         [BZ #6911]
25643         * manual/macros.texi (gnusystems): New macro.
25644         (nongnusystems): Likewise.
25645         (gnulinuxhurdsystems): Likewise.
25646         (gnuhurdsystems): Likewise..
25647         (gnulinuxsystems): Likewise.
25648         * manual/charset.texi: Use new macros or @theglibc{} to refer to
25649         variants of the GNU system, not "GNU system".
25650         * manual/conf.texi: Likewise.
25651         * manual/errno.texi: Likewise.  Update example of errno macro
25652         expansion.
25653         * manual/filesys.texi: Likewise.
25654         (getumask): Document as specific to GNU/Hurd.
25655         * manual/install.texi: Likewise.  Reword some references to
25656         GNU/Linux.
25657         * manual/intro.texi: Likewise.
25658         * manual/io.texi: Likewise.
25659         (File Name Portability): Detail which constraints are inapplicable
25660         to all GNU systems and which are only inapplicable to GNU/Hurd.
25661         * manual/job.texi: Likewise.
25662         * manual/llio.texi: Likewise.
25663         (O_NOCTTY): Document as present on GNU/Linux.
25664         * manual/maint.texi: Likewise.
25665         * manual/memory.texi: Likewise.
25666         * manual/pattern.texi: Likewise.
25667         * manual/pipe.texi: Likewise.
25668         * manual/process.texi: Likewise.
25669         * manual/resource.texi: Likewise.
25670         (RUSAGE_CHILDREN): Remove statement about specifying a particular
25671         child on GNU/Hurd.
25672         * manual/setjmp.texi: Likewise.
25673         * manual/signal.texi: Likewise.
25674         * manual/startup.texi: Likewise.
25675         * manual/stdio.texi: Likewise.
25676         * manual/terminal.texi: Likewise.
25677         (ONLCR): Document as POSIX.
25678         (OXTABS): Document availability on GNU/Linux as XTABS.
25679         (ONOEOT): Document availability separately from other bits.
25680         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25681         * manual/time.texi: Likewise.
25682         * manual/users.texi: Likewise.
25683         * INSTALL: Regenerated.
25684         * sysdeps/gnu/errlist.c: Regenerated.
25686         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25687         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25688         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
25689         puts.
25690         * configure: Regenerated.
25692 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
25694         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25695         default includes instead of AC_HEADER_CHECK.
25696         * sysdeps/i386/configure: Regenerated.
25698         [BZ #10716]
25699         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25700         * math/s_cacoshf.c (__cacoshf): Likewise.
25701         * math/s_cacoshl.c (__cacoshl): Likewise.
25702         * math/s_casinh.c (__casinh): Set signs of result from argument.
25703         * math/s_casinhf.c (__casinhf): Likewise.
25704         * math/s_casinhl.c (__casinhl): Likewise.
25705         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25706         (casinh_test): Add more tests.
25707         * sysdeps/i386/fpu/libm-test-ulps: Update.
25708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25710 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
25712         * po/zh_TW.po: Update from translation team.
25714         * login/Makefile (distribute): Remove variable.
25715         * catgets/Makefile: Likewise.
25716         * mach/Makefile: Likewise.
25717         * malloc/Makefile: Likewise.
25718         * misc/Makefile: Likewise.
25719         * iconv/Makefile: Likewise.
25720         * nscd/Makefile: Likewise.
25721         * hurd/Makefile: Likewise.
25722         * manual/Makefile: Likewise.
25723         * locale/Makefile: Likewise.
25724         * intl/Makefile: Likewise.
25725         * conform/Makefile: Likewise.
25726         * nss/Makefile: Likewise.
25727         * time/Makefile: Likewise.
25728         * soft-fp/Makefile: Likewise.
25729         * dirent/Makefile: Likewise.
25730         * gmon/Makefile: Likewise.
25731         * po/Makefile: Likewise.
25732         * rt/Makefile: Likewise.
25733         * socket/Makefile: Likewise.
25734         * math/Makefile: Likewise.
25735         * signal/Makefile: Likewise.
25736         * debug/Makefile: Likewise.
25737         * elf/Makefile: Likewise.
25738         * timezone/Makefile: Likewise.
25739         * stdlib/Makefile: Likewise.
25740         * iconvdata/Makefile: Likewise.
25741         * sunrpc/Makefile: Likewise.
25742         * io/Makefile: Likewise.
25743         * argp/Makefile: Likewise.
25744         * inet/Makefile: Likewise.
25745         * hesiod/Makefile: Likewise.
25746         * grp/Makefile: Likewise.
25747         * csu/Makefile: Likewise.
25748         * wctype/Makefile: Likewise.
25749         * crypt/Makefile: Likewise.
25750         * libio/Makefile: Likewise.
25751         * string/Makefile: Likewise.
25752         * nis/Makefile: Likewise.
25753         * resolv/Makefile: Likewise.
25754         * stdio-common/Makefile: Likewise.
25755         * wcsmbs/Makefile: Likewise.
25756         * dlfcn/Makefile: Likewise.
25757         * posix/Makefile: Likewise.
25759         [BZ #6959]
25760         * timezone/Makefile: Don't install timezone files, just the programs
25761         and scripts.
25763 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
25765         * nss/databases.def: Add missing gshadow entry.
25767         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
25769 2012-03-06  Marek Polacek  <polacek@redhat.com>
25771         [BZ #13726]
25772         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25773         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25774         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25775         * stdio-common/tst-long-dbl-fphex.c: New file.
25777 2012-03-06  David S. Miller  <davem@davemloft.net>
25779         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25780         (set_obp_int): New function.
25781         (get_obp_int): New function.
25782         (__get_clockfreq_via_dev_openprom): Likewise.
25783         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25784         Avoid unused variable warnings on 'val' and use builtin_expect.
25785         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25786         __builtin_expect.
25787         (INLINE_CLONE_SYSCALL): Likewise.
25789 2012-03-05  David S. Miller  <davem@davemloft.net>
25791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25793 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
25795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25797         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25798         only for |x| >= 40.
25799         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25801 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25803         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25804         Replace gettimeofday with __vdso_gettimeofday.
25806         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25807         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25808         __vdso_clock_gettime and __vdso_getcpu.
25810         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25811         time with __vdso_time.
25813 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25815         * manual/lang.texi (size_t): Note types to which size_t may be
25816         equivalent with the GNU C Library, but do not describe when
25817         differences between them are significant.
25819 2012-03-05  Andreas Jaeger  <aj@suse.de>
25821         * sysdeps/i386/fpu/libm-test-ulps: Update.
25823 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25825         [BZ #3976]
25826         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25827         (__ieee754_pow): Save and restore rounding mode and use
25828         round-to-nearest for main computations.
25829         * math/libm-test.inc (pow_test_tonearest): New function.
25830         (pow_test_towardzero): Likewise.
25831         (pow_test_downward): Likewise.
25832         (pow_test_upward): Likewise.
25833         (main): Call the new functions.
25834         * sysdeps/i386/fpu/libm-test-ulps: Update.
25835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25837         [BZ #3976]
25838         * math/libm-test.inc (cosh_test_tonearest): New function.
25839         (cosh_test_towardzero): Likewise.
25840         (cosh_test_downward): Likewise.
25841         (cosh_test_upward): Likewise.
25842         (sinh_test_tonearest): Likewise.
25843         (sinh_test_towardzero): Likewise.
25844         (sinh_test_downward): Likewise.
25845         (sinh_test_upward): Likewise.
25846         (main): Call the new functions.
25847         * sysdeps/i386/fpu/libm-test-ulps: Update.
25848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25850 2012-03-05  Tom de Vries  <tom@codesourcery.com>
25852         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25853         default stack guard is set in last bytes.
25854         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25856 2012-03-05  Kees Cook  <keescook@chromium.org>
25858         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25860         [BZ #13656]
25861         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25862         possibly allocate from heap instead of stack.
25863         * stdio-common/bug-vfprintf-nargs.c: New file.
25864         * stdio-common/Makefile (tests): Add nargs overflow test.
25866 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
25868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25870 2012-03-03  Marek Polacek  <polacek@redhat.com>
25872         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25873         * math/math_private.h: Likewise.
25874         * stdlib/tst-strtod.c: Likewise.
25875         * sysdeps/i386/i486/bits/atomic.h: Likewise.
25876         * sysdeps/x86_64/bits/atomic.h: Likewise.
25878 2012-03-02  David S. Miller  <davem@davemloft.net>
25880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25884         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25885         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25886         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25887         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25889 2012-03-02  Roland McGrath  <roland@hack.frob.com>
25891         [BZ #13792]
25892         * manual/examples/README: New file, says the example source files
25893         can be used under GPL>=2.
25894         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25895         line containing just "*/".
25896         * manual/examples/add.c: Add copyright header (GPL>=2).
25897         * manual/examples/argp-ex1.c: Likewise.
25898         * manual/examples/argp-ex2.c: Likewise.
25899         * manual/examples/argp-ex3.c: Likewise.
25900         * manual/examples/argp-ex4.c: Likewise.
25901         * manual/examples/atexit.c: Likewise.
25902         * manual/examples/db.c: Likewise.
25903         * manual/examples/dir.c: Likewise.
25904         * manual/examples/dir2.c: Likewise.
25905         * manual/examples/execinfo.c: Likewise.
25906         * manual/examples/filecli.c: Likewise.
25907         * manual/examples/filesrv.c: Likewise.
25908         * manual/examples/fmtmsgexpl.c: Likewise.
25909         * manual/examples/genpass.c: Likewise.
25910         * manual/examples/inetcli.c: Likewise.
25911         * manual/examples/inetsrv.c: Likewise.
25912         * manual/examples/isockad.c: Likewise.
25913         * manual/examples/longopt.c: Likewise.
25914         * manual/examples/memopen.c: Likewise.
25915         * manual/examples/memstrm.c: Likewise.
25916         * manual/examples/mkfsock.c: Likewise.
25917         * manual/examples/mkisock.c: Likewise.
25918         * manual/examples/mygetpass.c: Likewise.
25919         * manual/examples/pipe.c: Likewise.
25920         * manual/examples/popen.c: Likewise.
25921         * manual/examples/rprintf.c: Likewise.
25922         * manual/examples/search.c: Likewise.
25923         * manual/examples/select.c: Likewise.
25924         * manual/examples/setjmp.c: Likewise.
25925         * manual/examples/sigh1.c: Likewise.
25926         * manual/examples/sigusr.c: Likewise.
25927         * manual/examples/stpcpy.c: Likewise.
25928         * manual/examples/strdupa.c: Likewise.
25929         * manual/examples/strftim.c: Likewise.
25930         * manual/examples/strncat.c: Likewise.
25931         * manual/examples/subopt.c: Likewise.
25932         * manual/examples/swapcontext.c: Likewise.
25933         * manual/examples/termios.c: Likewise.
25934         * manual/examples/testopt.c: Likewise.
25935         * manual/examples/testpass.c: Likewise.
25936         * manual/examples/timeval_subtract.c: Likewise.
25938         [BZ #13792]
25939         * manual/time.texi (Elapsed Time): Move timeval_subtract example
25940         function to ...
25941         * manual/timeval_subtract.c.texi: ... here, new file.
25943 2012-03-02  David S. Miller  <davem@davemloft.net>
25945         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25947 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
25949         [BZ #3976]
25950         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25951         (__sin): Save and restore rounding mode and use round-to-nearest
25952         for all computations.
25953         (__cos): Save and restore rounding mode and use round-to-nearest
25954         for all computations.
25955         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25956         <fenv.h>.
25957         (tan): Save and restore rounding mode and use round-to-nearest for
25958         all computations.
25959         * math/libm-test.inc (cos_test_tonearest): New function.
25960         (cos_test_towardzero): Likewise.
25961         (cos_test_downward): Likewise.
25962         (cos_test_upward): Likewise.
25963         (sin_test_tonearest): Likewise.
25964         (sin_test_towardzero): Likewise.
25965         (sin_test_downward): Likewise.
25966         (sin_test_upward): Likewise.
25967         (tan_test_tonearest): Likewise.
25968         (tan_test_towardzero): Likewise.
25969         (tan_test_downward): Likewise.
25970         (tan_test_upward): Likewise.
25971         (main): Call the new functions.
25972         * sysdeps/i386/fpu/libm-test-ulps: Update.
25973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25975         [BZ #10135]
25976         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25977         small n, then large n, before computing and testing k+n.
25978         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25979         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25980         Likewise.
25981         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25982         Likewise.
25983         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25984         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25985         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25986         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25987         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25988         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25989         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25990         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25991         * math/libm-test.inc (scalbn_test): Add more tests.
25992         (scalbln_test): Likewise.
25994         * manual/filesys.texi (mode_t): Describe constraints on size and
25995         signedness, not exact equivalence to a particular type.
25996         (ino_t): Likewise.
25997         (ino64_t): Likewise.
25998         (dev_t): Likewise.
25999         (nlink_t): Likewise.
26000         (blkcnt_t): Likewise.
26001         (blkcnt64_t): Likewise.
26002         * manual/llio.texi (off_t): Likewise.
26004         [BZ #3976]
26005         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26006         (__ieee754_exp): Save and restore rounding mode and use
26007         round-to-nearest for all computations.
26008         * math/libm-test.inc (exp_test_tonearest): New function.
26009         (exp_test_towardzero): Likewise.
26010         (exp_test_downward): Likewise.
26011         (exp_test_upward): Likewise.
26012         (main): Call the new functions.
26013         * sysdeps/i386/fpu/libm-test-ulps: Update.
26014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26016 2012-03-01  Chris Demetriou  <cgd@google.com>
26018         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26019         have predictable order.
26021 2012-03-01  David S. Miller  <davem@davemloft.net>
26023         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26025         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26026         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26027         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26028         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26030         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26031         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26032         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26034         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26035         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26036         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26037         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26038         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26042         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26043         * sysdeps/sparc/fpu/libm-test-ulps: to here.
26044         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26046         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26047         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26048         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26049         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26050         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26051         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26052         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26053         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26054         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26055         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26056         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26057         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26058         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26059         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26060         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26061         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26062         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26063         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26064         * sysdeps/sparc/elf/configure: Regenerated.
26066 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
26068         * configure.in (AS, LD): Require binutils 2.20 or later.
26069         * configure: Regenerated.
26070         * manual/install.texi (Tools for Compilation): Give binutils 2.20
26071         as required minimum version.
26072         * INSTALL: Regenerated.
26074         [BZ #2541]
26075         [BZ #4108]
26076         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26077         before squaring exponent.
26078         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26079         bottom long double and 27 bits of top long double before squaring
26080         exponent.
26081         * math/libm-test.inc (erfc_test): Add more tests.
26082         * sysdeps/i386/fpu/libm-test-ulps: Update.
26083         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26086 2012-03-01  Kai Tietz  <ktietz@redhat.com>
26088         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26089         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26090         containing bit-fields.
26091         * soft-fp/extended.h (_FP_UNION_E): Likewise.
26092         * soft-fp/single.h (_FP_UNION_S): Likewise.
26093         * soft-fp/double.h (_FP_UNION_D): Likewise.
26095 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26097         [BZ #13786]
26098         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26099         not include ../strcmp.S.
26100         [USE_AS_STRNCASECMP_L]: Likewise.
26101         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26102         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26103         * sysdeps/i386/i686/multiarch/strncase_l-c.c
26104         (__strncasecmp_l_ia32): Define as alias to
26105         __strncasecmp_l_nonascii.
26107         [BZ #5794]
26108         * math/libm-test.inc (expm1_test): Add test for bug 5794.
26109         * sysdeps/i386/fpu/libm-test-ulps: Update.
26110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26112         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26115 2012-02-29  Jeff Law  <law@redhat.com>
26117         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26118         out of bounds read.
26120 2012-02-29  Marek Polacek  <polacek@redhat.com>
26122         [BZ #13706]
26123         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26124         * elf/Makefile: Add rules to run tst-unused-dep.out.
26126 2012-02-28  David S. Miller  <davem@davemloft.net>
26128         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26129         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26130         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26131         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26132         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26133         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26135 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26137         * math/libm-test.inc (llround_test): Move one test from
26138         lround_test.  Use TEST_f_L in moved test.
26139         (lround_test): Move misplaced test to llround_test.  Add testcase
26140         from bug 2561.
26142 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
26144         * sysdeps/x86_64/fpu/e_expf.S: New file.
26145         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26147 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
26149         [BZ #13637]
26150         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26151         of remain_len that may cause incomplete multi-byte character and
26152         false match.
26153         * posix/bug-regex33.c: New file.
26154         * posix/Makefile (tests): Add bug-regex33.
26156 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
26158         * manual/macros.texi: New file.
26159         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26160         * manual/libc.texinfo: Include macros.texi.
26161         * manual/creatute.texi: Likewise.
26162         * manual/install.texi: Likewise.
26163         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26164         @glibcadj{} in references to the GNU C Library.
26165         * manual/charset.texi: Likewise.
26166         * manual/conf.texi: Likewise.
26167         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
26168         when not using those macros.
26169         * manual/creature.texi: Likewise.
26170         * manual/crypt.texi: Likewise.
26171         * manual/errno.texi: Likewise.
26172         * manual/filesys.texi: Likewise.
26173         * manual/header.texi: Likewise.
26174         * manual/install.texi: Likewise.
26175         * manual/intro.texi: Likewise.
26176         * manual/io.texi: Likewise.
26177         * manual/job.texi: Likewise.
26178         * manual/lang.texi: Likewise.
26179         * manual/libc.texiinfo: Likewise.
26180         * manual/llio.texi: Likewise.
26181         * manual/locale.texi: Likewise.
26182         * manual/maint.texi: Likewise.
26183         * manual/math.texi: Likewise.
26184         * manual/memory.texi: Likewise.
26185         * manual/message.texi: Likewise.
26186         * manual/nss.texi: Likewise.
26187         * manual/pattern.texi: Likewise.
26188         * manual/process.texi: Likewise.
26189         * manual/resource.texi: Likewise.
26190         * manual/search.texi: Likewise.
26191         * manual/setjmp.texi: Likewise.
26192         * manual/signal.texi: Likewise.
26193         * manual/socket.texi: Likewise.
26194         * manual/startup.texi: Likewise.
26195         * manual/stdio.texi: Likewise.
26196         * manual/string.texi: Likewise.
26197         * manual/sysinfo.texi: Likewise.
26198         * manual/syslog.texi: Likewise.
26199         * manual/terminal.texi: Likewise.
26200         * manual/time.texi: Likewise.
26201         * manual/users.texi: Likewise.
26202         * INSTALL: Regenerated.
26203         * NOTES: Regenerated.
26204         * sysdeps/gnu/errlist.c: Regenerated.
26206 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
26208         * include/dirent.h: Include <dirstream.h> before
26209         <dirent/dirent.h>.
26211 2012-02-28  David S. Miller  <davem@davemloft.net>
26213         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26214         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26215         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26216         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26218 2012-02-27  David S. Miller  <davem@davemloft.net>
26220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26222         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26223         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26226         frame pointer instead of stack pointer relative arg slot.
26227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26228         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26229         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26231 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
26233         [BZ #3992]
26234         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26236 2012-02-27  David S. Miller  <davem@davemloft.net>
26238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26242         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26243         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26244         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26245         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26247 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26249         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26250         later.  Allow versions 5-9.
26251         * configure: Regenerated.
26252         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26253         required minimum version and 4.6 as recommended version.  Do not
26254         mention bugs in GCC 2.7 and 2.8.
26255         * INSTALL: Regenerated.
26257 2012-02-27  David S. Miller  <davem@davemloft.net>
26259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26263         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26264         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26265         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26266         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26268         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26269         manipulate bits before adding and subtracting TWO112[sx].
26270         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26272 2012-02-27  Roland McGrath  <roland@hack.frob.com>
26274         [BZ #13775]
26275         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26276         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26277         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26278         being in POSIX, because they are in 1003.1-2008.
26280         * rt/tst-aio.c: Include <fcntl.h>.
26281         * rt/tst-aio7.c: Likewise.
26282         * rt/tst-aio64.c: Likewise.
26284         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26286 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26288         * manual/install.texi (--with-headers): Describe headers as
26289         interface headers, not private headers.
26290         (Specific advice for GNU/Linux systems): Describe use of headers
26291         from "make headers_install", not private headers from older
26292         kernels.
26293         * INSTALL: Regenerated.
26294         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26295         Change to 2.6.19.
26296         * sysdeps/unix/sysv/linux/configure: Regenerated.
26298         * manual/llio.texi (fclean): Remove documentation.
26300         * manual/Makefile (libc-texi-generated): New variable.  Include
26301         version.texi.
26302         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26303         $(libc-texi-generated), not duplicated list of files.
26304         (version.texi, stamp-version): New rules.
26305         (realclean): Remove $(libc-texi-generated), not individual files
26306         from that list.  Do not remove dir-add.texinfo.
26307         * manual/libc.texinfo: Comment out uses of edition numbers and
26308         references to printed manual.  Remove last-updated dates.
26309         (EDITION): Comment out.
26310         (ISBN): Likewise.
26311         (VERSION, UPDATED): Remove.
26312         (version.texi): Include.
26314 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
26316         * sysdeps/posix/spawni.c: Include <signal.h>.
26317         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26318         * sysdeps/pthread/aio_fsync.c: Likewise.
26320 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
26322         * conform/Makefile (tests): Run only when not cross-compiling and
26323         when fast-check is not defined.
26325         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26326         * conform/data/limits.h-data: Fixes for POSIX2008.
26327         * conform/run-conformtest.sh: Run all tests.
26328         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26329         headers.
26330         * include/bits/dlfcn.h: Likewise.
26331         * include/langinfo.h: Likewise.
26332         * include/monetary.h: Likewise.
26333         * include/sys/poll.h: Likewise.
26335         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26336         for __USE_GNU.
26337         * posix/spawn.h: Define __need_sigset_t.
26338         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26339         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26340         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
26341         to get sigevent_t only.
26342         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26343         only for __USE_GNU.
26344         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26345         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26346         process_vm_writev only for __USE_GNU.
26347         * termios/termios.h: Declare tcgetsid also for POSIX2008.
26349         * conform/Makefile: For now ignore errors from run-conformtest.
26350         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
26351         POSIX to avoid namespace pollution.  Don't prepend headers.
26352         * conform/data/aio.h-data: Fixes for POSIX testing.
26353         * conform/data/fcntl.h-data: Likewise.
26354         * conform/data/glob.h-data: Likewise.
26355         * conform/data/grp.h-data: Likewise.
26356         * conform/data/pthread.h-data: Likewise.
26357         * conform/data/pwd.h-data: Likewise.
26358         * conform/data/signal.h-data: Likewise.
26359         * conform/data/spawn.h-data: Likewise.
26360         * conform/data/stdio.h-data: Likewise.
26361         * conform/data/stdlib.h-data: Likewise.
26362         * conform/data/stropts.h-data: Likewise.
26363         * conform/data/sys/mman.h-data: Likewise.
26364         * conform/data/sys/stat.h-data: Likewise.
26365         * conform/data/sys/types.h-data: Likewise.
26366         * conform/data/sys/wait.h-data: Likewise.
26367         * conform/data/time.h-data: Likewise.
26368         * conform/data/unistd.h-data: Likewise.
26369         * conform/data/utime.h-data: Likewise.
26371         * io/sys/stat.h: fchmod was always in POSIX.
26372         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26373         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26374         * rt/aio.h: Define __need_timespec before including <time.h>.
26375         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26376         struct.  Add forward declaration of pthread_attr_t and use it in
26377         sigevent.
26378         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26379         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26380         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26381         always remove CLK_TCK definition.
26383 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
26385         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26387 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
26389         * conform/run-conformtest.sh: New file.
26390         * conform/Makefile: Run run-conformtest for tests.
26391         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
26392         support.
26394         * conform/data/uchar.h-data: New file.
26395         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26396         * conform/data/arpa/inet.h-data: Likewise.
26397         * conform/data/assert.h-data: Likewise.
26398         * conform/data/complex.h-data: Likewise.
26399         * conform/data/cpio.h-data: Likewise.
26400         * conform/data/ctype.h-data: Likewise.
26401         * conform/data/dirent.h-data: Likewise.
26402         * conform/data/dlfcn.h-data: Likewise.
26403         * conform/data/errno.h-data: Likewise.
26404         * conform/data/fcntl.h-data: Likewise.
26405         * conform/data/float.h-data: Likewise.
26406         * conform/data/fmtmsg.h-data: Likewise.
26407         * conform/data/fnmatch.h-data: Likewise.
26408         * conform/data/ftw.h-data: Likewise.
26409         * conform/data/glob.h-data: Likewise.
26410         * conform/data/grp.h-data: Likewise.
26411         * conform/data/iconv.h-data: Likewise.
26412         * conform/data/inttypes.h-data: Likewise.
26413         * conform/data/langinfo.h-data: Likewise.
26414         * conform/data/libgen.h-data: Likewise.
26415         * conform/data/limits.h-data: Likewise.
26416         * conform/data/locale.h-data: Likewise.
26417         * conform/data/math.h-data: Likewise.
26418         * conform/data/monetary.h-data: Likewise.
26419         * conform/data/mqueue.h-data: Likewise.
26420         * conform/data/ndbm.h-data: Likewise.
26421         * conform/data/net/if.h-data: Likewise.
26422         * conform/data/netdb.h-data: Likewise.
26423         * conform/data/netinet/in.h-data: Likewise.
26424         * conform/data/nl_types.h-data: Likewise.
26425         * conform/data/poll.h-data: Likewise.
26426         * conform/data/pthread.h-data: Likewise.
26427         * conform/data/pwd.h-data: Likewise.
26428         * conform/data/regex.h-data: Likewise.
26429         * conform/data/sched.h-data: Likewise.
26430         * conform/data/search.h-data: Likewise.
26431         * conform/data/semaphore.h-data: Likewise.
26432         * conform/data/setjmp.h-data: Likewise.
26433         * conform/data/signal.h-data: Likewise.
26434         * conform/data/spawn.h-data: Likewise.
26435         * conform/data/stdarg.h-data: Likewise.
26436         * conform/data/stdio.h-data: Likewise.
26437         * conform/data/stdlib.h-data: Likewise.
26438         * conform/data/string.h-data: Likewise.
26439         * conform/data/strings.h-data: Likewise.
26440         * conform/data/stropts.h-data: Likewise.
26441         * conform/data/sys/ipc.h-data: Likewise.
26442         * conform/data/sys/mman.h-data: Likewise.
26443         * conform/data/sys/msg.h-data: Likewise.
26444         * conform/data/sys/resource.h-data: Likewise.
26445         * conform/data/sys/select.h-data: Likewise.
26446         * conform/data/sys/sem.h-data: Likewise.
26447         * conform/data/sys/shm.h-data: Likewise.
26448         * conform/data/sys/socket.h-data: Likewise.
26449         * conform/data/sys/stat.h-data: Likewise.
26450         * conform/data/sys/statvfs.h-data: Likewise.
26451         * conform/data/sys/time.h-data: Likewise.
26452         * conform/data/sys/timeb.h-data: Likewise.
26453         * conform/data/sys/times.h-data: Likewise.
26454         * conform/data/sys/types.h-data: Likewise.
26455         * conform/data/sys/uio.h-data: Likewise.
26456         * conform/data/sys/un.h-data: Likewise.
26457         * conform/data/sys/utsname.h-data: Likewise.
26458         * conform/data/sys/wait.h-data: Likewise.
26459         * conform/data/syslog.h-data: Likewise.
26460         * conform/data/tar.h-data: Likewise.
26461         * conform/data/termios.h-data: Likewise.
26462         * conform/data/utime.h-data: Likewise.
26463         * conform/data/utmpx.h-data: Likewise.
26464         * conform/data/varargs.h-data: Likewise.
26465         * conform/data/wchar.h-data: Likewise.
26466         * conform/data/wctype.h-data: Likewise.
26467         * conform/data/wordexp.h-data: Likewise.
26469         * include/stropts.h: New file.
26470         * include/uchar.h: New file.
26471         * include/aio.h: Changes to allow conformtest.pl to use the headers.
26472         * include/assert.h: Likewise.
26473         * include/ctype.h: Likewise.
26474         * include/dirent.h: Likewise.
26475         * include/dlfcn.h: Likewise.
26476         * include/fcntl.h: Likewise.
26477         * include/fnmatch.h: Likewise.
26478         * include/glob.h: Likewise.
26479         * include/grp.h: Likewise.
26480         * include/libio.h: Likewise.
26481         * include/locale.h: Likewise.
26482         * include/math.h: Likewise.
26483         * include/net/if.h: Likewise.
26484         * include/netdb.h: Likewise.
26485         * include/netinet/in.h: Likewise.
26486         * include/pthread.h: Likewise.
26487         * include/pwd.h: Likewise.
26488         * include/regex.h: Likewise.
26489         * include/sched.h: Likewise.
26490         * include/search.h: Likewise.
26491         * include/setjmp.h: Likewise.
26492         * include/signal.h: Likewise.
26493         * include/stdio.h: Likewise.
26494         * include/stdlib.h: Likewise.
26495         * include/string.h: Likewise.
26496         * include/sys/cdefs.h: Likewise.
26497         * include/sys/mman.h: Likewise.
26498         * include/sys/msg.h: Likewise.
26499         * include/sys/resource.h: Likewise.
26500         * include/sys/select.h: Likewise.
26501         * include/sys/socket.h: Likewise.
26502         * include/sys/stat.h: Likewise.
26503         * include/sys/statvfs.h: Likewise.
26504         * include/sys/time.h: Likewise.
26505         * include/sys/times.h: Likewise.
26506         * include/sys/uio.h: Likewise.
26507         * include/sys/utsname.h: Likewise.
26508         * include/sys/wait.h: Likewise.
26509         * include/termios.h: Likewise.
26510         * include/time.h: Likewise.
26511         * include/ulimit.h: Likewise.
26512         * include/unistd.h: Likewise.
26513         * include/utime.h: Likewise.
26514         * include/wchar.h: Likewise.
26515         * include/wctype.h: Likewise.
26516         * include/wordexp.h: Likewise.
26518         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26520         * time/time.h: TIME_UTC must be a macro.
26521         Make timespec_get available for ISO C11 only as well.
26523 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
26525         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26526         Reported by Peng Haitao <penght@cn.fujitsu.com>.
26528 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26530         * configure.in: Use -o not -a in test for unsupported multi-arch.
26532 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26534         * manual/texinfo.tex: Update to version 2012-01-19.16.
26536 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26538         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26540 2012-02-24  Roland McGrath  <roland@hack.frob.com>
26542         [BZ #13738]
26543         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26544         * manual/fdl-1.3.texi: New file.
26545         * manual/fdl-1.1.texi: File removed.
26547         [BZ #13738]
26548         * manual/libc.texinfo (FDL_VERSION): New @set.
26549         Use it for mention of FDL in cover text.
26550         (Documentation License): Use it in @include file name.
26552 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26553             Roland McGrath  <roland@hack.frob.com>
26555         [BZ #5461]
26556         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26557         not LONG_LONG_MAX and LONG_LONG_MIN.
26558         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26559         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
26560         name.
26561         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26563 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26565         [BZ #2547]
26566         [BZ #11365]
26567         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26568         manipulate bits before adding and subtracting TWO23[sx].
26569         * math/libm-test.inc (nearbyint_test): Add more tests.
26571 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26573         [BZ #2548]
26574         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26575         bits before adding and subtracting TWO23[sx].
26576         * math/libm-test.inc (rint_test): Add more tests.
26577         (rint_test_tonearest): Likewise.
26578         (rint_test_towardzero): Likewise.
26579         (rint_test_downward): Likewise.
26580         (rint_test_upward: Likewise.
26582 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26584         [BZ #10110]
26585         * include/stdc-predef.h: New file.  Extracted from features.h.
26586         * include/features.h: Include stdc-predef.h.
26587         * Makefile (headers): Add stdc-predef.h.
26588         * CONFORMANCE (Compiler limitations): Update.
26590 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26592         * manual/libc.texinfo (VERSION, UPDATED): Revert.
26594 2012-02-21  David S. Miller  <davem@davemloft.net>
26596         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26597         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26599 2012-02-20  David S. Miller  <davem@davemloft.net>
26601         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26602         using a normal save/restore sequence, rather than allocating a
26603         dummy stack frame just to store a frame pointer and restore.
26604         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26606 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26608         * manual/install.texi: Fix stray word in line-wrapped comment.
26610 2012-02-20  David S. Miller  <davem@davemloft.net>
26612         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26613         both binutils and gcc support GOTDATA.
26615         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26616         "rd %pc" in the PIC register setup sequences.
26618         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26619         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26620         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26621         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26622         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26623         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26624         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26625         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26626         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26627         (SYSCALL_ERROR_HANDLER): Likewise.
26628         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26629         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26630         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26631         (SYSCALL_ERROR_HANDLER): Likewise.
26633         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26634         (HAVE_GCC_GOTDATA): New.
26635         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26636         relocation support in both binutils and gcc.
26637         * sysdeps/sparc/elf/configure: Regenerate.
26639         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26640         * sysdeps/sparc/sparc32/elf/configure: Delete.
26641         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26642         * sysdeps/sparc/sparc64/elf/configure: Delete.
26643         * sysdeps/sparc/elf/configure.in: New file.
26644         * sysdeps/sparc/elf/configure: Generate.
26646         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26647         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26648         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26649         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26650         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26652 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26654         * manual/install.texi: Do not mention specific glibc version
26655         numbers.
26656         * manual/libc.texinfo (VERSION, UPDATED): Update.
26657         (@copying): Use @copyright{} and range of years.
26659 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26661         [BZ #13695]
26662         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26663         [crti.S not in sysdirs] (generated): Do not append.
26664         [crti.S not in sysdirs] (omit-deps): Likewise.
26665         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26666         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26667         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26668         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26669         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26670         Likewise.
26671         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26672         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26673         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26674         * csu/defs.awk: Remove file.
26675         * sysdeps/generic/initfini.c: Likewise.
26676         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26677         variable.
26678         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26679         Likewise.
26681 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26683         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26684         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26685         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26686         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26687         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26688         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26689         <bits/epoll.h>.
26690         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26691         (__EPOLL_PACKED): Define to empty if not defined by
26692         <bits/epoll.h>.
26693         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26694         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26695         bits/epoll.h.
26697 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26699         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26700         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26701         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26702         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26703         <bits/timerfd.h>.
26704         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26705         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26706         bits/timerfd.h.
26708 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26710         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26711         in C locale.
26712         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26713         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26714         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26717 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
26719         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26720         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26722 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
26724         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26725         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26726         defined.
26727         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26728         Likewise.
26729         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26730         entry for 2.16.
26732 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
26734         * math/w_acos.c: Use non-signaling floating-point comparisons.
26735         * math/w_acosf.c: Likewise.
26736         * math/w_acosh.c: Likewise.
26737         * math/w_acoshf.c: Likewise.
26738         * math/w_acoshl.c: Likewise.
26739         * math/w_acosl.c: Likewise.
26740         * math/w_asin.c: Likewise.
26741         * math/w_asinf.c: Likewise.
26742         * math/w_asinl.c: Likewise.
26743         * math/w_atanh.c: Likewise.
26744         * math/w_atanhf.c: Likewise.
26745         * math/w_atanhl.c: Likewise.
26746         * math/w_exp2.c: Likewise.
26747         * math/w_exp2f.c: Likewise.
26748         * math/w_exp2l.c: Likewise.
26749         * math/w_j0.c: Likewise.
26750         * math/w_j0f.c: Likewise.
26751         * math/w_j0l.c: Likewise.
26752         * math/w_j1.c: Likewise.
26753         * math/w_j1f.c: Likewise.
26754         * math/w_j1l.c: Likewise.
26755         * math/w_jn.c: Likewise.
26756         * math/w_jnf.c: Likewise.
26757         * math/w_log.c: Likewise.
26758         * math/w_log10.c: Likewise.
26759         * math/w_log10f.c: Likewise.
26760         * math/w_log10l.c: Likewise.
26761         * math/w_log2.c: Likewise.
26762         * math/w_log2f.c: Likewise.
26763         * math/w_log2l.c: Likewise.
26764         * math/w_logf.c: Likewise.
26765         * math/w_logl.c: Likewise.
26766         * math/w_sqrt.c: Likewise.
26767         * math/w_sqrtf.c: Likewise.
26768         * math/w_sqrtl.c: Likewise.
26769         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26770         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26771         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26772         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26773         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26775 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26777         [BZ #9739]
26778         * manual/string.texi (strnlen): Use correct parameter name in
26779         equivalent expression.
26781 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26783         [BZ #11174]
26784         * manual/users.texi (seteuid): Consistently use neweuid for
26785         argument name.
26787 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26789         [BZ #13704]
26790         * manual/nss.texi (Services in the NSS configuration): Correct
26791         list of services in example configuration file.
26793 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
26795         [BZ #11322]
26796         * manual/arith.texi: Remove statements about negative zero
26797         behaving identically to zero.
26799 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26801         [BZ #5993]
26802         * manual/install.texi: Do not document upgrading from libc5.
26804 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26806         [BZ #4596]
26807         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26809 2012-02-18  David S. Miller  <davem@davemloft.net>
26811         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26812         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26813         %o7 across the call.
26814         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26815         instead.
26816         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26817         SETUP_PIC_REG_LEAF.
26818         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26819         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26820         * sysdeps/sparc/crtn.S: Likewise.
26822 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
26824         * aout/Makefile: Remove.
26826 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
26828         [BZ #13058]
26829         * manual/examples/argp-ex1.c (main): Format definition in GNU
26830         style.
26831         * manual/examples/argp-ex2.c (main): Likewise.
26832         * manual/examples/argp-ex3.c (main): Likewise.
26833         * manual/examples/argp-ex4.c (main): Likewise.
26834         * manual/examples/longopt.c (main): Use new-style prototype
26835         definition.
26836         * manual/examples/strncat.c (main): Specify return type and use
26837         (void) for arguments.
26838         * manual/examples/subopt.c (main): Use char **argv argument.
26840 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26842         [BZ #5077]
26843         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26844         rounding modes.
26846 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
26848         [BZ #6907]
26849         * manual/string.texi (strchr): Change when strchrnul is
26850         recommended.
26852 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
26854         [BZ #174]
26855         * manual/locale.texi (setlocale): Document LOCPATH.
26857 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26859         [BZ #10210]
26860         * manual/process.texi (execle): Move @dots{} before last argument.
26862 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
26864         [BZ #12047]
26865         * manual/charset.texi (Generic Charset Conversion): Fix typo
26866         (LC_TYPE -> LC_CTYPE).
26868 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
26870         [BZ #5805]
26871         * manual/arith.texi (scalbn): Use @var{} on parameter names.
26872         (scalbnf): Likewise.
26873         (scalbnl): Likewise.
26874         (scalbln): Likewise.
26875         (scalblnf): Likewise.
26876         (scalblnl): Likewise.
26877         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26878         (vwarnx): Likewise.
26879         (verr): Likewise.
26880         (verrx): Likewise.
26881         * manual/filesys.texi (telldir): Use braces around return type.
26882         * manual/llio.texi (mmap): Add space after comma.
26883         (mmap64): Likewise.
26884         * manual/math.texi (jn): Use @var{} on parameter names.
26885         (jnf): Likewise.
26886         (jnl): Likewise.
26887         (yn): Likewise.
26888         (ynf): Likewise.
26889         (ynl): Likewise.
26890         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26891         line.
26892         * manual/resource.texi (ulimit): Use @dots{} instead of literal
26893         "...".
26894         (sched_get_priority_min): Remove semicolon on @deftypefun line.
26895         (sched_get_priority_max): Likewise.
26896         * manual/signal.texi (sigvec): Add space after comma.
26897         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26898         names.
26899         (if_indextoname): Likewise.
26900         (if_freenameindex): Likewise.
26901         (sendto): Use ',' instead of '.' in prototype.
26902         * manual/startup.texi (syscall): Use @dots{} instead of literal
26903         "...".
26904         * manual/stdio.texi (__fpending): Separate initial words of
26905         paragraph from @deftypefun line.
26906         * manual/syslog.texi (syslog): Use @dots{} instead of literal
26907         "...".
26908         (vsyslog): Use @var{} on parameter names.
26909         * manual/terminal.texi (stty): Use @var{} on parameter names.
26910         * manual/users.texi (getutmp): Use @var{} on parameter names.
26911         (getutmpx): Likewise.
26913 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26915         [BZ #6884]
26916         * manual/stdio.texi (fopen): Fix typos in description of
26917         ",ccs=STRING".
26919 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
26921         [BZ #4026]
26922         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26923         get clock_id definition.
26925 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
26927         [BZ #4822]
26928         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26929         (madvise): Cast every argument to void on its own.
26931 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26933         [BZ #9902]
26934         * manual/startup.texi (Exit Status): Fix typo.
26936 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26938         [BZ #10140]
26939         * manual/examples/argp-ex1.c: Include <stdlib.h>.
26940         * manual/examples/argp-ex2.c: Likewise.
26941         * manual/examples/argp-ex3.c: Likewise.
26943 2012-02-16  Richard Henderson  <rth@redhat.com>
26945         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26946         * sysdeps/s390/s390-32/initfini.c: Remove.
26947         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26948         * sysdeps/s390/s390-64/initfini.c: Remove.
26950 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26952         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26953         compiler output for sysdeps/generic/initfini.c.
26954         * sysdeps/sh/elf/initfini.c: Remove file.
26956 2012-02-16  David S. Miller  <davem@davemloft.net>
26958         [BZ #11494]
26959         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26961         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26962         * sysdeps/sparc/crti.S: New file.
26963         * sysdeps/sparc/crtn.S: New file.
26964         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26965         * sysdeps/sparc/sparc64/Makefile: Likewise.
26967 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
26969         [BZ #3335]
26970         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26972 2012-02-15  Roland McGrath  <roland@hack.frob.com>
26974         [BZ #4822]
26975         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26977         * mach/devstream.c (cookie_io_functions_t): Macro removed.
26978         (write, read, close): Likewise.
26979         Patch by Aurelien Jarno <aurelien@aurel32.net>.
26981 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
26983         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26984         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26985         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26986         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26987         <bits/signalfd.h>.
26988         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26989         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26990         bits/signalfd.h.
26992 2012-02-14  Marek Polacek  <polacek@redhat.com>
26994         * sysdeps/x86_64/crti.S: New file.
26995         * sysdeps/x86_64/crtn.S: New file.
26996         * sysdeps/x86_64/elf/initfini.c: Remove file.
26998 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27000         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27001         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27002         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27003         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27004         <bits/inotify.h>.
27005         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27006         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27007         bits/inotify.h.
27009 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27011         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27012         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27013         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27014         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27015         <bits/eventfd.h>.
27016         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27017         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27018         bits/eventfd.h.
27020 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
27022         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27023         __feraiseexcept instead of feraiseexcept.
27025         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27026         nanosleep invocations.
27027         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27028         strings, and add error checking for a nanosleep invocations.
27030 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
27032         Replace FSF snail mail address with URLs, as per GNU coding standards.
27033         Most of the snail mail addresses were wrong anyway, and omitting
27034         them makes the source code easier to maintain.  Almost all of the
27035         changes are to license notices and to locale LC_IDENTIFICATION
27036         addresses, except for this one:
27037         * manual/libc.texinfo: In "Published by", give the FSF's URL,
27038         not its snail mail address.
27040 2012-02-09  Richard Henderson  <rth@twiddle.net>
27042         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27043         of kernel-features.h.
27045         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27047 2012-02-08  Marek Polacek  <polacek@redhat.com>
27049         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27050         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27051         * sysdeps/gnu/_G_config.h: Likewise.
27052         * sysdeps/generic/_G_config.h: Likewise.
27054 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
27056         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27057         tests.
27058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27060         * sysdeps/powerpc/powerpc32/crti.S: New file.
27061         * sysdeps/powerpc/powerpc32/crtn.S: New file.
27062         * sysdeps/powerpc/powerpc64/crti.S: New file.
27063         * sysdeps/powerpc/powerpc64/crtn.S: New file.
27065         * Makeconfig (have-initfini): Don't set.
27066         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27067         * configure.in (nopic_initfini): Don't substitute.
27068         * config.h.in (HAVE_INITFINI): Don't #undef.
27069         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27070         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27072 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
27074         Support crti.S and crtn.S provided directly by architectures.
27075         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27076         [crti.S in sysdirs] (omit-deps): Likewise.
27077         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27078         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27079         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27080         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27081         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27082         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27083         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27084         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27085         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27086         compiler output for sysdeps/generic/initfini.c.
27087         * sysdeps/i386/elf/Makefile: Remove file.
27088         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27090 2012-02-07  Marek Polacek  <polacek@redhat.com>
27092         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27093         * sysdeps/gnu/_G_config.h: Likewise.
27094         * sysdeps/mach/hurd/_G_config.h: Likewise.
27096 2012-02-07  Marek Polacek  <polacek@redhat.com>
27098         * math/Makefile (tests): Add tst-CMPLX2.
27099         * math/tst-CMPLX2.c: New file.
27101 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
27103         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27105         * math/libm-test.inc (jn_test): Add missing L suffix.
27107 2012-02-06  Marek Polacek  <polacek@redhat.com>
27109         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27110         * sysdeps/i386/fpu/e_powf.S: Likewise.
27111         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27112         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27113         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27114         * sysdeps/i386/fpu/e_pow.S: Likewise.
27115         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27116         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27117         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27118         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27119         * sysdeps/i386/fpu/e_log2.S: Likewise.
27120         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27121         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27122         * sysdeps/i386/fpu/e_powl.S: Likewise.
27123         * sysdeps/i386/fpu/s_log1p.S: Likewise.
27124         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27125         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27126         * sysdeps/i386/fpu/e_logl.S: Likewise.
27127         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27128         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27129         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27130         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27131         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27132         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27133         * sysdeps/i386/fpu/e_log.S: Likewise.
27134         * sysdeps/i386/fpu/s_cexp.S: Likewise.
27135         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27136         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27137         * sysdeps/i386/fpu/e_logf.S: Likewise.
27138         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27139         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27140         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27141         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27142         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27143         * sysdeps/i386/fpu/e_log10.S: Likewise.
27144         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27145         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27146         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27147         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27148         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27149         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27150         * sysdeps/i386/asm-syntax.h: Likewise.
27151         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27152         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27153         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27154         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27155         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27156         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27157         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27158         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27159         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27160         * sysdeps/powerpc/sysdep.h: Likewise.
27161         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27162         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27164 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27166         [BZ #411]
27167         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27169 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27171         * sysdeps/i386/sysdep.h: Include <features.h>.
27172         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27173         version.
27175 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
27177         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27178         Define.
27179         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27180         LOAD_PIC_REG_STR.
27182 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27184         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27185         (SETUP_PIC_REG): Use GET_PC_THUNK.
27186         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27187         macro.
27189 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27191         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27192         for non-PIC compilation.
27193         (SETUP_PIC_REG): Add .p2align directive.
27194         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27195         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27196         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27197         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27198         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27199         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27200         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27201         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27202         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27203         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27204         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27205         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27206         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27207         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27208         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27209         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27210         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27211         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27212         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27213         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27214         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27215         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27216         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27217         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27218         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27219         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27220         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27221         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27222         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27223         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27224         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27225         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27226         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27227         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27228         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27229         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27230         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27231         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27232         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27233         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27234         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27236 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27238         * math/tst-CMPLX.c: Include <stdio.h>.
27240 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
27242         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27243         float.
27244         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27245         * sysdeps/sparc/bits/mathdef.h: Likewise.
27247 2012-01-31  Marek Polacek  <polacek@redhat.com>
27249         * libio/libio.h: Don't define _PARAMS.
27250         * locale/programs/config.h: Don't define PARAMS.
27251         * stdlib/strtol_l.c: Likewise.
27252         (__strtol_l): Remove PARAMS from the prototype.
27254 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
27256         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
27257         names.  Just use the correct names.  Remove unnecessary wrapper
27258         functions.
27259         * malloc/arena.c: Likewise.
27260         * malloc/hooks.c: Likewise.
27262         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27263         ARENA_TEST says not to.  Simplify test for creation of a new arena.
27264         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27266 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
27268         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27269         into tail calls.
27270         (update_get_addr): New function.
27271         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27272         GET_ADDR_MODULE parameter.
27274 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27276         * crypt/cert.c: Remove __STDC__ conditionals.
27277         * crypt/crypt-entry.c: Likewise.
27278         * crypt/crypt_util.c: Likewise.
27279         * libio/filedoalloc.c: Likewise.
27280         * libio/fileops.c: Likewise.
27281         * libio/genops.c: Likewise.
27282         * libio/iofclose.c: Likewise.
27283         * libio/iofdopen.c: Likewise.
27284         * libio/iofopen.c: Likewise.
27285         * libio/iofopen64.c: Likewise.
27286         * libio/iogetdelim.c: Likewise.
27287         * libio/iopopen.c: Likewise.
27288         * libio/obprintf.c: Likewise.
27289         * libio/oldfileops.c: Likewise.
27290         * libio/oldiofclose.c: Likewise.
27291         * libio/oldiofdopen.c: Likewise.
27292         * libio/oldiofopen.c: Likewise.
27293         * libio/oldiopopen.c: Likewise.
27294         * libio/wfiledoalloc.c: Likewise.
27295         * libio/wgenops.c: Likewise.
27296         * locale/programs/xmalloc.c: Likewise.
27297         * misc/syslog.c: Likewise.
27298         * stdio-common/xbug.c: Likewise.
27299         * string/memchr.c: Likewise.
27300         * string/memcmp.c: Likewise.
27301         * string/memrchr.c: Likewise.
27302         * string/rawmemchr.c: Likewise.
27303         * sysdeps/posix/getcwd.c: Likewise.
27304         * time/strftime_l.c: Likewise.
27306 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27308         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27309         * config.make.in (config-cflags-sse2avx): Define.
27310         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27311         Fix typo.
27313 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
27315         * scripts/config.guess: Update from upstream config git repository.
27316         * scripts/config.sub: Likewise.
27318 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
27320         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27321         (EM_NUM): Update.
27322         (R_TILEPRO_*, R_TILEGX_*): New macros.
27324         * scripts/firstversions.awk: Fix bug in version range handling.
27326         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27328         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27330         * include/sys/epoll.h: New file.
27331         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27332         libc_hidden_def.
27334 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
27336         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27337         Avoid unnecessary __WORDSIZE == 64 test.
27338         (fmaxf): Use VEX format if possible.
27339         (fmax): Likewise.
27340         (fminf): Likewise.
27341         (fmin): Likewise.
27343         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27344         * math/math_private.h: Remove libc_fegetround* and
27345         libc_fesetround*.
27346         * sysdeps/i386/configure.in: Check for -msse2avx.
27347         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27348         also if SSE2AVX is defined.
27349         Remove libc_fegetround* and libc_fesetround*.
27350         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27351         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
27352         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27353         of HAS_YMM_USABLE.
27354         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27355         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27356         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27357         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27358         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27360         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27362 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27364         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27365         size is not set.
27366         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27368 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
27370         [BZ #13618]
27371         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27372         relocation.
27373         * Makeconfig (libm): Define.
27374         * elf/Makefile: Add rules to build and run tst-relsort1.
27375         * elf/tst-relsort1.c: New file.
27376         * elf/tst-relsort1mod1.c: New file.
27377         * elf/tst-relsort1mod2.c: New file.
27379 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
27381         * math/s_ldexp.c: Remove __STDC__ conditionals.
27382         * math/s_ldexpf.c: Likewise.
27383         * math/s_ldexpl.c: Likewise.
27384         * math/s_nextafter.c: Likewise.
27385         * math/s_nexttowardf.c: Likewise.
27386         * math/s_significand.c: Likewise.
27387         * math/s_significandf.c: Likewise.
27388         * math/s_significandl.c: Likewise.
27389         * math/w_jnl.c: Likewise.
27390         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27391         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27392         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27393         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27394         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27395         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27396         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27397         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27398         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27399         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27400         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27401         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27402         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27403         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27404         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27405         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27406         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27407         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27408         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27409         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27410         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27411         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27412         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27413         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27414         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27415         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27416         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27417         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27418         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27419         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27420         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27421         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27422         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27423         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27424         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27425         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27426         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27427         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27428         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27429         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27430         * sysdeps/ieee754/k_standard.c: Likewise.
27431         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27432         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27433         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27434         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27435         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27436         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27437         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27438         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27439         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27440         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27441         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27442         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27443         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27444         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27445         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27446         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27447         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27448         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27449         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27450         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27451         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27452         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27453         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27454         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27455         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27456         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27457         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27458         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27459         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27460         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27461         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27462         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27463         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27464         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27465         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27466         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27467         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27468         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27469         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27470         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27471         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27472         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27473         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27474         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27475         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27476         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27477         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27478         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27479         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27480         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27481         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27482         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27483         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27484         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27485         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27486         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27487         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27488         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27489         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27490         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27491         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27492         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27493         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27494         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27495         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27496         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27497         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27498         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27499         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27500         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27501         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27502         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27503         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27504         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27505         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27506         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27507         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27508         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27509         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27510         * sysdeps/ieee754/s_matherr.c: Likewise.
27511         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27512         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27513         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27514         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27516 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27518         * crypt/md5.h: Remove __STDC__ conditionals.
27519         * libio/libioP.h: Likewise.
27520         * locale/programs/config.h: Likewise.
27521         * sysdeps/generic/sysdep.h: Likewise.
27522         * sysdeps/i386/asm-syntax.h: Likewise.
27523         * sysdeps/s390/asm-syntax.h: Likewise.
27524         * sysdeps/unix/sysdep.h: Likewise.
27525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27528 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27530         * libio/libio.h: Remove __STDC__ conditionals.
27531         * malloc/obstack.h: Likewise.
27532         * math/complex.h: Likewise.
27533         * math/math.h: Likewise.
27534         * sysdeps/generic/_G_config.h: Likewise.
27535         * sysdeps/gnu/_G_config.h: Likewise.
27536         * sysdeps/mach/hurd/_G_config.h: Likewise.
27537         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27538         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27539         * sysdeps/sparc/bits/mathdef.h: Likewise.
27541 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
27543         [BZ #13583]
27544         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27545         Clean up HAS_* macros.
27546         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27547         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27548         possible.
27549         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27550         HAS_AVX.
27551         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27552         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27553         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27554         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27555         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27557 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
27559         * elf/tst-unique3.cc (gets): Remove declaration.
27560         * elf/tst-unique3lib.cc (gets): Likewise.
27561         * elf/tst-unique3lib2.cc (gets): Likewise.
27562         * elf/tst-unique4.cc (gets): Likewise.
27564 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
27566         * include/stdio.h: Add C++ protection.  Add gets declarations and
27567         definitions.
27568         * debug/tst-chk1.c: Don't declare gets here.
27569         * stdio-common/tst-gets.c: Likewise.
27571 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27573         * posix/glob: Remove directory.
27575 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27577         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27579 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
27581         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27582         of the non-standard EPFNOSUPPORT.
27584 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27586         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27587         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27588         ANYWHERE set to 1 only on KERN_NO_SPACE error.
27590 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
27592         * wcsmbs/uchar.h: Test __STDC_VERSION__.
27594 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
27596         * nscd/aicache.c (addhstaiX): Do not cache negative results of
27597         transient errors.
27598         * nscd/grpcache.c (cache_addgr): Likewise.
27599         * nscd/hstcache.c (cache_addhst): Likewise.
27600         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27601         * nscd/pwdcache.c (cache_addpw): Likewise.
27602         * nscd/servicescache.c (cache_addserv): Likewise.
27604 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
27606         * malloc/malloc.c: Various cleanups.
27607         * malloc/hooks.c: Likewise.
27609         * stdlib/Makefile (tests): Add bug-fmtmsg1.
27610         * stdlib/bug-fmtmsg1.c: New file.
27612         * stdlib/fmtmsg.c (init): Add missing unlock.
27613         Patch by Peng Haitao <penght@cn.fujitsu.com>.
27615 2012-01-12  Marek Polacek  <polacek@redhat.com>
27617         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27618         and _GNU_SOURCE.
27620 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27622         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27623         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27624         macro to ensure uniqueness of label name.
27625         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27626         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27628 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
27630         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27632         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27633         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27634         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27635         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27637 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
27639         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27641         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27642         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27643         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27645         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27647         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27648         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27649         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27650         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27652         * math/bits/math-finite.h: Add ldexp support.
27654 2012-01-10  Marek Polacek  <polacek@redhat.com>
27656         * locale/programs/localedef.h (show_archive_content): Add noreturn
27657         attribute.
27659 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
27661         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27663 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27665         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27667         * io/Makefile (headers): Add bits/poll2.h.
27669 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
27671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27672         typo #include statement.
27674 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27676         * include/sys/cdefs.h: Define __attribute_alloc_size.
27677         * catgets/gencat.c: Add alloc_size attribute and apply consistently
27678         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27679         * elf/pldd.c: Likewise.
27680         * iconv/iconv_charmap.c: Likewise.
27681         * iconv/iconvconfig.c: Likewise.
27682         * iconv/strtab.c: Likewise.
27683         * locale/programs/locale.c: Likewise.
27684         * locale/programs/localedef.h: Likewise.
27685         * locale/programs/simple-hash.c: Likewise.
27686         * nscd/nscd.h: Likewise.
27687         * nss/makedb.c: Likewise.
27688         * sysdeps/generic/ldconfig.h: Likewise.
27689         * locale/programs/localedef.c: Remove xmalloc prototype.
27690         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27692 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27694         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27695         appropriate.
27697 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27699         * math/Makefile (tests): Add tst-CMPLX.
27700         * math/tst-CMPLX.c: New file.
27702         * math/complex.h (CMPLXL): Fix typo.
27704         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27705         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27706         GLIBC_2.16.
27707         * debug/tst-chk1.c: Add poll and ppoll tests.
27708         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27709         * include/sys/poll.h: Add hidden proto for ppoll.
27710         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27711         * sysdeps/mach/hurd/ppoll.c: Likewise.
27712         * io/ppoll.c: Likewise.
27713         * debug/poll_chk.c: New file.
27714         * debug/ppoll_chk.c: New file.
27715         * include/bits/poll2.h: New file.
27716         * io/bits/poll2.h: New file.
27718         [BZ #1350]
27719         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27721         * configure.in: static is always set to yes.  Remove.
27722         * config.make.in: Don't set build-static.
27723         * Makeconfig: Remove use of build-static.
27724         * dlfcn/Makefile: Likewise.
27725         * elf/Makefile: Likewise.
27726         * math/Makefile: Likewise.
27727         * misc/Makefile: Likewise.
27728         * nptl/Makefile: Likewise.
27729         * sysdeps/mach/hurd/Makefile: Likewise.
27731         * configure.in: PWD_P is not used anymore.
27732         * config.make.in: Remove PWD_P entry.
27734         * configure.in: Remove last remnants of RANLIB.
27735         No need to check for signed size_t anymore.
27736         Don't set libc_commonpagesize and libc_relro_required here for Alpha
27737         and IA-64.
27738         Remove __builtin_expect test because we require at least gcc 3.4.
27739         * aclocal.m4: Likewise.
27741         * wcsmbs/mbrtoc16.c: Implement using towc function.
27742         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27743         * wcsmbs/wcsmbsload.c: Likewise.
27744         * iconv/gconv_simple.c: Likewise.
27745         * iconv/gconv_int.h: Likewise.
27746         * iconv/gconv_builtin.h: Likewise.
27747         * iconv/iconv_prog.c: Remove CHAR16 handling.
27749         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27751         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27753         * configure.in: Remove --with-elf and --enable-bounded options.
27754         Dont set base_machine for ia64.  More non-ELF conditions removed.
27755         Remove testing and setting of leading underscore information.
27756         * config.make.in (build-bounded): Set to no.
27757         * config.h.in: Remove NO_UNDERSCORES entry.
27758         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
27759         them.
27760         * csu/start.c: Remove !NO_UNDERSCORE code.
27761         * locale/localeinfo.h: Likewise.
27762         * sysdeps/generic/machine-gmon.h: Likewise.
27763         * sysdeps/generic/sysdep.h: Likewise.
27764         * sysdeps/i386/sysdep.h: Likewise.
27765         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27766         * sysdeps/mach/sysdep.h: Likewise.
27767         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27768         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27769         * sysdeps/sh/sysdep.h: Likewise.
27770         * sysdeps/sparc/sparc32/alloca.S: Likewise.
27771         * sysdeps/unix/i386/sysdep.S: Likewise.
27772         * sysdeps/unix/sparc/start.c: Likewise.
27773         * sysdeps/unix/sparc/sysdep.S: Likewise.
27774         * sysdeps/unix/sparc/sysdep.h: Likewise.
27775         * sysdeps/unix/start.c: Likewise.
27776         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27777         * sysdeps/x86_64/sysdep.h: Likewise.
27779 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
27781         [BZ #13553]
27782         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27783         for non-gcc.
27784         * argp/argp-fmtstream.h: Use const instead __const.
27785         * argp/argp.h: Likewise.
27786         * assert/assert.h: Likewise.
27787         * bits/fenv.h: Likewise.
27788         * bits/sched.h: Likewise.
27789         * bits/sigset.h: Likewise.
27790         * bits/sigthread.h: Likewise.
27791         * catgets/nl_types.h: Likewise.
27792         * conform/data/pthread.h-data: Likewise.
27793         * crypt/crypt-private.h: Likewise.
27794         * crypt/crypt.h: Likewise.
27795         * crypt/crypt_util.c: Likewise.
27796         * ctype/ctype.h: Likewise.
27797         * debug/execinfo.h: Likewise.
27798         * debug/mbsnrtowcs_chk.c: Likewise.
27799         * debug/mbsrtowcs_chk.c: Likewise.
27800         * debug/wcsnrtombs_chk.c: Likewise.
27801         * debug/wcsrtombs_chk.c: Likewise.
27802         * debug/wcstombs_chk.c: Likewise.
27803         * dirent/dirent.h: Likewise.
27804         * dlfcn/dlfcn.h: Likewise.
27805         * elf/neededtest4.c: Likewise.
27806         * grp/grp.h: Likewise.
27807         * gshadow/gshadow.h: Likewise.
27808         * iconv/gconv.h: Likewise.
27809         * iconv/gconv_int.h: Likewise.
27810         * iconv/gconv_simple.c: Likewise.
27811         * iconv/iconv.h: Likewise.
27812         * iconv/loop.c: Likewise.
27813         * iconv/skeleton.c: Likewise.
27814         * include/aio.h: Likewise.
27815         * include/aliases.h: Likewise.
27816         * include/argz.h: Likewise.
27817         * include/arpa/inet.h: Likewise.
27818         * include/assert.h: Likewise.
27819         * include/dirent.h: Likewise.
27820         * include/dlfcn.h: Likewise.
27821         * include/execinfo.h: Likewise.
27822         * include/fcntl.h: Likewise.
27823         * include/fenv.h: Likewise.
27824         * include/glob.h: Likewise.
27825         * include/grp.h: Likewise.
27826         * include/libintl.h: Likewise.
27827         * include/mntent.h: Likewise.
27828         * include/netdb.h: Likewise.
27829         * include/pwd.h: Likewise.
27830         * include/rpc/netdb.h: Likewise.
27831         * include/sched.h: Likewise.
27832         * include/search.h: Likewise.
27833         * include/shadow.h: Likewise.
27834         * include/signal.h: Likewise.
27835         * include/stdio.h: Likewise.
27836         * include/stdlib.h: Likewise.
27837         * include/string.h: Likewise.
27838         * include/sys/socket.h: Likewise.
27839         * include/sys/stat.h: Likewise.
27840         * include/sys/statfs.h: Likewise.
27841         * include/sys/statvfs.h: Likewise.
27842         * include/sys/syslog.h: Likewise.
27843         * include/sys/time.h: Likewise.
27844         * include/sys/uio.h: Likewise.
27845         * include/time.h: Likewise.
27846         * include/unistd.h: Likewise.
27847         * include/utmp.h: Likewise.
27848         * include/wchar.h: Likewise.
27849         * include/wctype.h: Likewise.
27850         * inet/aliases.h: Likewise.
27851         * inet/arpa/inet.h: Likewise.
27852         * inet/netinet/ether.h: Likewise.
27853         * inet/netinet/in.h: Likewise.
27854         * intl/libintl.h: Likewise.
27855         * io/bits/fcntl2.h: Likewise.
27856         * io/fcntl.h: Likewise.
27857         * io/ftw.h: Likewise.
27858         * io/sys/poll.h: Likewise.
27859         * io/sys/stat.h: Likewise.
27860         * io/sys/statfs.h: Likewise.
27861         * io/sys/statvfs.h: Likewise.
27862         * io/utime.h: Likewise.
27863         * libio/bits/stdio.h: Likewise.
27864         * libio/bits/stdio2.h: Likewise.
27865         * libio/libio.h: Likewise.
27866         * libio/libioP.h: Likewise.
27867         * libio/stdio.h: Likewise.
27868         * locale/lc-ctype.c: Likewise.
27869         * locale/locale.h: Likewise.
27870         * login/utmp.h: Likewise.
27871         * malloc/arena.c: Likewise.
27872         * malloc/malloc.c: Likewise.
27873         * malloc/malloc.h: Likewise.
27874         * malloc/mcheck.c: Likewise.
27875         * malloc/mtrace.c: Likewise.
27876         * math/bits/mathcalls.h: Likewise.
27877         * math/fenv.h: Likewise.
27878         * math/math_private.h: Likewise.
27879         * misc/bits/error.h: Likewise.
27880         * misc/bits/syslog.h: Likewise.
27881         * misc/err.h: Likewise.
27882         * misc/error.h: Likewise.
27883         * misc/fstab.h: Likewise.
27884         * misc/mntent.h: Likewise.
27885         * misc/regexp.h: Likewise.
27886         * misc/search.h: Likewise.
27887         * misc/sgtty.h: Likewise.
27888         * misc/sys/mman.h: Likewise.
27889         * misc/sys/syslog.h: Likewise.
27890         * misc/sys/uio.h: Likewise.
27891         * misc/sys/xattr.h: Likewise.
27892         * misc/ttyent.h: Likewise.
27893         * nis/rpcsvc/ypclnt.h: Likewise.
27894         * nss/nss.h: Likewise.
27895         * posix/bits/unistd.h: Likewise.
27896         * posix/fnmatch.h: Likewise.
27897         * posix/glob.h: Likewise.
27898         * posix/sched.h: Likewise.
27899         * posix/spawn.h: Likewise.
27900         * posix/sys/wait.h: Likewise.
27901         * posix/unistd.h: Likewise.
27902         * posix/wordexp.h: Likewise.
27903         * pwd/pwd.h: Likewise.
27904         * resolv/netdb.h: Likewise.
27905         * resource/sys/resource.h: Likewise.
27906         * rt/aio.h: Likewise.
27907         * rt/bits/mqueue2.h: Likewise.
27908         * rt/mqueue.h: Likewise.
27909         * shadow/shadow.h: Likewise.
27910         * signal/signal.h: Likewise.
27911         * socket/send.c: Likewise.
27912         * socket/sendto.c: Likewise.
27913         * socket/sys/socket.h: Likewise.
27914         * stdio-common/printf.h: Likewise.
27915         * stdlib/bits/stdlib.h: Likewise.
27916         * stdlib/fmtmsg.h: Likewise.
27917         * stdlib/monetary.h: Likewise.
27918         * stdlib/stdlib.h: Likewise.
27919         * stdlib/ucontext.h: Likewise.
27920         * streams/stropts.h: Likewise.
27921         * string/argz.h: Likewise.
27922         * string/bits/string2.h: Likewise.
27923         * string/string.h: Likewise.
27924         * string/strings.h: Likewise.
27925         * sunrpc/rpc/auth.h: Likewise.
27926         * sunrpc/rpc/auth_des.h: Likewise.
27927         * sunrpc/rpc/clnt.h: Likewise.
27928         * sunrpc/rpc/netdb.h: Likewise.
27929         * sunrpc/rpc/pmap_clnt.h: Likewise.
27930         * sunrpc/rpc/xdr.h: Likewise.
27931         * sysdeps/generic/inttypes.h: Likewise.
27932         * sysdeps/generic/net/if.h: Likewise.
27933         * sysdeps/generic/sys/swap.h: Likewise.
27934         * sysdeps/gnu/net/if.h: Likewise.
27935         * sysdeps/gnu/utmpx.h: Likewise.
27936         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27937         * sysdeps/i386/i486/bits/string.h: Likewise.
27938         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27939         * sysdeps/s390/bits/string.h: Likewise.
27940         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27941         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27942         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27943         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27944         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27945         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27946         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27947         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27948         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27949         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27950         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27951         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27952         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27953         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27954         * sysdeps/unix/sysv/linux/readv.c: Likewise.
27955         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27956         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27957         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27958         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27959         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27960         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27961         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27962         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27963         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27964         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27965         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27966         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27967         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27968         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27969         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27970         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27971         * sysvipc/sys/ipc.h: Likewise.
27972         * sysvipc/sys/msg.h: Likewise.
27973         * sysvipc/sys/sem.h: Likewise.
27974         * sysvipc/sys/shm.h: Likewise.
27975         * termios/termios.h: Likewise.
27976         * time/sys/time.h: Likewise.
27977         * time/time.h: Likewise.
27978         * wcsmbs/bits/wchar2.h: Likewise.
27979         * wcsmbs/uchar.h: Likewise.
27980         * wcsmbs/wchar.h: Likewise.
27981         * wctype/wctype.h: Likewise.
27983         [BZ #13551]
27984         * Makeconfig: Remove all but ELF support including AIX support.
27985         * Makerules: Likewise.
27986         * config.h.in: Likewise.
27987         * config.make.in: Likewise.
27988         * configure: Likewise.
27989         * configure.in: Likewise.
27990         * csu/Makefile: Likewise.
27991         * csu/version.c: Likewise.
27992         * debug/Makefile: Likewise.
27993         * dlfcn/Makefile: Likewise.
27994         * elf/Makefile: Likewise.
27995         * extra-lib.mk: Likewise.
27996         * iconv/Makefile: Likewise.
27997         * include/libc-symbols.h: Likewise.
27998         * include/shlib-compat.h: Likewise.
27999         * resolv/Makefile: Likewise.
28000         * resolv/res_libc.c: Likewise.
28001         * rt/Makefile: Likewise.
28002         * sysdeps/i386/asm-syntax.h: Likewise.
28003         * sysdeps/i386/sysdep.h: Likewise.
28004         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28005         * sysdeps/mach/sysdep.h: Likewise.
28006         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28007         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28008         * sysdeps/s390/asm-syntax.h: Likewise.
28009         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28010         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28011         * sysdeps/sh/sysdep.h: Likewise.
28012         * sysdeps/unix/sparc/sysdep.h: Likewise.
28013         * sysdeps/wordsize-32/divdi3.c: Likewise.
28014         * sysdeps/x86_64/sysdep.h: Likewise.
28016         * argp/Versions: Remove _argp_unlock_xxx.
28018         [BZ #13559]
28019         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
28020         * abilist/libBrokenLocale.abilist: Likewise.
28021         * abilist/libanl.abilist: Likewise.
28022         * abilist/libc.abilist: Likewise.
28023         * abilist/libcrypt.abilist: Likewise.
28024         * abilist/libdl.abilist: Likewise.
28025         * abilist/libm.abilist: Likewise.
28026         * abilist/libnsl.abilist: Likewise.
28027         * abilist/libpthread.abilist: Likewise.
28028         * abilist/libresolv.abilist: Likewise.
28029         * abilist/librt.abilist: Likewise.
28030         * abilist/libthread_db.abilist: Likewise.
28031         * abilist/libutil.abilist: Likewise.
28032         * abilist/libnss_db.abilist: New file.
28034         * scripts/abilist.awk: Add support for indirect functions.
28036         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28038         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28040         * shlib-versions: Remove entries for ports architectures.
28042         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
28043         files in ports.
28044         * elf/stackguard-macros.h: Remove support for IA-64.
28045         * elf/tst-auditmod1.c: Likewise.
28046         * sysdeps/generic/ldsodefs.h: Likewise.
28048         * sysdeps/unix/sysv/linux/configure.in: Ports should define
28049         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28050         configure files.
28052         [BZ #13552]
28053         * configure.in: Remove --enable-omitfp support.
28054         * FAQ.in: Adjust.
28055         * config.make.in: Likewise.
28056         * Makeconfig: Likewise.
28057         * manual/install.texi: Likewise.
28059         In case anyone cares, the IA-64 architecture could move to ports.
28060         * sysdeps/ia64/*: Removed.
28061         * sysdeps/unix/sysv/linux/ia64/*: Removed.
28062         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28064         [BZ #13555]
28065         * configure.in: Remove entries for unsupported architectures.
28067         [BZ #13533]
28068         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28069         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
28070         routines.
28071         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28072         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28073         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
28074         fall back to using wcrtomb.
28075         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28076         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
28077         renaming.
28078         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28079         * wcsmbs/tst-c16c32-1.c: New file.
28081         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28082         local variable.
28084         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28086         * elf/tst-unique3.cc: Add explicit declaration of gets.
28087         * elf/tst-unique3lib.cc: Likewise.
28088         * elf/tst-unique3lib2.cc: Likewise.
28089         * elf/tst-unique4.cc: Likewise.
28091         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28093 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
28095         [BZ #13566]
28096         * assert/assert.h (static_assert): Don't define for C++.
28097         * libio/stdio.h (gets): Do declare for C++ <= C++11.
28098         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28100 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
28102         * iconv/loop.c (single loop): Fix assertion in storing of
28103         remaining bytes.
28105         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28107 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
28109         * posix/getconf.c: Update copyright year.
28110         * nss/getent.c: Likewise.
28111         * nss/makedb.c: Likewise.
28112         * iconv/iconvconfig.c: Likewise.
28113         * iconv/iconv_prog.c: Likewise.
28114         * elf/ldconfig.c: Likewise.
28115         * elf/pldd.c: Likewise.
28116         * elf/sotruss.ksh: Likewise.
28117         * catgets/gencat.c: Likewise.
28118         * csu/version.c: Likewise.
28119         * elf/ldd.bash.in: Likewise.
28120         * elf/sprof.c (print_version): Likewise.
28121         * locale/programs/locale.c: Likewise.
28122         * locale/programs/localedef.c: Likewise.
28123         * login/programs/pt_chown.c: Likewise.
28124         * nscd/nscd.c (print_version): Likewise.
28125         * debug/xtrace.sh: Likewise.
28126         * malloc/memusage.sh: Likewise.
28127         * malloc/mtrace.pl: Likewise.
28128         * debug/catchsegv.sh: Likewise.
28130 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
28132         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28133         pure attribute.
28135 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
28137         [BZ #13533]
28138         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28139         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28140         transformations.
28141         * iconv/gconv_int.h: Likewise.
28142         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28143         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28144         from libc for GLIBC_2.16.
28145         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28146         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28147         * wcsmbs/uchar.h: Really define mbstate_t.
28148         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28149         * wcsmbs/c16rtomb.c: New file.
28150         * wcsmbs/mbrtoc16.c: New file.
28151         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28152         for C/POSIX locale.
28153         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28154         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28156         * wcsmbs/wchar.h: Add missing __restrict.
28158 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28160         [BZ #13532]
28161         * time/Makefile (routines): Add timespec_get.
28162         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28163         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
28164         timespec for ISO C11.
28165         * time/timespec_get.c: New file.
28166         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28167         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28169         [BZ #13531]
28170         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28171         * stdlib/stdlib.h: Declare aligned_alloc.
28172         * Versions.def: Add GLIBC_2.16 for libc.
28173         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28175         [BZ 13527]
28176         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28177         ISO C11.
28179         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28180         code.
28182         [BZ #13528]
28183         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28185         [BZ #13529]
28186         * assert/assert.h (static_assert): Define.
28188         * version.h: Update for 2.16 development version.
28190         [BZ #13526]
28191         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28192         _ISOC11_SOURCE.
28194         * version.h (RELEASE): Bump for 2.15 release.
28195         * include/features.h (__GLIBC_MINOR__): Bump to 15.
28197         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28198         Patch by Marek Polacek <mpolacek@redhat.com>.
28200         * bits/byteswap.h: Protect long long constants with __extension__.
28201         * sysdeps/i386/bits/byteswap.h: Likewise.
28202         * sysdeps/ia64/bits/byteswap.h: Likewise.
28203         * sysdeps/s390/bits/byteswap.h: Likewise.
28204         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28206 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28208         [BZ #13540]
28209         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28210         destination buffer.
28211         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28213 2011-12-23  Marek Polacek  <polacek@redhat.com>
28215         * elf/dl-addr.c (determine_info): Add inline keyword.
28216         * elf/tst-auditmod4b.c (check_avx): Likewise.
28217         * elf/tst-auditmod6b.c (check_avx): Likewise.
28218         * elf/tst-auditmod6c.c (check_avx): Likewise.
28219         * elf/tst-auditmod7b.c (check_avx): Likewise.
28221 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28223         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28224         !__SSE_MATH__.
28226 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28228         [BZ #13540]
28229         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28230         processing for last bytes.
28232 2011-08-06  Bruno Haible  <bruno@clisp.org>
28234         [BZ #13061]
28235         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28236         U+0385, not to U+1FEE.
28238         [BZ #13062]
28239         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28240         entry for U+00A5 U+0301.
28242 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28244         [BZ #13166]
28245         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28246         buffer for the output is too small.
28248         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28249         optimization.
28251         [BZ #13185]
28252         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28253         SSE flags if possible.
28255 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28257         [BZ #13540]
28258         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28259         processing for last bytes.
28261 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
28263         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28264         (syscall-list-default-options, syscall-list-default-condition)
28265         (syscall-list-includes): Define.
28266         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28267         list of ABIs and options and #if conditions for each ABI.  Do not
28268         handle common syscalls between ABIs specially.
28269         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28270         Remove.
28271         (syscall-list-variants, syscall-list-32bit-options)
28272         (syscall-list-32bit-condition, syscall-list-64bit-options)
28273         (syscall-list-64bit-condition): Define.
28274         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28275         (syscall-list-variants, syscall-list-32bit-options)
28276         (syscall-list-32bit-condition, syscall-list-64bit-options)
28277         (syscall-list-64bit-condition): Define.
28278         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28279         Remove.
28280         (syscall-list-variants, syscall-list-32bit-options)
28281         (syscall-list-32bit-condition, syscall-list-64bit-options)
28282         (syscall-list-64bit-condition): Define.
28283         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28284         Remove.
28285         (syscall-list-variants, syscall-list-32bit-options)
28286         (syscall-list-32bit-condition, syscall-list-64bit-options)
28287         (syscall-list-64bit-condition): Define.
28289 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28291         * locale/iso-639.def: Add brx entry.
28293         [BZ #13328]
28294         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28295         Proposed by Mariusz_Cukr <marcukr@op.pl>.
28297         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28298         __feraiseexcept_renamed.
28300 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28302         [BZ #13538]
28303         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28304         EPOLLET with unsigned values.
28305         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28306         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28308         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28309         to large cancellation.
28310         * math/s_cacoshf.c: Likewise.
28311         * math/s_cacoshl.c: Likewise.
28313 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
28315         [BZ #13305]
28316         [BZ #12786]
28317         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28318         * math/s_cacoshf.c: Likewise.
28319         * math/s_cacoshl.c: Likewise.
28321 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28323         [BZ #13439]
28324         * iconv/gconv.h: Define __GCONV_SWAP.
28325         * iconvdata/unicode.c: The swap bit must be stored in __flags.
28326         * iconvdata/utf-16.c: Likewise.
28327         * iconvdata/utf-32.c: Likewise.
28329 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28331         [BZ #13524]
28332         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28333         numerator after shifting it by one limb.
28335 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
28337         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28338         under [__USE_EXTERN_INLINES].
28340 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28342         [BZ #13446]
28343         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28345 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28347         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28348         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28349         optimized code.
28350         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28351         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28352         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28353         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28354         for strncasecmp/strncasecmp_l compilation.
28355         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28356         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28358 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
28360         [BZ #13484]
28361         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28362         of __asm__.
28364 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28366         [BZ #13506]
28367         * time/tzfile.c (__tzfile_read): Check values from file header.
28369 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28371         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28372         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28373         * powerpc/powerpc32/dl-start.S: Likewise.
28374         * powerpc/powerpc32/elf/start.S: Likewise.
28375         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28376         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28377         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28378         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28379         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28380         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28381         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28382         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28383         * powerpc/powerpc32/fpu/s_round.S: Likewise.
28384         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28385         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28386         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28387         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28388         * powerpc/powerpc32/memset.S: Likewise.
28389         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28390         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28391         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28392         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28393         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28394         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28395         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28396         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28397         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28398         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28399         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28400         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28401         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28403 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28405         * math/libm-test.inc: Added more nearbyint tests.
28406         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28407         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28408         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28409         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28411 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
28413         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28414         FD_CLOEXEC.
28416 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28418         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28419         Add wcscpy-ssse3 wcscpy-c.
28420         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28421         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28422         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28423         * sysdeps/x86_64/wcschr.S: New file.
28424         * sysdeps/x86_64/wcsrchr.S: New file.
28425         * string/test-strcmp.c: Remove checking of wcscmp function for
28426         wrong alignments.
28427         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28428         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28429         wcsrchr-sse2 wcsrchr-c.
28430         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28431         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28432         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28433         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28434         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28435         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28436         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28437         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28438         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28439         * wcsmbc/wcschr.c (WCSCHR): New macro.
28441 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28443         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28444         * wcsmbs/test-wcsrchr.c: New file.
28445         * string/test-strrchr.c: Add wcsrchr support.
28446         (WIDE): New macro.
28447         * wcsmbs/test-wcscpy.c: New file.
28448         * string/test-strcpy.c: Add wcscpy support.
28449         (WIDE): New macro.
28451 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
28453         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28454         the inner loop.
28456 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
28458         [BZ #13472]
28459         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28461 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
28463         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28464         Minor optimizations.
28466         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28467         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28468         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28470 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
28472         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28473         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28474         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28475         for gcc to avoid warnings.
28476         * inet/Makefile (tests): Add tst-checks.
28477         * inet/tst-checks.c: New file.
28479         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28480         warning.
28482         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28483         __wmemcmp_sse2.
28485         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28486         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28488         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28490 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
28492         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28493         problem.
28495         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28497 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
28499         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28500         conditional on GCC version.
28501         (__arch_compare_and_exchange_val_8_acq)
28502         (__arch_compare_and_exchange_val_16_acq)
28503         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28504         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28505         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28507 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
28509         * sysdeps/sh/backtrace.c: New file.
28511 2011-12-02  Andreas Schwab  <schwab@redhat.com>
28513         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
28514         parenthesis.
28516 2011-12-01  Andreas Schwab  <schwab@redhat.com>
28518         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28519         falling back to utime.
28521 2011-11-30  Andreas Schwab  <schwab@redhat.com>
28523         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28524         expectations for float.
28526 2011-11-29  Andreas Schwab  <schwab@redhat.com>
28528         * locale/weight.h (findidx): Add parameter len.
28529         * locale/weightwc.h (findidx): Likewise.
28530         * posix/fnmatch_loop.c (FCT): Adjust caller.
28531         * posix/regcomp.c (build_equiv_class): Likewise.
28532         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28533         * posix/regexec.c (check_node_accept_bytes): Likewise.
28534         * string/strcoll_l.c (STRCOLL): Likewise.
28535         * string/strxfrm_l.c (STRXFRM): Likewise.
28537 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
28539         * Makefile.in: Remove CVSOPT handling.
28540         * configure.in: Remove use of AC_REVISION.
28541         * iconvdata/Makefile (distribute): No need to filter out CVS.
28542         * scripts/list-sources.sh: Remove CVS, subversion and monotone
28543         handling.
28545 2011-11-16  Andreas Schwab  <schwab@redhat.com>
28547         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28548         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28549         [USE_AS_STRNCASECMP_L]: Likewise.
28550         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28551         NO_TLS_DIRECT_SEG_REFS.
28552         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28553         Fix argument offsets for non-PIC.
28554         [USE_AS_STRNCASECMP_L]: Likewise.
28555         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28556         NO_TLS_DIRECT_SEG_REFS.
28558 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28560         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28561         O_CLOEXEC.
28562         * locale/loadlocale.c (_nl_load_locale): Likewise.
28564 2011-11-15  Andreas Schwab  <schwab@redhat.com>
28566         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28567         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28568         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28569         (SYSCALL_GETTIME): Set errno on error.
28571         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28572         count references to noai6ai_cached.
28574 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28576         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28578         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28579         FD_CLOEXEC for /proc/self/maps.
28581         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28582         FD_CLOEXEC for /proc/meminfo.
28584         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28585         gai.conf.
28587         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
28588         FD_CLOEXEC for given file.
28590         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28592         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28593         FD_CLOEXEC for /etc/hosts.
28594         (_gethtent): Likewise.
28596         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28598         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28599         cancellation and set FD_CLOEXEC for /etc/netgroup.
28601         * nss/nss_files/files-key.c (search): Don't allow cancellation when
28602         reading /etc/publickey.
28604         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28605         allow cancellation when reading /etc/group.
28607         * nss/nss_files/files-alias.c (internal_setent): Don't allow
28608         cancellation.
28609         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
28611         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28612         when using data file.
28614         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28616         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28617         (write_nis_obj): Use "c" and "e" in fopen.
28619         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28621         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28623         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28625         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28627         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28628         locale.alias.
28630         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28632         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28634         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28636         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28637         file parsing and set FD_CLOEXEC.
28639 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28641         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28643 2011-11-14  Andreas Schwab  <schwab@redhat.com>
28645         * malloc/arena.c (arena_get2): Don't call reused_arena when
28646         _int_new_arena failed.
28648 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28650         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28651         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28652         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28653         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28654         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28655         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28656         to compile strcasecmp and strncasecmp.
28657         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28658         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28660         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28662 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
28664         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28665         locale-defines.sym to gen-as-const-headers.
28666         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28667         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28668         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28669         to compile strcasecmp and strncasecmp.
28670         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28671         strcasecmp_l and strncasecmp_l.
28672         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28673         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28674         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28675         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28676         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28677         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28678         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28679         * sysdeps/i386/i686/multiarch/strncase.S: New file.
28680         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28681         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28682         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28684 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
28686         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28687         result of SYSDEP_GETTIME_CPU to retval.
28688         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28689         parameter list to macro.  Remove trailing semicolon.  Adjust users.
28691         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28692         variable.
28694         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28695         mantissa words.
28696         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28698         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28699         from unused variable.
28701         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28702         DWARF definitions.
28703         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28704         for assembling.
28706         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28707         over namespaces.
28709         * sunrpc/rpc_prot.c (rejected): Fix case value.
28711         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28712         unsigned long long int to avoid warnings in shift.
28714         * posix/regex_internal.c (re_string_reconstruct): Actually use result
28715         of use of trans.
28716         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28717         variable tmp.
28719         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28720         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28721         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28723         * nis/nis_table.c (nis_list): Use variable of correct type for
28724         result of __follow_path call.
28726 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28728         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28729         of math functions ceil, trunc, floor, round, and sqrt, when
28730         avaliable on the platform.
28731         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28732         name clash.
28733         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28734         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28735         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28737 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
28739         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28740         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28742 2011-11-11  Roland McGrath  <roland@hack.frob.com>
28744         * include/unistd.h: Fix __readlink return type.
28745         Reported by Chris Metcalf <cmetcalf@tilera.com>.
28747 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
28749         * stdlib/ucontext.h: Undo last change for makecontext.
28751 2011-11-11  Andreas Schwab  <schwab@redhat.com>
28753         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28755         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28756         * setjmp/setjmp.h: Mark functions as non-leaf.
28757         * setjmp/bits/setjmp2.h: Likewise.
28758         * stdlib/ucontext.h: Likewise.
28760 2011-11-10  Andreas Schwab  <schwab@redhat.com>
28762         * malloc/arena.c (_int_new_arena): Don't increment narenas.
28763         (reused_arena): Don't check arena limit.
28764         (arena_get2): Atomically check arena limit.
28766 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
28768         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28769         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28771         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28772         instructions.
28774 2011-11-07  Andreas Schwab  <schwab@redhat.com>
28776         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28777         handler when locking.
28779         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28780         Fix size of allocated buffer.
28782 2011-11-04  Andreas Schwab  <schwab@redhat.com>
28784         [BZ #10103]
28785         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28786         declarations for long double functions.
28787         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28789         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28791 2011-11-03  Andreas Schwab  <schwab@redhat.com>
28793         * nscd/nscd.c (main): Don't start AVC thread until credentials are
28794         installed.
28796         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28797         is disabled.
28799 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28801         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28803 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28805         * include/alloca.h (stackinfo_alloca_round): Define.
28806         (extend_alloca): Use it.
28807         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28808         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28809         here.
28811         * scripts/check-local-headers.sh: Ignore libaudit.h.
28813         * nscd/Makefile (extra-objs): Make recursively expanded.
28815 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
28817         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28818         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28820         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28821         * posix/tst-rfc3484-2.c: Likewise.
28822         * posix/tst-rfc3484-3.c: Likewise.
28824         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28825         process_vm_writev.
28826         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28827         process_vm_writev.
28828         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28829         process_vm_writev from libc using GLIBC_2.15 version.
28831         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28833 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
28835         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28836         stack usage.
28838 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
28840         [BZ #13367]
28841         * nss/getent.c (initgroups_keys): Show error message in case no group
28842         names are given.
28844         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28845         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28846         __bump_nl_timestamp.
28847         * nscd/connections (nscd_init): When host database is served open
28848         netlink socket and request notification about configuration changes.
28849         (main_loop_poll): Track netlink file descriptor and bump timestamp
28850         in case data becomes available.
28851         (main_loop_epoll): Likewise.
28852         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28853         (database_pers_head): Add extra_data fileds.
28854         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28855         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28856         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28857         Adjust caller.
28858         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28859         in6ai data, call __free_in6ai.
28860         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28861         Add -DHAVE_NETLINK.
28862         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
28863         interface information.  Reuse previous data if netlink timestamp
28864         is not changed.
28865         (__bump_nl_timestamp): New function.
28866         (__free_in6ai): New function.
28868 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
28870         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28871         close_not_cancel_no_status here.
28872         (__check_pf): Reorganize code a bit to not call close twice if OOM.
28874 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28876         [BZ #13276]
28877         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28878         return value.
28880         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28881         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28882         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28884 2011-07-03  Andreas Jaeger  <aj@suse.de>
28886         [BZ #10709]
28887         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28888         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28889         * math/libm-test.inc (sin_test): Add test case.
28891 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28893         [BZ #13337]
28894         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28895         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28897         * elf/chroot_canon.c (chroot_canon): Cleanups.
28899         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28901         [BZ #13335]
28902         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28903         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28905         * string/test-strchr.c: Make usable for strchrnul testing.
28906         * string/test-strchrnul.c: New file.
28907         * string/Makefile (strop-tests): Add strchrnul.
28909         * po/it.po: Update from translation team.
28910         * po/es.po: Likewise.
28912 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
28914         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28915         the three constants needed as parameters.  Drop the others.
28916         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28917         __m128i_strloadu_tolower.
28918         Create and initialize variable zero and use it in all the places
28919         where _mm_setzero_si128 was used.
28921         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28922         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28923         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28924         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28925         anymore.
28926         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28927         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28928         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28929         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28930         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28931         __mpranred, __mptan.
28932         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28933         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28934         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28935         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28936         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28937         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28938         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28939         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28940         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28942 2011-10-28  Andreas Schwab  <schwab@redhat.com>
28944         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28945         redefine if SHARED.
28946         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28948         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28949         wide char related routines to wcsmbs subdir.
28951 2011-10-27  Andreas Schwab  <schwab@redhat.com>
28953         [BZ #13344]
28954         * misc/sys/cdefs.h (__THROWNL): Define.
28955         * posix/unistd.h: Use __THREADNL instead of __THREAD
28956         for memory synchronization functions.
28958 2011-10-26  Roland McGrath  <roland@hack.frob.com>
28960         [BZ #13349]
28961         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28962         doesn't exist.
28963         * manual/stdio.texi (Obstack Streams): Node removed.
28965 2011-10-26  Andreas Schwab  <schwab@redhat.com>
28967         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28968         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28969         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28971         * math/math_private.h (math_force_eval): Allow non-addressable
28972         arguments.
28973         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28975 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28977         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28978         file is not needed.
28980         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28981         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28982         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28983         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28984         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28985         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28986         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28987         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28988         Add AVX variants.
28989         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28990         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28991         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28992         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28993         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28994         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28995         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28996         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28997         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28998         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28999         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29000         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29001         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29002         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29003         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29004         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29005         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29006         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29007         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29009         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29010         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
29012         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29013         place.  Use VEX encoding when compiling for AVX.
29015 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29017         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29018         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29020         * string/test-strchr.c (do_test): Don't generate NUL bytes.
29022 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29024         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29025         useless if() expression.
29026         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29027         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29028         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29029         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29030         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29031         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29032         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29033         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29034         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29035         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29036         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29037         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29038         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29039         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29040         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29041         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29042         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29043         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29044         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29046         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29048 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29050         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29051         condition.
29052         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29054 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29056         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29057         .text section.  Avoid duplicate constants.
29058         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29059         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29060         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29061         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29062         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29063         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29064         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29065         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29066         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29067         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29068         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29069         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29070         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29071         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29072         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29073         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29074         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29075         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29076         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29077         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29078         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29079         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29080         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29081         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29082         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29083         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29084         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29085         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29086         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29087         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29088         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29089         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29090         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29091         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29092         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29093         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29094         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29095         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29096         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29097         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29098         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29099         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29100         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29101         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29102         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29104 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
29106         * sysdeps/x86_64/dla.h: Move to ...
29107         * sysdeps/x86_64/fpu/dla.h: ...here.
29108         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29109         situations.  Use __builtin_fma only for gcc 4.6 and up.
29111         * config.make.in: Add have-mfma4 entry.
29112         * configure.in: Substitute libc_cv_cc_fma4.
29113         * math/Makefile (dbl-only-routines): Add sincostab.
29114         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29115         Use __sincostab not sincos.
29116         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29117         name is a macro.
29118         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29119         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29120         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29121         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
29122         using __copysign.
29123         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
29124         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
29125         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29126         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29127         and __inv.
29128         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29129         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29130         __copysign.
29131         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
29132         define aliases when function name is a macro.
29133         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29134         sysdeps/ieee754/dbl-64/sincos.tbl.
29135         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29136         fma4-enabled routines.
29137         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29138         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29139         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29140         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29141         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29142         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29143         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29144         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29145         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29146         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29147         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29148         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29149         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29150         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29151         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29152         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29153         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29154         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29155         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29156         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29157         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29158         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29159         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29160         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29161         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29162         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29163         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29164         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29165         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29166         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29168         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29169         rename.
29170         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29171         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29172         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29173         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29174         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29175         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29176         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29177         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29179 2011-10-24  Andreas Schwab  <schwab@redhat.com>
29181         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29183 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29185         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29187         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29188         prediction.
29189         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29191         * string/strnlen.c: Don't define STRNLEN, reverse logic.
29192         Remove unused variable magic_bits.
29193         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29195         * string/strnlen.c: Define and use STRNLEN macro.
29196         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29197         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29198         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29199         * wcsmbs/wcslen.c: Define and use WCSLEN.
29200         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29201         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29202         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29203         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29204         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29205         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29206         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29208 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29210         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29211         strnlen-sse2-no-bsf.
29212         Rename strlen-no-bsf to strlen-sse2-no-bsf.
29213         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29214         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29215         Add strnlen support.
29216         (USE_AS_STRNLEN): New macro.
29217         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29218         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29219         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29220         * sysdeps/x86_64/wcslen.S: New file.
29222 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
29224         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29225         XMM-moves are used for copying on small sizes.
29227 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29229         * wcsmbs/Makefile (strop-tests): Add wcschr.
29230         * wcsmbs/test-wcschr.c: New file.
29231         * string/test-strchr.c: Update.
29232         Add wcschr support.
29233         (WIDE): New macro.
29235 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29237         * wcsmbs/Makefile (strop-tests): Add wcslen.
29238         * wcsmbs/test-wcslen.c: New file.
29239         * string/test-strlen.c: Update.
29240         Add wcslen support.
29241         (WIDE): New macro.
29243 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29245         * po/it.po: Update from translation team.
29247 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29249         * sysdeps/x86_64/wcscmp.S: Update.
29250         Fix wrong comparison semantics.
29251         wcscmp shall use signed comparison not unsigned.
29252         Don't use substraction to avoid overflow bug.
29253         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29254         * wcsmbc/wcscmp.c: Likewise.
29255         * string/test-strcmp.c: Likewise.
29256         Add new tests to check cases with negative values.
29258 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29260         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29261         * sysdeps/x86_64/dla.h: ...here.  New file.
29262         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29263         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29264         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29265         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29266         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29267         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29268         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29269         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29270         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29272 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
29274         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29275         __ynl_finite aliases.
29277 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29279         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29281         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29282         define DLA_FMA.
29283         [DLA_FMA] (EMULV): Use DLA_FMA.
29284         [DLA_FMA] (MUL12): Use EMULV.
29285         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29286         that are not needed.
29287         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29288         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29289         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29290         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29291         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29292         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29293         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29295 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
29297         * math/s_nan.c: Undef __nan.
29298         * math/s_nanf.c: Undef __nanf.
29299         * math/s_nanl.c: Undef __nanl.
29300         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29301         "math_private.h".
29303 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29305         * math/s_catan.c: Add branch predictions.
29306         * math/s_catanf.c: Likewise.
29307         * math/s_catanh.c: Likewise.
29308         * math/s_catanhf.c: Likewise.
29309         * math/s_catanhl.c: Likewise.
29310         * math/s_catanl.c: Likewise.
29311         * math/s_cexp.c: Likewise.
29312         * math/s_cexpf.c: Likewise.
29313         * math/s_cexpl.c: Likewise.
29314         * math/s_clog.c: Likewise.
29315         * math/s_clog10.c: Likewise.
29316         * math/s_clog10f.c: Likewise.
29317         * math/s_clog10l.c: Likewise.
29318         * math/s_clogf.c: Likewise.
29319         * math/s_clogl.c: Likewise.
29320         * math/s_csqrt.c: Likewise.
29321         * math/s_csqrtf.c: Likewise.
29322         * math/s_csqrtl.c: Likewise.
29323         * math/s_ctanf.c: Likewise.
29324         * math/s_ctanh.c: Likewise.
29325         * math/s_ctanhf.c: Likewise.
29326         * math/s_ctanhl.c: Likewise.
29327         * math/s_ctanl.c: Likewise.
29329         * math/math_private.h: Define __nan, __nanf, __nanl.
29330         * math/s_cacosh.c: Include <math_private.h>.
29331         * math/s_cacoshl.c: Likewise.
29332         * math/s_casinh.c: Likewise.
29333         * math/s_casinhf.c: Likewise.
29334         * math/s_casinhl.c: Likewise.
29335         * math/s_ccos.c: Rely entire on ccosh.
29336         * math/s_ccosf.c: Rely entire on ccoshf.
29337         * math/s_ccosl.c: Rely entirely on ccoshl.
29338         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
29339         Remove tests for FE_INVALID.
29340         * math/s_ccoshf.c: Likewise.
29341         * math/s_ccoshl.c: Likewise.
29342         * math/s_csin.c: Likewise.
29343         * math/s_csinf.c: Likewise.
29344         * math/s_csinh.c Likewise.
29345         * math/s_csinhf.c: Likewise.
29346         * math/s_csinhl.c: Likewise.
29347         * math/s_csinl.c: Likewise.
29348         * math/s_ctan.c: Likewise.
29349         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29350         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29351         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29353 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
29355         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29356         compilation problems.
29358         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29359         __builtin_expect.
29361 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
29363         * sysdeps/i386/configure.in: Test for -mfma4 option.
29364         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29365         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29366         COMMON_CPUID_INDEX_80000001.
29367         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29368         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29369         use it if FMA3 is not supported.
29370         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29372         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29373         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29375 2011-10-20  Andreas Schwab  <schwab@redhat.com>
29377         [BZ #12892]
29378         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29379         it would create a cycle with a link time dependency.
29381 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
29383         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29384         instruction.
29385         * string/Makefile (strop-tests): Add rawmemchr.
29386         * string/test-rawmemchr.c: New file.
29388         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29389         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
29390         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
29391         when compiling str{,n}casecmp and when AVX is available.  Hook up
29392         new optimized code in initializers.
29394 2011-10-19  Andreas Schwab  <schwab@redhat.com>
29396         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29397         __feraiseexcept instead of feraiseexcept.
29399 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
29401         * math/math_private.h: Define defaults for libc_fetestexcept and
29402         libc_feupdateenv.
29403         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29404         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29405         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29406         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29407         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29408         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29409         libc_fetestexcept and libc_feupdateenv.
29411         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29412         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29413         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29414         * sysdeps/x86_64/fpu/math_private.h: Define special version of
29415         libc_feholdexcept_setround.
29417         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29418         Add s_nearbyint-c and s_nearbyintf-c.
29419         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29420         nearbyintf inlines.
29421         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29422         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29423         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29424         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29426         * math/math_private.h: Define defaults for libc_fegetround,
29427         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29428         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29429         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29430         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29431         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29432         standard functions.
29433         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29434         Remove comments and hacks for old compiler versions.
29435         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29436         libc_fegetround, libc_fesetround, libc_feholdexcept, and
29437         libc_feholdexceptl.
29439 2011-10-18  Andreas Schwab  <schwab@redhat.com>
29441         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29442         (__feraiseexcept_renamed): Add __NTH.
29443         (feraiseexcept): Add __NTH.  Rename local variables to fix
29444         namespace violations.
29446 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
29448         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29450         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29452         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29453         recently added interfaces.
29454         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29456         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29457         about macro parameter expansion.
29459         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29460         __NO_MATH_INLINES is defined.  Cleanups.
29462         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29463         and __floorf is target has SSE4.1.
29464         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29465         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29466         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29467         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29469         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29470         name.
29471         (floorf): Likewise.
29473         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29475 2011-10-17  Andreas Schwab  <schwab@redhat.com>
29477         * misc/sys/cdefs.h: Fix last change.
29479         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29480         database lookup.
29482 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
29484         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29486         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29487         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29488         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29489         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29490         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29491         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29492         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29493         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29494         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29495         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29496         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29497         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29498         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29499         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29500         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29501         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29502         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29503         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29504         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29505         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29506         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29507         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29509         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29510         ceil, ceilf, floor, floorf.
29512         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29513         Perform IRELATIVE relocations last.
29515         * elf/do-rel.h: Add another parameter nrelative, replacing the
29516         local variable with the same name.  Change name of the function
29517         to end in Rel or Rela (uppercase).
29518         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29519         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
29520         elf_dynamic_do_##reloc function.
29522 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29524         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29525         is sufficient, at least on modern CPUs.
29527         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29529         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29530         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29532         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29533         __expl_finite.
29534         * math/bits/math-finite.h: Add entries for exp.
29535         * math/e_expl.c: Add __*_finite alias.
29536         * sysdeps/i386/fpu/e_exp.S: Likewise.
29537         * sysdeps/i386/fpu/e_expf.S: Likewise.
29538         * sysdeps/i386/fpu/e_expl.c: Likewise.
29539         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29540         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29541         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29542         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29543         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29544         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29545         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29547         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29548         is sufficient, at least on modern CPUs.
29550         * ctype/ctype-info.c (__ctype_init): Define.
29551         * include/ctype.h (__ctype_init): Declare.
29552         (__ctype_b_loc): The variable is always initialized.
29553         (__ctype_toupper_loc): Likewise.
29554         (__ctype_tolower_loc): Likewise.
29555         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29556         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29558 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
29560         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29562         * configure.in: Also look in $cxxmachine/include for C++ system
29563         headers.
29565 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29567         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29568         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29569         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29570         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
29571         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29572         (USE_AS_WMEMCMP): New macro.
29573         Fixing indents.
29574         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29575         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29576         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29577         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29578         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29579         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29580         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29581         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29582         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29583         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29584         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29585         (USE_AS_WMEMCMP): New macro.
29586         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29587         * sysdeps/string/test-memcmp.c: Update.
29588         Fix simple_wmemcmp.
29589         Add new tests.
29590         * wcsmbs/wmemcmp.c: Update.
29591         (WMEMCMP): New macro.
29592         Fix overflow bug.
29594 2011-10-12  Andreas Jaeger  <aj@suse.de>
29596         [BZ #13268]
29597         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29599 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29601         * libio/iofwide.c (do_length): Avoid warning.
29603         * ctype/ctype.h (__isctype_f): Add missing __THROW.
29605 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
29607         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29609         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29610         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29611         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29612         * sysdeps/i386/i686/fpu/e_log.S: New file.
29613         * sysdeps/i386/i686/fpu/e_logf.S: New file.
29614         * sysdeps/i386/i686/fpu/e_logl.S: New file.
29616         * ctype/ctype.h: Add support for inlined isXXX functions when
29617         compiling C++ code.
29619 2011-10-14  Andreas Schwab  <schwab@redhat.com>
29621         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29623         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29625 2011-10-13  Roland McGrath  <roland@hack.frob.com>
29627         [BZ #13291]
29628         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29630 2011-10-13  Andreas Schwab  <schwab@redhat.com>
29632         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29633         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29634         feraiseexcept.
29636         * sysdeps/x86_64/memrchr.S: Check for zero size.
29638         * string/stratcliff.c: Add memrchr tests.
29640 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29642         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29643         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29644         rawmemchr-sse2 rawmemchr-sse2-bsf.
29645         * sysdeps/i386/i686/multiarch/memchr.S: New file.
29646         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29647         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29648         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29649         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29650         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29651         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29652         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29653         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29654         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29655         * string/memrchr.c (MEMRCHR): New macro.
29657 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
29659         Add integration with gcc's -ffinite-math-only and optimize wrapper
29660         functions in libm.
29661         * Versions.def: Define GLIBC_2.15 version for libm.
29662         * math/Makefile (headers): Add bits/math-finite.h.
29663         * math/bits/math-finite.h: New file.
29664         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29665         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29666         * math/e_acoshl.c: Add __*_finite alias.
29667         * math/e_acosl.c: Likewise.
29668         * math/e_asinl.c: Likewise.
29669         * math/e_atan2l.c: Likewise.
29670         * math/e_atanhl.c: Likewise.
29671         * math/e_coshl.c: Likewise.
29672         * math/e_exp10.c: Likewise.
29673         * math/e_exp10f.c: Likewise.
29674         * math/e_exp10l.c: Likewise.
29675         * math/e_exp2l.c: Likewise.
29676         * math/e_fmodl.c: Likewise.
29677         * math/e_gammal_r.c: Likewise.
29678         * math/e_hypotl.c: Likewise.
29679         * math/e_j0l.c: Likewise.
29680         * math/e_j1l.c: Likewise.
29681         * math/e_jnl.c: Likewise.
29682         * math/e_lgammal_r.c: Likewise.
29683         * math/e_log10l.c: Likewise.
29684         * math/e_log2l.c: Likewise.
29685         * math/e_logl.c: Likewise.
29686         * math/e_powl.c: Likewise.
29687         * math/e_sinhl.c: Likewise.
29688         * math/e_sqrtl.c: Likewise.
29689         * math/e_scalb.c: Completely rewritten and optimized.
29690         * math/e_scalbf.c: Likewise.
29691         * math/e_scalbl.c: Likewise.
29692         * math/w_acos.c: Likewise.
29693         * math/w_acosf.c: Likewise.
29694         * math/w_acosl.c: Likewise.
29695         * math/w_acosh.c: Likewise.
29696         * math/w_acoshf.c: Likewise.
29697         * math/w_acoshl.c: Likewise.
29698         * math/w_asin.c: Likewise.
29699         * math/w_asinf.c: Likewise.
29700         * math/w_asinl.c: Likewise.
29701         * math/w_atan2.c: Likewise.
29702         * math/w_atan2f.c: Likewise.
29703         * math/w_atan2l.c: Likewise.
29704         * math/w_atanh.c: Likewise.
29705         * math/w_atanhf.c: Likewise.
29706         * math/w_atanhl.c: Likewise.
29707         * math/w_exp10.c: Likewise.
29708         * math/w_exp10f.c: Likewise.
29709         * math/w_exp10l.c: Likewise.
29710         * math/w_fmod.c: Likewise.
29711         * math/w_fmodf.c: Likewise.
29712         * math/w_fmodl.c: Likewise.
29713         * math/w_j0.c: Likewise.
29714         * math/w_j0f.c: Likewise.
29715         * math/w_j0l.c: Likewise.
29716         * math/w_j1.c: Likewise.
29717         * math/w_j1f.c: Likewise.
29718         * math/w_j1l.c: Likewise.
29719         * math/w_jn.c: Likewise.
29720         * math/w_jnf.c: Likewise.
29721         * math/w_log.c: Likewise.
29722         * math/w_logf.c: Likewise.
29723         * math/w_logl.c: Likewise.
29724         * math/w_log10.c: Likewise.
29725         * math/w_log10f.c: Likewise.
29726         * math/w_log10l.c: Likewise.
29727         * math/w_log2.c: Likewise.
29728         * math/w_log2f.c: Likewise.
29729         * math/w_log2l.c: Likewise.
29730         * math/w_pow.c: Likewise.
29731         * math/w_powf.c: Likewise.
29732         * math/w_powl.c: Likewise.
29733         * math/w_remainder.c: Likewise.
29734         * math/w_remainderf.c: Likewise.
29735         * math/w_remainderl.c: Likewise.
29736         * math/w_scalb.c: Likewise.
29737         * math/w_scalbf.c: Likewise.
29738         * math/w_scalbl.c: Likewise.
29739         * math/w_sqrt.c: Likewise.
29740         * math/w_sqrtf.c: Likewise.
29741         * math/w_sqrtl.c: Likewise.
29742         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29743         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
29744         used.
29745         * math/math_private.h: Declare __kernel_standard_f.
29746         * math/w_cosh.c: Remove cruft and optimize a bit.
29747         * math/w_coshf.c: Likewise.
29748         * math/w_coshl.c: Likewise.
29749         * math/w_exp2.c: Likewise.
29750         * math/w_exp2f.c: Likewise.
29751         * math/w_exp2l.c: Likewise.
29752         * math/w_hypot.c: Likewise.
29753         * math/w_hypotf.c: Likewise.
29754         * math/w_hypotl.c: Likewise.
29755         * math/w_lgamma.c: Likewise.
29756         * math/w_lgamma_r.c: Likewise.
29757         * math/w_lgammaf.c: Likewise.
29758         * math/w_lgammaf_r.c: Likewise.
29759         * math/w_lgammal.c: Likewise.
29760         * math/w_lgammal_r.c: Likewise.
29761         * math/w_sinh.c: Likewise.
29762         * math/w_sinhf.c: Likewise.
29763         * math/w_sinhl.c: Likewise.
29764         * math/w_tgamma.c: Likewise.
29765         * math/w_tgammaf.c: Likewise.
29766         * math/w_tgammal.c: Likewise.
29767         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29768         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29769         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29770         Minor optimizations.  Pretty printing.  Remove cruft.
29771         * sysdeps/i386/fpu/e_acosf.S: Likewise.
29772         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29773         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29774         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29775         * sysdeps/i386/fpu/e_acosl.c: Likewise.
29776         * sysdeps/i386/fpu/e_asin.S: Likewise.
29777         * sysdeps/i386/fpu/e_asinf.S: Likewise.
29778         * sysdeps/i386/fpu/e_atan2.S: Likewise.
29779         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29780         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29781         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29782         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29783         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29784         * sysdeps/i386/fpu/e_exp10.S: Likewise.
29785         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29786         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29787         * sysdeps/i386/fpu/e_exp2.S: Likewise.
29788         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29789         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29790         * sysdeps/i386/fpu/e_fmod.S: Likewise.
29791         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29792         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29793         * sysdeps/i386/fpu/e_hypot.S: Likewise.
29794         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29795         * sysdeps/i386/fpu/e_log.S: Likewise.
29796         * sysdeps/i386/fpu/e_log10.S: Likewise.
29797         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29798         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29799         * sysdeps/i386/fpu/e_log2.S: Likewise.
29800         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29801         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29802         * sysdeps/i386/fpu/e_logf.S: Likewise.
29803         * sysdeps/i386/fpu/e_logl.S: Likewise.
29804         * sysdeps/i386/fpu/e_pow.S: Likewise.
29805         * sysdeps/i386/fpu/e_powf.S: Likewise.
29806         * sysdeps/i386/fpu/e_powl.S: Likewise.
29807         * sysdeps/i386/fpu/e_remainder.S: Likewise.
29808         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29809         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29810         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29811         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29812         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29813         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29814         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29815         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29816         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29817         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29818         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29819         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29820         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29821         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29822         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29823         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29824         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29825         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29826         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29827         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29828         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29829         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29830         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29831         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29832         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29833         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29834         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29835         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29836         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29837         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29838         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29839         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29840         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29841         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29842         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29843         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29844         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29845         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29846         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29847         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29848         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29849         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29850         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29851         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29852         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29853         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29854         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29855         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29856         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29857         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29858         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29859         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29860         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29861         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29862         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29863         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29864         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29865         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29866         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29867         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29868         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29869         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29870         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29871         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29872         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29873         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29874         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29875         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29876         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29877         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29878         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29879         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29880         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29881         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29882         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29883         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29884         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29885         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29886         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29887         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29888         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29889         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29890         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29891         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29892         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29893         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29894         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29895         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29896         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29897         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29898         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29899         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29900         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29901         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29902         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29903         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29904         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29905         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29906         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29907         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29908         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29909         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29910         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29911         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29912         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29913         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29914         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29915         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29916         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29917         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29918         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29919         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29920         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29921         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29922         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29923         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29924         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29925         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29926         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
29927         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29928         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29929         (__isnanf): Likewise.
29930         (__isinf_ns): Likewise.
29931         (__isinf_nsf): Likewise.
29932         (__finite): Likewise.
29933         (__finitef): Likewise.
29934         (__ieee754_sqrt): Define as macro.
29935         (__ieee754_sqrtf): Define as macro.
29936         (__ieee754_sqrtl): Define as macro.
29937         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29938         inlined copy.
29939         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29940         __FINITE_MATH_ONLY__ consistent.
29941         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29943 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
29945         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29946         of rawmemchr.
29948         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29950 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
29952         * po/ja.po: Update from translation team.
29954 2011-10-08  Roland McGrath  <roland@hack.frob.com>
29956         * locale/programs/locarchive.c (prepare_address_space): New function.
29957         (create_archive, enlarge_archive, open_archive): Use it.
29959         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29960         inside [SHARED], where it is used.
29962         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29964         * nss/getent.c (netgroup_keys): Remove unused variable.
29965         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29967 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
29969         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29970         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29971         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29972         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29973         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29974         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29975         * math/Makefile (libm-calls): Add s_isinf_ns.
29976         * math/divtc3.c: Use __isinf_nsl instead of isinf.
29977         * math/multc3.c: Likewise.
29978         * math/s_casin.c: Likewise.
29979         * math/s_casinf.c: Likewise.
29980         * math/s_casinl.c: Likewise.
29981         * math/s_ccos.c: Likewise.
29982         * math/s_ccosf.c: Likewise.
29983         * math/s_ccosl.c: Likewise.
29984         * math/s_ctan.c: Likewise.
29985         * math/s_ctanf.c: Likewise.
29986         * math/s_ctanh.c: Likewise.
29987         * math/s_ctanhf.c: Likewise.
29988         * math/s_ctanhl.c: Likewise.
29989         * math/s_ctanl.c: Likewise.
29990         * math/w_fmod.c: Likewise.
29991         * math/w_fmodf.c: Likewise.
29992         * math/w_fmodl.c: Likewise.
29993         * math/w_remainder.c: Likewise.
29994         * math/w_remainderf.c: Likewise.
29995         * math/w_remainderl.c: Likewise.
29996         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29997         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29998         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29999         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30000         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30001         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30002         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30003         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30005         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30006         of the number.
30007         * stdio-common/printf_fphex.c: Likewise.
30008         * stdio-common/printf_size.c: Likewise.
30010         * math/e_exp10.c: Include math_private.h using <...> not "...".
30011         * math/e_exp10f.c: Likewise.
30012         * math/e_exp10l.c: Likewise.
30013         * math/e_exp2l.c: Likewise.
30014         * math/e_j0l.c: Likewise.
30015         * math/e_j1l.c: Likewise.
30016         * math/e_jnl.c: Likewise.
30017         * math/e_lgammal_r.c: Likewise.
30018         * math/e_rem_pio2l.c: Likewise.
30019         * math/e_scalb.c: Likewise.
30020         * math/e_scalbf.c: Likewise.
30021         * math/e_scalbl.c: Likewise.
30022         * math/k_cosl.c: Likewise.
30023         * math/k_sinl.c: Likewise.
30024         * math/k_tanl.c: Likewise.
30025         * math/s_cacoshf.c: Likewise.
30026         * math/s_catan.c: Likewise.
30027         * math/s_catanf.c: Likewise.
30028         * math/s_catanh.c: Likewise.
30029         * math/s_catanhf.c: Likewise.
30030         * math/s_catanhl.c: Likewise.
30031         * math/s_catanl.c: Likewise.
30032         * math/s_ccosh.c: Likewise.
30033         * math/s_ccoshf.c: Likewise.
30034         * math/s_ccoshl.c: Likewise.
30035         * math/s_cexp.c: Likewise.
30036         * math/s_cexpf.c: Likewise.
30037         * math/s_cexpl.c: Likewise.
30038         * math/s_clog.c: Likewise.
30039         * math/s_clog10.c: Likewise.
30040         * math/s_clog10f.c: Likewise.
30041         * math/s_clog10l.c: Likewise.
30042         * math/s_clogf.c: Likewise.
30043         * math/s_clogl.c: Likewise.
30044         * math/s_csin.c: Likewise.
30045         * math/s_csinf.c: Likewise.
30046         * math/s_csinh.c: Likewise.
30047         * math/s_csinhf.c: Likewise.
30048         * math/s_csinhl.c: Likewise.
30049         * math/s_csinl.c: Likewise.
30050         * math/s_csqrt.c: Likewise.
30051         * math/s_csqrtf.c: Likewise.
30052         * math/s_csqrtl.c: Likewise.
30053         * math/s_ctan.c: Likewise.
30054         * math/s_ctanf.c: Likewise.
30055         * math/s_ctanh.c: Likewise.
30056         * math/s_ctanhf.c: Likewise.
30057         * math/s_ctanhl.c: Likewise.
30058         * math/s_ctanl.c: Likewise.
30059         * math/s_ldexp.c: Likewise.
30060         * math/s_ldexpf.c: Likewise.
30061         * math/s_ldexpl.c: Likewise.
30062         * math/s_significand.c: Likewise.
30063         * math/s_significandf.c: Likewise.
30064         * math/s_significandl.c: Likewise.
30065         * math/w_acos.c: Likewise.
30066         * math/w_acosf.c: Likewise.
30067         * math/w_acosh.c: Likewise.
30068         * math/w_acoshf.c: Likewise.
30069         * math/w_acoshl.c: Likewise.
30070         * math/w_acosl.c: Likewise.
30071         * math/w_asin.c: Likewise.
30072         * math/w_asinf.c: Likewise.
30073         * math/w_asinl.c: Likewise.
30074         * math/w_atan2.c: Likewise.
30075         * math/w_atan2f.c: Likewise.
30076         * math/w_atan2l.c: Likewise.
30077         * math/w_atanh.c: Likewise.
30078         * math/w_atanhf.c: Likewise.
30079         * math/w_atanhl.c: Likewise.
30080         * math/w_cosh.c: Likewise.
30081         * math/w_coshf.c: Likewise.
30082         * math/w_coshl.c: Likewise.
30083         * math/w_dremf.c: Likewise.
30084         * math/w_exp10.c: Likewise.
30085         * math/w_exp10f.c: Likewise.
30086         * math/w_exp10l.c: Likewise.
30087         * math/w_exp2.c: Likewise.
30088         * math/w_exp2f.c: Likewise.
30089         * math/w_fmod.c: Likewise.
30090         * math/w_fmodf.c: Likewise.
30091         * math/w_fmodl.c: Likewise.
30092         * math/w_hypot.c: Likewise.
30093         * math/w_hypotf.c: Likewise.
30094         * math/w_hypotl.c: Likewise.
30095         * math/w_j0.c: Likewise.
30096         * math/w_j0f.c: Likewise.
30097         * math/w_j0l.c: Likewise.
30098         * math/w_j1.c: Likewise.
30099         * math/w_j1f.c: Likewise.
30100         * math/w_j1l.c: Likewise.
30101         * math/w_jn.c: Likewise.
30102         * math/w_jnf.c: Likewise.
30103         * math/w_jnl.c: Likewise.
30104         * math/w_lgamma.c: Likewise.
30105         * math/w_lgamma_r.c: Likewise.
30106         * math/w_lgammaf.c: Likewise.
30107         * math/w_lgammaf_r.c: Likewise.
30108         * math/w_lgammal.c: Likewise.
30109         * math/w_lgammal_r.c: Likewise.
30110         * math/w_log.c: Likewise.
30111         * math/w_log10.c: Likewise.
30112         * math/w_log10f.c: Likewise.
30113         * math/w_log10l.c: Likewise.
30114         * math/w_log2.c: Likewise.
30115         * math/w_log2f.c: Likewise.
30116         * math/w_log2l.c: Likewise.
30117         * math/w_logf.c: Likewise.
30118         * math/w_logl.c: Likewise.
30119         * math/w_pow.c: Likewise.
30120         * math/w_powf.c: Likewise.
30121         * math/w_powl.c: Likewise.
30122         * math/w_remainder.c: Likewise.
30123         * math/w_remainderf.c: Likewise.
30124         * math/w_remainderl.c: Likewise.
30125         * math/w_scalb.c: Likewise.
30126         * math/w_scalbf.c: Likewise.
30127         * math/w_scalbl.c: Likewise.
30128         * math/w_sinh.c: Likewise.
30129         * math/w_sinhf.c: Likewise.
30130         * math/w_sinhl.c: Likewise.
30131         * math/w_sqrt.c: Likewise.
30132         * math/w_sqrtf.c: Likewise.
30133         * math/w_sqrtl.c: Likewise.
30134         * math/w_tgamma.c: Likewise.
30135         * math/w_tgammaf.c: Likewise.
30136         * math/w_tgammal.c: Likewise.
30138         * po/ja.po: Update from translation team.
30140 2011-09-29  Andreas Jaeger  <aj@suse.de>
30142         [BZ #13179]
30143         * sunrpc/netname.c (netname2host): Fix logic.
30145         [BZ #6779]
30146         [BZ #6783]
30147         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30148         correctly.
30149         * math/w_remainder.c (__remainder): Likewise.
30150         * math/w_remainderf.c (__remainderf): Likewise.
30151         * math/libm-test.inc (remainder_test): Add test cases.
30153 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30155         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
30156         sdiv_qrnnd.
30158 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30160         * string/test-memcmp.c: Avoid unncessary #defines.
30161         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30163 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30165         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30166         Use new sse2 version for core i3 - i7 as it's faster
30167         than sse42 version.
30168         (bit_Prefer_PMINUB_for_stringop): New.
30169         * sysdeps/x86_64/rawmemchr.S: Update.
30170         Replace with faster SSE2 version.
30171         * sysdeps/x86_64/memrchr.S: New file.
30172         * sysdeps/x86_64/memchr.S: Update.
30173         Replace with faster SSE2 version.
30175 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
30177         * elf/dl-load.c (lose): Add cast to avoid warning.
30179 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30181         * po/ca.po: Update from translation team.
30183         * inet/getnetgrent_r.c: Hook up nscd.
30184         * nscd/Makefile (routines): Add nscd_netgroup.
30185         (nscd-modules): Add netgroupcache.
30186         (CFLAGS-netgroupcache.c): Define.
30187         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30188         (cache_search): Add const to second parameter.
30189         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30190         INNETGR.
30191         (dbs): Add netgrdb entry.
30192         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30193         (verify_persistent_db): Handle netgrdb.
30194         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30195         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30196         GETFDNETGR.
30197         (netgroup_response_header): Define.
30198         (innetgroup_response_header): Define.
30199         (datahead): Add netgroup_response_header and innetgroup_response_header
30200         elements.
30201         * nscd/nscd.conf: Add entries for netgroup cache.
30202         * nscd/nscd.h (dbtype): Add netgrdb.
30203         (_PATH_NSCD_NETGROUP_DB): Define.
30204         (netgroup_iov_disabled): Declare.
30205         (xmalloc, xcalloc, xrealloc): Move declarations here.
30206         (cache_search): Adjust prototype.
30207         Add netgroup-related prototypes.
30208         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30209         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30210         (__nscd_innetgr): Declare.
30211         * nscd/selinux.c (perms): Use access_vector_t as element type and
30212         add netgroup-related initializers.
30213         * nscd/netgroupcache.c: New file.
30214         * nscd/nscd_netgroup.c: New file.
30215         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30216         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30217         For four parameters use innetgr.
30218         * nss/nss_files/files-init.c: Add definition and callback for netgr.
30219         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30220         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30221         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30223         * nscd/connections.c (register_traced_file): Don't register file
30224         for disabled databases.
30226 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
30228         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30230         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30231         from tree and freeing node.
30233 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
30235         * nss/nsswitch.c (__nss_database_lookup): Handle
30236         nss_parse_service_list out of memory case.
30238 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
30240         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30241         out of memory case.
30243 2011-10-04  Andreas Schwab  <schwab@redhat.com>
30245         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30246         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30247         pass it down.
30248         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30249         elf_machine_rela, elf_machine_lazy_rel.
30250         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30251         (ELF_DYNAMIC_DO_REL): Likewise.
30252         (ELF_DYNAMIC_DO_RELA): Likewise.
30253         (ELF_DYNAMIC_RELOCATE): Likewise.
30254         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30255         to ELF_DYNAMIC_DO_REL.
30256         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30257         (dl_main): In trace mode always set __RTLD_NOIFUNC.
30258         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30259         elf_machine_rela.
30260         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30261         skip_ifunc, don't call ifunc function if non-zero.
30262         (elf_machine_rela): Likewise.
30263         (elf_machine_lazy_rel): Likewise.
30264         (elf_machine_lazy_rela): Likewise.
30265         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30266         (elf_machine_lazy_rel): Likewise.
30267         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30268         Likewise.
30269         (elf_machine_lazy_rel): Likewise.
30270         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30271         Likewise.
30272         (elf_machine_lazy_rel): Likewise.
30273         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30274         (elf_machine_lazy_rel): Likewise.
30275         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30276         (elf_machine_lazy_rel): Likewise.
30277         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30278         (elf_machine_lazy_rel): Likewise.
30279         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30280         (elf_machine_lazy_rel): Likewise.
30281         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30282         (elf_machine_lazy_rel): Likewise.
30283         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30284         (elf_machine_lazy_rel): Likewise.
30286 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
30288         * nss/nss_files/files-init.c (_nss_files_init): Use static
30289         initialization for all the *_traced_file variables.
30291 2011-09-28  Andreas Schwab  <schwab@redhat.com>
30293         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30295 2011-09-27  Roland McGrath  <roland@hack.frob.com>
30297         [BZ #13226]
30298         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30300 2011-09-27  Andreas Schwab  <schwab@redhat.com>
30302         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30303         Reread the line before reparsing it.
30305 2011-09-26  Andreas Schwab  <schwab@redhat.com>
30307         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30309 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
30310             Maxim Kuvyrkov  <maxim@codesourcery.com>
30311             Joseph Myers  <joseph@codesourcery.com>
30313         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30314         if needed for __stack_chk_guard.
30316 2011-09-19  Roland McGrath  <roland@hack.frob.com>
30318         * sysdeps/posix/spawni.c (script_execute): Always define it.
30319         It will be optimized away if unused.
30320         (maybe_script_execute): New function.
30321         (__spawni): Call it.
30323         * Makerules: Don't include tls.make.
30324         (config-tls): Always set to thread.
30325         * tls.make.c: File removed.
30327 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
30329         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30330         * config.make.in (CPPFLAGS-config): New substituted variable.
30332 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30334         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30336         [BZ #13192]
30337         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30338         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30340 2011-09-15  Roland McGrath  <roland@hack.frob.com>
30342         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30343         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30344         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30345         (CALL_FAIL): Likewise.
30346         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30347         (CALL_FAIL): Macro removed.
30348         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30350 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30352         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30353         for __FINITE_MATH_ONLY__ == 1.
30355 2011-09-15  Andreas Schwab  <schwab@redhat.com>
30357         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30358         __ieee754_sqrt instead of sqrt.
30359         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30360         __ieee754_sqrtf instead of sqrtf.
30361         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30362         __floorf instead of floorf.
30363         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30364         __floorf, __truncf instead of floorf, truncf.
30366 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
30368         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30370         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30371         __extern_always_inline.
30372         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30373         32-bit.
30375 2011-09-14  Andreas Schwab  <schwab@redhat.com>
30377         * elf/rtld.c (dl_main): Also relocate in dependency order when
30378         doing symbol dependency testing.
30380 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
30382         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30383         Always define `refsym'.
30385 2011-09-13  Andreas Schwab  <schwab@redhat.com>
30387         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30388         (__FD_ELT): Renamed from __FDELT.
30389         * misc/bits/select2.h (__FD_ELT): Likewise.
30390         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30391         __FD_MASK instead of __FDELT, __FDMASK.
30392         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30393         Likewise.
30394         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30395         Likewise.
30397         * elf/Makefile (gen-ldd): Fix pattern.
30399         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30400         (init_tls): Likewise.
30402 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
30404         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30406 2011-09-12  Andreas Schwab  <schwab@redhat.com>
30408         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30409         `struct cmsghdr *' instead of `void *'.
30410         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30411         Likewise.
30413 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
30415         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30416         if non-absolute.
30417         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30418         ldd_rewrite_script.
30420 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
30422         * configure.in: Remove --with-tls option.
30423         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30424         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30425         out in case it is missing.
30426         * sysdeps/ia64/elf/configure.in: Likewise.
30427         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30428         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30429         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30430         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30431         * sysdeps/sh/elf/configure.in: Likewise.
30432         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30433         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30434         * sysdeps/x86_64/elf/configure.in: Likewise.
30435         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30436         * sysdeps/mach/hurd/tls.h: Likewise.
30438         [BZ #13067]
30439         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30441         [BZ #13090]
30442         * configure.in: Fix use of AC_INIT.
30444         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30446 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
30448         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30449         __set_errno.
30450         * malloc/hooks.c: Likewise.
30452         [BZ #11929]
30453         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
30454         variables statically.
30455         (narenas): Initialize.
30456         (list_lock): Initialize.
30457         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
30458         initializtion of main_arena and list_lock.  Small cleanups.
30459         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30460         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
30461         Add initializers to main_arena and mp_.
30462         (malloc_state): Remove pagesize member.  Change all users to use
30463         GLRO(dl_pagesize).
30465         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30466         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
30467         is always initialized.
30469         * malloc/malloc.c: Removed unused configurations and dead code.
30470         * malloc/arena.c: Likewise.
30471         * malloc/hooks.c: Likewise.
30472         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30474         * include/tls.h: Removed.  USE___THREAD must always be defined.
30475         * bits/libc-tsd.h: Don't handle !USE___THREAD.
30476         * elf/dl-libc.c: Likewise.
30477         * elf/dl-tsd.c: Likewise.
30478         * include/errno.h: Likewise.
30479         * include/netdb.h: Likewise.
30480         * include/resolv.h: Likewise.
30481         * inet/herrno-loc.c: Likewise.
30482         * inet/herrno.c: Likewise.
30483         * malloc/arena.c: Likewise.
30484         * malloc/hooks.c: Likewise.
30485         * malloc/malloc.c: Likewise.
30486         * resolv/res-state.c: Likewise.
30487         * resolv/res_libc.c: Likewise.
30488         * sysdeps/i386/dl-machine.h: Likewise.
30489         * sysdeps/ia64/dl-machine.h: Likewise.
30490         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30491         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30492         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30493         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30494         * sysdeps/sh/dl-machine.h: Likewise.
30495         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30496         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30497         * sysdeps/unix/i386/sysdep.S: Likewise.
30498         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30499         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30500         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30501         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30502         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30503         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30504         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30505         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30506         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30507         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30508         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30509         * sysdeps/x86_64/dl-machine.h: Likewise.
30510         * tls.make.c: Likewise.
30512         * configure.in: Remove --with-__thread option.  Make tests for
30513         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30514         tls_model attribute fail if no support is available.  Remove
30515         USE_IN_LIBIO.
30516         * Makeconfig: Adjust for dropped configure option.  All features are
30517         now mandatory.
30518         * Makerules: Likewise.
30519         * Versions.def: Likewise.
30520         * argp/argp-fmtstream.c: Likewise.
30521         * argp/argp-fmtstream.h: Likewise.
30522         * argp/argp-help.c: Likewise.
30523         * assert/assert.c: Likewise.
30524         * config.h.in: Likewise.
30525         * config.make.in: Likewise.
30526         * configure: Likewise.
30527         * configure.in: Likewise.
30528         * csu/Versions: Likewise.
30529         * csu/init.c: Likewise.
30530         * elf/tst-audit2.c: Likewise.
30531         * elf/tst-tls10.c: Likewise.
30532         * elf/tst-tls10.h: Likewise.
30533         * elf/tst-tls11.c: Likewise.
30534         * elf/tst-tls12.c: Likewise.
30535         * elf/tst-tls14.c: Likewise.
30536         * elf/tst-tlsmod11.c: Likewise.
30537         * elf/tst-tlsmod12.c: Likewise.
30538         * elf/tst-tlsmod13.c: Likewise.
30539         * elf/tst-tlsmod13a.c: Likewise.
30540         * elf/tst-tlsmod14a.c: Likewise.
30541         * elf/tst-tlsmod15b.c: Likewise.
30542         * elf/tst-tlsmod16a.c: Likewise.
30543         * elf/tst-tlsmod16b.c: Likewise.
30544         * elf/tst-tlsmod7.c: Likewise.
30545         * elf/tst-tlsmod8.c: Likewise.
30546         * elf/tst-tlsmod9.c: Likewise.
30547         * gmon/gmon.c: Likewise.
30548         * grp/fgetgrent_r.c: Likewise.
30549         * grp/putgrent.c: Likewise.
30550         * hurd/fopenport.c: Likewise.
30551         * include/libc-symbols.h: Likewise.
30552         * include/tls.h: Likewise.
30553         * intl/gettextP.h: Likewise.
30554         * intl/loadinfo.h: Likewise.
30555         * locale/global-locale.c: Likewise.
30556         * locale/localeinfo.h: Likewise.
30557         * mach/devstream.c: Likewise.
30558         * malloc/arena.c: Likewise.
30559         * malloc/set-freeres.c: Likewise.
30560         * misc/err.c: Likewise.
30561         * misc/getttyent.c: Likewise.
30562         * misc/mntent_r.c: Likewise.
30563         * posix/getopt.c: Likewise.
30564         * posix/wordexp.c: Likewise.
30565         * pwd/fgetpwent_r.c: Likewise.
30566         * resolv/Versions: Likewise.
30567         * resolv/res_hconf.c: Likewise.
30568         * shadow/fgetspent_r.c: Likewise.
30569         * shadow/putspent.c: Likewise.
30570         * stdio-common/printf_fphex.c: Likewise.
30571         * stdio-common/tmpfile.c: Likewise.
30572         * stdlib/abort.c: Likewise.
30573         * stdlib/fmtmsg.c: Likewise.
30574         * sunrpc/auth_unix.c: Likewise.
30575         * sunrpc/clnt_perr.c: Likewise.
30576         * sunrpc/clnt_tcp.c: Likewise.
30577         * sunrpc/clnt_udp.c: Likewise.
30578         * sunrpc/clnt_unix.c: Likewise.
30579         * sunrpc/openchild.c: Likewise.
30580         * sunrpc/svc_simple.c: Likewise.
30581         * sunrpc/svc_tcp.c: Likewise.
30582         * sunrpc/svc_udp.c: Likewise.
30583         * sunrpc/svc_unix.c: Likewise.
30584         * sunrpc/xdr.c: Likewise.
30585         * sunrpc/xdr_array.c: Likewise.
30586         * sunrpc/xdr_rec.c: Likewise.
30587         * sunrpc/xdr_ref.c: Likewise.
30588         * sunrpc/xdr_stdio.c: Likewise.
30590 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30592         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30594 2011-07-03  Andreas Jaeger  <aj@suse.de>
30596         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30597         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30598         regenerate with gen-libm-tests.pl.
30600 2010-05-12  Petr Baudis  <pasky@suse.cz>
30602         [BZ #11589]
30603         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30604         around j0() zero points by switching to j1().
30605         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30606         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30607         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30608         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30610 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30612         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30613         instead of 0.
30614         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30615         instead of 0.
30616         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30617         Patch in part by Pavel Roskin <proski@gnu.org>.
30619         [BZ #13138]
30620         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30621         realloc.
30622         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
30623         Free memory block if necessary.
30625         [BZ #12847]
30626         * libio/genops.c (INTDEF): For string streams the _lock pointer can
30627         be NULL.  Don't lock in this case.
30629 2011-09-09  Roland McGrath  <roland@hack.frob.com>
30631         * elf/elf.h (ELFOSABI_GNU): New macro.
30632         (ELFOSABI_LINUX): Define to that.
30634 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
30636         * string/strncat.c (strncat): Undef the symbol in case it has been
30637         defined in bits/string.h.
30639 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30641         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30643         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30644         link map.
30646 2011-08-17  Andreas Jaeger  <aj@suse.de>
30648         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30650 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
30651             Ian Lance Taylor  <iant@google.com>
30653         * math/libm-test.inc (lround_test): New testcase.
30654         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30656 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
30658         * Makefile: Remove support for automatic cvs check-ins.
30659         * Makerules: Likewise.
30660         * config.make.in: Likewise.
30661         * configure.in: Likewise.
30662         * intl/Makefile: Likewise.
30663         * locale/Makefile: Likewise.
30664         * po/Makefile: Likewise.
30665         * posix/Makefile: Likewise.
30666         * sysdeps/gnu/Makefile: Likewise.
30667         * sysdeps/mach/hurd/Makefile: Likewise.
30668         * sysdeps/sparc/sparc32/Makefile: Likewise.
30670         [BZ #13118]
30671         * posix/Makefile (bug-regex32-ENV): Define.
30672         Patch by John Stanley <jpsinthemix@verizon.net>.
30674         * misc/Makefile (headers): Add bits/select2.h.
30675         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30676         * misc/bits/select2.h: New file.
30677         * include/bits/select2.h: New file.
30678         * debug/Makefile (routines): Add fdelt_chk.
30679         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30680         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30681         FD_ISSET.
30682         * debug/fdelt_chk.c: New file.
30684         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
30685         * wcsmbs/test-wmemcmp.c: Likewise.
30686         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30687         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30689 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30691         * string/Makefile (strop-tests): Add memcmp.
30692         * string/test-wmemcmp.c: New file.
30693         * string/test-memcmp.c: Add wmemcmp support.
30695 2011-09-08  Roland McGrath  <roland@hack.frob.com>
30697         [BZ #13153]
30698         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30699         2011-07-19 change.
30701         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30702         garbage value in a __mach_port_mod_refs call in the cases of the
30703         task-self and thread-self ports.
30705 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30707         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30709 2011-09-08  Andreas Schwab  <schwab@redhat.com>
30711         * elf/dl-load.c (lose): Check for non-null L.
30713 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30715         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30717         * elf/dl-libc.c (dlerror_run): Pass back error code from
30718         dl_catch_error.
30720         [BZ #13123]
30721         * elf/dl-load.c (lose): Free l_origin if it is valid.
30723         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30724         names.
30725         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30726         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30727         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30728         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30729         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30730         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30732 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30734         * sysdeps/powerpc/fpu/e_hypot.c: New file.
30735         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30736         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30737         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30738         * sysdeps/powerpc/fpu/k_cosf.c: New file.
30739         * sysdeps/powerpc/fpu/k_sinf.c: New file.
30740         * sysdeps/powerpc/fpu/s_cosf.c: New file.
30741         * sysdeps/powerpc/fpu/s_sinf.c: New file.
30742         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30743         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30745 2011-08-15  Alan Modra  <amodra@gmail.com>
30747         [BZ #13092]
30748         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30749         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30750         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
30751         ppc_mcount to static-only-routines.
30752         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30753         __mcount_internal.
30754         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30755         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
30757 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
30759         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30760         for finite and infinity parameters.
30762 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30764         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30765         and add nop instructions for throughput optimization.
30766         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30768 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
30770         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30771         aligned copy for power7 with vector-scalar instructions.
30772         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30774 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
30776         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30777         AVX check.
30779 2011-09-07  Andreas Schwab  <schwab@redhat.com>
30781         [BZ #13144]
30782         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30783         last change.
30785 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30787         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30788         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30789         syscall wrapper around clock_gettime in __vdso_clock_gettime.
30790         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30791         clock_gettime.
30793 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30795         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30796         Forgot to demangle the pointer.
30798         * sysdeps/i386/sysdep.h: Define atom_text_section.
30799         * sysdeps/x86_64/sysdep.h: Likewise.
30800         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30801         section with atom_text_section.
30802         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30803         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30804         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30805         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30806         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30808         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30809         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30810         already be defined.  Change to take two parameters and don't assign
30811         result to variable.  Adjust all users.
30812         Define INTERNAL_GETTIME if not already defined.
30813         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30814         call.
30815         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30816         HAVE_CLOCK_GETTIME_VSYSCALL.
30817         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30819         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30820         gettimeofday vsyscall, just use time.
30822 2011-09-06  Andreas Schwab  <schwab@redhat.com>
30824         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30825         <errno.h>.
30827 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30829         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30830         syscall on x86-64.
30831         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30832         syscall.
30833         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30834         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30835         syscall if possible.
30837 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30839         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30840         e_ident.  Don't pass to find_mapsXX.
30841         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30843 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30845         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30846         strchr-sse2-no-bsf strrchr-sse2-no-bsf
30847         * sysdeps/x86_64/multiarch/strchr.S: Update.
30848         Check bit_slow_BSF bit.
30849         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30850         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30851         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30853 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30855         [BZ #13134]
30856         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30857         before glibc 2.15.
30858         (tryshell): Define.
30859         (__spawni): Change last parameter to be flag.  Test
30860         SPAWN_XFLAGS_USE_PATH flag to use path or not.
30861         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30862         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30863         * posix/spawni.c: Likewise.
30864         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30865         * posix/spawnp.c: Likewise.  Change normal version to use
30866         SPAWN_XFLAGS_USE_PATH.
30867         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30868         SPAWN_XFLAGS_TRY_SHELL.
30870         [BZ #13150]
30871         * posix/glob.h: Remove gcc 1.x support.
30873         [BZ #13068]
30874         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30876 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30878         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30879         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30880         strrchr-sse2-bsf
30881         * sysdeps/i386/i686/multiarch/strchr.S: New file.
30882         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30883         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30884         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30885         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30886         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30888 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30890         * sysdeps/x86_64/wcscmp.S: New file.
30892         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30893         wcscmp-c wcscmp-sse2
30894         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30895         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30896         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30897         * wcsmbs/wcscmp.c: Allow renaming.
30899 2011-09-05  David S. Miller  <davem@davemloft.net>
30901         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30902         stack slot, rather than the struct return pointer slot.
30903         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30904         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30906         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30908 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30910         * po/ja.po: Update from translation team.
30912         [BZ #13144]
30913         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30914         kernel in 64-bit binaries.
30916 2011-09-01  David S. Miller  <davem@davemloft.net>
30918         * elf/elf.h (HWCAP_SPARC_*): Move to..
30919         * sysdeps/sparc/sysdep.h: this new file and add new values.
30920         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30921         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30922         _DL_HWCAP_COUNT to 24.
30923         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30924         entries.
30925         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30926         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30927         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30928         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30929         instead of magic constants.
30930         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30932 2011-08-31  David S. Miller  <davem@davemloft.net>
30934         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30935         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30936         Reimplement to do errno handling inline.
30937         (SYSCALL_ERROR_HANDLER): New macro.
30938         (__SYSCALL_STRING): Do not do errno handling in asm.
30939         (__CLONE_SYSCALL_STRING): Delete.
30940         (__INTERNAL_SYSCALL_STRING): Delete.
30941         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30942         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30943         (PSEUDO): Reimplement to do errno handling inline.
30944         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30945         (SYSCALL_ERROR_HANDLER): New macro.
30946         (__SYSCALL_STRING): Do not do errno handling in asm.
30947         (__CLONE_SYSCALL_STRING): Delete.
30948         (__INTERNAL_SYSCALL_STRING): Delete.
30949         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30950         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30951         i386.
30952         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30953         (inline_syscall*): Add 'err' argument.
30954         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30955         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30956         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30957         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30959         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30960         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30962 2011-08-30  Andreas Schwab  <schwab@redhat.com>
30964         * elf/rtld.c (dl_main): Relocate objects in dependency order.
30966 2011-08-29  Jiri Olsa <jolsa@redhat.com>
30968         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30969         directive.
30971 2011-08-24  David S. Miller  <davem@davemloft.net>
30973         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30975 2011-08-24  Andreas Schwab  <schwab@redhat.com>
30977         * elf/Makefile: Add rules to build and run unload8 test.
30978         * elf/unload8.c: New file.
30979         * elf/unload8mod1.c: New file.
30980         * elf/unload8mod1x.c: New file.
30981         * elf/unload8mod2.c: New file.
30982         * elf/unload8mod3.c: New file.
30984         * elf/dl-close.c (_dl_close_worker): Reset private search list if
30985         it wasn't used.
30987 2011-08-23  David S. Miller  <davem@davemloft.net>
30989         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30990         subtract stack bias.
30991         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30992         %sp not %fp in calculations.
30993         (_JMPBUF_UNWINDS_ADJ): Likewise.
30995         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30996         (aio_suspend): Call it to force an exception region around the
30997         AIO_MISC_WAIT() invocation.
30999 2011-08-23  Andreas Schwab  <schwab@redhat.com>
31001         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31002         backslash.
31004 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
31006         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31007         protection macro.
31008         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31009         and <dl-machine.h>.
31010         (Elf64_FuncDesc): Remove.
31012 2011-08-22  David S. Miller  <davem@davemloft.net>
31014         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31015         sigaltstack check, add missing cfi directives.
31016         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31017         missing cfi directives, and sigaltstack handling.
31019 2011-08-16  Andreas Schwab  <schwab@redhat.com>
31021         [BZ #11724]
31022         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31023         object is seen twice.
31024         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31026         * elf/Makefile (distribute): Add tst-initorder2.c.
31027         (tests): Add tst-initorder2.
31028         (modules-names): Add tst-initorder2a tst-initorder2b
31029         tst-initorder2c tst-initorder2d.  Add rules to build them.
31030         ($(objpfx)tst-initorder2.out): New rule.
31031         * elf/tst-initorder2.c: New file.
31032         * elf/tst-initorder2.exp: New file.
31034 2011-08-22  Andreas Schwab  <schwab@redhat.com>
31036         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31038         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31039         dependencies back to end of function.
31041         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31042         $(elfobjdir)/ld.so.
31044 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
31046         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31047         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31048         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31049         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31050         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31051         of __vdso_gettimeofday.
31052         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31053         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
31054         attribute_hidden.
31055         (_libc_vdso_platform_setup): Remove initialization of
31056         __vdso_gettimeofday and __vdso_time.
31058 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31060         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31061         and fgetc_unlocked.
31062         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31063         getc_unlocked.
31065         * elf/dl-open.c (add_to_global): Report additions to the global scope
31066         for LD_DEBUG=scopes.
31067         (dl_open_worker): Also print scope of newly loaded dependencies.
31068         (_dl_show_scope): Indicate if there is no scope.
31070         [BZ #13114]
31071         * stdio-common/Makefile (tests): Add bug24.
31072         * stdio-common/bug24.c: New file.
31074 2011-08-19  Andreas Jaeger  <aj@suse.de>
31076         [BZ #13114]
31077         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31078         non-existant file when using close-on-exec mode.
31080 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31082         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31083         the very first instruction.
31085         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31086         the CFI state in the end.
31087         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31088         inclusion of dl-trampoline.h.
31089         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31091 2011-08-19  Andreas Schwab  <schwab@redhat.com>
31093         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31094         expectations for long double.
31096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31097         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31099 2011-08-14  David S. Miller  <davem@davemloft.net>
31101         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31102         artificual limit depends upon the system page size.
31104 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31106         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31107         * resolv/Makefile: Define CFLAGS-libresolv.
31109 2011-08-17  Andreas Schwab  <schwab@redhat.com>
31111         * nss/makedb.c (compute_tables): Make variables used in nested
31112         function static.
31114 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31116         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31117         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31118         if buffer was too small.
31120         * elf/pldd.c (main): Attach to all threads in the process.
31121         Rewrite /proc handling to use *at functions.
31123 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
31125         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31126         specifies first scope to show.
31127         (dl_open_worker): Update callers.  Move printing scope of new
31128         object to before the relocation.
31129         * elf/rtld.c (dl_main): Update _dl_show_scope call.
31130         * sysdeps/generic/ldsodefs.h: Update declaration.
31132         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31133         string for the scope number.
31135 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
31137         * nscd/servicescache.c (cache_addserv): Make sure written is always
31138         initialized.
31140 2011-08-14  Roland McGrath  <roland@hack.frob.com>
31142         * sysdeps/i386/i486/bits/atomic.h
31143         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31144         statement expression, so as to suppress "set but not used" warning.
31145         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31147         * string/strncat.c (STRNCAT): Use prototype definition.
31149         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31150         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31151         -Iprograms here.
31152         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31153         (localedef-modules): Add localedef.
31154         (locale-modules): Add locale.
31156         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31157         * elf/rtld.c (dl_main): Invert order of assignment in last change,
31158         to avoid a warning.
31160 2011-08-14  David S. Miller  <davem@davemloft.net>
31162         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31163         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31165 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
31167         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31168         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31169         * elf/rtld.c (dl_main): Set l_name of vDSO.
31170         Call _dl_show_scope when DL_DEBUG_SCOPES.
31171         (process_dl_debug): Recognize scopes flag and also set it for all.
31172         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31173         Declare _dl_show_scope.
31175         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31176         (do_dlopen): Pass caller_dlopen to dl_open.
31177         (__libc_dlopen_mode): Initialize caller_dlopen.
31179         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31180         of libc.  Make tolower call locale-independent.  Optimize a bit by
31181         using isdigit instead of isalnum.
31182         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31184 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
31186         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31187         was a dependency or dynamically loaded.
31189 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
31191         * intl/l10nflist.c: Allow architecture-specific pop function.
31192         * sysdeps/x86_64/l10nflist.c: New file.
31194         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31195         classification.
31197 2011-08-10  Andreas Schwab  <schwab@redhat.com>
31199         * include/dirent.h: Add libc_hidden_proto for scandirat and
31200         scandirat64.  Don't declare __scandirat64.
31201         * dirent/scandirat.c: Add libc_hidden_def.
31202         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31203         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31205 2011-08-10  David S. Miller  <davem@davemloft.net>
31207         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31208         enum.
31209         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31210         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31211         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31213 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
31215         * Versions.def [libc]: Add GLIBC_2.15.
31216         * dirent/Makefile (routines): Add scandirat and scandirat64.
31217         * dirent/Versions [libc]: Export scandirat and scandirat64 for
31218         GLIBC_2.15.
31219         * dirent/dirent.h: Declare scandirat and scandirat64.
31220         * dirent/scandirat.c: New file.
31221         * dirent/scandirat64.c: New file.
31222         * sysdeps/wordsize-64/scandirat.c: New file.
31223         * sysdeps/wordsize-64/scandirat64.c: New file.
31224         * dirent/opendir.c: Define opendirat.
31225         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
31226         using scandirat.
31227         * dirent/scandir64.c: Adjust for scandir.c change.
31228         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
31229         __scandirat64, and __scandir_cancel_handler.
31230         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
31231         additional parameter and use openat instead of open (outside of ld.so).
31232         Add new __opendir as wrapper around __opendirat.
31233         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31234         here without requiring old scandirat implementation.
31236 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
31238         * dirent/scandir.c (cancel_handler): Renamed to
31239         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
31240         defined.  Adjust users.
31241         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31242         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31244 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
31246         * string/test-string.h (IMPL): Use __STRING to expand name and then
31247         stringify it.
31249         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
31250         of cleanups.
31252 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31254         * string/Makefile: Update.
31255         (strop-tests): Append strncat.
31256         * string/test-wcscmp.c: New file.
31257         New comprehensive test for wcscmp.
31258         * string/test-strcmp.c: Update.
31259         (WIDE): New define.
31261 2011-07-22  Andreas Schwab  <schwab@redhat.com>
31263         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31264         line.
31266 2011-07-26  Andreas Schwab  <schwab@redhat.com>
31268         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31269         encoding to ACE if AI_IDN.
31271 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
31273         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31274         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31276 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31278         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31279         Fix overflow bug in strncat.
31280         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31282         * string/test-strncat.c: Update.
31283         Add new tests for checking overflow bugs.
31285 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31287         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31288         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31289         * sysdeps/i386/i686/multiarch/strcat.S: New file.
31290         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31291         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31292         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31293         * sysdeps/i386/i686/multiarch/strncat.S: New file.
31294         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31295         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31297         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31298         (USE_AS_STRCAT): Define.
31299         Add strcat and strncat support.
31300         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31302 2011-07-25  Andreas Schwab  <schwab@redhat.com>
31304         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31305         __n bigger than INT_MAX+1.
31306         (__strncmp_g): Likewise.
31308 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
31310         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31311         * libio/stido.h: Likewise.
31313         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31314         (AF_NFC): Define.
31315         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31316         (AF_NFC): Define.
31318         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31319         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31320         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31321         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31322         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31324         [BZ #13021]
31325         * scripts/test-installation.pl: Don't expect libnss_test1 to be
31326         installed.
31328         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31329         typo.
31330         (_dl_x86_64_save_sse): Likewise.
31332 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
31334         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31335         OSXSAVE.
31336         (_dl_x86_64_save_sse): Likewise.
31338         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31340         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31342 2011-07-21  Andreas Schwab  <schwab@redhat.com>
31344         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31345         change.
31346         (_dl_x86_64_save_sse): Use correct AVX check.
31348 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31350         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31351         bug in strncpy/strncat.
31352         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31354 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
31356         * string/tester.c (test_strcat): Add tests for different alignments
31357         of source and destination.
31358         (test_strncat): Likewise.
31360 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31362         [BZ #12852]
31363         * posix/glob.c (glob): Check passed in values before using them in
31364         expressions to avoid some overflows.
31365         (glob_in_dir): Likewise.
31367         [BZ #13007]
31368         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31369         check for AVX enablement so that we don't crash with old kernels and
31370         new hardware.
31371         * elf/tst-audit4.c: Add same checks here.
31372         * elf/tst-audit6.c: Likewise.
31374         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31376 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
31378         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31380 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31382         * po/cs.po: Update from translation team.
31383         * po/bg.po: Likewise.
31385 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
31387         * misc/sys/cdefs.h: Add support for const attribute.
31388         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31389         to gnu_dev_{major,minor,makedev} functions.
31391 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
31393         * intl/dcigettext.c (get_output_charset): Add missing bracket.
31395 2011-07-20  Andreas Schwab  <schwab@redhat.com>
31397         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31398         strlen results.
31400 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31402         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31403         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31404         register in order to avoid conflicts with the soft frame pointer
31405         being held in r11 when necessary.
31406         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31407         (INTERNAL_VSYSCALL_NCS): Likewise.
31409 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
31411         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31412         * elf/dl-fini.c (_dl_fini): Adjust caller.
31413         * elf/dl-close.c (_dl_close_worker): Likewise.
31414         * sysdeps/generic/ldsodefs.h: Adjust declaration.
31416 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31418         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31419         "aux_cache->nlibs < 0".
31421         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31422         in the reload-count case.
31424 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31426         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31427         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31428         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31429         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31430         * sysdeps/x86_64/multiarch/strcat.S: New file.
31431         * sysdeps/x86_64/multiarch/strncat.S: New file.
31432         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31433         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31434         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31435         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31436         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31437         (USE_AS_STRCAT): Define.
31438         Add strcat and strncat support.
31439         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31440         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31441         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31442         * string/strncat.c: Update.
31443         (USE_AS_STRNCAT): Define.
31444         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31445         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31446         and i7.
31447         * sysdeps/x86_64/multiarch/init-arch.h
31448         (bit_Prefer_PMINUB_for_stringop): New.
31449         (index_Prefer_PMINUB_for_stringop): Likewise.
31450         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31451         bit_Prefer_PMINUB_for_stringop.
31453 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31455         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31456         buffer64.
31457         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31458         of casting of buffer.
31459         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31460         buffer32 and buffer64.
31461         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31462         writes instead of casting of buffer.
31463         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31464         buffer32.
31465         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31466         casting of buffer.
31468 2011-07-19  Andreas Schwab  <schwab@redhat.com>
31470         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31472 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31474         * nscd/nscd.c (termination_handler): Don't do anything for a database
31475         if it has not yet been initialized.
31477 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31479         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31481 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31483         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31485 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31487         * po/nl.po: Update from translation team.
31488         * po/sv.po: Likewise.
31490 2011-07-16  Roland McGrath  <roland@hack.frob.com>
31492         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31493         now disallowed by GCC.
31495         * configure.in (use-default-link): Default to yes if a test -shared
31496         link meets our qualifications.
31497         * configure: Regenerated.
31499         * config.make.in (output-format): New variable.
31500         * configure.in: Check for ld --print-output-format support.
31501         * configure: Regenerated.
31502         * Makerules ($(common-objpfx)format.lds)
31503         [$(output-format) != unknown]: Just use $(output-format),
31504         instead of the linker-script munging.
31506 2011-07-14  Roland McGrath  <roland@hack.frob.com>
31508         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31509         of $(common-objpfx)shlib.lds.
31510         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31512         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31513         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31515         * configure.in (-z relro check): Adjust test code to add a large
31516         writable data section after it.
31517         * configure: Regenerated.
31519 2011-07-11  Roland McGrath  <roland@hack.frob.com>
31521         * configure.in (-z relro check): Fix test code to make the variable
31522         truly const.
31523         * configure: Regenerated.
31525 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
31527         * nscd/nscd.h (struct traced_file): Define.
31528         (struct database_dyn): Remove inotify_descr, reset_res, and filename
31529         elements.  Add traced_files.
31530         (inotify_fd): Declare.
31531         (register_traced_file): Declare.
31532         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31533         (inotify_fd): Export.
31534         (resolv_conf_descr): Remove.
31535         (nscd_init): Move inotify descriptor creation to main.
31536         Don't register files for notification here.
31537         (register_traced_file): New function.
31538         (invalidate_cache): Don't use reset_res to determine whether to call
31539         res_init, go through the list of registered files.
31540         (main_loop_poll): The inotify descriptors are now stored in the
31541         structures for the traced files.
31542         (main_loop_epoll): Likewise
31543         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
31544         to __nss_disable_nscd.
31545         * nscd/cache.c (prune_cache): There is no single inotify descriptor
31546         for a database anymore.  Check the records for all the registered
31547         files instead.
31548         * nss/Makefile (libnss_files-routines): Add files-init.
31549         (libnss_db-routines): Add db-init.
31550         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31551         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31552         * nss/nss_db/db-init.c: New file.
31553         * nss/nss_files/files-init.c: New file.
31554         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
31555         __nss_lookup_function.
31556         (__nss_lookup_function): Call nss_load_library.
31557         (nss_load_all_libraries): New function.
31558         (__nss_disable_nscd): Take parameter with callback function for files
31559         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
31560         used for the cached services.
31561         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31562         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31563         options for features to all the files in nscd.
31565         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31567 2011-07-10  Roland McGrath  <roland@hack.frob.com>
31569         * csu/elf-init.c (__libc_csu_init): Comment typo.
31571 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
31573         * po/pl.po: Update from translation team.
31574         * po/ja.po: Likewise.
31575         * po/ru.po: Likewise.
31576         * po/ko.po: Likewise.
31577         * po/fr.po: Likewise.
31579 2011-07-09  Roland McGrath  <roland@hack.frob.com>
31581         * configure.in (.ctors/.dtors header and trailer check):
31582         Use an empirical test on a built program.
31583         * configure: Regenerated.
31585         * configure.in (-z relro check): Use an empirical test on a built DSO.
31586         Detect, but do not require, on ia64.
31587         * configure: Regenerated.
31589         * configure.in (READELF): Find it with AC_CHECK_TOOL.
31590         Update tests that use readelf to use $READELF instead.
31591         * configure: Regenerated.
31593 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
31595         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31596         if the result is not used.
31598 2011-07-05  Andreas Jaeger  <aj@suse.de>
31600         [BZ#9696]
31601         * stdlib/tst-strtod.c: Add testcase.
31603 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
31605         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31606         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31607         The latter has a higher limit.  Take additional parameter to pass to
31608         the new function.
31609         (__pathconf): Pass file to __statfs_link_max.
31610         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31611         __statfs_link_max.
31612         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31613         __statfs_link_max.
31615         [BZ #12868]
31616         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31617         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31618         Handle Lustre.
31619         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31620         (__statfs_filesize_max): Likewise.
31621         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31623 2011-07-05  Andreas Jaeger  <aj@suse.de>
31625         * resolv/res_comp.c (dn_skipname): Remove unused variable.
31627 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
31629         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31630         `status' variable.
31631         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31632         Likewise.
31634 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
31636         * Makefile (strop-tests): Add strncat.
31637         * string/test-strncat.c: New file.
31639 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
31641         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31643 2011-06-21  Andreas Jaeger  <aj@suse.de>
31645         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31646         Copy rule from iconvdata/Makefile.
31648 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31650         [BZ #12922]
31651         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31652         but no long options are defined, just return 'W'.
31654 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
31656         [BZ #9696]
31657         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31659 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31661         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31662         netgroups to read.
31663         (innetgr): Likewise.
31665 2011-07-05  Roland McGrath  <roland@hack.frob.com>
31667         * config.make.in (install_root): Default to $(DESTDIR).
31669 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
31671         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31673 2011-07-02  Roland McGrath  <roland@hack.frob.com>
31675         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31677         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31678         containing directory rather than embedding absolute directory names.
31680         * scripts/check-local-headers.sh: Rewritten using awk.
31681         Match by word, not by line.  Print error messages for matches.
31682         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31684         * Makerules [shlib-lds-flags empty]:
31685         ($(common-objpfx)libc_pic.opts): New target.
31686         ($(common-objpfx)libc_pic.os.clean): New target.
31687         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31689         * config.make.in (OBJCOPY): New variable.
31690         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31691         * configure: Regenerated.
31693         * config.make.in (use-default-link): New variable.
31694         * configure.in (use_default_link): Grok --with-default-link to set it.
31695         * configure: Regenerated.
31696         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31697         (shlib-lds, shlib-lds-flags): Define to empty.
31699         * Makerules (shlib-lds): New variable.
31700         (shlib-lds-flags): New variable.
31701         (build-shlib, build-moduile, build-module-asneeded): Use it.
31702         ($(common-objpfx)libc.so): Use $(shlib-lds).
31703         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31704         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31706         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31707         DT_FLAGS/DT_FLAGS_1 with zero flags.
31709         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31710         linker script munging.
31712 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
31714         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31715         as 128-bit value.
31716         * crypt/sha512.c (sha512_process_block): Perform total addition using
31717         128-bit if possible.
31718         (__sha512_finish_ctx): Likewise.
31719         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31720         as 64-bit value.
31721         * crypt/sha256.c (SWAP64): Define.
31722         (sha256_process_block): Perform total addition using 64-bit if
31723         possible.
31724         (__sha256_finish_ctx): Likewise.
31726 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
31728         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
31729         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31730         * nscd/hstcache.c (cache_addhst): Likewise.
31731         * nscd/grpcache.c (cache_addgr): Likewise.
31732         * nscd/aicache.c (addhstaiX): Likewise
31733         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31735 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
31737         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31738         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31739         * nscd/hstcache.c (cache_addhst): Likewise.
31740         * nscd/grpcache.c (cache_addgr): Likewise.
31741         * nscd/aicache.c (addhstaiX): Likewise
31743 2011-07-01  Andreas Schwab  <schwab@redhat.com>
31745         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31746         domain only when needed.
31748 2011-06-30  Andreas Schwab  <schwab@redhat.com>
31750         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31751         is always restored.
31753 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
31755         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31756         are re-adding the entry.
31757         * nscd/servicescache.c (cache_addserv): Likewise.
31759 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
31761         * sysdeps/generic/dl-irel.h: fix protection against multiple
31762         inclusions.
31763         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31765 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
31767         [BZ #12935]
31768         * malloc/memusage.sh: Fix quoting in message.
31769         * debug/xtrace.sh: Likewise.
31771         * configure.in: Remove support for --experimental-malloc option, make
31772         it the default.
31773         * config.make.in: Likewise.
31774         * malloc/Makefile: Likewise.
31776 2011-06-27  Andreas Schwab  <schwab@redhat.com>
31778         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31779         two-byte characters.
31781 2011-06-27  Roland McGrath  <roland@hack.frob.com>
31783         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31784         AC_CACHE_CHECK invocation.
31785         * configure: Regenerated.
31787         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31789 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
31791         [BZ #12350]
31792         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
31793         bit from old_res_options.
31795         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31797         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31798         value type for setfct.
31800 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
31802         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31803         __gettimeofday instead of gettimeofday.
31805 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
31807         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31809 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31811         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31813         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31814         info.
31816 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31818         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31819         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31820         strcpy-sse2-unaligned strncpy-sse2-unaligned
31821         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31822         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31823         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31824         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31825         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31826         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31827         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31828         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31829         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31830         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31831         (STRCPY): Support SSE2 and SSSE3 versions.
31833 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
31835         [BZ #12874]
31836         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31837         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31838         kernels which artificially limit size of requests.
31840 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31842         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31843         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31844         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31845         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31846         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31847         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31848         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31849         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31850         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31851         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31852         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31853         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31854         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31855         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31856         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31857         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31858         Enable unaligned load optimization for Intel Core i3, i5 and i7
31859         processors.
31860         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31861         Define.
31862         (index_Fast_Unaligned_Load): Define.
31863         (HAS_FAST_UNALIGNED_LOAD): Define.
31865 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
31867         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31869 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31871         [BZ #12907]
31872         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31873         until it is clear that the information is realy needed.
31874         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31876 2011-06-22  Andreas Schwab  <schwab@redhat.com>
31878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31880 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31882         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31883         /sys/devices/system/cpu/online if it is usable.
31885         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31886         reading the information from the /proc filesystem to once a second.
31888 2011-06-21  Andreas Jaeger  <aj@suse.de>
31890         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31891         NULL after inclusion of kernel headers.
31893 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
31895         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31896         calls to internal_setent.
31898         [BZ #12885]
31899         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31900         addresses using gethostbyname4_r ignore IPv4 addresses.
31902         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31903         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
31905         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31907 2011-06-20  David S. Miller  <davem@davemloft.net>
31909         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31910         inclusions.
31911         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31913         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31914         (elf_irel): Use it.
31915         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31916         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31917         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31918         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31919         * sysdeps/x86_64/dl-irel.h: Likewise.
31921         * elf/dl-runtime.c: Use elf_ifunc_invoke.
31922         * elf/dl-sym.c: Likewise.
31924 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31926         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
31927         need to dereference resplen2.
31929 2011-06-14  Andreas Schwab  <schwab@redhat.com>
31931         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31933 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31935         * Makeconfig: Define vardbdir and inst_vardbdir.
31936         * nss/Makefile: Add rules to install db-Makefile.
31938         * nss/nss_db/db-XXX.c: Cleanup.
31940         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31941         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31942         GLIBC_PRIVATE.
31943         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31944         * nss/makedb.c: Implement -g option to specify that value strings
31945         are generated and should not be added to table iterated over for
31946         get*ent calls.
31947         * nss/nss_db/db-initgroups.c: New file.
31949         * nss/getent.c: Add support for initgroups lookups through getgrouplist
31950         interface.
31952         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31953         (internal_getgrouplist): Adjust to name change.
31954         Update use_initgroups_entry if this is not the first call.
31955         * nss/databases.def: Add initgroups entry.
31957         * nss/makedb.c (compute_tables): Check result of multiple hash table
31958         sizes to minimize maximum chain length.
31960 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
31962         * Versions.def: Add entry for libnss_db.
31963         * shlib-versions: Likewise.
31964         * nss/Makefile: Add rules to build libnss_db.
31965         * nss/Versions: Add libnss_db information.  Organize libnss_files
31966         entries better.
31967         * nss/db-Makefile: Add gshadow support.  Change rules for the new
31968         makedb progra.  Some minor improvements to generate smaller files.
31969         * nss/nss_db/nss_db.h: Move NSS database header data structures to
31970         here from...
31971         * nss/makedb.c: ...here.
31972         Improve database format to be smaller and require less memory at
31973         runtime.
31974         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
31975         db anymore.
31976         * nss/nss_db/db-netgrp.c: Likewise.
31977         * nss/nss_db/db-open.c: Likewise.
31978         * nss/nss_files/flies-XXX.x: Adjust comments.
31979         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31980         * nss/nss_files/files-grp.c: Likewise.
31981         * nss/nss_files/files-hosts.c: Likewise.
31982         * nss/nss_files/files-network.c: Likewise.
31983         * nss/nss_files/files-proto.c: Likewise.
31984         * nss/nss_files/files-pwd.c: Likewise.
31985         * nss/nss_files/files-rpc.c: Likewise.
31986         * nss/nss_files/files-service.c: Likewise.
31987         * nss/nss_files/files-sgrp.c: Likewise.
31988         * nss/nss_files/files-spwd.c: Likewise.
31989         * nss/nss_db/db-alias.c: Removed.
31990         * nss/nss_db/dummy-db.h: Removed.
31992 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
31994         * nss/makedb.c: Rewritten to not use database library.
31995         * nss/Makefile: Update to build new makedb program.
31997 2011-06-14  Andreas Jaeger  <aj@suse.de>
31999         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32000         memset declaration.
32002 2011-06-10  Andreas Schwab  <schwab@redhat.com>
32004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32005         tmpbuf.
32007 2011-06-10  Roland McGrath  <roland@hack.frob.com>
32009         * Makerules (shlib.lds): Fail if the linker script comes out empty.
32010         * elf/Makefile ($(objpfx)ld.so): Likewise.
32012         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32013         Don't list ld.so twice in dependencies.
32015         * posix/bug-regex31.c: Include <stdlib.h>.
32017         * nscd/hstcache.c (cache_addhst): Remove unused variable.
32019         * nis/nss_compat/compat-spwd.c
32020         (getspent_next_nss_netgr): Remove unused variable.
32021         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32023         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32024         nonmembers" output to use the right array.
32026         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32028         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32030         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32031         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32032         * catgets/gencat.c (read_input_file): Likewise.
32033         * locale/programs/locarchive.c (enlarge_archive): Likewise.
32035         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32036         variable definition inside #if's controlling its use.
32038         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32040         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32042         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32044         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32045         unreachable code.
32047         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32049         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32050         * configure: Regenerated.
32052         * Makerules: Revert last change.
32053         * elf/Makefile: Likewise.
32055 2011-06-09  Roland McGrath  <roland@hack.frob.com>
32057         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32058         * elf/Makefile ($(objpfx)librtld.os): Likewise.
32059         (reloc-link): Likewise.
32061 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
32063         * elf/Makefile: Add rules to build pldd.
32064         * elf/pldd.c: New file.
32065         * elf/pldd-xx.c: New file.
32067 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
32069         * version.h: Update for 2.15 development version.
32071 2011-06-07  David S. Miller  <davem@davemloft.net>
32073         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32074         ifuncs.
32075         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32076         elf_machine_lazy_rel): Likewise.
32077         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32078         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32079         elf_machine_lazy_rel): Likewise.
32080         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32081         dl_hwcap via passed in argument.
32082         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32083         Likewise.
32085 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32087         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
32089 2011-06-06  Roland McGrath  <roland@hack.frob.com>
32091         [BZ #12849]
32092         * manual/fdl-1.1.texi: New file, verbatim from:
32093         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32094         * manual/lgpl-2.1.texi: New file, verbatim from:
32095         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32096         * manual/Makefile (licenses): New variable, list those new file names.
32097         (texis): Use it.
32098         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32100         * manual/fdl.texi: File removed.
32101         * manual/lesser.texi: File removed.
32102         * manual/libc.texinfo (Copying, Documentation License):
32103         Use new @include file names, put @appendix directive before @include.
32105 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
32107         [BZ #12841]
32108         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32109         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32110         (mq_open): Add __NTH.
32112 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
32114         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32115         Assume Intel Core i3/i5/i7 processor if AVX is available.
32117 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32119         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32120         typo.
32122 2011-05-31  Andreas Schwab  <schwab@redhat.com>
32124         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32125         memory.  Use alloca_account.  Fix memory leak when retrying.
32127 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32129         * version.h (RELEASE): Bump for 2.14 release.
32130         * include/features.h (__GLIBC_MINOR__): Bump to 14.
32132         * config.make.in (RANLIB): Remove entry.
32134 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
32136         * po/Makefile (po-sed-cmd): Add ksh to extensions.
32137         (libc.pot): Work around missing support for .ksh extension in xgettext.
32139         [BZ #12684]
32140         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32141         if both request failed.
32142         (send_dg): In case of server errors clear resplen or *resplen2.
32144         [BZ #12454]
32145         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32146         when there are multiple maps.
32147         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32148         (_dl_fini): Remove test here.
32150         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32152 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
32154         [BZ #12350]
32155         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32156         bit from old_res_options.
32157         (gaih_inet): Likewise.
32159         [BZ #11099]
32160         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32161         as signed.
32163         * resolv/res_init.c (res_setoptions): Make the code more compact.
32165         [BZ #11558]
32166         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32167         set RES_USEVC.
32169         [BZ #11634]
32170         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32172         * malloc/malloc.h: Mark malloc hook variables as deprecated.
32174         [BZ #11781]
32175         * malloc/malloc.h: Declare malloc hook variables as volatile.
32177         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32178         in last patch.
32180         [BZ #11799]
32181         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32182         raise in the comment.
32183         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32184         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32185         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32187 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
32189         [BZ #12811]
32190         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32191         grow the buffers more if it already has to be sufficient.
32192         (build_wcs_upper_buffer): Likewise.
32193         * posix/regexec.c (check_matching): Likewise.
32194         (clean_state_log_if_needed): Likewise.
32195         (extend_buffers): Don't enlarge buffers beyond size of the input
32196         buffer.
32197         Patches mostly by Emil Wojak <emil@wojak.eu>.
32198         * posix/bug-regex32.c: New file.
32199         * posix/Makefile (tests): Add bug-regex32.
32201         * locale/findlocale.c (_nl_find_locale): Return right away if
32202         _nl_explode_name failed.
32203         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32205         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32207         * debug/xtrace.sh: Unify messages.
32208         * malloc/memusage.sh: Likewise.
32210         [BZ #12813]
32211         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32212         time symbol from vDSO.  Substitute with vsyscall if not available.
32213         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32214         __vdso_time.
32216         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32217         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32218         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32219         Add sendmmsg and internal_sendmmsg.
32220         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32221         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32222         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32224         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32225         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32226         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32228 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
32230         [BZ #12813]
32231         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32232         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
32233         available.
32234         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32235         __vdso_getcpu.
32237         [BZ #12814]
32238         * iconvdata/Makefile (tests): Add bug-iconv9.
32239         * iconvdata/bug-iconv9.c: New file.
32241 2011-05-27  Andreas Schwab  <schwab@redhat.com>
32243         [BZ #12814]
32244         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32246 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
32248         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32249         (struct user_regs_struct): Change intcs field back to cs.
32251 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
32253         * po/ja.po: Update from translation team.
32255 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
32257         [BZ #12795]
32258         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32259         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32261 2011-05-20  Andreas Schwab  <schwab@redhat.com>
32263         * stdlib/longlong.h: Update from GCC.
32265 2011-05-23  Andreas Schwab  <schwab@redhat.com>
32267         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32268         parameter name.
32269         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32270         Add parameter name.
32271         (__sysconf): Pass it down.
32273 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
32275         [BZ #12671]
32276         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32277         some situations.
32278         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32279         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32280         add in in __libc_use_alloca calls.  Adjust callers.
32281         (glob): Use malloc in some situations.
32283         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32284         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32285         pltexit.
32287 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
32289         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32290         and CLOCK_BOOTTIME_ALARM.
32292         [BZ #12782]
32293         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32294         is returned.
32296         * string/_strerror.c (__strerror_r): Print negative errors as signed
32297         numbers.
32299         [BZ #12777]
32300         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32301         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32302         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32304         * configure.in: Fix typo in redirection and correct removal of test
32305         files in two cases.
32307         [BZ #12788]
32308         * locale/setlocale.c (new_composite_name): Fix test to check for
32309         identical name of all categories.
32311         [BZ #12792]
32312         * libio/filedoalloc.c (local_isatty): New function.
32313         (_IO_file_doallocate): Use local_isatty.
32314         * stdio-common/perror.c (perror): In case a new stream is used
32315         forward the stream error.
32316         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32317         error flag.
32319 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
32321         [BZ #11869]
32322         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32323         alloca.
32324         * include/alloca.h (extend_alloca_account): Define.
32326         [BZ #11857]
32327         * posix/regex.h: Fix comments with documentation of user-accessible
32328         fields after compilation and describe correct free'ing of pattern
32329         after re_compile_pattern.
32330         Patch by Reuben Thomas <rrt@sc3d.org>.
32332 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
32334         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32335         and -mno-altivec to prevent the compiler from using Altivec and/or
32336         VSX instructions when the corresponding registers are not available.
32338 2011-05-19  Andreas Schwab  <schwab@redhat.com>
32340         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32342 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
32344         * libio/freopen.c (freopen): Use __dup2, not dup2.
32345         * libio/freopen64.c (freopen64): Likewise.
32347 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32349         [BZ #12775]
32350         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32351         * math/Makefile (tests): Add test-powl.
32352         (CFLAGS-test-powl.c): Define.
32353         * math/test-powl.c: New file.
32355 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32357         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32359 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
32361         [BZ #11837]
32362         * iconvdata/gb18030.c: Update to GB18020-2005.
32364 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
32366         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32367         RE_SYNTAX_POSIX_AWK): Update to match recent development.
32368         Patch by Aharon Robbins <arnold@skeeve.com>.
32370         [BZ #11892]
32371         * stdlib/putenv.c (putenv): Don't always create copy of the variable
32372         on the stack.
32374         [BZ #11895]
32375         * misc/pselect.c (__pselect): Handle timeout value errors hidden
32376         through underflows.
32378         [BZ #12766]
32379         * misc/error.c (error_at_line): Ensure file_name and old_file_name
32380         point to strings before performing equality test for error_one_per_line
32381         mode.
32383         [BZ #11697]
32384         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32386         [BZ #11820]
32387         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32388         (struct user_fpregs_struct): Avoid __uint*_t types.
32390         [BZ #6420]
32391         * malloc/mtrace.c (tr_where): Add additional parameter to point to
32392         symbol info.  Use it instead of calling _dl_addr locally.
32393         (lock_and_info): New function.
32394         (tr_freehook): Call lock_and_info and pass symbol info as additional
32395         parameter to tr_where.
32396         (tr_mallochook): Likewise.
32397         (tr_reallochook): Likewise.
32398         (tr_memalignhook): Likewise.
32400         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
32401         used and couldn't be at all thread-safe.
32403 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
32405         * libio/freopen.c (freopen): Don't close old file descriptor
32406         before the new one is opened.  Instead dup the new file descriptor
32407         to the old one after the new stream is created.
32408         * libio/freopen64.c (freopen64): Likewise.
32409         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32410         * libio/fileops.c (_IO_new_file_close_it): Handle new
32411         _IO_FLAGS2_NOCLOSE flag.
32412         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32413         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32414         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32415         _IO_FLAGS2_NOCLOSE flag.
32416         * include/unistd.h: Add hidden_proto for dup3.
32417         Define __have_dup3.
32418         * io/dup3.c: Define hidden symbol.
32419         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32421         [BZ #7101]
32422         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32423         when an incomplete long option is used.
32424         * posix/tst-getopt_long1.c: New file.
32425         * posix/Makefile (tests): Add tst-getopt_long1.
32427         [BZ #10138]
32428         * scripts/config.guess: Update from autoconf-2.68.
32429         * scripts/config.sub: Likewise.
32431         [BZ #10157]
32432         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32433         tests into ...
32434         (has_cpuclock): ...this.  New function.
32435         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32436         macro here based on has_cpuclock code.
32438         [BZ #10149]
32439         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32440         First byte (not low byte) is now always NUL.
32441         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32443         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32444         Use non-cancelable interfaces.
32446         [BZ #9809]
32447         * locale/iso-639.def: Add entry for Sorani.
32449         [BZ #11901]
32450         * include/stdlib.h: Move include protection to the right place.
32451         Define abort_msg_s.  Declare __abort_msg with it.
32452         * stdlib/abort.c (__abort_msg): Adjust type.
32453         * assert/assert.c (__assert_fail_base): New function.  Majority
32454         of code from __assert_fail.  Allocate memory for __abort_msg with
32455         mmap.
32456         (__assert_fail): Now call __assert_fail_base.
32457         * assert/assert-perr.c: Remove bulk of implementation.  Use
32458         __assert_fail_base.
32459         * include/assert.hL Declare __assert_fail_base.
32460         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32461         mmap.
32462         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32464 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
32466         [BZ #11952]
32467         [BZ #12453]
32468         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32469         until all modules are registered in the DTV.
32470         * elf/Makefile: Add rules to build and run tst-tls19.
32471         * elf/tst-tls19.c: New file.
32472         * elf/tst-tls19mod1.c: New file.
32473         * elf/tst-tls19mod2.c: New file.
32474         * elf/tst-tls19mod3.c: New file.
32475         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32477         [BZ #12083]
32478         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32479         correctly.
32481         [BZ #12601]
32482         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32483         two-byte sequence errors.
32484         * iconvdata/Makefile (tests): Add bug-iconv8.
32485         * iconvdata/bug-iconv8.c: New file.
32487         [BZ #12626]
32488         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32489         buf2 definition.
32491         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32493         [BZ #12432]
32494         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32495         (dummy_getcfa): New function.
32496         (init): Get _Unwind_GetCFA address, use dummy if not found.
32497         (backtrace_helper): In recursion check, also check whether CFA changes.
32498         (__backtrace): Completely initialize arg.
32500         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32501         storing incomplete byte sequence in state object.  Avoid testing for
32502         guaranteed too small input if we know there is enough data available.
32504 2011-05-11  Andreas Schwab  <schwab@redhat.com>
32506         * Makeconfig (+link-pie): Indent.
32507         * Rules (binaries-pie): Define if $(have-fpie) and
32508         $(build-shared).
32509         (binaries-shared): Also filter out $(binaries-pie).
32510         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32511         * nscd/Makefile (others-pie): Add nscd.
32512         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32513         ($(objpfx)nscd): Remove command override.
32514         * login/Makefile (others-pie): Add pt_chown.
32515         ($(objpfx)pt_chown): Remove command override.
32516         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32517         remove command overrides.
32519 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
32521         * libio/tst_putwc.c: Fix error messages.
32523         [BZ #12724]
32524         * libio/fileops.c (_IO_new_file_close_it): Always flush when
32525         currently writing and seek to current position when not.
32526         * libio/Makefile (tests): Add bug-fclose1.
32527         * libio/bug-fclose1.c: New file.
32529 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
32531         [BZ #12511]
32532         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32533         don't set DF_1_NODELETE here.
32534         (do_lookup_x): When entering new entry test for copy relocation
32535         and if necessary set DF_1_NODELETE flag.
32536         * elf/tst-unique4.cc: New file.
32537         * elf/tst-unique4.h: New file.
32538         * elf/tst-unique4lib.cc: New file.
32539         * elf/Makefile: Add rules to build and run tst-unique4.
32540         Patch by Piotr Bury <pbury@goahead.com>.
32542 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
32544         [BZ #12052]
32545         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32547         [BZ #12625]
32548         * misc/mntent_r.c (addmntent): Flush the stream after the output
32550         [BZ #12393]
32551         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32552         (is_trusted_path_normalize): Skip initial colon.  Append slash
32553         to empty buffer.  Duplicate is_trusted_path code but allow
32554         constructed patch to be prefix.
32555         (is_dst): Allow $ORIGIN followed by /.
32556         (_dl_dst_substitute): Correct clearing of check_for_trusted.
32557         Correct testing of result of is_trusted_path_normalize
32558         (decompose_rpath): Fix warning.
32560 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
32562         [BZ #11257]
32563         * grp/initgroups.c (internal_getgrouplist): When we found the service
32564         list through the initgroups entry in nsswitch.conf do not always
32565         continue on a successful lookup.  Don't always use the
32566         __nss_group_database value if it is set.
32567         * nss/nsswitch.conf (initgroups): Change action for successful db
32568         lookup to continue for compatibility.
32570 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
32572         [BZ #11532]
32573         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32574         and CP774 modules.
32575         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32576         and CP774 modules.
32577         * iconvdata/tst-tables.sh: Likewise.
32578         * iconvdata/cp770.c: New file.
32579         * iconvdata/cp771.c: New file.
32580         * iconvdata/cp772.c: New file.
32581         * iconvdata/cp773.c: New file.
32582         * iconvdata/cp774.c: New file.
32583         * iconvdata/testdata/CP770: New file.
32584         * iconvdata/testdata/CP770..UTF8: New file.
32585         * iconvdata/testdata/CP771: New file.
32586         * iconvdata/testdata/CP771..UTF8: New file.
32587         * iconvdata/testdata/CP772: New file.
32588         * iconvdata/testdata/CP772..UTF8: New file.
32589         * iconvdata/testdata/CP773: New file.
32590         * iconvdata/testdata/CP773..UTF8: New file.
32591         * iconvdata/testdata/CP774: New file.
32592         * iconvdata/testdata/CP774..UTF8: New file.
32594         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32595         END CHARMAP line.
32596         * iconvdata/gen-8bit-gap.sh: Likewise.
32597         * iconvdata/gen-8bit.sh: Likewise.
32599         * locale/iso-639.def: Add ary entry.
32601         [BZ #11258]
32602         * locale/C-translit.h.in: Add U20A1 transliteration.
32604         [BZ #12178]
32605         * locale/iso-639.def: Add wae entry.
32606         Patch by Kevin Bortis <bortis@translate-wae.ch>.
32608         [BZ #12545]
32609         * locale/programs/localedef.c (construct_output_path): Use ssize_t
32610         for n.
32612         [BZ #12711]
32613         * locale/C-translit.h.in: Add entry for U20B9.
32614         Patch by pravin.d.s@gmail.com.
32616 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
32618         [BZ #12713]
32619         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32620         ENAMETOOLONG use generic getcwd.
32621         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
32622         in rtld.  Use *stat64.
32623         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32624         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32625         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32626         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32627         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32628         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32629         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32630         __fstatat64 macros.
32631         * include/dirent.h: Add libc_hidden_proto for rewinddir.
32632         * dirent/rewinddir.c: Add libc_hidden_def.
32633         * sysdeps/mach/hurd/rewinddir.c: Likewise.
32634         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
32636         * include/dirent.h (__alloc_dir): Add flags parameter.
32637         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32638         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32639         __alloc_dir.
32640         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
32641         from fdopendir if O_CLOEXEC is already set.
32643 2011-03-15  Alan Modra  <amodra@gmail.com>
32645         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32646         l_tls_firstbyte_offset non-zero.  Save padding offset in
32647         l_tls_firstbyte_offset for later use.
32648         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32649         freeing static tls block.
32651 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
32653         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32654         where #ifdef was intended.  The intent is to prevent ARG_MAX from
32655         being defined by the kernel headers.
32657 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
32659         [BZ #12734]
32660         * resolv/resolv.h: Define RES_NOTLDQUERY.
32661         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32662         no-tld-query and set RES_NOTLDQUERY.
32663         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32664         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32665         modern BIND to search name as TLD unless forbidden.
32667 2011-05-07  Petr Baudis  <pasky@suse.cz>
32668             Ulrich Drepper  <drepper@gmail.com>
32670         [BZ #12393]
32671         * elf/dl-load.c (fillin_rpath): Move trusted path check...
32672         (is_trusted_path): ...to here.
32673         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32674         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32675         using is_trusted_path_normalize() in setuid scripts.
32677 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32679         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32680         __BEGIN/__END_DECLS.
32682 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
32684         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32685         NSS_STATUS_NOTFOUND if no record was found.
32687 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32689         * sunrpc/Makefile (headers): Add rpc/netdb.h.
32690         (headers-not-in-tirpc): Remove rpc/netdb.h
32691         * resolv/netdb.h: Revert last change.
32693 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32695         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32696         circular dependency between libgcc.a and libc.a.
32698 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32700         * resolv/netdb.h: Don't include <rpc/netdb.h>.
32701         * nis/Makefile: Don't install rpcsvc/*.
32702         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32703         instead of <rpc/types.h>.
32704         (MAXHOSTNAMELEN): Define.
32706 2011-05-03  Andreas Schwab  <schwab@redhat.com>
32708         * elf/ldconfig.c (add_dir): Don't crash on empty path.
32710 2011-04-28  Maciej Babinski  <mbabinski@google.com>
32712         [BZ #12714]
32713         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32714         gethostbyname4_r when IPv6 results are possible.
32716 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
32718         [BZ #12723]
32719         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32720         _PC_PIPE_BUF handling.
32722 2011-04-30  Bruno Haible  <bruno@clisp.org>
32724         [BZ #12717]
32725         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32726         * resolv/netdb.h (getnameinfo): Change type of flags parameter
32727         to 'int'.
32728         * inet/getnameinfo.c (getnameinfo): Likewise.
32730 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
32732         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32733         to groups setting in database lookup.
32734         * nss/nsswitch.conf: Add initgroups entry.
32736 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
32738         [BZ #12685]
32739         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32740         mode string.
32741         Patch by Eric Blake <eblake@redhat.com>.
32743 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
32745         * sunrpc/Makefile (need-export-routines): Add svc_run.
32746         (routines): Remove svc_run.
32747         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32748         * sunrpc/clnt_perr.c (clnt_perrno): Export.
32749         * sunrpc/svc_run.c (svc_run): Likewise.
32750         * sunrpc/svc_udp.c (svcudp_create): Likewise.
32752 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
32754         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32755         problem in reallocation in last patch.
32757 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
32759         * sunrpc/Makefile: Move inclusion of Rules.
32761 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32763         * nss/nss_files/files-initgroups.c: New file.
32764         * nss/Makefile (libnss_files-routines): Add files-initgroups.
32765         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32766         _nss_files_initgroups_dyn.
32768 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
32770         * elf/elf.h (R_ARM_IRELATIVE): Define.
32772 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32774         * po/ru.po: Update from translation team.
32776 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32778         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32779         dependencies.
32781 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
32783         [BZ #12653]
32784         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32785         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32786         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32787         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32788         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32790 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
32792         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32793         differing bytes.
32794         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32795         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32796         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32798 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32800         [BZ #12420]
32801         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32802         storing it.
32803         * stdlib/bug-getcontext.c: New file.
32804         * stdlib/Makefile: Add rules to build and run bug-getcontext.
32806 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32808         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32809         instructions into .machine "z9-109".
32810         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32811         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32813 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32815         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32816         between environment variables and auxiliary vector.
32818 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
32820         * Makefile: Add rules to build linkobj/libc.so.
32821         * include/libc-symbols.h: Define libc_hidden_nolink.
32822         * include/rpc/auth.h: Mark functions which are to be hidden.
32823         * include/rpc/auth_des.h: Likewise.
32824         * include/rpc/auth_unix.h: Likewise.
32825         * include/rpc/clnt.h: Likewise.
32826         * include/rpc/des_crypt.h: Likewise.
32827         * include/rpc/key_prot.h: Likewise.
32828         * include/rpc/pmap_clnt.h: Likewise.
32829         * include/rpc/pmap_prot.h: Likewise.
32830         * include/rpc/pmap_rmt.h: Likewise.
32831         * include/rpc/rpc_msg.h: Likewise.
32832         * include/rpc/svc.h: Likewise.
32833         * include/rpc/svc_auth.h: Likewise.
32834         * include/rpc/xdr.h: Likewise.
32835         * nis/Makefile: Link all DSOs against linkobj/libc.so.
32836         * nss/Makefile: Likewise.
32837         * sunrpc/Makefile: Don't install headers.  Build library with normal
32838         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
32839         * sunrpc/auth_des.c: Hide exported symbols by default, export some
32840         for the compat linking library.  Remove use of INTDEF/INTUSE.
32841         * sunrpc/auth_none.c: Likewise.
32842         * sunrpc/auth_unix.c: Likewise.
32843         * sunrpc/authdes_prot.c: Likewise.
32844         * sunrpc/authuxprot.c: Likewise.
32845         * sunrpc/clnt_gen.c: Likewise.
32846         * sunrpc/clnt_perr.c: Likewise.
32847         * sunrpc/clnt_raw.c: Likewise.
32848         * sunrpc/clnt_simp.c: Likewise.
32849         * sunrpc/clnt_tcp.c: Likewise.
32850         * sunrpc/clnt_udp.c: Likewise.
32851         * sunrpc/clnt_unix.c: Likewise.
32852         * sunrpc/des_crypt.c: Likewise.
32853         * sunrpc/des_soft.c: Likewise.
32854         * sunrpc/get_myaddr.c: Likewise.
32855         * sunrpc/key_call.c: Likewise.
32856         * sunrpc/key_prot.c: Likewise.
32857         * sunrpc/netname.c: Likewise.
32858         * sunrpc/pm_getmaps.c: Likewise.
32859         * sunrpc/pm_getport.c: Likewise.
32860         * sunrpc/pmap_clnt.c: Likewise.
32861         * sunrpc/pmap_prot.c: Likewise.
32862         * sunrpc/pmap_prot2.c: Likewise.
32863         * sunrpc/pmap_rmt.c: Likewise.
32864         * sunrpc/publickey.c: Likewise.
32865         * sunrpc/rpc_cmsg.c: Likewise.
32866         * sunrpc/rpc_common.c: Likewise.
32867         * sunrpc/rpc_dtable.c: Likewise.
32868         * sunrpc/rpc_prot.c: Likewise.
32869         * sunrpc/rpc_thread.c: Likewise.
32870         * sunrpc/rtime.c: Likewise.
32871         * sunrpc/svc.c: Likewise.
32872         * sunrpc/svc_auth.c: Likewise.
32873         * sunrpc/svc_authux.c: Likewise.
32874         * sunrpc/svc_raw.c: Likewise.
32875         * sunrpc/svc_run.c: Likewise.
32876         * sunrpc/svc_simple.c: Likewise.
32877         * sunrpc/svc_tcp.c: Likewise.
32878         * sunrpc/svc_udp.c: Likewise.
32879         * sunrpc/svc_unix.c: Likewise.
32880         * sunrpc/svcauth_des.c: Likewise.
32881         * sunrpc/xcrypt.c: Likewise.
32882         * sunrpc/xdr.c: Likewise.
32883         * sunrpc/xdr_array.c: Likewise.
32884         * sunrpc/xdr_float.c: Likewise.
32885         * sunrpc/xdr_intXX_t.c: Likewise.
32886         * sunrpc/xdr_mem.c: Likewise.
32887         * sunrpc/xdr_rec.c: Likewise.
32888         * sunrpc/xdr_ref.c: Likewise.
32889         * sunrpc/xdr_sizeof.c: Likewise.
32890         * sunrpc/xdr_stdio.c: Likewise.
32892 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
32894         [BZ #12650]
32895         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32896         * sysdeps/ia64/dl-tls.h: Likewise.
32897         * sysdeps/powerpc/dl-tls.h: Likewise.
32898         * sysdeps/s390/dl-tls.h: Likewise.
32899         * sysdeps/sh/dl-tls.h: Likewise.
32900         * sysdeps/sparc/dl-tls.h: Likewise.
32901         * sysdeps/x86_64/dl-tls.h: Likewise.
32902         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32904 2011-03-14  Andreas Schwab  <schwab@redhat.com>
32906         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32907         rpath element also skip the following colon.
32908         (expand_dynamic_string_token): Add is_path parameter and pass
32909         down to DL_DST_REQUIRED and _dl_dst_substitute.
32910         (decompose_rpath): Call expand_dynamic_string_token with
32911         non-zero is_path.  Ignore empty rpaths.
32912         (_dl_map_object_from_fd): Call expand_dynamic_string_token
32913         with zero is_path.
32915 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
32917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32918         Make cancelable.
32920 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
32922         [BZ #12655]
32923         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32924         Patch by Filipe David Manana <fdmanana@apache.org>.
32926 2011-04-07  Andreas Schwab  <schwab@redhat.com>
32928         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32929         Maintain aligned stack.
32930         (CHECK_RSP): Remove unused macro.
32932 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
32934         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32935         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32937 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
32939         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32941         * include/features.h: Mention __USE_XOPEN2K8 in comment.
32943 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
32945         [BZ #12518]
32946         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32947         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32948         * sysdeps/x86_64/memmove.c: New file.
32949         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32950         (memcpy): Renamed to ...
32951         (__new_memcpy): This.
32952         (memcpy): Provide GLIBC_2_14 memcpy.
32953         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32954         (memcpy): Provide GLIBC_2_2_5 memcpy.
32956 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32958         [BZ #12631]
32959         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32961 2011-03-30  Andreas Schwab  <schwab@redhat.com>
32963         * misc/syncfs.c: New file.
32964         * misc/Makefile (routines): Add syncfs.
32965         * posix/unistd.h: Declare syncfs.
32966         * sysdeps/unix/syscalls.list: Add syncfs.
32968 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32970         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32971         open_by_handle_at.
32972         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32973         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32974         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32975         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32976         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32977         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32978         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32980 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32982         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32983         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32984         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32985         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32986         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32987         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32988         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32990         * io/Makefile: Compile fallocate.c, fallocate64.c, and
32991         sync_file_range.c with -fexceptions.
32992         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32993         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32994         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32995         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32996         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32997         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32998         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32999         sync_file_range as cancellation point
33000         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
33001         now a wrapper around __call_sync_file_range with cancellation handling.
33002         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33003         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
33004         function name to __call_sync_file_range.
33005         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33006         Add call_sync_file_range.
33008 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33010         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33011         bits/timex.h.
33013 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33015         * iconv/iconv.h: Fix typo in comment.
33016         * io/fcntl.h: Likewise.
33017         * libio/stdio.h: Likewise.
33018         * posix/spawn.h: Likewise.
33019         * posix/unistd.h: Likewise.
33020         * stdlib/stdlib.h: Likewise.
33021         * time/time.h: Likewise.
33022         * wcsmbs/wchar.h: Likewise.
33024         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33025         open_by_handle): Add.
33026         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33027         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
33028         Augment a few comments.
33029         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33030         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33031         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33032         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33033         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33034         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33035         open_by_handle.
33037         * io/fcntl.h (AT_EMPTY_PATH): Define.
33039 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
33041         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33042         * sysdeps/unix/sysv/linux/bits/time.h: New file.
33043         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33044         to...
33045         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
33046         * Versions.def: Add GLIBC_2.14.
33047         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33048         Export.
33050 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
33052         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33053         round counter.
33054         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33056 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33058         [BZ #12597]
33059         * string/test-strncmp.c (do_page_test): New function.
33060         (check2): Likewise.
33061         (test_main): Call check2.
33062         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33064 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
33066         [BZ #12587]
33067         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33068         Handle cache information in CPU leaf 4.
33069         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33071 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
33073         [BZ #12583]
33074         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33075         character representation.
33076         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33078 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
33080         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33081         END(__isnan) to END(__isnanf) to match function entry point/label
33082         EALIGN(__isnanf,...).
33084 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
33086         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33088 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
33090         [BZ #12510]
33091         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33092         copy from the symbol referenced in the relocation to initialize the
33093         used variable.
33094         Patch by Piotr Bury <pbury@goahead.com>.
33095         * elf/Makefile: Add rules to build and tst-unique3.
33096         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33097         * elf/tst-unique3.cc: New file.
33098         * elf/tst-unique3.h: New file.
33099         * elf/tst-unique3lib.cc: New file.
33100         * elf/tst-unique3lib2.cc: New file.
33102         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33104 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
33106         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33107         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
33108         to _start.
33110 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
33112         * elf/dl-load.c (_dl_map_object): If we are looking for the first
33113         to-be-loaded object along a path to loader is ld.so.
33115 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33116             Ulrich Drepper  <drepper@gmail.com>
33118         * sysdeps/x86_64/memset.S: After aligning destination, code
33119         branches to different locations depending on the value of
33120         misalignment, when multiarch is enabled. Fix this.
33122 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33124         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33125         Set _x86_64_preferred_memory_instruction for AMD processsors.
33126         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33127         Set bit_Prefer_SSE_for_memop for AMD processors.
33129 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
33131         * libio/fmemopen.c (fmemopen): Optimize a bit.
33133 2011-03-03  Andreas Schwab  <schwab@redhat.com>
33135         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33137 2011-03-03  Roland McGrath  <roland@redhat.com>
33139         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33141 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
33143         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33144         __bzero_ultra1 instead of __memset_ultra1.
33146 2011-02-23  Andreas Schwab  <schwab@redhat.com>
33147             Ulrich Drepper  <drepper@gmail.com>
33149         [BZ #12509]
33150         * include/link.h (struct link_map): Add l_orig_initfini.
33151         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33152         returning unsuccessfully.
33153         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33154         close of a file loaded at startup, restore the original l_initfini
33155         list.
33156         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33157         list, store the pointer.
33158         * elf/Makefile ($(objpfx)noload-mem): New rule.
33159         (noload-ENV): Define.
33160         (tests): Add $(objpfx)noload-mem.
33161         * elf/noload.c: Include <memcheck.h>.
33162         (main): Call mtrace.  Close all opened handles.
33164 2011-02-17  Andreas Schwab  <schwab@redhat.com>
33166         [BZ #12454]
33167         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33168         dependencies are missing.
33170 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33172         Fix __if_freereq crash: Unlike the generic version which uses free,
33173         Hurd needs munmap.
33174         * sysdeps/mach/hurd/ifreq.h: New file.
33176 2011-01-27  Petr Baudis  <pasky@suse.cz>
33177             Ulrich Drepper  <drepper@gmail.com>
33179         [BZ 12445]#
33180         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33181         to extend_alloca().
33182         * stdio-common/bug23.c: New file.
33183         * stdio-common/Makefile (tests): Add bug23.
33185 2010-09-28  Andreas Schwab  <schwab@redhat.com>
33186             Ulrich Drepper  <drepper@gmail.com>
33188         [BZ #12489]
33189         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33190         before performing relro protection.  At old place add assertion
33191         to make sure nothing changed.
33193 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
33194             Glauber de Oliveira Costa  <glommer@gmail.com>
33196         * elf/elf.h: Add new ARM TLS relocs.
33198 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
33200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33201         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33202         cast from r3.
33203         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
33204         'tests' variable.
33205         * sysdeps/wordsize-64/tst-writev.c: New file.
33207 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
33209         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33210         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33211         insns in _dl_start to prevent a TOC reference before relocs are
33212         resolved.
33214 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
33216         [BZ #12469]
33217         * Makeconfig: Remove RANLIB definition.
33218         * Makerules: Don't use RANLIB.
33219         * aclocal.m4: Remove ranlib test.
33220         * configure.in: No need to check for ranlib.
33221         * elf/rtld-Rules: Don't use RANLIB.
33223 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33225         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33226         protection macro.
33227         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33228         inclusion protection macro.
33230         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33231         SIGRTMIN and SIGRTMAX and print information in that case only when
33232         SIGRTMIN is defined.
33234 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
33236         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33237         arginfo fn returning -1.
33239         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33240         and thousands string is zero terminated.
33242 2011-02-03  Andreas Schwab  <schwab@redhat.com>
33244         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33245         sysdeps/unix/sysv/linux/bits/socket.h.
33247 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33249         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33250         (__CPU_COUNT): Remove old macros.
33251         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33252         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33253         (__CPU_ALLOC, __CPU_FREE): Add macros.
33254         (__sched_cpualloc, __sched_cpufree): Add declarations.
33256 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
33258         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33259         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33260         * nscd/aicache.c (addhstaiX): Return timeout of added value.
33261         (readdhstai): Return value of addhstaiX call.
33262         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33263         (addgrbyX): Return value returned by cache_addgr.
33264         (readdgrbyname): Return value returned by addgrbyX.
33265         (readdgrbygid): Likewise.
33266         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33267         (addpwbyX): Return value returned by cache_addpw.
33268         (readdpwbyname): Return value returned by addhstbyX.
33269         (readdpwbyuid): Likewise.
33270         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33271         (addservbyX): Return value returned by cache_addserv.
33272         (readdservbyname): Return value returned by addservbyX:
33273         (readdservbyport): Likewise.
33274         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33275         (addhstbyX): Return value returned by cache_addhst.
33276         (readdhstbyname): Return value returned by addhstbyX.
33277         (readdhstbyaddr): Likewise.
33278         (readdhstbynamev6): Likewise.
33279         (readdhstbyaddrv6): Likewise.
33280         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33281         (readdinitgroups): Return value returned by addinitgroupsX.
33282         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33283         (prune_cache): Keep track of timeout value of re-added entries.
33284         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33285         * nscd/nscd.h: Adjust prototypes of readd* functions.
33287 2011-02-04  Roland McGrath  <roland@redhat.com>
33289         * nis/nis_server.c (nis_servstate): Use the right name for 0.
33290         (nis_stats): Likewise.
33291         * nis/nis_modify.c (nis_modify): Likewise.
33292         * nis/nis_remove.c (nis_remove): Likewise.
33293         * nis/nis_add.c (nis_add): Likewise.
33295         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33297         * posix/fnmatch_loop.c: Add some consts.
33299         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33301 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
33303         [BZ #12460]
33304         * config.make.in (config-cflags-novzeroupper): Define.
33305         * configure.in: Substitute libc_cv_cc_novzeroupper.
33306         * elf/Makefile (AVX-CFLAGS): Define.
33307         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33308         (CFLAGS-tst-auditmod4a.c): Likewise.
33309         (CFLAGS-tst-auditmod4b.c): Likewise.
33310         (CFLAGS-tst-auditmod6b.c): Likewise.
33311         (CFLAGS-tst-auditmod6c.c): Likewise.
33312         (CFLAGS-tst-auditmod7b.c): Likewise.
33313         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33315 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
33317         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33318         function to the callback.
33319         Patch partly by Jiri Olsa <jolsa@redhat.com>.
33321 2011-02-02  Andreas Schwab  <schwab@redhat.com>
33323         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33324         of errno.
33326 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
33328         [BZ #11724]
33329         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33330         of constructors.
33331         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33332         of destructors.
33333         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33335         [BZ #11724]
33336         * elf/Makefile: Add rules to build and run new test.
33337         * elf/tst-initorder.c: New file.
33338         * elf/tst-initorder.exp: New file.
33339         * elf/tst-initordera1.c: New file.
33340         * elf/tst-initordera2.c: New file.
33341         * elf/tst-initordera3.c: New file.
33342         * elf/tst-initordera4.c: New file.
33343         * elf/tst-initorderb1.c: New file.
33344         * elf/tst-initorderb2.c: New file.
33345         * elf/tst-order-a1.c: New file.
33346         * elf/tst-order-a2.c: New file.
33347         * elf/tst-order-a3.c: New file.
33348         * elf/tst-order-a4.c: New file.
33349         * elf/tst-order-b1.c: New file.
33350         * elf/tst-order-b2.c: New file.
33351         * elf/tst-order-main.c: New file.
33352         New test case by George Gensure <werkt0@gmail.com>.
33354 2010-10-01  Andreas Schwab  <schwab@redhat.com>
33356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33357         decoding ACE if AI_CANONIDN.
33359 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
33361         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33363 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
33365         * version.h (RELEASE): Bump for 2.13 release.
33366         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33368         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33370         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33371         MADV_NOHUGEPAGE.
33372         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33373         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33374         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33375         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33376         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33377         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33379         * posix/getconf.c: Update copyright year.
33380         * catgets/gencat.c: Likewise.
33381         * csu/version.c: Likewise.
33382         * debug/catchsegv.sh: Likewise.
33383         * debug/xtrace.sh: Likewise.
33384         * elf/ldconfig.c: Likewise.
33385         * elf/ldd.bash.in: Likewise.
33386         * elf/sprof.c (print_version): Likewise.
33387         * iconv/iconv_prog.c: Likewise.
33388         * iconv/iconvconfig.c: Likewise.
33389         * locale/programs/locale.c: Likewise.
33390         * locale/programs/localedef.c: Likewise.
33391         * malloc/memusage.sh: Likewise.
33392         * malloc/mtrace.pl: Likewise.
33393         * nscd/nscd.c (print_version): Likewise.
33394         * nss/getent.c: Likewise.
33396         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33397         PF_CAIF, and PF_ALG.
33398         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33400 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
33402         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33403         (modules-names): Use them.
33404         (ifunc-test-modules, ifunc-pie-tests): Define.
33405         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33406         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33407         (test-extras): Likewise.
33408         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33409         $(compile-command.c).
33410         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33411         (all-built-dso): Define.
33412         (check-textrel.out, check-execstack.out): Depend on it.
33414         * configure.in: Don't override --enable-multi-arch.
33416 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
33418         [BZ #6812]
33419         * nscd/hstcache.c (tryagain): Define.
33420         (cache_addhst): Return tryagain not notfound for temporary errors.
33421         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33422         failed.
33424 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
33426         [BZ #10563]
33427         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33428         to make the syscall.
33429         * sysdeps/unix/sysv/linux/setgroups.c: New file.
33431         [BZ #12378]
33432         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33433         and fall back to matching as normal character if the string ends before
33434         the matching ']' is found.  This is what POSIX requires.
33435         * posix/testfnm.c: Adjust test result.
33436         * posix/globtest.sh: Adjust test result.  Add new test.
33437         * posix/tst-fnmatch.input: Likewise.
33438         * posix/tst-fnmatch2.c: Add new test.
33440 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
33442         * elf/Makefile (check-execstack): Revert last change.  Depend on
33443         check-execstack.h.
33444         (check-execstack.h): New target.
33445         (generated): Add check-execstack.h.
33446         * elf/check-execstack.c: Include "check-execstack.h".
33447         (main): Revert last change.
33448         (handle_file): Return zero if GNU_STACK is absent and
33449         DEFAULT_STACK_PERMS doesn't include PF_X.
33451 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
33453         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33454         in child fails because the descriptor is already closed.
33455         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33456         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33457         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33459         [BZ #12397]
33460         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33461         syscall.
33463         [BZ #10484]
33464         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33465         temporary buffer used to handle multi lookups locally.
33466         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33468 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33470         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33471         loader is ld.so.
33473 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
33475         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33476         alignment for SSE2.
33478 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33480         [BZ #12394]
33481         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33482         characters.  When rounding increased number of integer digits recompute
33483         number of groups.
33484         * stdio-common/tst-grouping.c: New file.
33485         * stdio-common/Makefile: Add rules to build and run tst-grouping.
33487 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
33489         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33490         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
33492         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33493         void.
33494         * bits/select.h: Likewise.
33496 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
33498         * po/ja.po: Update from translation team.
33500 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
33502         [BZ #11155]
33503         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33504         implementation just like for lxstat, fxstatat, et al.
33506 2010-12-27  Jim Meyering  <meyering@redhat.com>
33508         [BZ #12348]
33509         * posix/regexec.c (build_trtable): Return failure indication upon
33510         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
33512 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
33514         [BZ #12201]
33515         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33516         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33517         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33518         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33520         [BZ #12207]
33521         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33523         [BZ #12204]
33524         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33525         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33527 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
33529         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33530         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33531         script has SORT_BY_INIT_PRIORITY.
33532         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33533         NO_CTORS_DTORS_SECTIONS is defined.
33534         * elf/soinit.c: Likewise.
33535         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33536         NO_CTORS_DTORS_SECTIONS is defined.
33537         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33538         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33539         * sysdeps/sh/init-first.c: Likewise.
33540         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33542 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
33544         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33545         always use the slow path.
33547 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
33549         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33550         similar rule which adds the sysdep directories to the header search in
33551         order to pick up the correct platform stackinfo.h.
33552         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33553         perform test if it is, otherwise return successfully without testing.
33554         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33555         DEFAULT_STACK_PERMS define in stackinfo.h.
33556         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33557         defined in stackinfo.h.
33558         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33559         DEFAULT_STACK_PERMS defined in stackinfo.h.
33560         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33561         * sysdeps/ia64/stackinfo.h: Likewise.
33562         * sysdeps/s390/stackinfo.h: Likewise.
33563         * sysdeps/sh/stackinfo.h: Likewise.
33564         * sysdeps/sparc/stackinfo.h: Likewise.
33565         * sysdeps/x86_64/stackinfo.h: Likewise.
33566         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33567         PF_X for powerpc64.  Retain PF_X for powerpc32.
33569 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
33571         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33572         accurately.
33573         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33574         GETDENTS_64BIT_ALIGNED.
33576 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
33578         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33580 2010-12-10  Andreas Schwab  <schwab@redhat.com>
33582         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33583         _GNU_SOURCE.
33585         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33586         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33587         Remove __restrict.
33588         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33589         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33591 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
33593         [BZ #11655]
33594         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33595         are initialized.
33597 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
33599         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33601 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
33603         * po/it.po: Update from translation team.
33605 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
33607         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33608         unused codes.
33610 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
33612         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33614 2010-11-24  Andreas Schwab  <schwab@redhat.com>
33616         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33617         specially.
33618         (gaih_getanswer_slice): Likewise.
33620 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
33622         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33624 2010-05-31  Petr Baudis  <pasky@suse.cz>
33626         [BZ #11149]
33627         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33628         silently even in the chroot mode.
33630 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
33632         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33633         last patch a bit.  Pretty printing
33635 2010-05-31  Petr Baudis <pasky@suse.cz>
33637         [BZ #10085]
33638         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33639         initialization of skip_initgroups_dyn.
33641 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
33643         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33644         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33646 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
33648         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33650 2010-11-11  Andreas Schwab  <schwab@redhat.com>
33652         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33653         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33654         (tst-fnmatch-ENV): Set MALLOC_TRACE.
33655         ($(objpfx)tst-fnmatch-mem): New rule.
33656         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33657         * posix/tst-fnmatch.c (main): Call mtrace.
33659 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
33661         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33662         Support Intel processor model 6 and model 0x2c.
33664 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
33666         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33667           signed comparison.
33669 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
33671         [BZ #12205]
33672         * string/test-strncasecmp.c (check_result): New function.
33673         (do_one_test): Use it.
33674         (check1): New function.
33675         (test_main): Use it.
33676         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33677         Support strcasecmp and strncasecmp.
33679 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
33681         [BZ #12194]
33682         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33683         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33685 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33687         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33688         IFUNC support.
33689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33690         memset-x86-64.
33691         * sysdeps/x86_64/multiarch/bzero.S: New file.
33692         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33693         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33694         * sysdeps/x86_64/multiarch/memset.S: New file.
33695         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33696         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33697         Set bit_Prefer_SSE_for_memop for Intel processors.
33698         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33699         Define.
33700         (index_Prefer_SSE_for_memop): Define.
33701         (HAS_PREFER_SSE_FOR_MEMOP): Define.
33703 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
33705         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33706         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33708 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
33710         [BZ #12191]
33711         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33712         (__x86_64_raw_data_cache_size_half): Likewise.
33713         (__x86_64_raw_shared_cache_size): Likewise.
33714         (__x86_64_raw_shared_cache_size_half): Likewise.
33716         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33717         (__x86_64_raw_data_cache_size_half): Likewise.
33718         (__x86_64_raw_shared_cache_size): Likewise.
33719         (__x86_64_raw_shared_cache_size_half): Likewise.
33720         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33721         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33722         and __x86_64_raw_shared_cache_size_half.  Round
33723         __x86_64_data_cache_size_half, __x86_64_data_cache_size
33724         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33725         to multiple of 256 bytes.
33727 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
33729         [BZ #12167]
33730         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33731         of inacessible symlinks.  Verify result of symlink before returning it.
33732         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33733         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33735 2010-10-28  Erich Ritz  <erichritz@gmail.com>
33737         * math/math.h (isinf): Fix typo in comment.
33739 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
33741         * po/da.po: Update from translation team.
33743 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
33745         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33746         is added to the list.
33748 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33749             Ulrich Drepper  <drepper@gmail.com>
33751         * elf/dl-object.c (_dl_new_object): Don't append the new object to
33752         the global list here.  Move code to...
33753         (_dl_add_to_namespace_list): ...here.  New function.
33754         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33755         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33756         * elf/dl-load.c (lose): Don't remove the element from the list.
33757         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33758         (_dl_map_object): Likewise.
33760 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
33762         [BZ #12159]
33763         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33764         into all bytes of SSE register.
33765         Patch by Richard Li <richardpku@gmail.com>.
33767 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
33769         [BZ #12140]
33770         * malloc/malloc.c (_int_free): Fill correct number of bytes when
33771         perturbing.
33773 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
33775         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33776         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33777         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33778         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33780         submachine.
33781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33783 2010-10-22  Andreas Schwab  <schwab@redhat.com>
33785         * include/dlfcn.h (__RTLD_SECURE): Define.
33786         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
33787         mode & __RTLD_SECURE instead.
33788         (open_path): Rename preloaded parameter to secure.
33789         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33790         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33791         * elf/dl-deps.c (openaux): Likewise.
33792         * elf/rtld.c (struct map_args): Remove is_preloaded.
33793         (map_doit): Don't use it.
33794         (dl_main): Likewise.
33795         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33796         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33798 2010-09-09  Andreas Schwab  <schwab@redhat.com>
33800         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33801         (sysd-rules-targets): Remove duplicates.
33802         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33803         rtld-%.$o dependency.
33805 2010-10-18  Andreas Schwab  <schwab@redhat.com>
33807         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33808         _dl_map_object do it.
33810 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
33812         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33813         fast fma builtins, define the macros in the C99 standard.
33814         (FP_FAST_FMAF): Likewise.
33815         (FP_FAST_FMAL): Likewise.
33816         * sysdeps/x86_64/bits/mathdef.h: Likewise.
33818         * bits/mathdef.h: Update copyright year.
33819         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33821 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
33823         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33824         builtins, define the macros in the C99 standard.
33825         (FP_FAST_FMAF): Likewise.
33826         (FP_FAST_FMAL): Likewise.
33827         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33828         multiply/add.
33829         (FP_FAST_FMAF): Likewise.
33831 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
33833         [BZ #3268]
33834         * math/libm-test.inc (fma_test): Some new testcases.
33835         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33836         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33837         y and infinite z.  Do multiplication by C already in long double.
33838         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33839         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33840         y and infinite z.  Do bitwise or of inexact bit into u.d.
33841         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33842         * sysdeps/i386/fpu/s_fmaf.S: Removed.
33843         * sysdeps/i386/fpu/s_fma.S: Removed.
33844         * sysdeps/i386/fpu/s_fmal.S: Removed.
33846 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
33848         [BZ #3268]
33849         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33850         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33851         computation is not scheduled after fetestexcept.  Fix value
33852         of minimum denormal long double.
33854 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
33856         [BZ #3268]
33857         * math/libm-test.inc (fma_test): Add some more tests.
33858         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33859         correctly.
33861 2010-10-15  Andreas Schwab  <schwab@redhat.com>
33863         * scripts/data/localplt-s390-linux-gnu.data: New file.
33864         * scripts/data/localplt-s390x-linux-gnu.data: New file.
33866 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
33868         [BZ #3268]
33869         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33870         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33871         instead of dbl-64.
33872         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33873         inlines.
33874         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33875         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33876         if one of x and y is very large and the other is subnormal.
33877         * sysdeps/s390/fpu/s_fmaf.c: New file.
33878         * sysdeps/s390/fpu/s_fma.c: New file.
33879         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33880         * sysdeps/powerpc/fpu/s_fma.S: New file.
33881         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33882         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33883         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33885 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
33887         [BZ #3268]
33888         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33889         fma tests.
33890         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33891         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33892         * sysdeps/i386/i686/multiarch/s_fma.c: Include
33893         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33894         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33895         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33896         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33898 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
33900         [BZ #12078]
33901         * posix/regcomp.c (parse_branch): One more memory leak plugged.
33902         * posix/bug-regex31.input: Add test case.
33904 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33906         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33907         * posix/bug-regex31.input: New file.
33909         [BZ #12078]
33910         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33911         (parse_sub_exp): Fix last change, use postorder.
33913         * posix/bug-regex31.c: New file.
33914         * posix/Makefile: Add rules to build and run bug-regex31.
33916         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33918         [BZ #12078]
33919         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33921         [BZ #12108]
33922         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33923         to have entries in sys_siglist.
33925         [BZ #12093]
33926         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33927         be NULL.
33929 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
33931         [BZ #3268]
33932         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33933         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33934         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33935         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33936         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33937         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33938         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33939         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33940         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33941         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33942         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33943         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33944         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33945         * math/ftestexcept.c (fetestexcept): Likewise.
33946         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33947         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33948         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33949         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33950         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33951         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33952         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33954 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33956         [BZ #12107]
33957         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33958         newline.
33960 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
33962         * string/bug-strstr1.c: New file.
33963         * string/Makefile: Add rules to build and run bug-strstr1.
33965 2010-10-05  Eric Blake  <eblake@redhat.com>
33967         [BZ #12092]
33968         * string/str-two-way.h (two_way_long_needle): Always clear memory
33969         when skipping input due to the shift table.
33971 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
33973         [BZ #12005]
33974         * malloc/mcheck.c: Handle large requests.
33976         [BZ #12077]
33977         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33978         for strncmp and strncasecmp.
33979         * string/stratcliff.c: Add tests for strcmp and strncmp.
33980         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33982 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33984         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33985         __set_fpscr.
33987 2010-09-30  Andreas Jaeger  <aj@suse.de>
33989         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33990         (CGROUP_SUPER_MAGIC): Define.
33991         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33992         Handle btrfs and cgroup file systems.
33993         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33994         Likewise.
33996 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
33998         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33999         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34001 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34003         [BZ #12067]
34004         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34005         trying to locate the ELF header.
34007 2010-09-27  Andreas Schwab  <schwab@redhat.com>
34009         [BZ #11611]
34010         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34011         Mask out sign-bit copies when constructing f_fsid.
34013 2010-09-24  Petr Baudis <pasky@suse.cz>
34015         * debug/stack_chk_fail_local.c: Add missing licence exception.
34016         * debug/warning-nop.c: Likewise.
34018 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
34020         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34021         implementing getdents64 using getdents syscall, set d_type if
34022         __ASSUME_GETDENTS32_D_TYPE.
34024 2010-09-16  Andreas Schwab  <schwab@redhat.com>
34026         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34027         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34029 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
34031         [BZ #12037]
34032         * posix/unistd.h: Undo change of feature selection for ftruncate from
34033         2010-01-11.
34035 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
34037         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34038         detection.
34040 2010-09-20  Andreas Schwab  <schwab@redhat.com>
34042         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34043         fanotify_mark.
34044         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34046 2010-09-14  Andreas Schwab  <schwab@redhat.com>
34048         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34049         variables after CHECK_SP call.
34050         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34052 2010-09-13  Andreas Schwab  <schwab@redhat.com>
34053             Ulrich Drepper  <drepper@redhat.com>
34055         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34056         re-relocationg ld.so.
34057         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34058         _dl_init_paths call.
34059         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
34060         here anymore.
34062 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
34064         * resolv/res_init.c (__res_vinit): Count the default server we added.
34066 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
34067             Ulrich Drepper  <drepper@redhat.com>
34069         [BZ #11968]
34070         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34071         (____longjmp_chk): Use %ebx for saving value across system call.
34072         Add unwind info.
34074 2010-09-06  Andreas Schwab  <schwab@redhat.com>
34076         * manual/Makefile: Don't mix pattern rules with normal rules.
34078 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34080         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34081         operation.
34082         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34083         * libio/iofopncook.c (_IO_cookie_init): Likewise.
34084         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34085         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34086         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34087         Likewise.
34089 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
34091         [BZ #11979]
34092         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34093         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34095 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
34097         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34098         * sysdeps/x86_64/addmul_1.S: Likewise.
34099         * sysdeps/x86_64/lshift.S: Likewise.
34100         * sysdeps/x86_64/mul_1.S: Likewise.
34101         * sysdeps/x86_64/rshift.S: Likewise.
34102         * sysdeps/x86_64/sub_n.S: Likewise.
34103         * sysdeps/x86_64/submul_1.S: Likewise.
34105 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34107         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34108         Define __sched_param instead of SCHED_* and sched_param when
34109         <bits/sched.h> is included with __need_schedparam defined.
34110         * bits/sched.h [__need_schedparam]
34111         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34112         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34113         (__defined_schedparam): Define to 1.
34114         (__sched_param): New structure, identical to sched_param.
34115         (__need_schedparam): Undefine.
34117 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
34119         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34120         (epoll_create1): Declare.
34122         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34124 2010-08-31  Andreas Schwab  <schwab@redhat.com>
34126         [BZ #7066]
34127         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34128         shifting retval into place.
34130 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
34132         * nis/rpcsvc/nis.h: Update copyright notice.
34133         * nis/rpcsvc/nis.x: Likewise.
34134         * nis/rpcsvc/nis_callback.h: Likewise.
34135         * nis/rpcsvc/nis_callback.x: Likewise.
34136         * nis/rpcsvc/nis_object.x: Likewise.
34137         * nis/rpcsvc/nis_tags.h: Likewise.
34138         * nis/rpcsvc/yp.h: Likewise.
34139         * nis/rpcsvc/yp.x: Likewise.
34140         * nis/rpcsvc/ypupd.h: Likewise.
34141         * nis/yp_xdr.c: Likewise.
34142         * nis/ypupdate_xdr.c: Likewise.
34144         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
34145         mainly the body of pmap_getport.  Add parameters to specify timeouts.
34146         (pmap_getport): Use __libc_rpc_getport.
34147         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34148         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34149         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34151 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
34153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34154         fanotify_mark.
34156 2010-08-27  Roland McGrath  <roland@redhat.com>
34158         * sysdeps/i386/i686/multiarch/Makefile
34159         (CFLAGS-varshift.c): New variable.
34161 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
34163         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34164         * sysdeps/i386/i686/multiarch/varshift.c: New file.
34166         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34168         * sysdeps/x86_64/strlen.S: Minimal code improvement.
34170 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
34172         * sysdeps/x86_64/strlen.S: Unroll the loop.
34173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34174         strlen-sse2 strlen-sse2-bsf.
34175         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34176         __strlen_no_bsf if bit_Slow_BSF is set.
34177         (__strlen_sse42): Removed.
34178         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34179         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34181 2010-08-25  Roland McGrath  <roland@redhat.com>
34183         * sysdeps/x86_64/multiarch/varshift.S: File removed.
34184         * sysdeps/x86_64/multiarch/varshift.c: New file.
34185         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34186         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34187         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34188         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34190 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
34192         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34193         strlen-sse2 strlen-sse2-bsf.
34194         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34195         __strlen_sse2_bsf if bit_Slow_BSF is unset.
34196         (__strlen_sse2): Removed.
34197         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34198         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34199         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34200         bit_Slow_BSF for Atom.
34201         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34202         (index_Slow_BSF): Define.
34203         (HAS_SLOW_BSF): Define.
34205 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
34207         [BZ #10851]
34208         * resolv/res_init.c (__res_vinit): When no server address at all
34209         is given default to loopback.
34211 2010-08-24  Roland McGrath  <roland@redhat.com>
34213         * configure.in: Remove config-name.h generation.
34214         * configure: Regenerated.
34215         * config-name.in: File removed.
34216         * scripts/config-uname.sh: New file.
34217         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34218         ($(objdir)config-name.h): New target.
34220         * sunrpc/rpc_parse.h: Avoid nested comment.
34222 2010-08-24  Richard Henderson  <rth@redhat.com>
34223             Ulrich Drepper  <drepper@redhat.com>
34224             H.J. Lu  <hongjiu.lu@intel.com>
34226         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34227         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34228         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34229         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
34230         _mm_alignr_epi8 with _mm_loadu_si128.
34231         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34232         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34233         (__m128i_shift_right): Removed.
34234         * sysdeps/i386/i686/multiarch/varshift.h: New file.
34235         * sysdeps/i386/i686/multiarch/varshift.S: New file.
34236         * sysdeps/x86_64/multiarch/varshift.h: New file.
34237         * sysdeps/x86_64/multiarch/varshift.S: New file.
34239 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
34241         * configure.in: Move assembler checks to before sysdep dir checking.
34243 2010-08-20  Petr Baudis  <pasky@suse.cz>
34245         * LICENSES: Sync the sunrpc license.
34247 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
34249         * sunrpc/auth_des.c: Update copyright notice once again.
34250         * sunrpc/auth_none.c: Likewise.
34251         * sunrpc/auth_unix.c: Likewise.
34252         * sunrpc/authdes_prot.c: Likewise.
34253         * sunrpc/authuxprot.c: Likewise.
34254         * sunrpc/bindrsvprt.c: Likewise.
34255         * sunrpc/clnt_gen.c: Likewise.
34256         * sunrpc/clnt_perr.c: Likewise.
34257         * sunrpc/clnt_raw.c: Likewise.
34258         * sunrpc/clnt_simp.c: Likewise.
34259         * sunrpc/clnt_tcp.c: Likewise.
34260         * sunrpc/clnt_udp.c: Likewise.
34261         * sunrpc/clnt_unix.c: Likewise.
34262         * sunrpc/des_crypt.c: Likewise.
34263         * sunrpc/des_soft.c: Likewise.
34264         * sunrpc/get_myaddr.c: Likewise.
34265         * sunrpc/getrpcport.c: Likewise.
34266         * sunrpc/key_call.c: Likewise.
34267         * sunrpc/key_prot.c: Likewise.
34268         * sunrpc/openchild.c: Likewise.
34269         * sunrpc/pm_getmaps.c: Likewise.
34270         * sunrpc/pm_getport.c: Likewise.
34271         * sunrpc/pmap_clnt.c: Likewise.
34272         * sunrpc/pmap_prot.c: Likewise.
34273         * sunrpc/pmap_prot2.c: Likewise.
34274         * sunrpc/pmap_rmt.c: Likewise.
34275         * sunrpc/rpc/auth.h: Likewise.
34276         * sunrpc/rpc/auth_unix.h: Likewise.
34277         * sunrpc/rpc/clnt.h: Likewise.
34278         * sunrpc/rpc/des_crypt.h: Likewise.
34279         * sunrpc/rpc/key_prot.h: Likewise.
34280         * sunrpc/rpc/netdb.h: Likewise.
34281         * sunrpc/rpc/pmap_clnt.h: Likewise.
34282         * sunrpc/rpc/pmap_prot.h: Likewise.
34283         * sunrpc/rpc/pmap_rmt.h: Likewise.
34284         * sunrpc/rpc/rpc.h: Likewise.
34285         * sunrpc/rpc/rpc_des.h: Likewise.
34286         * sunrpc/rpc/rpc_msg.h: Likewise.
34287         * sunrpc/rpc/svc.h: Likewise.
34288         * sunrpc/rpc/svc_auth.h: Likewise.
34289         * sunrpc/rpc/types.h: Likewise.
34290         * sunrpc/rpc/xdr.h: Likewise.
34291         * sunrpc/rpc_clntout.c: Likewise.
34292         * sunrpc/rpc_cmsg.c: Likewise.
34293         * sunrpc/rpc_common.c: Likewise.
34294         * sunrpc/rpc_cout.c: Likewise.
34295         * sunrpc/rpc_dtable.c: Likewise.
34296         * sunrpc/rpc_hout.c: Likewise.
34297         * sunrpc/rpc_main.c: Likewise.
34298         * sunrpc/rpc_parse.c: Likewise.
34299         * sunrpc/rpc_parse.h: Likewise.
34300         * sunrpc/rpc_prot.c: Likewise.
34301         * sunrpc/rpc_sample.c: Likewise.
34302         * sunrpc/rpc_scan.c: Likewise.
34303         * sunrpc/rpc_scan.h: Likewise.
34304         * sunrpc/rpc_svcout.c: Likewise.
34305         * sunrpc/rpc_tblout.c: Likewise.
34306         * sunrpc/rpc_util.c: Likewise.
34307         * sunrpc/rpc_util.h: Likewise.
34308         * sunrpc/rpcinfo.c: Likewise.
34309         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34310         * sunrpc/rpcsvc/key_prot.x: Likewise.
34311         * sunrpc/rpcsvc/klm_prot.x: Likewise.
34312         * sunrpc/rpcsvc/mount.x: Likewise.
34313         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34314         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34315         * sunrpc/rpcsvc/rex.x: Likewise.
34316         * sunrpc/rpcsvc/rstat.x: Likewise.
34317         * sunrpc/rpcsvc/rusers.x: Likewise.
34318         * sunrpc/rpcsvc/sm_inter.x: Likewise.
34319         * sunrpc/rpcsvc/spray.x: Likewise.
34320         * sunrpc/rpcsvc/yppasswd.x: Likewise.
34321         * sunrpc/rtime.c: Likewise.
34322         * sunrpc/svc.c: Likewise.
34323         * sunrpc/svc_auth.c: Likewise.
34324         * sunrpc/svc_authux.c: Likewise.
34325         * sunrpc/svc_raw.c: Likewise.
34326         * sunrpc/svc_run.c: Likewise.
34327         * sunrpc/svc_simple.c: Likewise.
34328         * sunrpc/svc_tcp.c: Likewise.
34329         * sunrpc/svc_udp.c: Likewise.
34330         * sunrpc/svc_unix.c: Likewise.
34331         * sunrpc/svcauth_des.c: Likewise.
34332         * sunrpc/xcrypt.c: Likewise.
34333         * sunrpc/xdr.c: Likewise.
34334         * sunrpc/xdr_array.c: Likewise.
34335         * sunrpc/xdr_float.c: Likewise.
34336         * sunrpc/xdr_mem.c: Likewise.
34337         * sunrpc/xdr_rec.c: Likewise.
34338         * sunrpc/xdr_ref.c: Likewise.
34339         * sunrpc/xdr_sizeof.c: Likewise.
34340         * sunrpc/xdr_stdio.c: Likewise.
34342         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34343         handling.
34345 2010-08-19  Andreas Schwab  <schwab@redhat.com>
34347         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34349 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
34351         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34352         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34353         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34354         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34355         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34356         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34357         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34358         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34359         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34360         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34361         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34362         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34363         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34364         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34366 2010-07-26  Anton Blanchard  <anton@samba.org>
34368         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34369         * malloc/arena.c (heap_trim): Likewise.
34371 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
34373         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34374         here.  Not...
34375         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34376         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34378 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34380         * sysdeps/i386/elf/Makefile: New file.
34382 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34384         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34385         from fanotify_init.
34386         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34387         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34389 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
34391         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34392         of strncasecmp_l.
34393         * sysdeps/multiarch/strcmp.S: Likewise.
34395 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
34397         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34398         strncase_l-nonascii.
34399         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34400         Add strncase_l-ssse3.
34401         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34402         * sysdeps/x86_64/strcmp.S: Likewise.
34403         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34404         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34405         * sysdeps/x86_64/strncase.S: New file.
34406         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34407         * sysdeps/x86_64/strncase_l.S: New file.
34408         * string/Makefile (strop-tests): Add strncasecmp.
34409         * string/test-strncasecmp.c: New file.
34411         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34412         warning.
34414         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34415         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34417 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34419         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34421 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
34423         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34424         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34425         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34427 2010-05-01  Alan Modra  <amodra@gmail.com>
34429         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34430         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34431         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34432         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34433         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34434         tidying.  Don't tail-call __sigjmp_save for static lib.
34435         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34436         save location.
34437         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34438         (CALL_MCOUNT): Add eh info, and nop after bl.
34439         (TAIL_CALL_SYSCALL_ERROR): New macro.
34440         (PSEUDO_RET): Use it.
34441         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34442         Correct save location of integer regs and cr.
34443         (_dl_profile_resolve): Correct cr save location.  Delete nops
34444         after bl when SHARED.  Reduce cfi size a little by better
34445         placement of cfi directives.
34446         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34447         make a stack frame.  Instead use parm save area as a temp.
34448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34449         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
34450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34451         Don't make a stack frame for parent, use parm save area.
34452         Increase child stack frame to 112 bytes.  Don't save unused reg,
34453         and adjust reg usage.  Set up cfi on error recovery and
34454         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34456         (__makecontext): Add dummy nop after jump to exit.
34457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34458         Use correct parm save area and cr save, reduce stack frame.
34459         Correct cfi for possible PSEUDO_RET frame setup.
34460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34461         Branch to local label emitted by PSEUDO_RET rather than
34462         __syscall_error.
34464 2010-08-12  Andreas Schwab  <schwab@redhat.com>
34466         [BZ #11904]
34467         * locale/programs/locale.c (print_assignment): New function.
34468         (show_locale_vars): Use it.
34470 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
34472         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34473         field.
34474         (struct statfs64): Likewise.
34475         (_STATFS_F_FLAGS): Define.
34476         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34477         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34478         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34479         (ST_VALID): Define locally.
34480         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34481         __statvfs_getflags, use the provided value.
34482         * sysdeps/unix/sysv/linux/kernel-features.h: Define
34483         __ASSUME_STATFS_F_FLAGS.
34485         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34487         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34488         Add sys/fanotify.h.
34489         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34490         fanotify_mask for GLIBC_2.13.
34491         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34492         fanotify_init and fanotify_mark.
34493         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34494         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34496         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34497         Add prlimit.
34498         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34499         prlimit64 for GLIBC_2.13.
34500         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34501         prlimit64.
34502         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34503         syscall.
34504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34505         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34506         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34507         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34508         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
34509         add prlimit alias.
34510         * sysdeps/unix/sysv/linux/prlimit.c: New file.
34512         [BZ #11903]
34513         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34514         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34516         * nss/Makefile: Add rules to build and run tst-nss-test1.
34517         * shlib-versions: Add entry for libnss_test1.
34518         * nss/nss_test1.c: New file.
34519         * nss/tst-nss-test1.c: New file.
34521         * nss/nsswitch.c (__nss_database_custom): Define new variable.
34522         (__nss_configure_lookup): Set appropriate entry in
34523         __nss_configure_lookup to true.
34524         * nss/nsswitch.h: Define enum with indeces of databases in
34525         databases and __nss_database_custom arrays.  Declare
34526         __nss_database_custom.
34527         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34528         to avoid using nscd when custom rules are installed.
34529         * nss/getXXbyYY_r.c: Likewise.
34530         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34532         * nss/nss_files/files-parse.c: Whitespace fixes.
34534 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
34536         [BZ #11883]
34537         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34538         * posix/fnmatch_loop.c: Likewise.
34540 2010-07-17  Andi Kleen  <ak@linux.intel.com>
34542         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34543         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34544         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34545         * Versions.def [GLIBC_2.13]: Add.
34547 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
34549         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34550         Also fail if tpwd after pwuid call is NULL.
34552 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34554         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34555         when converting to ms.
34557 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34559         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34560         EOPNOTSUPP errors with ENOTTY.
34561         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34562         EOPNOTSUPP errors with ENOTTY.
34564 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
34566         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34567         Add strcasecmp_l-ssse3.
34568         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34569         strcasecmp.
34570         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34571         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34572         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34574 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
34576         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34578         * string/Makefile (strop-tests): Add strcasecmp.
34579         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34580         strcasecmp_l-nonascii.
34581         (gen-as-const-headers): Add locale-defines.sym.
34582         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34583         * sysdeps/x86_64/strcasecmp.S: New file.
34584         * sysdeps/x86_64/strcasecmp_l.S: New file.
34585         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34586         * sysdeps/x86_64/locale-defines.sym: New file.
34587         * string/test-strcasecmp.c: New file.
34589         * string/test-strcasestr.c: Test both ends of the range of characters.
34590         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34592 2010-07-29  Roland McGrath  <roland@redhat.com>
34594         [BZ #11856]
34595         * manual/locale.texi (Yes-or-No Questions): Fix example code.
34597 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
34599         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34600         for ld.so.
34602 2010-07-27  Andreas Schwab  <schwab@redhat.com>
34604         * manual/memory.texi (Malloc Tunable Parameters): Document
34605         M_PERTURB.
34607 2010-07-26  Roland McGrath  <roland@redhat.com>
34609         [BZ #11840]
34610         * configure.in (-fgnu89-inline check): Set and substitute
34611         gnu89_inline, not libc_cv_gnu89_inline.
34612         * configure: Regenerated.
34613         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34615 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
34617         * string/test-strnlen.c: New file.
34618         * string/Makefile (strop-tests): Add strnlen.
34619         * string/tester.c (test_strnlen): Add a few more test cases.
34620         * string/tst-strlen.c: Better error reporting.
34622         * sysdeps/x86_64/strnlen.S: New file.
34624 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
34626         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34627         lower-latency instructions.
34629 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
34631         * string/test-strcasestr.c: New file.
34632         * string/test-strstr.c: New file.
34633         * string/Makefile (strop-tests): Add strstr and strcasestr.
34634         * string/str-two-way.h: Don't undefine MAX.
34635         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34637 2010-07-21  Andreas Schwab  <schwab@redhat.com>
34639         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34640         strcasestr-nonascii.
34641         (CFLAGS-strcasestr-nonascii.c): Define.
34642         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34643         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34644         Remove unused attribute.
34646 2010-07-20  Roland McGrath  <roland@redhat.com>
34648         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34649         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
34650         ld.so.cache was broken.  With it, there is no way to disable dsocaps
34651         like LD_HWCAP_MASK can disable hwcaps.
34653 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34655         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34657 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
34659         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34660         call in strcasestr.
34661         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34662         __strcasestr_sse42_nonascii.
34663         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34664         strcasestr-nonascii.c.
34665         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34667 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
34669         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34670         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34671         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34672         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34674 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
34676         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34677         fcntl.
34679 2010-07-06  Andreas Schwab  <schwab@redhat.com>
34681         [BZ #11577]
34682         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34683         dl_signal_cerror.
34685 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
34687         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34688         _PC_PIPE_BUF using F_GETPIPE_SZ.
34690 2010-07-05  Roland McGrath  <roland@redhat.com>
34692         * manual/arith.texi (Rounding Functions): Fix rint description
34693         implicit in round description.
34695 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
34697         * elf/Makefile: Fix linking for a few tests to make recent linker
34698         happy.
34700 2010-06-30  Andreas Schwab  <schwab@redhat.com>
34702         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34703         $(common-objpfx)libc_nonshared.a.
34705 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
34707         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34708         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34709         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34710         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34711         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34712         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34713         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34714         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34729         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34730         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34731         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34732         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34733         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34734         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34735         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34736         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34737         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34738         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34739         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34740         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34756 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34758         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34759         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
34760         * string/memmove.c (memmove): Renamed to ...
34761         (MEMMOVE): ...this.  Default to memmove.
34762         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34763         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34764         (END_CHK): Define.
34765         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34766         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34767         mempcpy-ssse3-back memmove-ssse3-back.
34768         * sysdeps/x86_64/multiarch/bcopy.S: New file .
34769         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34770         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34771         * sysdeps/x86_64/multiarch/memcpy.S: New file.
34772         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34773         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34774         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34775         * sysdeps/x86_64/multiarch/memmove.c: New file.
34776         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34777         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34778         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34779         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34780         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34781         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34782         Define.
34783         (index_Fast_Copy_Backward): Define.
34784         (HAS_ARCH_FEATURE): Define.
34785         (HAS_FAST_REP_STRING): Define.
34786         (HAS_FAST_COPY_BACKWARD): Define.
34788 2010-06-21  Andreas Schwab  <schwab@redhat.com>
34790         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34791         Restore proper fallback handling.
34793 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
34795         [BZ #11701]
34796         * posix/group_member.c (__group_member): Correct checking loop.
34798         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34799         OOM in getpwuid_r correctly.  Return error number when the caller
34800         should return, otherwise -1.
34801         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34802         call returning > 0 value.
34803         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34805 2010-06-07  Andreas Schwab  <schwab@redhat.com>
34807         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34808         libc_nonshared.a from targets in modules-names.
34810 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
34812         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34813         requires it.
34815 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
34817         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34818         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34819         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34820         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34822 2010-06-02  Andreas Schwab  <schwab@redhat.com>
34824         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34826 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
34828         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34829         and F_GETPIPE_SZ.
34830         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34831         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34832         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34833         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34834         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34835         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34837 2010-06-14  Roland McGrath  <roland@redhat.com>
34839         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34841 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
34843         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34844         __REDIRECT followed by __THROW.
34845         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34846         * posix/getopt.h (getopt): Likewise.
34848 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34850         * hurd/lookup-at.c (__file_name_lookup_at): Accept
34851         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
34852         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34853         in AT_FLAGS.
34854         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34855         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34857 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
34859         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34861 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
34863         [BZ #11640]
34864         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34865         Properly check family and model.
34867 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
34869         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34871 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
34873         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34875 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
34877         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34878         symbol reference.
34880 2010-05-19  Andreas Schwab  <schwab@redhat.com>
34882         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34883         symbol reference.
34885 2010-05-21  Andreas Schwab  <schwab@redhat.com>
34887         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34888         and internal_recvmmsg.
34889         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34890         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34891         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34892         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34894         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34895         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34896         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34898 2010-05-20  Andreas Schwab  <schwab@redhat.com>
34900         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34902 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
34904         POWER7 optimizations.
34905         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34906         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34908 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
34910         * version.h: Update for 2.13 development version.
34912 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
34914         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34915         exceptions.  Return 0.
34917 2010-05-07  Roland McGrath  <roland@redhat.com>
34919         * elf/ldconfig.c (main): Add a const.
34921 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
34923         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34924         (args_options): Add no-idn option.
34925         (ahosts_keys_int): Add idn_flags to ai_flags.
34926         (parse_option): Handle 'i' option to clear idn_flags.
34928         * malloc/malloc.c (_int_free): Possible race in the most recently
34929         added check.  Only act on the data if no current modification
34930         happened.
34932 See ChangeLog.17 for earlier changes.