Fix build on hurd
[glibc.git] / ChangeLog
blobb70b51adb446f16cac7f32b46d9320c52cb99408
1 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4         Add artificial ODP entry for vDSO symbol for PPC64.
5         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
6         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
10         [BZ #15374]
11         * nss/getent.c (services_keys): Recognize services starting with digit.
13 2013-11-06  David S. Miller  <davem@davemloft.net>
15         [BZ #15985]
16         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19 2013-11-06  Will Newton  <will.newton@linaro.org>
21         * manual/memory.texi (Malloc Examples): Remove register
22         keyword from examples.
24 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
26         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
30         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31         depending on [__GCC_IEC_559 > 0].
32         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
33         depending on [__GCC_IEC_559_COMPLEX > 0].
35 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
37         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
38         to iso-639.def.
40 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
42         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
44 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
46         [BZ #16112]
47         * malloc/malloc (malloc_info): Do not handle first bin as
48         special case.
50 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
52         * locale/iso-639.def: Add Central Nahuatl (nhn).
54 2013-11-01  Bruno Haible  <bruno@clisp.org>
56         [BZ #7003]
57         * manual/math.texi (BSD Random): Specify range upper bound as
58         in POSIX.
60 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
62         * locale/iso-639.def: Add Meadow Mari (mhr).
64 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
66         [BZ #14752], [BZ #15763]
67         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
68         Validate name.
69         * rt/tst_shm.c: Add test for escaping directory.
71 2013-10-31  Andreas Schwab  <schwab@suse.de>
73         [BZ #15917]
74         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
75         followed by 'x' as part of digit sequence.
76         * stdio-common/tst-sscanf.c (double_tests2): New tests.
78 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
80         [BZ #16037]
81         * configure.ac: allow GNU Make 4.0 and greater.
82         * configure: Regenerated.
84 2013-10-30  Will Newton  <will.newton@linaro.org>
86         [BZ #16038]
87         * malloc/hooks.c (memalign_check): Limit alignment to the
88         maximum representable power of two.
89         * malloc/malloc.c (__libc_memalign): Likewise.
90         * malloc/tst-memalign.c (do_test): Add test for very
91         large alignment values.
92         * malloc/tst-posix_memalign.c (do_test): Likewise.
94 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
96         [BZ #11087]
97         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
98         (munmap_chunk): Likewise.
99         (mremap_chunk): Likewise.
101 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
103         [BZ #15799]
104         * stdlib/div.c (div): Remove obsolete code.
105         * stdlib/ldiv.c (ldiv): Likewise.
106         * stdlib/lldiv.c (lldiv): Likewise.
108 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
110         [BZ #16071]
111         * nss/nss_files/files-XXX.c (get_contents_ret): New
112         enumerator.
113         (get_contents): New function.
114         (internal_getent): Use it.  Expand size of LINEBUFLEN.
116 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
118         * configure.in: Moved to ...
119         * configure.ac: ... here. Change reference to configure.in
120         to configure.ac.
121         * sysdeps/arm/preconfigure.ac: ... here.
122         configure.in to configure.ac.
123         * sysdeps/gnu/configure.in: Moved to ...
124         * sysdeps/gnu/configure.ac: ... here.
125         * sysdeps/i386/configure.in: Moved to ...
126         * sysdeps/i386/configure.ac: ... here.
127         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
128         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
129         * sysdeps/mach/configure.in: Moved to ...
130         * sysdeps/mach/configure.ac: ... here.
131         * sysdeps/mach/hurd/configure.in: Moved to ...
132         * sysdeps/mach/hurd/configure.ac: ... here.
133         * sysdeps/powerpc/configure.in: Moved to ...
134         * sysdeps/powerpc/configure.ac: ... here.
135         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
136         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
137         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
138         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
139         * sysdeps/s390/s390-32/configure.in: Moved to ...
140         * sysdeps/s390/s390-32/configure.ac: ... here.
141         * sysdeps/s390/s390-64/configure.in: Moved to ...
142         * sysdeps/s390/s390-64/configure.ac: ... here.
143         * sysdeps/sh/configure.in: Moved to ...
144         * sysdeps/sh/configure.ac: ... here.
145         * sysdeps/sparc/configure.in: Moved to ...
146         * sysdeps/sparc/configure.ac: ... here.
147         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
148         * sysdeps/unix/sysv/linux/configure.ac: ... here.
149         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
150         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
151         * sysdeps/x86_64/configure.in: Moved to ...
152         * sysdeps/x86_64/configure.ac: ... here.
153         * sysdeps/x86_64/preconfigure.in: Moved to ...
154         * sysdeps/x86_64/preconfigure.ac: ... here.
155         * aclocal.m4: Change reference to configure.in to configure.ac.
156         * config.h.in: Likewise.
157         * manual/install.texi: Likewise.
158         * manual/maint.texi: Likewise.
159         * Makefile: Likewise.
160         * malloc/Makefile: Likewise.
161         * nscd/Makefile: Likewise.
162         * Makeconfig: Change reference to configure.in and
163         preconfigure.in to configure.ac and preconfigure.ac
164         respectively.
165         * INSTALL: Regenerated.
166         * configure: Likewise.
167         * sysdeps/gnu/configure: Likewise.
168         * sysdeps/i386/configure: Likewise.
169         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
170         * sysdeps/mach/configure: Likewise.
171         * sysdeps/mach/hurd/configure: Likewise.
172         * sysdeps/powerpc/configure: Likewise.
173         * sysdeps/powerpc/powerpc32/configure: Likewise.
174         * sysdeps/powerpc/powerpc64/configure: Likewise.
175         * sysdeps/s390/s390-32/configure: Likewise.
176         * sysdeps/s390/s390-64/configure: Likewise.
177         * sysdeps/sh/configure: Likewise.
178         * sysdeps/sparc/configure: Likewise.
179         * sysdeps/unix/sysv/linux/configure: Likewise.
180         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
181         * sysdeps/x86_64/configure: Likewise.
182         * sysdeps/x86_64/preconfigure: Likewise.
184 2013-10-29  Andreas Schwab  <schwab@suse.de>
186         * stdio-common/Makefile (tst-swscanf-ENV): Define.
188 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
190         * benchtests/pow-inputs: Add new inputs.
192         * benchtests/exp-inputs: Add new inputs.
194         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
195         conditional check for return value.
196         (__cos32): Likewise.
198 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
200         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
201         to provide a boost for large inputs with word alignment.
202         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
203         implementation based on optimized PPC64 strcpy.
204         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
205         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
206         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
207         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
209 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
211         [BZ #2801]
212         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
214 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
216         [BZ #14876]
217         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
218         * time/tst-strptime.c (day_tests): Add testcase.
220 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
222         [BZ #14029]
223         * manual/pattern.texi: Acknowledge that fnmatch can fail.
225 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
227         [BZ #16074]
228         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
229         MAP_FAILED on error.
231 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
233         [BZ #16072]
234         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
235         heap for large requests.
237 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
239         [BZ #9954]
240         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
241         result if the result has no associated interface.
242         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
243         interface for all 127.X.Y.Z addresses.
245 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
247         * locale/iso-639.def: Add Ligurian (lij)
249 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
251         [BZ #15825]
252         * sunrpc/rpc_main.c: Document rpcgen -5.
254 2013-10-19  Michael Stahl  <mstahl@redhat.com>
256         * elf/rtld.c (do_preload): Print the reason why preloading failed.
258 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
260         [BZ #10278]
261         * posix/glob.c: Match only directories when trailing slash is present.
262         * posix/tst-gnuglob.c (my_opendir): Do not open files.
263         (main): Add testcase.
265 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
267         [BZ #15670]
268         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
270 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
272         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
273         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
274         AUTH_DES and cindex for FIPS 140-2.
275         (DES Encryption): Add cindex FIPS 46-3.
277         * locale/locarchive.h (struct locarhandle): Add fname.
278         * locale/programs/localedef.c (main): Pass ARGV[remaining]
279         if an optional argument was specified to --list-archive,
280         otherwise NULL.
281         * locale/programs/locarchive.c (show_archive_content): Take new
282         argument fname and pass it via ah.fname to open_archive.
283         * locale/programs/localedef.h: Update decl.
284         (open_archive): If AH->fname is non-null, open that file
285         rather than the default file name, and don't ignore ENOENT.
286         (create_archive): Set AH.fname to NULL.
287         (delete_locales_from_archive): Likewise.
288         (add_locales_to_archive): Likewise.
289         * locale/programs/locfile.c (write_all_categories): Likewise.
291 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
292             Aldy Hernandez  <aldyh@redhat.com>
294         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
295         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
296         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
297         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
298         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
299         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
300         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
301         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
302         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
303         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
304         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
305         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
306         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
307         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
308         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
309         Likewise.
310         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
311         Likewise.
312         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
313         Likewise.
314         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
315         Likewise.
316         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
317         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
318         Likewise.
319         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
320         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
321         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
322         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
323         Likewise.
324         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
325         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
326         * sysdeps/powerpc/preconfigure: Likewise.
327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
328         Likewise.
329         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
330         Replace contents of file by #include of <fenv_libc.h>.
331         * sysdeps/powerpc/soft-fp/sfp-machine.h
332         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
333         and <sys/prctl.h>.
334         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
335         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
336         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
337         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
338         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
339         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
340         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
341         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
342         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
343         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
344         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
345         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
347         Allow copysignl PLT reference to be missing.
349 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
350             Joseph Myers  <joseph@codesourcery.com
352         [BZ #15948]
353         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
354         single character.
355         (add_to_tablewc): Assert sequence of wide characters is nonempty.
357 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
359         * elf/tst-tls-dlinfo.c: Don't include tls.h.
360         * elf/tst-tls1.c: Likewise.
361         * elf/tst-tls10.h: Likewise.
362         * elf/tst-tls14.c: Likewise.
363         * elf/tst-tls2.c: Likewise.
364         * elf/tst-tls3.c: Likewise.
365         * elf/tst-tls4.c: Likewise.
366         * elf/tst-tls5.c: Likewise.
367         * elf/tst-tls6.c: Likewise.
368         * elf/tst-tls7.c: Likewise.
369         * elf/tst-tls8.c: Likewise.
370         * elf/tst-tls9.c: Likewise.
371         * elf/tst-tlsmod1.c: Likewise.
372         * elf/tst-tlsmod13.c: Likewise.
373         * elf/tst-tlsmod13a.c: Likewise.
374         * elf/tst-tlsmod14a.c: Likewise.
375         * elf/tst-tlsmod16a.c: Likewise.
376         * elf/tst-tlsmod16b.c: Likewise.
377         * elf/tst-tlsmod2.c: Likewise.
378         * elf/tst-tlsmod3.c: Likewise.
379         * elf/tst-tlsmod4.c: Likewise.
380         * elf/tst-tlsmod5.c: Likewise.
381         * elf/tst-tlsmod6.c: Likewise.
383 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
385         [BZ #12486]
386         * malloc/malloc.c: remove checks for statistics.
388 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
390         [BZ #15277]
391         * inet/inet_net.c (inet_network): Detect additional invalid strings.
392         * inet/tst-network.c: Add testcase.
394 2013-10-17  Andreas Schwab  <schwab@suse.de>
396         [BZ #15218]
397         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
398         to determine canonical name.
400 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
402         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
403         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
404         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
405         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
406         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
407         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
408         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
409         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
410         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
411         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
412         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
413         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
414         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
415         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
416         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
417         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
418         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
419         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
420         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
421         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
422         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
423         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
424         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
425         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
426         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
427         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
428         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
429         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
430         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
431         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
432         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
433         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
434         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
435         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
436         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
437         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
438         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
439         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
440         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
441         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
442         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
443         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
444         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
445         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
446         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
447         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
448         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
449         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
450         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
451         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
452         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
453         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
454         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
455         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
456         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
457         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
458         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
459         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
461 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
463         [BZ #16041]
464         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
465         make result into a quiet NaN.
467 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
469         * soft-fp/adddf3.c: Fix horizontal whitespace.
470         * soft-fp/addsf3.c: Likewise.
471         * soft-fp/addtf3.c: Likewise.
472         * soft-fp/divdf3.c: Likewise.
473         * soft-fp/divsf3.c: Likewise.
474         * soft-fp/divtf3.c: Likewise.
475         * soft-fp/double.h: Likewise.
476         * soft-fp/eqdf2.c: Likewise.
477         * soft-fp/eqsf2.c: Likewise.
478         * soft-fp/eqtf2.c: Likewise.
479         * soft-fp/extenddftf2.c: Likewise.
480         * soft-fp/extended.h: Likewise.
481         * soft-fp/extendsfdf2.c: Likewise.
482         * soft-fp/extendsftf2.c: Likewise.
483         * soft-fp/extendxftf2.c: Likewise.
484         * soft-fp/fixdfdi.c: Likewise.
485         * soft-fp/fixdfsi.c: Likewise.
486         * soft-fp/fixdfti.c: Likewise.
487         * soft-fp/fixsfdi.c: Likewise.
488         * soft-fp/fixsfsi.c: Likewise.
489         * soft-fp/fixsfti.c: Likewise.
490         * soft-fp/fixtfdi.c: Likewise.
491         * soft-fp/fixtfsi.c: Likewise.
492         * soft-fp/fixtfti.c: Likewise.
493         * soft-fp/fixunsdfdi.c: Likewise.
494         * soft-fp/fixunsdfsi.c: Likewise.
495         * soft-fp/fixunsdfti.c: Likewise.
496         * soft-fp/fixunssfdi.c: Likewise.
497         * soft-fp/fixunssfsi.c: Likewise.
498         * soft-fp/fixunssfti.c: Likewise.
499         * soft-fp/fixunstfdi.c: Likewise.
500         * soft-fp/fixunstfsi.c: Likewise.
501         * soft-fp/fixunstfti.c: Likewise.
502         * soft-fp/floatdidf.c: Likewise.
503         * soft-fp/floatdisf.c: Likewise.
504         * soft-fp/floatditf.c: Likewise.
505         * soft-fp/floatsidf.c: Likewise.
506         * soft-fp/floatsisf.c: Likewise.
507         * soft-fp/floatsitf.c: Likewise.
508         * soft-fp/floattidf.c: Likewise.
509         * soft-fp/floattisf.c: Likewise.
510         * soft-fp/floattitf.c: Likewise.
511         * soft-fp/floatundidf.c: Likewise.
512         * soft-fp/floatundisf.c: Likewise.
513         * soft-fp/floatunditf.c: Likewise.
514         * soft-fp/floatunsidf.c: Likewise.
515         * soft-fp/floatunsisf.c: Likewise.
516         * soft-fp/floatunsitf.c: Likewise.
517         * soft-fp/floatuntidf.c: Likewise.
518         * soft-fp/floatuntisf.c: Likewise.
519         * soft-fp/floatuntitf.c: Likewise.
520         * soft-fp/fmadf4.c: Likewise.
521         * soft-fp/fmasf4.c: Likewise.
522         * soft-fp/fmatf4.c: Likewise.
523         * soft-fp/gedf2.c: Likewise.
524         * soft-fp/gesf2.c: Likewise.
525         * soft-fp/getf2.c: Likewise.
526         * soft-fp/ledf2.c: Likewise.
527         * soft-fp/lesf2.c: Likewise.
528         * soft-fp/letf2.c: Likewise.
529         * soft-fp/muldf3.c: Likewise.
530         * soft-fp/mulsf3.c: Likewise.
531         * soft-fp/multf3.c: Likewise.
532         * soft-fp/negdf2.c: Likewise.
533         * soft-fp/negsf2.c: Likewise.
534         * soft-fp/negtf2.c: Likewise.
535         * soft-fp/op-1.h: Likewise.
536         * soft-fp/op-2.h: Likewise.
537         * soft-fp/op-4.h: Likewise.
538         * soft-fp/op-8.h: Likewise.
539         * soft-fp/op-common.h: Likewise.
540         * soft-fp/quad.h: Likewise.
541         * soft-fp/single.h: Likewise.
542         * soft-fp/soft-fp.h: Likewise.
543         * soft-fp/sqrtdf2.c: Likewise.
544         * soft-fp/sqrtsf2.c: Likewise.
545         * soft-fp/sqrttf2.c: Likewise.
546         * soft-fp/subdf3.c: Likewise.
547         * soft-fp/subsf3.c: Likewise.
548         * soft-fp/subtf3.c: Likewise.
549         * soft-fp/truncdfsf2.c: Likewise.
550         * soft-fp/trunctfdf2.c: Likewise.
551         * soft-fp/trunctfsf2.c: Likewise.
552         * soft-fp/trunctfxf2.c: Likewise.
553         * soft-fp/unorddf2.c: Likewise.
554         * soft-fp/unordsf2.c: Likewise.
555         * soft-fp/unordtf2.c: Likewise.
557 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
559         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
560         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
562 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
564         * elf/dl-libc.c: Clear initfini list after freeing.
566 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
568         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
569         * soft-fp/addsf3.c: Likewise.
570         * soft-fp/addtf3.c: Likewise.
571         * soft-fp/divdf3.c: Likewise.
572         * soft-fp/divsf3.c: Likewise.
573         * soft-fp/divtf3.c: Likewise.
574         * soft-fp/double.h: Likewise.
575         * soft-fp/eqdf2.c: Likewise.
576         * soft-fp/eqsf2.c: Likewise.
577         * soft-fp/eqtf2.c: Likewise.
578         * soft-fp/extenddftf2.c: Likewise.
579         * soft-fp/extended.h: Likewise.
580         * soft-fp/extendsfdf2.c: Likewise.
581         * soft-fp/extendsftf2.c: Likewise.
582         * soft-fp/extendxftf2.c: Likewise.
583         * soft-fp/fixdfdi.c: Likewise.
584         * soft-fp/fixdfsi.c: Likewise.
585         * soft-fp/fixdfti.c: Likewise.
586         * soft-fp/fixsfdi.c: Likewise.
587         * soft-fp/fixsfsi.c: Likewise.
588         * soft-fp/fixsfti.c: Likewise.
589         * soft-fp/fixtfdi.c: Likewise.
590         * soft-fp/fixtfsi.c: Likewise.
591         * soft-fp/fixtfti.c: Likewise.
592         * soft-fp/fixunsdfdi.c: Likewise.
593         * soft-fp/fixunsdfsi.c: Likewise.
594         * soft-fp/fixunsdfti.c: Likewise.
595         * soft-fp/fixunssfdi.c: Likewise.
596         * soft-fp/fixunssfsi.c: Likewise.
597         * soft-fp/fixunssfti.c: Likewise.
598         * soft-fp/fixunstfdi.c: Likewise.
599         * soft-fp/fixunstfsi.c: Likewise.
600         * soft-fp/fixunstfti.c: Likewise.
601         * soft-fp/floatdidf.c: Likewise.
602         * soft-fp/floatdisf.c: Likewise.
603         * soft-fp/floatditf.c: Likewise.
604         * soft-fp/floatsidf.c: Likewise.
605         * soft-fp/floatsisf.c: Likewise.
606         * soft-fp/floatsitf.c: Likewise.
607         * soft-fp/floattidf.c: Likewise.
608         * soft-fp/floattisf.c: Likewise.
609         * soft-fp/floattitf.c: Likewise.
610         * soft-fp/floatundidf.c: Likewise.
611         * soft-fp/floatundisf.c: Likewise.
612         * soft-fp/floatunsidf.c: Likewise.
613         * soft-fp/floatunsisf.c: Likewise.
614         * soft-fp/floatuntidf.c: Likewise.
615         * soft-fp/floatuntisf.c: Likewise.
616         * soft-fp/floatuntitf.c: Likewise.
617         * soft-fp/fmadf4.c: Likewise.
618         * soft-fp/fmasf4.c: Likewise.
619         * soft-fp/fmatf4.c: Likewise.
620         * soft-fp/gedf2.c: Likewise.
621         * soft-fp/gesf2.c: Likewise.
622         * soft-fp/getf2.c: Likewise.
623         * soft-fp/ledf2.c: Likewise.
624         * soft-fp/lesf2.c: Likewise.
625         * soft-fp/letf2.c: Likewise.
626         * soft-fp/muldf3.c: Likewise.
627         * soft-fp/mulsf3.c: Likewise.
628         * soft-fp/multf3.c: Likewise.
629         * soft-fp/negdf2.c: Likewise.
630         * soft-fp/negsf2.c: Likewise.
631         * soft-fp/negtf2.c: Likewise.
632         * soft-fp/op-1.h: Likewise.
633         * soft-fp/op-2.h: Likewise.
634         * soft-fp/op-4.h: Likewise.
635         * soft-fp/op-8.h: Likewise.
636         * soft-fp/op-common.h: Likewise.
637         * soft-fp/quad.h: Likewise.
638         * soft-fp/single.h: Likewise.
639         * soft-fp/soft-fp.h: Likewise.
640         * soft-fp/sqrtdf2.c: Likewise.
641         * soft-fp/sqrtsf2.c: Likewise.
642         * soft-fp/sqrttf2.c: Likewise.
643         * soft-fp/subdf3.c: Likewise.
644         * soft-fp/subsf3.c: Likewise.
645         * soft-fp/subtf3.c: Likewise.
646         * soft-fp/truncdfsf2.c: Likewise.
647         * soft-fp/trunctfdf2.c: Likewise.
648         * soft-fp/trunctfsf2.c: Likewise.
649         * soft-fp/trunctfxf2.c: Likewise.
650         * soft-fp/unorddf2.c: Likewise.
651         * soft-fp/unordsf2.c: Likewise.
652         * soft-fp/unordtf2.c: Likewise.
654 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
656         [BZ #15672]
657         * misc/error.c (error_tail): Fix possible buffer overflow.
659 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
661         [BZ #13028]
662         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
663         address.
665 2013-10-14  P. J. McDermott  <pj@pehjota.net>
667         [BZ #832]
668         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
669         testing pipefail option.
671 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
673         * soft-fp/double.h: Indent preprocessor directives inside #if.
674         * soft-fp/extended.h: Likewise.
675         * soft-fp/op-2.h: Likewise.
676         * soft-fp/op-4.h: Likewise.
677         * soft-fp/op-common.h: Likewise.
678         * soft-fp/quad.h: Likewise.
679         * soft-fp/single.h: Likewise.
680         * soft-fp/soft-fp.h: Likewise.
682 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
684         * iconv/iconv_prog.c: Fix typos.
685         * stdio-common/psiginfo-data.h: Likewise.
687 2013-10-12   Reuben Thomas <rrt@sc3d.org>
689         [BZ #15764]
690         * locale/setlocale.c: Fix typo.
692 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
694         [BZ #16036]
695         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
696         signaling NaN arguments.
697         * soft-fp/unordsf2.c (__unordsf2): Likewise.
698         * soft-fp/unordtf2.c (__unordtf2): Likewise.
700         [BZ #14910]
701         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
702         unordered operands.
703         * soft-fp/gesf2.c (__gesf2): Likewise.
704         * soft-fp/getf2.c (__getf2): Likewise.
705         * soft-fp/ledf2.c (__ledf2): Likewise.
706         * soft-fp/lesf2.c (__lesf2): Likewise.
707         * soft-fp/letf2.c (__letf2): Likewise.
709         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
710         * soft-fp/eqsf2.c (__eqsf2): Likewise.
711         * soft-fp/eqtf2.c (__eqtf2): Likewise.
712         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
713         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
714         * soft-fp/fixdfti.c (__fixdfti): Likewise.
715         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
716         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
717         * soft-fp/fixsfti.c (__fixsfti): Likewise.
718         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
719         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
720         * soft-fp/fixtfti.c (__fixtfti): Likewise.
721         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
722         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
723         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
724         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
725         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
726         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
727         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
728         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
729         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
730         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
731         * soft-fp/floatdisf.c (__floatdisf): Likewise.
732         * soft-fp/floatsisf.c (__floatsisf): Likewise.
733         * soft-fp/floattidf.c (__floattidf): Likewise.
734         * soft-fp/floattisf.c (__floattisf): Likewise.
735         * soft-fp/floattitf.c (__floattitf): Likewise.
736         * soft-fp/floatundidf.c (__floatundidf): Likewise.
737         * soft-fp/floatundisf.c (__floatundisf): Likewise.
738         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
739         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
740         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
741         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
742         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
743         * soft-fp/gesf2.c (__gesf2): Likewise.
744         * soft-fp/getf2.c (__getf2): Likewise.
745         * soft-fp/ledf2.c (__ledf2): Likewise.
746         * soft-fp/lesf2.c (__lesf2): Likewise.
747         * soft-fp/letf2.c (__letf2): Likewise.
749         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
750         Undefine and redefine.
751         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
752         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
753         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
754         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
755         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
756         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
757         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
758         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
759         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
760         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
761         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
762         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
763         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
764         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
765         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
767         [BZ #16032]
768         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
769         without decrementing exponent if mantissa >= that for the
770         denominator, not >.
771         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
772         denominator, not >.  Decrement exponent in < case instead of
773         incrementing in >= case.
774         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
775         without decrementing exponent if mantissa >= that for the
776         denominator, not >.
778         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
779         computing saturated result for unsigned overflow.
781 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
782             Jeff Law  <law@redhat.com>
784         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
785         (atan2Mp): Add systemtap probe marker.
786         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
787         (__ieee754_log): Add systemtap probe marker.
788         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
789         (atanMp): Add systemtap probe marker.
790         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
791         (tanMp): Add systemtap probe marker.
792         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
793         (__slowexp): Add systemtap probe marker.
794         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
795         (__slowpow): Add systemtap probe marker.
796         * manual/probes.texi: Document probes.
798 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
800         [BZ #15362]
801         * libio/fileops.c (_IO_new_file_write): Return count of bytes
802         written.
803         (_IO_new_file_xsputn): Don't return EOF if nothing has been
804         written.
805         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
806         written to buffer but not flushed.
807         * libio/iofwrite_u.c:  Likewise.
808         * libio/iopadn.c:  Return bytes returned even if EOF was
809         encountered.
810         * libio/iowpadn.c:  Likewise.
811         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
812         if _IO_padn does not write the whole buffer.
813         [!COMPILE_WPRINTF] (PAD): Likewise.
815 2013-10-10  David S. Miller  <davem@davemloft.net>
817         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
818         directory block.
820 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
822         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
823         instead of FSF address.
824         * soft-fp/fixdfti.c: Likewise.
825         * soft-fp/fixsfti.c: Likewise.
826         * soft-fp/fixtfti.c: Likewise.
827         * soft-fp/fixunsdfti.c: Likewise.
828         * soft-fp/fixunssfti.c: Likewise.
829         * soft-fp/fixunstfti.c: Likewise.
830         * soft-fp/floattidf.c: Likewise.
831         * soft-fp/floattisf.c: Likewise.
832         * soft-fp/floattitf.c: Likewise.
833         * soft-fp/floatuntidf.c: Likewise.
834         * soft-fp/floatuntisf.c: Likewise.
835         * soft-fp/floatuntitf.c: Likewise.
836         * soft-fp/trunctfxf2.c: Likewise.
838         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
839         * soft-fp/fixdfti.c: Likewise.
840         * soft-fp/fixsfti.c: Likewise.
841         * soft-fp/fixtfti.c: Likewise.
842         * soft-fp/fixunsdfti.c: Likewise.
843         * soft-fp/fixunssfti.c: Likewise.
844         * soft-fp/fixunstfti.c: Likewise.
845         * soft-fp/floattidf.c: Likewise.
846         * soft-fp/floattisf.c: Likewise.
847         * soft-fp/floattitf.c: Likewise.
848         * soft-fp/floatuntidf.c: Likewise.
849         * soft-fp/floatuntisf.c: Likewise.
850         * soft-fp/floatuntitf.c: Likewise.
851         * soft-fp/trunctfxf2.c: Likewise.
853 2013-10-10  David S. Miller  <davem@davemloft.net>
855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
857 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
859         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
860         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
861         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
862         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
863         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
864         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
865         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
867         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
868         for NaNs before doing comparisons on argument.
869         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
870         Likewise.
872 2013-10-10  Will Newton  <will.newton@linaro.org>
874         * malloc/hooks.c (memalign_check): Ensure the value of bytes
875         passed to _int_memalign does not overflow.
877 2013-10-10  Torvald Riegel  <triegel@redhat.com>
879         * scripts/bench.pl: Add include-sources directive.
880         * benchtests/README: Update documentation.
882 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
884         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
885         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
886         instead of FP_INIT_ROUNDMODE.
887         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
888         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
890         [BZ #16034]
891         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
892         copy class of input value.
893         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
894         not handle exceptions.
895         * soft-fp/negsf2.c (__negsf2): Likewise.
896         * soft-fp/negtf2.c (__negtf2): Likewise.
897         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
899 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
901         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
902         semicolon.  From Linux kernel.
904 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
906         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
908 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
910         [BZ #156]
911         * manual/socket.texi: Added statement about buffer
912         for gethostbyname2_r.
914 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
916         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
917         Use .p2align directive instead, throughout.
918         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
919         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
920         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
921         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
922         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
923         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
924         * sysdeps/x86_64/strchr.S: Likewise.
925         * sysdeps/x86_64/strrchr.S: Likewise.
927 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
929         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
931         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
933         * sysdeps/generic/math_private.h (__mpsin1): Remove
934         declaration.
935         (__mpcos1): Likewise.
936         (__mpsin): New argument __range_reduce.
937         (__mpcos): Likewise.
938         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
939         (slow): Use __mpsin and __mpcos.
940         (slow1): Likewise.
941         (slow2): Likewise.
942         (sloww): Likewise.
943         (sloww1): Likewise.
944         (sloww2): Likewise.
945         (bsloww): Likewise.
946         (bsloww1): Likewise.
947         (bsloww2): Likewise.
948         (cslow2): Likewise.
949         (csloww): Likewise.
950         (csloww1): Likewise.
951         (csloww2): Likewise.
952         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
953         range_reduce.  Merge in __mpsin1.
954         (__mpcos): Likewise.
955         (__mpsin1): Remove.
956         (__mpcos1): Likewise.
958 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
960         * locale/loadlocale.c (_nl_intern_locale_data): Use
961         LOCFILE_ALIGNED_P.
962         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
963         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
964         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
965         obstack data is appropriately aligned.
966         (obstack_int32_grow_fast): Likewise.
967         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
968         * locale/programs/locfile.c (add_locale_uint32): Likewise.
969         (add_locale_uint32_array): Likewise.
971 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
973         * benchtests/Makefile: Remove ARGLIST and RET variables.
974         ($(objpfx)bench-%.c): Pass only function name to the script.
975         * benchtests/README: Update documentation.
976         * benchtests/acos-inputs: Add new directives.
977         * benchtests/acosh-inputs: Likewise.
978         * benchtests/asin-inputs: Likewise.
979         * benchtests/asinh-inputs: Likewise.
980         * benchtests/atan-inputs: Likewise.
981         * benchtests/atanh-inputs: Likewise.
982         * benchtests/cos-inputs: Likewise.
983         * benchtests/cosh-inputs: Likewise.
984         * benchtests/exp-inputs: Likewise.
985         * benchtests/log-inputs: Likewise.
986         * benchtests/pow-inputs: Likewise.
987         * benchtests/rint-inputs: Likewise.
988         * benchtests/sin-inputs: Likewise.
989         * benchtests/sinh-inputs: Likewise.
990         * benchtests/tan-inputs: Likewise.
991         * benchtests/tanh-inputs: Likewise.
992         * scripts/bench.pl: Add support for new directives.
994 2013-10-07  Alan Modra  <amodra@gmail.com>
996         * README: Fix careless merge.
998 2013-10-05  Alan Modra  <amodra@gmail.com>
1000         * NEWS: Mention powerpc64le support and bugs fixed.
1001         * README: Both big-endian and little-endian powerpc64 supported.
1003 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1005         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1006         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1007         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1008         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1010 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
1012         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1013         match prototype.
1015 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
1017         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1018         Move -mhard-float appending from
1019         ports/sysdeps/powerpc/powerpc32/Makefile.
1020         [$(with-fp) = yes] (ASFLAGS): Likewise.
1021         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1022         * sysdeps/powerpc/nofpu: Move directory from
1023         ports/sysdeps/powerpc/nofpu.
1024         * sysdeps/powerpc/soft-fp: Move directory from
1025         ports/sysdeps/powerpc/soft-fp.
1026         * sysdeps/powerpc/powerpc32/405: Move directory from
1027         ports/sysdeps/powerpc/powerpc32/405.
1028         * sysdeps/powerpc/powerpc32/440: Move directory from
1029         ports/sysdeps/powerpc/powerpc32/440.
1030         * sysdeps/powerpc/powerpc32/464: Move directory from
1031         ports/sysdeps/powerpc/powerpc32/464.
1032         * sysdeps/powerpc/powerpc32/476: Move directory from
1033         ports/sysdeps/powerpc/powerpc32/476.
1034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1035         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1037         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1039         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1041         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1043         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1044         * README: Update for powerpc-*-linux-gnu software floating point
1045         support in libc.
1047         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1048         case to powerpc/powerpc32*.
1049         * sysdeps/unix/sysv/linux/configure: Regenerated.
1051         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1052         (_FPU_MASK_OM): Define as 0x04.
1053         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1054         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1055         0x00c10080.
1056         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1057         0x0000003c.
1058         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1061         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1062         getcontext_e500.
1063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1064         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1065         setcontext_e500.
1066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1067         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1068         and setcontext_e500.
1070 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
1072         * locale/iso-3166.def: Update iso-1366.def and related occurrences
1074 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1076         * manual/threads.texi (Default Thread Attributes): Fix typo.
1078 2013-10-04  Will Newton  <will.newton@linaro.org>
1080         * malloc/Makefile: Add tst-memalign.
1081         * malloc/tst-memalign.c: New file.
1083         * malloc/tst-posix_memalign.c: Add comments.
1084         (do_test): Add comments and call free on all potentially
1085         allocated pointers. Add space after cast.
1087         * malloc/tst-pvalloc.c: Add comments.
1088         (do_test): Add comments and call free on all potentially
1089         allocated pointers. Remove duplicate check for NULL pointer.
1090         Add space after cast.
1092         * malloc/tst-valloc.c: Add comments.
1093         (do_test): Add comments and call free on all potentially
1094         allocated pointers. Remove duplicate check for NULL pointer.
1095         Add space after cast.
1097 2013-10-04  Alan Modra  <amodra@gmail.com>
1099         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1100         Use stdint types in rather than __attribute__((mode())).
1101         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1103 2013-10-04  Alan Modra  <amodra@gmail.com>
1105         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1106         Correct handling of unaligned relocs for little-endian.
1107         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1109 2013-10-04  Alan Modra  <amodra@gmail.com>
1111         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1112         * configure: Regenerate.
1113         * nptl/shlib-versions: Powerpc*le starts at 2.18.
1114         * shlib-versions: Likewise.
1116 2013-10-04  Alan Modra  <amodra@gmail.com>
1118         * string/tester.c (test_memrchr): Increment reported test cycle.
1120 2013-10-04  Alan Modra  <amodra@gmail.com>
1122         * string/test-memcpy.c (do_one_test): When reporting errors, print
1123         string address and don't overrun end of string.
1125 2013-10-04  Alan Modra  <amodra@gmail.com>
1127         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1128         insrdi.  Make better use of reg selection to speed exit slightly.
1129         Schedule entry path a little better.  Remove useless "are we done"
1130         checks on entry to main loop.  Handle wrapping around zero address.
1131         Correct main loop count.  Handle single left-over word from main
1132         loop inline rather than by using loop_small.  Remove extra word
1133         case in loop_small caused by wrong loop count.  Add little-endian
1134         support.
1135         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1136         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
1137         cache hint.
1138         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1139         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1140         support.  Avoid rlwimi.
1141         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1143 2013-10-04  Alan Modra  <amodra@gmail.com>
1145         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1146         insrdi.  Formatting.
1147         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1148         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1149         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1150         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1151         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1152         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1154 2013-10-04  Alan Modra  <amodra@gmail.com>
1156         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1157         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1158         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1159         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1160         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1161         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1162         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1163         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1164         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
1165         use of regs.  Use power7 mtocrf.  Tidy function tails.
1167 2013-10-04  Alan Modra  <amodra@gmail.com>
1169         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1170         Formatting.  Consistently use rXXX register defines or rN defines.
1171         Use early exit labels that avoid restoring unused non-volatile regs.
1172         Make cr field use more consistent with rWORDn compares.  Rename
1173         regs used as shift registers for unaligned loop, using rN defines
1174         for short lifetime/multiple use regs.
1175         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1176         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
1177         addi 1,1,64 to pop stack frame.  Simplify return value code.
1178         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1180 2013-10-04  Alan Modra  <amodra@gmail.com>
1182         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1183         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
1184         rather than rlwimi.
1185         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1186         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1187         little-endian support.  Correct typos.
1188         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
1189         rather than rlwimi.
1190         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
1191         in loop and entry code to keep "and." results.
1192         (strchr): Add little-endian support.  Comment.  Move cntlzd
1193         earlier in tail.
1194         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1196 2013-10-04  Alan Modra  <amodra@gmail.com>
1198         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1199         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1200         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1201         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1203 2013-10-04  Alan Modra  <amodra@gmail.com>
1205         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1206         (rTMP): Define as r11.
1207         (strcmp): Add little-endian support.  Optimise tail.
1208         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1209         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1210         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1211         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1212         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1213         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1214         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1216 2013-10-04  Alan Modra  <amodra@gmail.com>
1218         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1219         little-endian support.  Remove unnecessary "are we done" tests.
1220         Handle "s" wrapping around zero and extremely large "size".
1221         Correct main loop count.  Handle single left-over word from main
1222         loop inline rather than by using small_loop.  Correct comments.
1223         Delete "zero" tail, use "end_max" instead.
1224         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1226 2013-10-04  Alan Modra  <amodra@gmail.com>
1228         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1229         support.  Don't branch over align.
1230         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1231         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1232         support.  Rearrange tmp reg use to suit.  Comment.
1233         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1235 2013-10-04  Alan Modra  <amodra@gmail.com>
1237         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1239 2013-10-04  Alan Modra  <amodra@gmail.com>
1241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1242         conditional form of branch and link when obtaining pc.
1243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1245 2013-10-04  Alan Modra  <amodra@gmail.com>
1247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1248         HIWORD/LOWORD.
1249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1252 2013-10-04  Alan Modra  <amodra@gmail.com>
1254         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1255         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1256         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1257         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1258         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1259         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1260         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1261         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1262         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1263         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1265 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1266             Alistair Popple <alistair@ozlabs.au.ibm.com>
1267             Alan Modra <amodra@gmail.com>
1269         [BZ #15723]
1270         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1271         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1272         _dl_hwcap access for little-endian.
1273         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
1274         destroy vmx regs when saving unaligned.
1275         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1276         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
1277         destroy vmx regs when saving unaligned.
1279 2013-10-04  Alan Modra  <amodra@gmail.com>
1281         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1282         Don't use a union to pack hi/low value.
1284 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1286         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1287         for little-endian.
1288         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1289         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1290         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1291         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1292         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1294 2013-10-04  Alan Modra  <amodra@gmail.com>
1296         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1297         constants to usual value for .cst8 section, and remove redundant
1298         high address load.
1299         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1300         constant for 0x1p52.  Load little-endian words of double from
1301         correct stack offsets.
1303 2013-10-04  Alan Modra  <amodra@gmail.com>
1305         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1306         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1307         words of double from correct stack offsets.
1308         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1309         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1310         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1311         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1312         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1313         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1314         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1315         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1316         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1317         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1318         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1319         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1320         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1321         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1322         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1323         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1324         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1326 2013-10-04  Alan Modra  <amodra@gmail.com>
1328         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1329         64-bit int/double union.
1330         (_FPU_SETCW): Likewise.
1331         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1332         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1334 2013-10-04  Alan Modra  <amodra@gmail.com>
1336         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1337         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1339 2013-10-04  Alan Modra  <amodra@gmail.com>
1341         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1342         use vector int constants.
1343         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1345 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1347         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1348         array with long long.
1349         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1350         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1351         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1352         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1353         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1354         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1355         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1356         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1357         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1358         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1359         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1360         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1361         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1363 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1365         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1366         (__signbit): Likewise.  Correct for little-endian.
1367         (__signbitl): Call __signbit.
1368         (lrint): Correct for little-endian.
1369         (lrintf): Call lrint.
1371 2013-10-04  Alan Modra  <amodra@gmail.com>
1373         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1374         union 32-bit int array member with 64-bit int array.
1375         (t515, tm256): Double rather than long double.
1376         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1378 2013-10-04  Alan Modra  <amodra@gmail.com>
1380         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1381         Delete.
1382         (IEEE854_LONG_DOUBLE_BIAS): Delete.
1383         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1384         version of math_ldbl.h.
1386 2013-10-04  Alan Modra  <amodra@gmail.com>
1388         [BZ #15734], [BZ #15735]
1389         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1390         all uses of ieee875 long double macros and unions.  Simplify test
1391         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
1392         ldbl_extract_mantissa value for ix,iy exponents.  Properly
1393         normalize after ldbl_extract_mantissa, and don't add hidden bit
1394         already handled.  Don't treat low word of ieee854 mantissa like
1395         low word of IBM long double and mask off bit when testing for
1396         zero.
1397         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1398         all uses of ieee875 long double macros and unions.  Simplify tests
1399         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
1400         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
1401         two1022, instead use their values.  Recognise that tests for large
1402         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
1403         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1404         Rewrite all uses of ieee875 long double macros and unions.  Simplify
1405         test for 0.0L and nan.  Correct negation.
1406         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1407         ieee875 long double macros and unions.  Correct output for large
1408         magnitude x.  Correct absolute value calculation.
1409         (__erfcl): Likewise.
1410         * math/libm-test.inc: Add tests for errors discovered in IBM long
1411         double versions of fmodl, remainderl, erfl and erfcl.
1413 2013-10-04  Alan Modra  <amodra@gmail.com>
1415         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1416         all uses of ieee854 long double macros and unions.  Simplify tests
1417         for long doubles that are fully specified by the high double.
1418         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1419         Likewise.
1420         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1421         Remove dead code too.
1422         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1423         (__ieee754_ynl): Likewise.
1424         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1425         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1426         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1427         Remove dead code too.
1428         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1429         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1430         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1431         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1432         Simplify.
1433         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1434         Simplify.
1435         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1436         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1437         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1438         Comment on variable precision.
1439         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1440         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1441         Likewise.
1442         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1443         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1444         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1445         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1446         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1448 2013-10-04  Alan Modra  <amodra@gmail.com>
1450         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1451         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1452         all uses of ieee854 long double macros and unions.
1453         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1454         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1455         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1456         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1457         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1458         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1459         Likewise.
1460         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1461         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1462         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1463         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1464         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1465         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1466         Simplify sign and nan test too.
1467         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1468         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1469         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1470         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1471         Likewise.
1472         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1473         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1474         Likewise.
1475         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1476         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1477         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1478         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1479         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1480         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1482 2013-10-04  Alan Modra  <amodra@gmail.com>
1484         * stdio-common/printf_size.c (__printf_size): Don't use
1485         union ieee854_long_double in fpnum union.
1486         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
1487         signbit macro to retrieve sign from long double.
1488         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1489         retrieve sign from long double.
1490         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1491         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1492         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1493         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1494         * math/test-misc.c (main): Don't use union ieee854_long_double.
1496 2013-10-04  Alan Modra  <amodra@gmail.com>
1498         [BZ #15680]
1499         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1500         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1501         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1502         calculation.  Remove unnecessary test for denormal exponent.
1503         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1504         Correct handling of denormals.  Avoid undefined shift behaviour.
1505         Correct normalisation of low mantissa when low double is denormal.
1506         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1507         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
1508         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1509         Correct normalisation of low mantissa.  Test for overflow of high
1510         mantissa and normalise.
1511         (ldbl_nearbyint): Use more readable constant for two52.
1512         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1513         (__mpn_construct_long_double): Fix test for overflow of high
1514         mantissa and correct normalisation.  Avoid undefined shift.
1516 2013-10-04  Alan Modra  <amodra@gmail.com>
1518         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1519         (union ibm_extended_long_double): Define as an array of ieee754_double.
1520         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1521         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1522         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1523         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1524         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1525         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1526         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1527         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1528         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1529         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1530         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1532 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
1534         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1535         page size instead of calling getpagesize.
1537         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1538         (LOCFILE_ALIGN_MASK): Likewise.
1539         (LOCFILE_ALIGN_UP): Likewise.
1540         (LOCFILE_ALIGNED_P): Likewise.
1541         * locale/programs/ld-collate.c (collate_output): Use the new
1542         macros instead of __alignof__ (int32_t).
1543         * locale/weight.h (findidx): Likewise.
1545 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
1547         [BZ #431]
1548         * manual/string.texi: Fix strncat and wcsncat.
1550 2013-10-03  Brooks Moses  <bmoses@google.com>
1552         [BZ #15915]
1553         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1554         * Makerules: ...here, and adjust associated comments.
1556 2013-10-02  Will Newton  <will.newton@linaro.org>
1558         * malloc/Makefile: Add tst-pvalloc.
1559         * malloc/tst-pvalloc.c: New file.
1561 2013-10-02  Will Newton  <will.newton@linaro.org>
1563         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1564         improve test coverage.
1566 2013-10-02  Will Newton  <will.newton@linaro.org>
1568         * malloc/Makefile: Add tst-posix_memalign.
1569         * malloc/tst-posix_memalign.c: New file.
1571 2013-10-01  Eric Blake  <eblake@redhat.com>
1573         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1574         Use __THROWNL rather than __THROW on static functions.
1576 2013-09-30  Petr Machata  <pmachata@redhat.com>
1578         * elf/elf.h (R_AARCH64_ABS16): New macro.
1579         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1580         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1581         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1582         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1583         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1584         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1585         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1586         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1587         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1588         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1589         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1590         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1591         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1592         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1593         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1594         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1595         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1596         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1597         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1598         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1599         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1600         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1601         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1602         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1603         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1604         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1605         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1606         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1607         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1608         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1609         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1610         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1611         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1612         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1613         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1614         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1615         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1616         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1617         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1618         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1619         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1620         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1621         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1622         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1623         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1624         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1625         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1626         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1627         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1628         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1629         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1630         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1631         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1632         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1633         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1634         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1635         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1636         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1637         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1638         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1639         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1640         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1641         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1642         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1643         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1644         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1645         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1646         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1647         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1648         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1649         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1650         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1651         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1652         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1653         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1654         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1655         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1656         (R_AARCH64_TLSDESC_LDR): Likewise.
1657         (R_AARCH64_TLSDESC_ADD): Likewise.
1658         (R_AARCH64_TLSDESC_CALL): Likewise.
1660 2013-09-30  Andreas Schwab  <schwab@suse.de>
1662         [BZ #15048]
1663         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1664         the nss database lookup.
1665         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1666         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1668 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
1670         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1672 2013-09-28  P. J. McDermott  <pj@pehjota.net>
1674         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1675         ${Bash-specific parameter/pattern/string} parameter expansion.
1676         * sysdeps/unix/make-syscalls.sh: Likewise.
1678 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1680         * sysdeps/sh/stackguard-macros.h: New file.
1682 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
1684         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1685         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1686         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1687         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1688         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1689         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1691 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1693         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1694         Fix thread ID register.
1696 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
1698         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1699         [POSIX || UNIX98]: Require rather than permitting all symbols from
1700         <time.h>.
1701         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1702         element of struct sched_param.
1703         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1704         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1705         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1706         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1707         constant.
1709 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
1711         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1712         argument calculation.
1714 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1716         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1717         Expect macro.
1718         [POSIX] (pthread_attr_t): Do not require type.
1719         [POSIX] (pthread_cond_t): Likewise.
1720         [POSIX] (pthread_condattr_t): Likewise.
1721         [POSIX] (pthread_key_t): Likewise.
1722         [POSIX] (pthread_mutex_t): Likewise.
1723         [POSIX] (pthread_mutexattr_t): Likewise.
1724         [POSIX] (pthread_once_t): Likewise.
1725         [POSIX] (pthread_t): Likewise.
1726         [POSIX-based standards] (pthread_atfork): Expect function.
1728 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1729             Richard Sandiford  <richard@codesourcery.com>
1731         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1732         (swap_endianness_p): New extern variable.
1733         (set_big_endian): New inline function.
1734         (maybe_swap_uint32): Likewise.
1735         (maybe_swap_uint32_array): Likewise.
1736         (maybe_swap_uint32_obstack): Likewise.
1737         * locale/programs/locfile.c: Include <stdbool.h>.
1738         (swap_endianness_p): New variable.
1739         (add_locale_uint32): Call maybe_swap_uint32.
1740         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1741         (write_locale_data): Call maybe_swap_uint32_array.
1742         * locale/programs/ld-collate.c (obstack_int32_grow): Call
1743         maybe_swap_uint32.
1744         (obstack_int32_grow_fast): Likewise.
1745         (output_weightwc): Call maybe_swap_uint32_obstack.
1746         (collate_output): Likewise.
1747         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1748         (OPT_LITTLE_ENDIAN): Likewise.
1749         (options): Add --little-endian and --big-endian options.
1750         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1751         * locale/programs/locarchive.c: Include "locfile.h".
1752         (GET): New macro.
1753         (SET): Likewise.
1754         (INC): Likewise.
1755         (create_archive): Use the new macros to access fields of
1756         structures directly mapped from or written to locale archives.
1757         (oldlocrecentcmp): Likewise.
1758         (enlarge_archive): Likewise.
1759         (insert_name): Likewise.
1760         (add_alias): Likewise.
1761         (add_locale): Likewise.
1762         (delete_locales_from_archive): Likewise.
1763         (show_archive_content): Likewise.
1764         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
1765         locale data.
1767 2013-09-24  Roland McGrath  <roland@hack.frob.com>
1769         * manual/freemanuals.texi: Updated from (newly) canonical copy at
1770         http://www.gnu.org/doc/freemanuals.texi.
1771         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1773 2013-09-24  Will Newton  <will.newton@linaro.org>
1775         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1776         macro.
1778 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
1780         * locale/hashval.h (compute_hashval): Interpret bytes of key as
1781         unsigned char.
1783 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
1785         * manual/threads.texi (POSIX Threads): Fix a typo.
1787 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1789         [BZ #14547]
1790         * string/tst-strcoll-overflow.c: New test case.
1791         * string/Makefile (xtests): Add tst-strcoll-overflow.
1792         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1793         cache if string sizes may cause integer overflow.
1795         [BZ #14547]
1796         * string/strcoll_l.c (coll_seq): New members rule, idx,
1797         save_idx and back_us.
1798         (get_next_seq_nocache): New function.
1799         (do_compare_nocache): New function.
1800         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1801         when malloc fails.
1803 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
1805         [BZ #15754]
1806         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1807         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1808         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1810         [BZ #15754]
1811         * elf/Makefile (tests): Add tst-ptrguard1.
1812         (tests-static): Add tst-ptrguard1-static.
1813         (tst-ptrguard1-ARGS): Define.
1814         (tst-ptrguard1-static-ARGS): Define.
1815         * elf/tst-ptrguard1.c: New file.
1816         * elf/tst-ptrguard1-static.c: New file.
1817         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1818         * sysdeps/i386/stackguard-macros.h: Likewise.
1819         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1820         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1821         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1822         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1823         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1824         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1826 2013-09-23  Hector Marco  <hecmargi@upv.es>
1827             Ismael Ripoll  <iripoll@disca.upv.es>
1828             Carlos O'Donell  <carlos@redhat.com>
1830         [BZ #15754]
1831         * sysdeps/generic/stackguard-macros.h: Define
1832         __pointer_chk_guard_local and POINTER_CHK_GUARD.
1833         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1834         Define __pointer_chk_guard_local.
1835         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1836         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1838 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
1840         [BZ #15859]
1841         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1843 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
1845         * include/string.h (__ffs): Declare as hidden.
1846         * string/ffs.c (__ffs): Define as hidden.
1847         * sysdeps/i386/ffs.c (__ffs): Likewise.
1848         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1849         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1850         * sysdeps/s390/ffs.c (__ffs): Likewise.
1851         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1853 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
1855         * NEWS: Mention malloc probes.
1857         * malloc/arena.c (new_heap): New memory_heap_new probe.
1858         (grow_heap): New memory_heap_more probe.
1859         (shrink_heap): New memory_heap_less probe.
1860         (heap_trim): New memory_heap_free probe.
1861         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1862         (systrim): New memory_sbrk_less probe.
1863         * manual/probes.texi: Document them.
1865         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1866         * manual/probes.texi: Document it.
1868         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1869         (__libc_realloc): Add memory_realloc_retry probe.
1870         (__libc_memalign): Add memory_memalign_retry probe.
1871         (__libc_valloc): Add memory_valloc_retry probe.
1872         (__libc_pvalloc): Add memory_pvalloc_retry probe.
1873         (__libc_calloc): Add memory_calloc_retry probe.
1874         * manual/probes.texi: Document them.
1876         * malloc/arena.c (get_free_list): Add probe
1877         memory_arena_reuse_free_list.
1878         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1879         and memory_arena_reuse.
1880         (arena_get2) [!PER_THREAD]: Likewise.
1881         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1882         memory_arena_reuse_realloc.
1883         * manual/probes.texi: Document them.
1885         * malloc/malloc.c (__libc_free): Add
1886         memory_mallopt_free_dyn_thresholds probe.
1887         (__libc_mallopt): Add multiple memory_mallopt probes.
1888         * manual/probes.texi: Document them.
1890         * malloc/malloc.c: Include stap-probe.h.
1891         (__libc_mallopt): Add memory_mallopt probe.
1892         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1893         * manual/probes.texi: New.
1894         * manual/Makefile (chapters): Add probes.
1895         * manual/threads.texi: Set next node.
1897 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
1899         [BZ #15963, #13985]
1900         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1901         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1902         Add `Chinese' to `nan' entry name.
1904 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1906         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1907         (POLYNOMIAL): Likewise.
1908         (TAYLOR_SINCOS): Likewise.
1909         (TAYLOR_SLOW): Likewise.
1910         (__sin): Use TAYLOR_SINCOS.
1911         (__cos): Likewise.
1912         (slow): Use TAYLOR_SLOW.
1913         (sloww): Likewise.
1914         (bsloww): Likewise.
1915         (csloww): Likewise.
1917 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1919         * stdlib/strtod_l.c: Fix buffer overrun.
1921 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1923         * benchtests/Makefile (bench): Add sincos.
1924         * benchtests/bench-sincos.c: New file.
1926         * math/libm-test.inc (cos_test_data): New test inputs.
1927         (sin_test_data): Likewise.
1929         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1930         macro.
1931         (__sin): Use it.
1932         (__cos): Likewise.
1933         (slow1): Likewise.
1934         (slow2): Likewise.
1935         (sloww1): Likewise.
1936         (sloww2): Likewise.
1937         (bsloww1): Likewise.
1938         (bsloww2): Likewise.
1939         (cslow2): Likewise.
1940         (csloww1): Likewise.
1941         (csloww2): Likewise.
1943         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1944         function.
1945         (__sin): Use it.
1946         (__cos): Likewise.
1948         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1949         gotos.
1950         (__cos): Likewise.
1952 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
1954         * config.h.in (HAVE_MIPS_NAN2008): New macro.
1955         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1956         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1957         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1958         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1959         * elf/cache.c (print_entry): Handle the new cache flags.
1961 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1962             Aldy Hernandez  <aldyh@redhat.com>
1964         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1965         Change condition to [_SOFT_FLOAT].
1966         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1967         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1968         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1969         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1970         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1971         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1972         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1973         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1974         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1975         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1976         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1977         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1978         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1979         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1980         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1981         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1982         declaration.
1984 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1986         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1987         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1988         (__longjmp): Use LOAD_GP to load saved GPRs.
1989         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1990         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1991         (__sigsetjmp): Use SAVE_GP to save GPRs.
1993         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1994         Do not append -msoft-float.
1995         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1997 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1999         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2001 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
2003         [BZ #15966]
2004         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2005         (_FPU_GETCW): Use initial "__" on variable and field names but not
2006         on macro parameter name.
2007         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
2008         parentheses around reference to macro parameter.
2010 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
2012         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2013         prototype.
2014         (ctype_startup): Use uint32_t in cast and sizeof for
2015         ctype->charnames.
2017 2013-09-11  Jia Liu  <proljc@gmail.com>
2019         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2020         __daddr_t_defined.
2021         [__FreeBSD__]: Likewise.
2023 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
2025         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2026         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2027         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2028         (strchr): Remove __strchr_sse42 ifunc selection.
2029         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2030         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2032 2013-09-11  Will Newton  <will.newton@linaro.org>
2034         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2035         parameter to RES. Remove hardcoded 1000 value.
2036         * benchtests/bench-skeleton.c (main): Pass RES parameter
2037         to TIMING_INIT and multiply result by 1000.
2039 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2043 2013-09-11  Andreas Schwab  <schwab@suse.de>
2045         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2046         if not defined.
2047         (O_TMPFILE) [__USE_GNU]: Define.
2048         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2049         Define.
2051 2013-09-11  Will Newton  <will.newton@linaro.org>
2053         [BZ #15857]
2054         * malloc/malloc.c (__libc_memalign): Check the value of bytes
2055         does not overflow.
2057 2013-09-11  Will Newton  <will.newton@linaro.org>
2059         [BZ #15856]
2060         * malloc/malloc.c (__libc_valloc): Check the value of bytes
2061         does not overflow.
2063 2013-09-11  Will Newton  <will.newton@linaro.org>
2065         [BZ #15855]
2066         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2067         does not overflow.
2069 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
2071         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2072         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2073         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2074         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2075         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2077 2013-09-10  Allan McRae  <allan@archlinux.org>
2079         [BZ #15748]
2080         * manual/arith.texi (Parsing of Floats): Clarify
2081         cross-reference.
2083         [BZ #15849]
2084         * manual/install.texi (Running make install): Mention
2085         --enable-pt-chown.
2086         * INSTALL: Regenerated.
2088 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2090         * csu/init-first.c (_init): Remove the !SHARED condition around
2091         FPU control word initialization.
2092         * elf/dl-support.c (_dl_fpu_control): New variable.
2093         (_dl_aux_init) <AT_FPUCW>: Initialize it.
2094         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2095         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2096         * math/test-fpucw-static.c: New file.
2097         * math/test-fpucw-ieee.c: New file.
2098         * math/test-fpucw-ieee-static.c: New file.
2099         * math/Makefile (tests): Add `test-fpucw-ieee' and
2100         `$(tests-static)'.
2101         (tests-static): New variable.
2102         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2103         dependency to...
2104         [($(build-shared),yes)]
2105         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2106         ... this.
2107         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2108         New dependency.
2110 2013-09-09  Allan McRae  <allan@archlinux.org>
2112         [BZ #15939]
2113         * manual/string.texi (Collation Functions): Fix typo in
2114         strcoll example.
2115         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2117         [BZ #15893]
2118         * stdlib/isomac.c (get_null_defines): Fix memory leak.
2120         [BZ #15892]
2121         * libio/memstream.c (open_memstream): Fix memory leak.
2122         * libio/wmemstream.c (open_wmemstream): Likewise.
2124         [BZ #15895]
2125         * nscd/netgroupcache.c: Fix nesting of ifdefs.
2127 2013-09-09  Will Newton  <will.newton@linaro.org>
2129         * malloc/Makefile: Add tst-realloc to tests.
2130         * malloc/tst-realloc.c: New file.
2132 2013-09-09  Allan McRae  <allan@archlinux.org>
2134         [BZ #15844]
2135         * COPYING: Update from GNU website to fix FSF address.
2136         * COPYING.LIB: Likewise.
2138 2013-09-06  David S. Miller  <davem@davemloft.net>
2140         * po/zh_TW.po: Update Chinese (traditional) translation from
2141         translation project.
2143 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
2144             Joseph Myers  <joseph@codesourcery.com>
2146         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2147         "localeinfo.h".
2148         (obstack_chunk_alloc): New macro.
2149         (obstack_chunk_free): Likewise.
2150         (record_offset): New function.
2151         (init_locale_data): Likewise.
2152         (align_locale_data): Likewise.
2153         (add_locale_empty): Likewise.
2154         (add_locale_raw_data): Likewise.
2155         (add_locale_raw_obstack): Likewise.
2156         (add_locale_string): Likewise.
2157         (add_locale_wstring): Likewise.
2158         (add_locale_uint32): Likewise.
2159         (add_locale_uint32_array): Likewise.
2160         (add_locale_char): Likewise.
2161         (start_locale_structure): Likewise.
2162         (end_locale_structure): Likewise.
2163         (start_locale_prelude): Likewise.
2164         (end_locale_prelude): Likewise.
2165         (write_locale_data): Take locale_file structure rather than an
2166         iovec.
2167         * locale/programs/locfile.h: Include "obstack.h".
2168         (struct locale_file): Change to store locale file contents instead
2169         of header.
2170         (init_locale_data): New prototype.
2171         (align_locale_data): Likewise.
2172         (add_locale_empty): Likewise.
2173         (add_locale_raw_data): Likewise.
2174         (add_locale_raw_obstack): Likewise.
2175         (add_locale_string): Likewise.
2176         (add_locale_wstring): Likewise.
2177         (add_locale_uint32): Likewise.
2178         (add_locale_uint32_array): Likewise.
2179         (add_locale_char): Likewise.
2180         (start_locale_structure): Likewise.
2181         (end_locale_structure): Likewise.
2182         (start_locale_prelude): Likewise.
2183         (end_locale_prelude): Likewise.
2184         (write_locale_data): Update prototype.
2185         * locale/programs/3level.h (struct TABLE): Remove result field.
2186         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2187         Use new locale_file interface.
2188         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2189         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2190         * locale/programs/ld-address.c (address_output): Use new
2191         locale_file interface.
2192         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2193         NO_ADD_LOCALE.
2194         (collate_finish): Don't call collseq_table_finalize.
2195         (collate_output): Use new locale_file interface.
2196         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2197         in file.
2198         (NO_FINALIZE): Change to NO_ADD_LOCALE.
2199         (TABLE): Move defines earlier in file.
2200         (ELEMENT): Likewise.
2201         (DEFAULT): Likewise.
2202         (wctrans_table_add): Move macro and inline function earlier in
2203         file.
2204         (struct wctype_table): Move type earlier in file.
2205         (add_locale_wctype_table): New static prototype.
2206         (struct locale_ctype_t): Use logical types instead of struct iovec
2207         pointers for members.
2208         (ctype_output): Use new locale_file interface.
2209         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
2210         new locale_file interface.
2211         (allocate_arrays): Update for use of new locale_file interface.
2212         * locale/programs/ld-identification.c (identification_output): Use
2213         new locale_file interface.
2214         * locale/programs/ld-measurement.c (measurement_output): Likewise.
2215         * locale/programs/ld-messages.c (messages_output): Likewise.
2216         * locale/programs/ld-monetary.c (monetary_output): Likewise.
2217         * locale/programs/ld-name.c (name_output): Likewise.
2218         * locale/programs/ld-numeric.c (numeric_output): Likewise.
2219         * locale/programs/ld-paper.c (paper_output): Likewise.
2220         * locale/programs/ld-telephone.c (telephone_output): Likewise.
2221         * locale/programs/ld-time.c (time_output): Likewise.
2223 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2225         * benchtests/Makefile: Add memrchr benchmark.
2226         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2227         benchmark as memrchr.
2228         * benchtests/bench-memrchr-ifunc.c: New file.
2229         * benchtests/bench-memrchr.c: New file.
2231 2013-09-06   Will Newton  <will.newton@linaro.org>
2233         * benchtests/Makefile (string-bench): Add memcpy.
2235 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
2236             Cong Wang  <amwang@redhat.com>
2238         * sysdeps/unix/sysv/linux/bits/in.h
2239         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2240         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2241         before __USE_KERNEL_IPV6_DEFS uses.
2242         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2243         IPPROTO_BEETPH.
2244         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2245         sockaddr_in6, or ipv6_mreq.
2247 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2249         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2250         memory access for final bytes in some large inputs.
2251         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2253 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2255         * string/test-memrchr.c: New file.
2256         * string/test-memrchr-ifunc.c: New file.
2257         * string/Makefile: Add new memrchr testcase.
2259 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
2261         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2262         fanotify_init returns EPERM.
2264 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2266         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2267         errors.
2268         (top level): Treat second token from macro or constant entries for
2269         allowed headers as allowed.
2270         * include/complex.h: Condition internal declarations on
2271         [!_ISOMAC].
2272         * include/fenv.h: Condition include of <stdbool.h> and internal
2273         declarations on [!_ISOMAC].
2275 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
2277         [BZ #15923]
2278         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2280 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2282         * configure.in (--enable-versioning): Remove configure option.
2283         (libc_cv_asm_symver_directive): Remove configure test.
2284         (libc_cv_ld_version_script_option): Likewise.
2285         (VERSIONING): Remove variable and AC_SUBST.
2286         (DO_VERSIONING): Remove AC_DEFINE.
2287         * configure: Regenerated.
2288         * config.h.in (DO_VERSIONING): Remove macro.
2289         * Makerules [$(versioning) = yes]: Change conditionals to
2290         [$(build-shared) = yes].
2291         * config.make.in (versioning): Remove variable.
2292         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2293         [$(build-shared) = yes].
2294         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2295         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2296         * elf/Makefile [$(versioning) = yes]: Change conditionals to
2297         [$(build-shared) = yes].
2298         * extra-lib.mk [$(versioning) = yes]: Likewise.
2299         * hurd/Makefile [$(versioning) = yes]: Likewise.
2300         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2301         [SHARED].
2302         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2303         [SHARED].
2304         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2305         [SHARED && !NO_HIDDEN].
2306         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2307         [SHARED].
2308         [SHARED && DO_VERSIONING]: Likewise..
2309         * libio/Makefile [$(versioning) = yes]: Change conditionals to
2310         [$(build-shared) = yes].
2311         * manual/install.texi (--disable-versioning): Remove
2312         documentation.
2313         * INSTALL: Regenerated.
2314         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2315         to [SHARED].
2316         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2317         [$(build-shared) = yes].
2318         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2319         * sysdeps/i386/i686/multiarch/strstr-c.c
2320         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2321         [SHARED && !NO_HIDDEN].
2322         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2323         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2324         * sysdeps/powerpc/powerpc32/dl-machine.c
2325         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2326         * sysdeps/powerpc/powerpc32/sysdep.h
2327         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2328         to [SHARED && PIC && !NO_HIDDEN].
2329         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2330         conditional to [SHARED].
2332 2013-09-04   Will Newton  <will.newton@linaro.org>
2334         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2335         * benchtests/bench-string.h: Include bench-timing.h instead
2336         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2337         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2338         call to HP_TIMING_DIFF_INIT.
2339         * benchtests/bench-memccpy.c: Use bench-timing.h macros
2340         instead of hp-timing.h macros.
2341         * benchtests/bench-memchr.c: Likewise.
2342         * benchtests/bench-memcmp.c: Likewise.
2343         * benchtests/bench-memcpy.c: Likewise.
2344         * benchtests/bench-memmem.c: Likewise.
2345         * benchtests/bench-memmove.c: Likewise.
2346         * benchtests/bench-memset.c: Likewise.
2347         * benchtests/bench-rawmemchr.c: Likewise.
2348         * benchtests/bench-strcasecmp.c: Likewise.
2349         * benchtests/bench-strcasestr.c: Likewise.
2350         * benchtests/bench-strcat.c: Likewise.
2351         * benchtests/bench-strchr.c: Likewise.
2352         * benchtests/bench-strcmp.c: Likewise.
2353         * benchtests/bench-strcpy.c: Likewise.
2354         * benchtests/bench-strcpy_chk.c: Likewise.
2355         * benchtests/bench-strlen.c: Likewise.
2356         * benchtests/bench-strncasecmp.c: Likewise.
2357         * benchtests/bench-strncat.c: Likewise.
2358         * benchtests/bench-strncmp.c: Likewise.
2359         * benchtests/bench-strncpy.c: Likewise.
2360         * benchtests/bench-strnlen.c: Likewise.
2361         * benchtests/bench-strpbrk.c: Likewise.
2362         * benchtests/bench-strrchr.c: Likewise.
2363         * benchtests/bench-strspn.c: Likewise.
2364         * benchtests/bench-strstr.c: Likewise.
2366 2013-09-04  Will Newton  <will.newton@linaro.org>
2368         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2370 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
2372         [BZ #15427]
2373         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2374         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2375         * math/libm-test.inc (lgamma_test_data): Add more tests.
2376         * sysdeps/i386/fpu/libm-test-ulps: Update.
2377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2379 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
2381         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2382         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2383         Add ifunc.
2384         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2385         Add strcmp-sse2-unaligned
2386         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2388 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2390         * Versions.def (libc): Add GLIBC_2.19.
2392 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2394         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2395         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2397 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
2399         [BZ #14155]
2400         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2401         intermediate calculations in recurrence.
2402         (__ieee754_ynf): Likewise.
2403         * math/libm-test.inc (jn_test_data): Do not allow spurious
2404         underflow exception.  Add more tests.
2405         (yn_test_data): Add more tests.
2406         * sysdeps/i386/fpu/libm-test-ulps: Update.
2407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2409 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
2411         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2413 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2415         * csu/init-first.c: Fix then/than typos.
2416         * locale/programs/ld-collate.c: Likewise.
2417         * locale/programs/linereader.h: Likewise.
2418         * manual/charset.texi: Likewise.
2419         * manual/filesys.texi: Likewise.
2420         * manual/stdio.texi: Likewise.
2421         * manual/string.texi: Likewise.
2422         * stdlib/fmtmsg.c: Likewise.
2423         * sysdeps/i386/stpncpy.S: Likewise.
2424         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2425         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2426         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2427         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2429 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2431         * elf/dl-open.c: Fix typos.
2432         * iconvdata/gbbig5.c: Likewise.
2433         * iconvdata/iso-2022-jp.c: Likewise.
2434         * iconv/gconv_int.h: Likewise.
2435         * iconv/loop.c: Likewise.
2436         * nis/rpcsvc/nis.h: Likewise.
2437         * resolv/ns_name.c: Likewise.
2438         * stdio-common/vfscanf.c: Likewise.
2439         * streams/stropts.h: Likewise.
2440         * sunrpc/rpc_thread.c: Likewise.
2441         * sysdeps/i386/strpbrk.S: Likewise.
2442         * sysdeps/ieee754/k_standard.c: Likewise.
2443         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2444         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2445         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2446         * sysdeps/mach/hurd/profil.c: Likewise.
2447         * sysdeps/s390/dl-procinfo.h: Likewise.
2448         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2449         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2450         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2451         * sysdeps/x86_64/dl-trampoline.S: Likewise.
2452         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2454 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
2456         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2457         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2459 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
2461         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2462         aix specific files.
2463         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2464         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2465         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2466         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2467         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2468         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2469         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2470         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2472 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2473             Roland McGrath  <roland@hack.frob.com>
2475         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2476         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2478 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2480         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2481         __executable_start symbol instead of _start.
2483 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2485         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2486         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2487         Move macros to...
2488         * sysdeps/gnu/ldsodefs.h: ... this new file.
2490         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2491         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2492         instead of ELFOSABI_LINUX.
2494         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2495         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2496         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2497         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2498         Likewise.
2499         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2500         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2501         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2502         Likewise.
2503         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2504         (ibm_extended_long_double): Add ieee_nan member.
2505         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2506         (do_test): New function.
2508         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2509         TEST_TRUNC.
2510         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2511         functions, renamed from truncdfsf_test, trunctfsf_test,
2512         trunctfdf_test.
2513         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2514         functions.
2515         (do_test): Run all these.
2517 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
2519         * argp/argp-help.c: Fix typos.
2520         * argp/argp-parse.c: Likewise.
2521         * debug/backtracesyms.c: Likewise.
2522         * elf/elf.h: Likewise.
2523         * malloc/malloc.c: Likewise.
2524         * nis/nis_print.c: Likewise.
2525         * resolv/res_comp.c: Likewise.
2526         * stdlib/stdlib.h: Likewise.
2527         * sunrpc/clnt_tcp.c: Likewise.
2528         * sunrpc/clnt_udp.c: Likewise.
2529         * sunrpc/clnt_unix.c: Likewise.
2530         * sysdeps/unix/bsd/ptsname.c: Likewise.
2531         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2532         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2534         Likewise.
2535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2536         Likewise.
2537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2538         Likewise.
2539         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2541 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2543         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2544         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2546 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
2548         [BZ #15897]
2549         * dlfcn/Makefile (tests): Add bug-dl-leaf.
2550         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2551         ($(objpfx)bug-dl-leaf): New rule.
2552         ($(objpfx)bug-dl-leaf.so): Likewise.
2553         ($(objpfx)bug-dl-leaf.out): Likewise.
2554         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2555         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2556         * dlfcn/bug-dl-leaf.c: New test.
2557         * dlfcn/bug-dl-leaf-lib.c: Likewise.
2558         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2559         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2560         (dlclose): Likewise.
2561         (dlmopen): Likewise.
2563 2013-08-27  Roland McGrath  <roland@hack.frob.com>
2565         * include/netdb.h [!_ISOMAC]:
2566         Don't include <tls.h>.
2567         (h_errno, __libc_h_errno): Move declaration and macros out of
2568         [_LIBC_REENTRANT].
2570         * include/resolv.h [_RESOLV_H_]:
2571         Don't include <tls.h>.
2572         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2573         * resolv/res_libc.c: Don't include <tls.h>.
2574         (_res): Use __attribute__ ((nocommon)) in place of
2575         __attribute__ ((section (".bss"))).
2577         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2578         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2580         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2582         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2583         only under [SIOCGIFCONF && SIOCGIFNETMASK].
2585         * resolv/res_mkquery.c: Include <sys/time.h>.
2587         * inet/ifreq.c: Moved to ...
2588         * sysdeps/unix/ifreq.c: ... here.
2589         * inet/ifreq.c: New file, true stub version.
2591         * socket/sa_len.c: New file.
2592         * socket/Makefile (aux): Add it.
2593         * sysdeps/unix/sysv/linux/Makefile
2594         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2595         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2596         and #include <socket/sa_len.c>.
2597         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2598         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2600         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2601         * bits/socket.h: ... here.
2603         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2604         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2605         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2607 2013-08-27  Andreas Schwab  <schwab@suse.de>
2609         [BZ #15736]
2610         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2611         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2612         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2613         * string/test-strcasecmp.c (test_main): Run tests in several
2614         locales.
2615         * string/test-strncasecmp.c (test_main): Likewise.
2617         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2618         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2619         to __strcasecmp_nonascii and __strncasecmp_nonascii.
2620         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2621         (__strncasecmp_ssse3) [PIC]: Likewise.
2623 2013-08-26  Roland McGrath  <roland@hack.frob.com>
2625         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2627         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2628         instead of explicitly declaring xdecrypt.
2629         * nis/nss_nis/nis-publickey.c: Likewise.
2631 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2633         [BZ #15890]
2634         * nscd/aicache.c: Include res_hconf.h.
2635         (addhstaiX): Initialize res_hconf.
2637 2013-08-26  Andreas Schwab  <schwab@suse.de>
2639         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2640         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2642 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2644         * nscd/aicache.c (addhstaiX): Fix indentation.
2646 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
2648         * configure.ac: Quote $build_pt_chown test.
2649         * configure: Regenerated.
2651 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
2653         [BZ #15532]
2654         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2655         * math/s_cexpf.c (__cexpf): Likewise.
2656         * math/s_cexpl.c (__cexpl): Likewise.
2657         * math/libm-test.inc (cexp_test_data): Correct expected return
2658         value for NaN + i0.  Add another test.
2660 2013-08-22  David S. Miller  <davem@davemloft.net>
2662         * po/ca.po: Update Catalan translation from translation project.
2663         * po/uk.po: Add Ukrainian translations from translation project.
2665 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
2667         [BZ #15797]
2668         * math/s_fdim.c (__fdim): Check for infinite arguments if result
2669         is infinite, not alongside NaN test.
2670         * math/s_fdimf.c (__fdimf): Likewise.
2671         * math/s_fdiml.c (__fdiml): Likewise.
2672         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
2673         errno is unchanged.
2675 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
2677         * argp/argp-help.c: Fix typos.
2678         * crypt/speeds.c: Likewise.
2679         * csu/check_fds.c: Likewise.
2680         * elf/dl-load.c: Likewise.
2681         * elf/dl-open.c: Likewise.
2682         * elf/reldep3.c: Likewise.
2683         * elf/reldep.c: Likewise.
2684         * elf/sprof.c: Likewise.
2685         * iconv/iconv_charmap.c: Likewise.
2686         * iconv/skeleton.c: Likewise.
2687         * iconv/strtab.c: Likewise.
2688         * io/lockf64.c: Likewise.
2689         * libio/libioP.h: Likewise.
2690         * resolv/gai_notify.c: Likewise.
2691         * resolv/ns_name.c: Likewise.
2692         * resolv/ns_samedomain.c: Likewise.
2693         * resolv/res_send.c: Likewise.
2694         * stdlib/random.c: Likewise.
2695         * sunrpc/rpc/xdr.h: Likewise.
2696         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2697         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2698         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2699         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2700         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2701         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2702         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2703         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2704         * sysdeps/mach/hurd/check_fds.c: Likewise.
2705         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2706         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2707         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2708         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2709         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2710         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2711         * sysdeps/pthread/aio_notify.c: Likewise.
2712         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2713         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2714         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2715         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2716         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2718 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2720         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2721         version if bit_Slow_SSE4_2 is set.
2722         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2723         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2725 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2727         [BZ #15867]
2728         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2729         trampoline stack frame information.
2730         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2731         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2732         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2733         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2734         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2735         * sysdeps/unix/sysv/linux/powerpc/init-first.c
2736         (_libc_vdso_platform_setup): Initialize the signal trampolines.
2737         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2738         sa_flags value.
2739         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2740         interrupting a syscall and set with option SA_SIGINFO.
2742 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2744         [BZ #15531]
2745         * math/s_cproj.c (__cproj): Only return an infinity if one part of
2746         argument is infinite.
2747         * math/s_cprojf.c (__cprojf): Likewise.
2748         * math/s_cprojl.c (__cprojl): Likewise.
2749         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2750         * math/libm-test.inc (cproj_test_data): Add more tests.
2752         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2754         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2755         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2756         size.  Use __ffs to determine corresponding shift.
2758 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2759             Roland McGrath  <roland@hack.frob.com>
2761         * Makefile (INSTALL): Remove trailing blank lines from output of
2762         makeinfo.
2764 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2766         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2767         Align 32 bit compat elf_greg to 8 bytes.
2769 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2771         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2773 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2775         * string/strcoll_l.c (coll_seq): New structure.
2776         (get_next_seq_cached): New function.
2777         (get_next_seq): New function.
2778         (do_compare): New function.
2779         (STRCOLL): Use GNU style definition.  Simplify implementation
2780         by using get_next_seq, get_next_seq_cached and do_compare.
2782 2013-08-16  Florian Weimer  <fweimer@redhat.com>
2784         [BZ #14699]
2785         CVE-2013-4237
2786         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2787         member.
2788         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2789         member.
2790         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2791         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2792         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
2793         conditional.
2794         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2795         GETDENTS_64BIT_ALIGNED.
2796         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2797         * manual/filesys.texi (Reading/Closing Directory): Document
2798         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
2799         strongly.
2800         * manual/conf.texi (Limits for Files): Add portability note to
2801         NAME_MAX, PATH_MAX.
2802         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2804 2013-08-13  Andreas Schwab  <schwab@suse.de>
2806         [BZ #15749]
2807         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2808         of fabs.
2809         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2810         LDBL_MAX_EXP >= 16384]: Add tests for it.
2812 2013-08-12  David S. Miller  <davem@davemloft.net>
2814         * version.h (RELEASE): Set to "development".
2815         (VERSION): Set to "2.18.90".
2816         * NEWS: Add 2.19 section.
2818 2013-08-03  David S. Miller  <davem@davemloft.net>
2820         * po/ko.po: Update Korean translation from translation project.
2822 2013-08-01  David S. Miller  <davem@davemloft.net>
2824         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
2825         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2826         Bilka.
2828 2013-07-30  David S. Miller  <davem@davemloft.net>
2830         * po/fr.po: Update French translation from translation project.
2832 2013-07-28  David S. Miller  <davem@davemloft.net>
2834         * po/cs.po: Update Czech translation from translation project.
2836         * po/sv.po: Update Swedish translation from translation project.
2838 2013-07-27  David S. Miller  <davem@davemloft.net>
2840         * po/eo.po: Update Esperanto translation from translation project.
2842         * po/vi.po: Update Vietnamese translation from translation project.
2844         * po/de.po: Update German translation from translation project.
2846 2013-07-26  David S. Miller  <davem@davemloft.net>
2848         * po/bg.po: Update Bulgarian translation from translation project.
2850         * po/nl.po: Update Dutch translation from translation project.
2851         * po/pl.po: Update Polish translation from translation project.
2852         * po/ru.po: Update Russian translation from translation project.
2854 2013-07-24  David S. Miller  <davem@davemloft.net>
2856         * po/libc.pot: Update.
2858 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2860         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2861         variable page size.
2862         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2863         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2864         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2866 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2868         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2870 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2871             Andreas Schwab  <schwab@suse.de>
2872             Roland McGrath  <roland@hack.frob.com>
2873             Joseph Myers  <joseph@codesourcery.com>
2874             Carlos O'Donell  <carlos@redhat.com>
2876         [BZ #15755]
2877         * config.h.in: Define HAVE_PT_CHOWN.
2878         * config.make.in (build-pt-chown): New variable.
2879         * configure.in (--enable-pt_chown): New configure option.
2880         * configure: Regenerate.
2881         * login/Makefile: Include Makeconfig.  Build pt_chown only if
2882         build-pt-chown is enabled.
2883         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2884         pt_chown to fix pty ownership.
2885         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2886         CLOSE_ALL_FDS.
2887         * manual/install.texi (Configuring and compiling): Mention
2888         --enable-pt_chown. Add @findex for grantpt.
2889         * INSTALL: Regenerate.
2891 2013-07-20  David S. Miller  <davem@davemloft.net>
2893         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2894         difference between 32-bit and 64-bit.
2896 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
2898         [BZ #15711]
2899         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2900         Avoid system header dependency with -ffreestanding.
2901         ($(objpfx)bits/syscall%d): Likewise.
2903 2013-07-13  David S. Miller  <davem@davemloft.net>
2905         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2906         underflows from atanl/atan2l due to bug 15319.
2907         (casinh_test_data): Likewise.
2909 2013-07-07  David S. Miller  <davem@davemloft.net>
2911         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2913 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
2915         * sysdeps/i386/fpu/libm-test-ulps: Update.
2916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2918 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2920         * configure.in (--enable-lock-elision): Fix message text.
2921         * INSTALL: Regenerate.
2922         * configure: Regenerate.
2924 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2928 2013-07-03  Andreas Jaeger  <aj@suse.de>
2930         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2931         define.
2932         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2933         (ptrace_peeksiginfo_args): Add.
2934         (__ptrace_peeksiginfo_flags): Add.
2935         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2936         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2937         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2939 2013-07-03  Allan McRae  <allan@archlinux.org>
2941         * sysdeps/i386/fpu/libm-test-ulps: Update.
2943 2013-07-02  David S. Miller  <davem@davemloft.net>
2945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2947 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
2949         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2951 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2953         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2956 2013-07-02  Andi Kleen <ak@linux.intel.com>
2958         * config.h.in (ENABLE_LOCK_ELISION): Add.
2959         * configure.in (--enable-lock-elision): Add option.
2960         * manual/install.texi: Document --enable lock elision.
2961         * configure: Regenerate
2962         * INSTALL: Regenerate.
2964 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
2966         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2967         SSE4.2 strcasecmp for libc.a.
2968         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2970 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2972         [BZ #13304]
2973         * soft-fp/op-common.h (_FP_FMA): New macro.
2974         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2975         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
2976         (_FP_MUL_MEAT_1_imm): ... here.
2977         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
2978         (_FP_MUL_MEAT_1_wide): ... here.
2979         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
2980         (_FP_MUL_MEAT_1_hard): ... here.
2981         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2982         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
2983         (_FP_MUL_MEAT_2_wide): ... here.
2984         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
2985         (_FP_MUL_MEAT_2_wide_3mul): ... here.
2986         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
2987         (_FP_MUL_MEAT_2_gmp): ... here.
2988         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2989         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
2990         (_FP_MUL_MEAT_4_wide): ... here.
2991         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
2992         (_FP_MUL_MEAT_4_gmp): ... here.
2993         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2994         (_FP_WFRACBITS_DW_S): Likewise.
2995         (_FP_WFRACXBITS_DW_S): Likewise.
2996         (_FP_HIGHBIT_DW_S): Likewise.
2997         (FP_FMA_S): Likewise.
2998         (_FP_FRAC_HIGH_DW_S): Likewise.
2999         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3000         (_FP_WFRACBITS_DW_D): Likewise.
3001         (_FP_WFRACXBITS_DW_D): Likewise.
3002         (_FP_HIGHBIT_DW_D): Likewise.
3003         (FP_FMA_D): Likewise.
3004         (_FP_FRAC_HIGH_DW_D): Likewise.
3005         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3006         (_FP_WFRACBITS_DW_E): Likewise.
3007         (_FP_WFRACXBITS_DW_E): Likewise.
3008         (_FP_HIGHBIT_DW_E): Likewise.
3009         (FP_FMA_E): Likewise.
3010         (_FP_FRAC_HIGH_DW_E): Likewise.
3011         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3012         (_FP_WFRACBITS_DW_Q): Likewise.
3013         (_FP_WFRACXBITS_DW_Q): Likewise.
3014         (_FP_HIGHBIT_DW_Q): Likewise.
3015         (FP_FMA_Q): Likewise.
3016         (_FP_FRAC_HIGH_DW_Q): Likewise.
3017         * soft-fp/fmasf4.c: New file.
3018         * soft-fp/fmadf4.c: Likewise.
3019         * soft-fp/fmatf4.c: Likewise.
3021 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3023         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3024         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3025         Silvermont.
3026         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3027         macro.
3028         (index_Slow_SSE4_2): Likewise.
3029         (index_Prefer_PMINUB_for_stringop): Likewise.
3030         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3031         bit_Slow_SSE4_2 is set.
3032         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3033         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3035 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3037         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3038         rtld_global._dl_hwcap2.
3039         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3040         POWER8.
3041         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3042         POWER8 feature descriptions defined in _dl_hwcap2.
3043         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3044         string handling for POWER8 feature bits.
3045         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3046         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3047         _dl_powerpc_cap_flags.
3048         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3049         * sysdeps/powerpc/rtld-global-offsets.sym
3050         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3051         _dl_hwcap2 in the rtld_global_ro structure.
3053 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3055         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3056         hardware capabilities in support of AT_HWCAP2.
3057         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3058         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3059         GLRO(dl_hwcap2).
3060         (_dl_show_auxv): Add support for calling _dl_procinfo to display
3061         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
3062         explicitly the unknown a_type display mechanism is used.
3063         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3064         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3065         struct member.
3066         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3067         to macro prototype for AT_HWCAP2 support.
3068         * sysdeps/i386/dl-procinfo.h: Likewise.
3069         * sysdeps/s390/dl-procinfo.h: Likewise.
3070         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3071         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
3072         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
3073         return -1 for unknown a_type display fallback.
3074         * sysdeps/sparc/dl-procinfo.h: Likewise.
3075         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3076         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3078 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
3080         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3081         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3083 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
3085         [BZ #12492]
3086         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3087         mprotect making __stack_prot writable.
3089 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
3090             Joseph Myers  <joseph@codesourcery.com>
3092         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3093         as being properly aligned.
3095 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
3097         * dlfcn/modstatic5.c: New file.
3098         * dlfcn/tststatic5.c: New file.
3099         * dlfcn/Makefile (tests): Add tststatic5.
3100         (tests-static): Likewise.
3101         (modules-names): Add modstatic5.
3102         (tststatic5-ENV): New variable.
3103         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3105         [BZ #15022]
3106         * elf/dl-support.c (_dl_main_map): New variable.
3107         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3108         (_dl_nns, _dl_load_adds): Set to 1.
3109         (_dl_initial_searchlist): Refer to _dl_main_map.
3110         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3111         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3112         call to _dl_get_origin.
3113         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3114         around call_map.
3115         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3116         * dlfcn/modstatic3.c: New file.
3117         * dlfcn/tststatic3.c: New file.
3118         * dlfcn/tststatic4.c: New file.
3119         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3120         (tests-static): Likewise.
3121         (modules-names): Add modstatic3.
3122         (tststatic3-ENV, tststatic4-ENV): New variables.
3123         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3124         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3126 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
3128         * configure.in (CC): Require GCC version 4.4 or later.
3129         * configure: Regenerated.
3130         * manual/install.texi (Tools for Compilation): Update GCC version
3131         requirement.
3132         * INSTALL: Regenerated.
3134 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3136         [BZ #15674]
3137         * string/test-memcmp.c (check2): New.
3138         (main): Call check2.
3140         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3142 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
3144         [BZ #15022]
3145         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3146         over to...
3147         (dl_open_worker) [!SHARED]: ... here.
3149 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3151         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3153 2013-06-25  Richard Henderson  <rth@redhat.com>
3155         * locale/programs/locarchive.c: Include <libc-internal.h>
3157 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
3159         * manual/texinfo.tex: Update to version 2013-06-21.17, with
3160         trailing whitespace removed.
3162 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3164         [BZ #10283]
3165         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3166         * locale/programs/locarchive.c: Include libc-mmap.h.
3167         (prepare_address_space): Take two new outputs (the mmap base and len).
3168         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
3169         values.
3170         (create_archive): Declare new mmap base and len values for
3171         prepare_address_space, and store the result in ah.
3172         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3173         (enlarge_archive): If ah->mmap_base is not NULL, use that and
3174         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3175         Declare new mmap base and len values for
3176         prepare_address_space, and store the result in new_ah.
3177         (open_archive): Declare new mmap base and len values for
3178         prepare_address_space, and store the result in ah.
3179         (close_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         * sysdeps/generic/libc-mmap.h: New file.
3183 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3185         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3186         (ALIGN_UP): Likewise.
3187         (PTR_ALIGN_DOWN): Likewise.
3188         (PTR_ALIGN_UP): Likewise.
3190 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3192         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3193         entry mapped to PPC_PLATFORM_POWER8.
3194         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3195         POWER8.
3196         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3197         (_dl_string_platform): Add case for exporting platform position for
3198         POWER8.
3199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3200         search path to sysdeps/powerpc/powerpc32/power8 directory.
3201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3202         search path to sysdeps/powerpc/powerpc64/power8 directory.
3203         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3204         power7 directories.
3205         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3206         power7 directories.
3208 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3210         * INSTALL: Regenerate.
3212         * nscd/connections.c (nscd_init): Fix comment.
3214 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
3216         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3218         [BZ #15667]
3219         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3220         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3222 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3224         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3225         DL_DST_REQ_STATIC.
3226         (DL_DST_REQ_STATIC): Remove macro.
3228 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3230         [BZ #7006]
3231         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3232         with a shift of 0 bits.
3234 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3236         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3237         $(tststatic-ENV).
3239 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3241         [BZ #15655]
3242         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3244 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3246         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3247         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3248         accepts -fno-tree-loop-distribute-patterns.
3249         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3250         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3251         recursive call.
3252         * string/memset.c (memset): Likewise.
3253         * string/test-memmove.c (simple_memmove): Disable loop transformation
3254         to library calls.
3255         * string/test-memset.c (simple_memset): Likewise.
3256         * benchtests/bench-memmove.c (simple_memmove): Likewise.
3257         * benchtests/bench-memset.c (simple_memset): Likewise.
3258         * configure: Regenerated.
3260 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
3262         * math/test-misc.c (main): Ignore fesetround failure when failures
3263         of subsequent rounding tests would be ignored.
3265         [BZ #15654]
3266         * math/fedisblxcpt.c (fedisableexcept): Return 0.
3267         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3268         * math/fegetenv.c (__fegetenv): Return 0.
3269         * math/fegetexcept.c (fegetexcept): Return 0.
3270         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3271         FE_TONEAREST.
3272         * math/feholdexcpt.c (feholdexcept): Return 0.
3273         * math/fesetenv.c (__fesetenv): Return 0.
3274         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3275         argument FE_TONEAREST.
3276         * math/feupdateenv.c (__feupdateenv): Return 0.
3277         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3279 2013-06-18  Roland McGrath  <roland@hack.frob.com>
3281         * elf/rtld-Rules (rtld-compile-command.S): New variable.
3282         (rtld-compile-command.s, rtld-compile-command.c): New variables.
3283         ($(objpfx)rtld-%.os rules): Use them.
3285 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3287         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3288         fields.
3290 2013-06-17  Roland McGrath  <roland@hack.frob.com>
3292         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3293         length of target pattern, then descending length of dependency pattern.
3294         * configure.in (AWK): Require gawk 3.1.2 or newer.
3295         * manual/install.texi (Tools for Compilation): Say that we do.
3296         * configure: Regenerated.
3298         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3299         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3300         * scripts/sysd-rules.awk: ... this new script.
3301         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3302         than a glob-style pattern.
3304 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
3306         * math/test-misc.c (main): Do not treat incorrectly rounded
3307         conversions as failure unless ROUNDING_TESTS passes.
3309 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
3311         [BZ #15631]
3312         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3313         restore exception state around main square root computation, then
3314         check for inexactness explicitly.
3316         * math/libm-test.inc (fma_test_data): Add another test.
3318 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3320         * manual/threads.texi (Non-POSIX Extensions): New document
3321         node.  Document pthread_getattr_default_np and
3322         pthread_setattr_default_np.
3324         * Versions.def (libpthread): Add GLIBC_2.18.
3325         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3327         Likewise.
3328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3329         Likewise.
3330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3331         Likewise.
3332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3333         Likewise.
3334         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3335         Likewise.
3336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3337         Likewise.
3338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3339         Likewise.
3340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3341         Likewise.
3342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3343         Likewise.
3345 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3347         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3348         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3350 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3351             H.J. Lu  <hjl.tools@gmail.com>
3353         [BZ #15627]
3354         * sysdeps/x86_64/rtld-memset.c: Remove file.
3355         * sysdeps/x86_64/rtld-memset.S: New file.
3357 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
3359         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3360         (test_in_one_mode): Take arguments for whether the rounding mode
3361         is supported for each floating-point type.
3362         (do_test): Pass new arguments to test_in_one_mode using
3363         ROUNDING_TESTS.
3365 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3367         * posix/tst-waitid.c (do_test): Distinguish different instances of
3368         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
3369         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3370         before entering the kernel for waitpid.
3372 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3374         * NEWS: Fix note on clock function precision.  Text by Roland
3375         McGrath.
3377 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3379         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3380         it into place only when and if the sanity check passes.
3382 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
3384         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3385         output for whether conversion result is exact.  Take argument
3386         indicating whether type is IBM long double.
3387         (round_for_all): Change need_exact field to ibm_ld.
3388         * stdlib/tst-strtod-round.c (struct exactness): New type.
3389         (struct test): Change bool ld_ok field to struct exactness exact.
3390         (TEST): Update all definitions for change to field.
3391         (tests): Regenerate array contents.
3392         (test_in_one_mode): Take pointer to new field instead of old ld_ok
3393         field value.  Check for IBM long double here.
3394         (do_test): Update calls to test_in_one_mode.
3396 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3398         [BZ #12515]
3399         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3400         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3402 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3404         [BZ #15605]
3405         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3406         generated by the compiler on loop optimizations.
3407         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3408         general definitions.
3410 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
3412         * math/bug-nextafter.c: Include <math-tests.h>.
3413         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3414         the relevant type.
3415         * math/bug-nexttoward.c: Include <math-tests.h>.
3416         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3417         the relevant type.
3418         * math/test-misc.c: Include <math-tests.h>.
3419         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3420         the relevant type.
3422 2013-06-12  Andreas Jaeger  <aj@suse.de>
3424         * po/ia.po: Update Interlingua translation from translation
3425         project.
3427 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3429         * include/fenv.h: Include stdbool.h.
3430         (struct rm_ctx): New structure.
3431         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3432         Define macro.
3433         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3434         (SET_RESTORE_ROUNDF): Likewise.
3435         (SET_RESTORE_ROUNDL): Likewise.
3436         (SET_RESTORE_ROUND_NOEX): Likewise.
3437         (SET_RESTORE_ROUND_NOEXF): Likewise.
3438         (SET_RESTORE_ROUND_NOEXL): Likewise.
3439         (SET_RESTORE_ROUND_53BIT): Likewise.
3440         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3441         (libc_feresetround_noexf_ctx): Likewise.
3442         (libc_feresetround_noexl_ctx): Likewise.
3443         (libc_feholdsetround_53bit_ctx): Likewise.
3444         (libc_feresetround_53bit_ctx): Likewise.
3445         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3446         (libc_feholdexcept_setround_sse_ctx): New function.
3447         (libc_fesetenv_sse_ctx): Likewise.
3448         (libc_feupdateenv_sse_ctx): Likewise.
3449         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3450         (libc_feholdexcept_setround_387_ctx): Likewise.
3451         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3452         (libc_feholdsetround_387_prec_ctx): Likewise.
3453         (libc_feholdsetround_387_ctx): Likewise.
3454         (libc_feholdsetround_387_53bit_ctx): Likewise.
3455         (libc_feholdsetround_sse_ctx): Likewise.
3456         (libc_feresetround_sse_ctx): Likewise.
3457         (libc_feresetround_387_ctx): Likewise.
3458         (libc_feupdateenv_387_ctx): Likewise.
3459         (libc_feholdexcept_setroundf_ctx): Define macro.
3460         (libc_fesetenvf_ctx): Likewise.
3461         (libc_feupdateenvf_ctx): Likewise.
3462         (libc_feholdsetroundf_ctx): Likewise.
3463         (libc_feresetroundf_ctx): Likewise.
3464         (libc_feholdexcept_setround_ctx): Likewise.
3465         (libc_fesetenv_ctx): Likewise.
3466         (libc_feupdateenv_ctx): Likewise.
3467         (libc_feholdsetround_ctx): Likewise.
3468         (libc_feresetround_ctx): Likewise.
3469         (libc_feholdexcept_setroundl_ctx): Likewise.
3470         (libc_feupdateenvl_ctx): Likewise.
3471         (libc_feholdsetroundl_ctx): Likewise.
3472         (libc_feresetroundl_ctx): Likewise.
3473         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3474         (libc_feresetround_53bit_ctx): Likewise.
3476 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3478         * locale/iso-639.def: Convert to UTF-8.
3480 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
3482         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3483         (EXCEPTION_TESTS_double): Likewise.
3484         (EXCEPTION_TESTS_long_double): Likewise.
3485         (EXCEPTION_TESTS): Likewise.
3486         * math/libm-test.inc (test_exceptions): Only test exceptions if
3487         EXCEPTION_TESTS (FLOAT).
3489 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3491         * benchtests/Makefile (string-bench): Add strcpy_chk and
3492         stpcpy_chk.
3493         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3494         * benchtests/bench-stpcpy_chk.c: New file.
3495         * benchtests/bench-strcpy_chk-ifunc.c: New file.
3496         * benchtests/bench-strcpy_chk.c: New file.
3497         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3498         code.
3499         (do_test): Likewise.
3501 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3503         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3504         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3505         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3506         with tabs where appropriate.
3507         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3508         dl-procinfo.h.
3509         [PPC_PLATFORM_PPC440]: Likewise.
3510         [PPC_PLATFORM_PPC464]: Likewise.
3511         [PPC_PLATFORM_PPC476]: Likewise.
3512         (_dl_string_platform): Add support for detecting ppc405, ppc440,
3513         ppc464, and ppc476 platform strings merging from ports/
3514         dl-procinfo.h.
3516 2013-06-11  Andreas Schwab  <schwab@suse.de>
3518         [BZ #14991]
3519         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3520         (from_ucs4_idx): Regenerate.
3521         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3522         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3523         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3524         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3525         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3526         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3527         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3528         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3529         from FROM_LOOP and TO_LOOP specific macros.
3530         (BODY): Handle combining characters.
3531         * iconvdata/BIG5HKSCS.irreversible: Update.
3532         * iconvdata/BIG5HKSCS.precomposed: New file.
3533         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3534         characters.
3535         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3537 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3539         * include/sys/time.h: Fix indentation and add copyright header.
3541         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3542         (do_test): Likewise.
3543         * string/test-memchr.c (do_one_test): Likewise.
3544         (do_test): Likewise.
3545         * string/test-memcmp.c (do_one_test): Likewise.
3546         (do_test): Likewise.
3547         * string/test-memcpy.c (do_one_test): Likewise.
3548         (do_test): Likewise.
3549         * string/test-memmem.c (do_one_test): Likewise.
3550         (do_test): Likewise.
3551         (do_random_tests): Likewise.
3552         * string/test-memmove.c (do_one_test): Likewise.
3553         (do_test): Likewise.
3554         * string/test-memset.c (do_one_test): Likewise.
3555         (do_test): Likewise.
3556         * string/test-rawmemchr.c (do_one_test): Likewise.
3557         (do_test): Likewise.
3558         * string/test-strcasecmp.c (do_one_test): Likewise.
3559         (do_test): Likewise.
3560         * string/test-strcasestr.c (do_one_test): Likewise.
3561         (do_test): Likewise.
3562         * string/test-strcat.c (do_one_test): Likewise.
3563         (do_test): Likewise.
3564         * string/test-strchr.c (do_one_test): Likewise.
3565         (do_test): Likewise.
3566         * string/test-strcmp.c (do_one_test): Likewise.
3567         (do_test): Likewise.
3568         * string/test-strcpy.c (do_one_test): Likewise.
3569         (do_test): Likewise.
3570         * string/test-string.h: Likewise.
3571         (test_init): Likewise.
3572         * string/test-strlen.c (do_one_test): Likewise.
3573         (do_test): Likewise.
3574         * string/test-strncasecmp.c (do_one_test): Likewise.
3575         (do_test): Likewise.
3576         * string/test-strncat.c (do_one_test): Likewise.
3577         (do_test): Likewise.
3578         * string/test-strncmp.c (do_one_test): Likewise.
3579         (do_test_limit): Likewise.
3580         (do_test): Likewise.
3581         * string/test-strncpy.c (do_one_test): Likewise.
3582         (do_test): Likewise.
3583         * string/test-strnlen.c (do_one_test): Likewise.
3584         (do_test): Likewise.
3585         * string/test-strpbrk.c (do_one_test): Likewise.
3586         (do_test): Likewise.
3587         * string/test-strrchr.c (do_one_test): Likewise.
3588         (do_test): Likewise.
3589         * string/test-strspn.c (do_one_test): Likewise.
3590         (do_test): Likewise.
3591         * string/test-strstr.c (do_one_test): Likewise.
3592         (do_test): Likewise.
3594         * benchtests/Makefile (string-bench): Add string benchmarks.
3595         * benchtests/bench-bcopy-ifunc.c: New file.
3596         * benchtests/bench-bcopy.c: New file.
3597         * benchtests/bench-bzero-ifunc.c: New file.
3598         * benchtests/bench-bzero.c: New file.
3599         * benchtests/bench-memccpy-ifunc.c: New file.
3600         * benchtests/bench-memccpy.c: New file.
3601         * benchtests/bench-memchr-ifunc.c: New file.
3602         * benchtests/bench-memchr.c: New file.
3603         * benchtests/bench-memcmp-ifunc.c: New file.
3604         * benchtests/bench-memcmp.c: New file.
3605         * benchtests/bench-memmem-ifunc.c: New file.
3606         * benchtests/bench-memmem.c: New file.
3607         * benchtests/bench-memmove-ifunc.c: New file.
3608         * benchtests/bench-memmove.c: New file.
3609         * benchtests/bench-mempcpy-ifunc.c: New file.
3610         * benchtests/bench-mempcpy.c: New file.
3611         * benchtests/bench-memset-ifunc.c: New file.
3612         * benchtests/bench-memset.c: New file.
3613         * benchtests/bench-rawmemchr-ifunc.c: New file.
3614         * benchtests/bench-rawmemchr.c: New file.
3615         * benchtests/bench-stpcpy-ifunc.c: New file.
3616         * benchtests/bench-stpcpy.c: New file.
3617         * benchtests/bench-stpncpy-ifunc.c: New file.
3618         * benchtests/bench-stpncpy.c: New file.
3619         * benchtests/bench-strcasecmp-ifunc.c: New file.
3620         * benchtests/bench-strcasecmp.c: New file.
3621         * benchtests/bench-strcasestr-ifunc.c: New file.
3622         * benchtests/bench-strcasestr.c: New file.
3623         * benchtests/bench-strcat-ifunc.c: New file.
3624         * benchtests/bench-strcat.c: New file.
3625         * benchtests/bench-strchr-ifunc.c: New file.
3626         * benchtests/bench-strchr.c: New file.
3627         * benchtests/bench-strchrnul-ifunc.c: New file.
3628         * benchtests/bench-strchrnul.c: New file.
3629         * benchtests/bench-strcmp-ifunc.c: New file.
3630         * benchtests/bench-strcmp.c: New file.
3631         * benchtests/bench-strcpy-ifunc.c: New file.
3632         * benchtests/bench-strcpy.c: New file.
3633         * benchtests/bench-strcspn-ifunc.c: New file.
3634         * benchtests/bench-strcspn.c: New file.
3635         * benchtests/bench-strlen-ifunc.c: New file.
3636         * benchtests/bench-strlen.c: New file.
3637         * benchtests/bench-strncasecmp-ifunc.c: New file.
3638         * benchtests/bench-strncasecmp.c: New file.
3639         * benchtests/bench-strncat-ifunc.c: New file.
3640         * benchtests/bench-strncat.c: New file.
3641         * benchtests/bench-strncmp-ifunc.c: New file.
3642         * benchtests/bench-strncmp.c: New file.
3643         * benchtests/bench-strncpy-ifunc.c: New file.
3644         * benchtests/bench-strncpy.c: New file.
3645         * benchtests/bench-strnlen-ifunc.c: New file.
3646         * benchtests/bench-strnlen.c: New file.
3647         * benchtests/bench-strpbrk-ifunc.c: New file.
3648         * benchtests/bench-strpbrk.c: New file.
3649         * benchtests/bench-strrchr-ifunc.c: New file.
3650         * benchtests/bench-strrchr.c: New file.
3651         * benchtests/bench-strspn-ifunc.c: New file.
3652         * benchtests/bench-strspn.c: New file.
3653         * benchtests/bench-strstr-ifunc.c: New file.
3654         * benchtests/bench-strstr.c: New file.
3656         * benchtests/Makefile: Disable parallel execution of targets.
3657         (string-bench): Add memcpy.
3658         (benchset): New variable to store a list of benchmark sets.
3659         (bench-func): Renamed from bench.
3660         (bench-set): New target.
3661         (bench): Depend on bench-func and bench-set.
3662         * benchtests/README: Add section on benchmark sets.
3663         * benchtests/bench-memcpy-ifunc.c: New file.
3664         * benchtests/bench-memcpy.c: New file.
3665         * benchtests/bench-string.h: New file.
3667 2013-06-11  Andreas Schwab  <schwab@suse.de>
3669         [BZ #15577]
3670         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3671         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3672         values in the triple.
3673         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3674         terminator in the group key.
3676 2013-06-11  Andreas Jaeger  <aj@suse.de>
3678         * po/zh_TW.po: Update Chinese (traditional) translation from
3679         translation project.
3681 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3683         * include/time.h (__clock_gettime): Add libc_hidden_proto.
3684         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3685         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
3686         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3687         (clock_getcpuclockid): Likewise.
3688         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3689         Add weak_alias and libc_hidden_def.
3690         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3691         * rt/clock_gettime.c (clock_gettime): Rename to
3692         __clock_gettime.  Add weak_alias and libc_hidden_def.
3693         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3694         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3695         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
3696         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3697         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3698         Likewise.
3699         * rt/clock_settime.c (clock_settime): Rename to
3700         __clock_settime.  Add weak_alias and libc_hidden_def.
3701         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3703 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
3705         * mach/err_boot.sub: Remove trailing whitespace.
3706         * mach/err_ipc.sub: Likewise.
3707         * mach/err_mach.sub: Likewise.
3709         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3710         (ROUNDING_TESTS_double): Likewise.
3711         (ROUNDING_TESTS_long_double): Likewise.
3712         (ROUNDING_TESTS): Likewise.
3713         * math/libm-test.inc: Include <math-tests.h>.
3714         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3715         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3716         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3717         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3719 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3721         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3722         of assigning.
3724 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
3726         * sysdeps/gnu/errlist.awk: Do not generate space at end of
3727         otherwise empty TRANS lines.
3728         * sysdeps/gnu/errlist.c: Regenerated.
3730         * catgets/gencat.c (error_print): Use (void) in function
3731         definition.
3732         * crypt/crypt_util.c (__init_des): Likewise.
3733         * crypt/speeds.c (Stop): Likewise.
3734         (main): Likewise.
3735         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3736         * inet/ruserpass.c (token): Likewise.
3737         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3738         * intl/localealias.c (extend_alias_table): Likewise.
3739         * intl/plural-exp.c (init_germanic_plural): Likewise.
3740         * libio/fcloseall.c (__fcloseall): Likewise.
3741         * libio/genops.c (_IO_flush_all): Likewise.
3742         (_IO_flush_all_linebuffered): Likewise.
3743         (_IO_cleanup): Likewise.
3744         (_IO_iter_begin): Likewise.
3745         (_IO_iter_end): Likewise.
3746         (_IO_list_lock): Likewise.
3747         (_IO_list_unlock): Likewise.
3748         (_IO_list_resetlock): Likewise.
3749         * libio/getchar.c (getchar): Likewise.
3750         * libio/getchar_u.c (getchar_unlocked): Likewise.
3751         * libio/getwchar.c (getwchar): Likewise.
3752         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3753         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3754         * login/getpt.c (__getpt): Likewise.
3755         * login/tst-utmp.c (main): Likewise.
3756         * malloc/hooks.c (__malloc_check_init): Likewise.
3757         * malloc/malloc.c (__malloc_stats): Likewise.
3758         * malloc/mtrace.c (tr_break): Likewise.
3759         (mtrace): Likewise.
3760         (muntrace): Likewise.
3761         * misc/fstab.c (endfsent): Likewise.
3762         * misc/getclktck.c (__getclktck): Likewise.
3763         * misc/getdtsz.c (__getdtablesize): Likewise.
3764         * misc/gethostid.c (gethostid): Likewise.
3765         * misc/getpagesize.c (__getpagesize): Likewise.
3766         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3767         (__get_nprocs): Likewise.
3768         (__get_phys_pages): Likewise.
3769         (__get_avphys_pages): Likewise.
3770         * misc/getttyent.c (getttyent): Likewise.
3771         (setttyent): Likewise.
3772         (endttyent): Likewise.
3773         * misc/getusershell.c (getusershell): Likewise.
3774         (endusershell): Likewise.
3775         (setusershell): Likewise.
3776         (initshells): Likewise.
3777         * misc/hsearch.c (__hdestroy): Likewise.
3778         * misc/sync.c (sync): Likewise.
3779         * misc/syslog.c (closelog_internal): Likewise.
3780         (closelog): Likewise.
3781         * misc/ttyslot.c (ttyslot): Likewise.
3782         * misc/vhangup.c (vhangup): Likewise.
3783         * posix/fork.c (__fork): Likewise.
3784         * posix/getegid.c (__getegid): Likewise.
3785         * posix/geteuid.c (__geteuid): Likewise.
3786         * posix/getgid.c (__getgid): Likewise.
3787         * posix/getpid.c (__getpid): Likewise.
3788         * posix/getppid.c (__getppid): Likewise.
3789         * posix/getuid.c (__getuid): Likewise.
3790         * posix/pause.c (pause): Likewise.
3791         * posix/setpgrp.c (setpgrp): Likewise.
3792         * posix/setsid.c (__setsid): Likewise.
3793         * posix/test-vfork.c (noop): Likewise.
3794         * resolv/gethnamaddr.c (_endhtent): Likewise.
3795         (_gethtent): Likewise.
3796         (ht_endhostent): Likewise.
3797         (gethostent): Likewise.
3798         (dns_service): Likewise.
3799         * stdlib/drand48.c (drand48): Likewise.
3800         * stdlib/lrand48.c (lrand48): Likewise.
3801         * stdlib/mrand48.c (mrand48): Likewise.
3802         * stdlib/rand.c (rand): Likewise.
3803         * stdlib/random.c (__random): Likewise.
3804         * stdlib/setenv.c (clearenv): Likewise.
3805         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3806         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3807         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3808         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3809         (__get_nprocs): Likewise.
3810         (__get_phys_pages): Likewise.
3811         (__get_avphys_pages): Likewise.
3812         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3813         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3814         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3815         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3816         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3817         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3818         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3819         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3820         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3821         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3822         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3823         * sysdeps/mach/hurd/sync.c (sync): Likewise.
3824         * sysdeps/posix/clock.c (clock): Likewise.
3825         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3826         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3827         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3828         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3829         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3830         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3831         (__get_nprocs_conf): Likewise.
3832         (__get_phys_pages): Likewise.
3833         (__get_avphys_pages): Likewise.
3834         * time/clock.c (clock): Likewise.
3835         * time/tzset.c (__tzname_max): Likewise.
3837 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
3839         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3840         (__bswap_32): Do not use "register".
3841         * crypt/crypt.c (_ufc_doit_r): Likewise.
3842         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3843         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3844         * gmon/gmon.c (__monstartup): Likewise.
3845         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3846         * hurd/hurdmalloc.c (more_memory): Likewise.
3847         (malloc): Likewise.
3848         (free): Likewise.
3849         (realloc): Likewise.
3850         (malloc_fork_prepare): Likewise.
3851         (malloc_fork_parent): Likewise.
3852         (malloc_fork_child): Likewise.
3853         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3854         (_svcauth_des): Likewise.
3855         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3856         * inet/inet_net.c (inet_network): Likewise.
3857         * inet/inet_netof.c (inet_netof): Likewise.
3858         * inet/rcmd.c (__validuser2_sa): Likewise.
3859         * io/fts.c (fts_open): Likewise.
3860         (fts_load): Likewise.
3861         (fts_close): Likewise.
3862         (fts_read): Likewise.
3863         (fts_children): Likewise.
3864         (fts_build): Likewise.
3865         (fts_stat): Likewise.
3866         (fts_sort): Likewise.
3867         (fts_alloc): Likewise.
3868         (fts_lfree): Likewise.
3869         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3870         (_IO_file_xsgetn): Likewise.
3871         (_IO_file_xsgetn_mmap): Likewise.
3872         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3873         (_IO_cookie_write): Likewise.
3874         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3875         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3876         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3877         * malloc/obstack.c (_obstack_begin): Likewise.
3878         (_obstack_begin_1): Likewise.
3879         (_obstack_newchunk): Likewise.
3880         (_obstack_allocated_p): Likewise.
3881         (obstack_free): Likewise.
3882         (_obstack_memory_used): Likewise.
3883         * misc/getttyent.c (getttynam): Likewise.
3884         (getttyent): Likewise.
3885         (skip): Likewise.
3886         (value): Likewise.
3887         * misc/getusershell.c (initshells): Likewise.
3888         * misc/syslog.c (__vsyslog_chk): Likewise.
3889         * misc/ttyslot.c (ttyslot): Likewise.
3890         * nis/nis_hash.c (__nis_hash): Likewise.
3891         * posix/fnmatch_loop.c (FCT): Likewise.
3892         * posix/getconf.c (print_all): Likewise.
3893         (main): Likewise.
3894         * posix/getopt.c (exchange): Likewise.
3895         * posix/glob.c (globfree): Likewise.
3896         (prefix_array): Likewise.
3897         (__glob_pattern_type): Likewise.
3898         * resolv/arpa/nameser.h (NS_GET16): Likewise.
3899         (NS_GET32): Likewise.
3900         (NS_PUT16): Likewise.
3901         (NS_PUT32): Likewise.
3902         * resolv/gethnamaddr.c (getanswer): Likewise.
3903         (gethostbyname2): Likewise.
3904         (gethostbyaddr): Likewise.
3905         (_gethtent): Likewise.
3906         (_gethtbyname2): Likewise.
3907         (_gethtbyaddr): Likewise.
3908         * resolv/ns_print.c (dst_s_get_int16): Likewise.
3909         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3910         * resolv/res_init.c (__res_vinit): Likewise.
3911         (net_mask): Likewise.
3912         * resolv/res_mkquery.c (outchar): Likewise.
3913         (PRINT): Likewise.
3914         * stdio-common/printf_fp.c (outchar): Likewise.
3915         (PRINT): Likewise.
3916         * stdio-common/printf_fphex.c (outchar): Likewise.
3917         (PRINT): Likewise.
3918         * stdio-common/printf_size.c (outchar): Likewise.
3919         (PRINT): Likewise.
3920         * stdio-common/test_rdwr.c (main): Likewise.
3921         * stdio-common/tfformat.c (matches): Likewise.
3922         * stdio-common/vfprintf.c (outchar): Likewise.
3923         (printf_unknown): Likewise.
3924         (buffered_vfprintf): Likewise.
3925         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3926         * stdio-common/xbug.c (AppendToBuffer): Likewise.
3927         (ReadFile): Likewise.
3928         * stdlib/qsort.c (SWAP): Likewise.
3929         (_quicksort): Likewise.
3930         * stdlib/setenv.c (__add_to_environ): Likewise.
3931         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3932         * stdlib/strtol_l.c (__strtol_l): Likewise.
3933         * stdlib/tst-strtod.c (main): Likewise.
3934         * stdlib/tst-strtol.c (main): Likewise.
3935         * stdlib/tst-strtoll.c (main): Likewise.
3936         * string/bits/string2.h (__strcmp_cc): Likewise.
3937         (__strcmp_cg): Likewise.
3938         (__strcspn_c1): Likewise.
3939         (__strcspn_c2): Likewise.
3940         (__strcspn_c3): Likewise.
3941         (__strspn_c1): Likewise.
3942         (__strspn_c2): Likewise.
3943         (__strspn_c3): Likewise.
3944         (__strsep_1c): Likewise.
3945         (__strsep_2c): Likewise.
3946         (__strsep_3c): Likewise.
3947         * string/memccpy.c (__memccpy): Likewise.
3948         * string/stpcpy.c (__stpcpy): Likewise.
3949         * string/strcmp.c (strcmp): Likewise.
3950         * string/strrchr.c (strrchr): Likewise.
3951         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3952         Likewise.
3953         * sysdeps/mach/hurd/getcwd.c
3954         (_hurd_canonicalize_directory_name_internal): Likewise.
3955         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3956         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3957         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3958         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3959         Likewise, in both definitions.
3960         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3961         definitions.
3962         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3963         64] (__bswap_64): Likewise.
3964         * time/test_time.c (main): Likewise.
3965         * time/tzfile.c (__tzfile_read): Likewise.
3966         (__tzfile_compute): Likewise.
3967         * time/tzset.c (__tzset_parse_tz): Likewise.
3968         (tzset_internal): Likewise.
3969         (compute_change): Likewise.
3970         * wcsmbs/wcscat.c (__wcscat): Likewise.
3971         * wcsmbs/wcschr.c (wcschr): Likewise.
3972         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3973         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3974         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3975         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3976         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3977         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3978         * wcsmbs/wmemchr.c (wmemchr): Likewise.
3979         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3980         * wcsmbs/wmemset.c (wmemset): Likewise.
3982 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
3984         * scripts/config.guess: Update to version 2013-05-16.
3985         * scripts/config.sub: Update to version 2013-04-24.
3986         * scripts/install-sh: Update to version 2011-11-20.07.
3987         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3988         * scripts/move-if-change: Update to version 2012-01-06 07:23.
3990 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
3992         * debug/fgetws_u_chk.c: Fix leading whitespaces.
3993         * elf/sln.c: Likewise.
3994         * hurd/hurd/ioctl.h: Likewise.
3995         * hurd/hurdmalloc.c: Likewise.
3996         * hurd/xattr.c: Likewise.
3997         * include/shlib-compat.h: Likewise.
3998         * inet/ruserpass.c: Likewise.
3999         * libio/iofgets_u.c: Likewise.
4000         * libio/iofgetws_u.c: Likewise.
4001         * locale/programs/ld-identification.c: Likewise.
4002         * locale/programs/ld-time.c: Likewise.
4003         * mach/msg-destroy.c: Likewise.
4004         * nss/nss_files/files-netgrp.c: Likewise.
4005         * resolv/res_data.c: Likewise.
4006         * soft-fp/op-1.h: Likewise.
4007         * soft-fp/op-2.h: Likewise.
4008         * soft-fp/op-4.h: Likewise.
4009         * soft-fp/op-common.h: Likewise.
4010         * stdio-common/printf_fphex.c: Likewise.
4011         * stdlib/strtod_l.c: Likewise.
4012         * sunrpc/rpc/clnt.h: Likewise.
4013         * sysdeps/generic/framestate.c: Likewise.
4014         * sysdeps/i386/bsd-_setjmp.S: Likewise.
4015         * sysdeps/i386/bsd-setjmp.S: Likewise.
4016         * sysdeps/i386/__longjmp.S: Likewise.
4017         * sysdeps/i386/setjmp.S: Likewise.
4018         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4019         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4020         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4021         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4022         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4023         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4024         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4025         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4026         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4027         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4028         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4029         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4030         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4031         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4032         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4033         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4034         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4035         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4036         * sysdeps/ieee754/support.c: Likewise.
4037         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4038         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4039         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4040         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4041         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4042         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4043         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4044         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4045         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4046         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4047         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4048         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4049         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4050         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4051         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4052         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4053         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4056 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
4058         * posix/transbug.c: Remove executable mode.
4060 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
4062         * crypt/speeds.c: Remove trailing whitespace.
4063         * dlfcn/default.c: Likewise.
4064         * elf/ifuncdep2.c: Likewise.
4065         * elf/ifuncmain1.c: Likewise.
4066         * elf/ifuncmain1vis.c: Likewise.
4067         * elf/testobj.h: Likewise.
4068         * elf/tst-stackguard1.c: Likewise.
4069         * gmon/sys/gmon.h: Likewise.
4070         * hurd/hurdmsg.c: Likewise.
4071         * hurd/new-fd.c: Likewise.
4072         * hurd/ports-get.c: Likewise.
4073         * iconvdata/ibm1008_420.c: Likewise.
4074         * inet/tst-getni1.c: Likewise.
4075         * inet/tst-getni2.c: Likewise.
4076         * libio/ioungetc.c: Likewise.
4077         * libio/wfiledoalloc.c: Likewise.
4078         * manual/libm-err-tab.pl: Likewise.
4079         * math/w_dremf.c: Likewise.
4080         * misc/ftruncate.c: Likewise.
4081         * posix/bug-glob2.c: Likewise.
4082         * posix/tst-pcre.c: Likewise.
4083         * posix/wait4.c: Likewise.
4084         * resolv/README: Likewise.
4085         * resolv/res_debug.h: Likewise.
4086         * resolv/tst-inet_ntop.c: Likewise.
4087         * setjmp/bug269-setjmp.c: Likewise.
4088         * soft-fp/extended.h: Likewise.
4089         * soft-fp/op-1.h: Likewise.
4090         * soft-fp/op-2.h: Likewise.
4091         * soft-fp/op-4.h: Likewise.
4092         * soft-fp/op-8.h: Likewise.
4093         * soft-fp/testit.c: Likewise.
4094         * stdio-common/bug16.c: Likewise.
4095         * stdlib/random.c: Likewise.
4096         * sunrpc/rpcsvc/rquota.x: Likewise.
4097         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4098         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4099         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4100         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4101         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4102         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4103         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4104         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4105         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4106         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4107         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4108         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4109         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4110         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4111         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4112         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4113         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4114         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4115         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4116         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4117         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4118         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4119         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4120         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4121         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4122         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4123         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4124         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4125         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4126         * sysdeps/ieee754/s_lib_version.c: Likewise.
4127         * sysdeps/mach/hurd/check_fds.c: Likewise.
4128         * sysdeps/mach/hurd/getsockname.c: Likewise.
4129         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4130         * sysdeps/mach/hurd/recvfrom.c: Likewise.
4131         * sysdeps/powerpc/bits/link.h: Likewise.
4132         * sysdeps/powerpc/dl-procinfo.c: Likewise.
4133         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4134         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4135         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4136         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4137         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4138         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4139         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4140         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4141         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4142         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4143         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4144         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4145         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4146         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4147         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4148         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4149         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4150         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4151         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4152         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4153         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4154         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4155         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4156         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4157         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4158         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4159         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4160         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4161         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4162         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4163         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4164         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4165         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4166         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4167         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4168         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4169         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4170         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4171         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4172         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4173         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4174         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4175         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4176         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4177         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4178         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4179         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4180         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4181         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4182         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4183         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4184         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4185         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4186         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4187         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4188         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4189         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4190         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4191         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4192         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4193         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4194         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4195         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4196         * sysdeps/powerpc/sysdep.h: Likewise.
4197         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4198         * sysdeps/s390/s390-64/sub_n.S: Likewise.
4199         * sysdeps/sh/dl-trampoline.S: Likewise.
4200         * sysdeps/sh/memset.S: Likewise.
4201         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4202         * sysdeps/sh/strlen.S: Likewise.
4203         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4204         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4205         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4206         * sysdeps/sparc/sparc32/rem.S: Likewise.
4207         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4208         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4209         * sysdeps/sparc/sparc32/strchr.S: Likewise.
4210         * sysdeps/sparc/sparc32/udiv.S: Likewise.
4211         * sysdeps/sparc/sparc32/urem.S: Likewise.
4212         * sysdeps/sparc/sparc64/add_n.S: Likewise.
4213         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4214         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4215         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4216         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4217         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4218         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4219         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4220         * sysdeps/unix/bsd/times.c: Likewise.
4221         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4222         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4226         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4227         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4228         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4229         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4230         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4231         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4232         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4233         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4234         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4235         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4236         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4237         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4238         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4239         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4240         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4241         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4242         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4243         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4244         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4245         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4246         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4247         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4248         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4249         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4250         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4251         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4252         * sysdeps/x86_64/strcspn.S: Likewise.
4254 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4256         * locale/C-translit.h: Revert #include <stdint.h> because this is a
4257         generated file.  Regenerate properly from gen-translit.pl.
4258         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
4259         locale/C-translit.h.
4261 2013-06-05  Andreas Schwab  <schwab@suse.de>
4263         [BZ #15100]
4264         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4265         week as 6 instead of -1.
4266         * time/tst-strptime.c (day_tests): Add test case.
4268 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4270         * sysdeps/generic/math_private.h
4271         (libc_feholdexcept_setround_53bit): Replace with
4272         libc_feholdsetround_53bit.
4273         (libc_feupdateenv_53bit): Replace with
4274         libc_feresetround_53bit.
4275         (SET_RESTORE_ROUND_53BIT): Adjust.
4277 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4279         * string/test-strchrnul.c: Add copyright header.
4281         * posix/tst-getaddrinfo4.c: Increase test timeout.
4283 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
4285         [BZ #15536]
4286         * math/libm-test.inc (MAX_EXP): Remove
4287         (MIN_EXP): Define.
4288         (ulp): Use MIN_EXP - MANT_DIG.
4289         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4291 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
4293         * po/be.po: Revert last change.
4294         * po/zh_CN.po: Likewise.
4295         * po/header.pot: Likewise.
4297 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
4299         * Makefile ($(common-objpfx)linkobj/libc.so): Define
4300         link-libc-deps to empty as target-specific variable.
4301         * Makerules (link-libc-args): New variable.
4302         (libc-for-link): Likewise.
4303         (link-libc-deps): Likewise.
4304         (lib%.so): Depend on $(link-libc-deps).  Link with
4305         $(link-libc-args).
4306         (build-module): Link with $(link-libc-args).
4307         (build-module-asneeded): Likewise.
4308         (build-module-helper-objlist): Filter out $(link-libc-deps) from
4309         list of objects.
4310         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4311         target-specific variable.
4312         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4313         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4314         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4315         libc.
4316         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4317         libc and ld.so.
4318         ($(objpfx)libpcprofile.so): Likewise.
4319         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4320         libc_nonshared.a.
4321         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4322         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4323         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4324         $(link-libc-deps).
4325         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4326         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4327         * login/Makefile ($(objpfx)libutil.so): Likewise.
4328         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4329         * math/Makefile ($(objpfx)libm.so): Likewise.
4330         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4331         $(objpfx)libnsl.so): Define libc-for-link as target-specific
4332         variable instead of depending directly on libc.
4333         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4334         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4335         $(link-libc-deps).
4336         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4337         libc.
4338         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4339         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4340         ($(objpfx)libanl.so): Likewise.
4341         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4342         ld.so.
4343         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4344         $(link-libc-deps).
4345         * sysdeps/i386/fpu/Makefile: Remove file.
4346         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4347         ($(objpfx)libm.so): Remove dependency on ld.so.
4349 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
4351         [BZ # 15553]
4352         * nis/yp_xdr.c (XDRMAXNAME): Define.
4353         (XDRMAXRECORD): Define.
4354         (xdr_domainname): Use XDRMAXNAME.
4355         (xdr_mapname): Likewise.
4356         (xdr_peername): Likewise.
4357         (xdr_keydat): Use XDRMAXRECORD.
4358         (xdr_valdat): Likewise.
4360 2013-05-30  Jeff Law  <law@redhat.com>
4362         [BZ #14256]
4363         * manual/errno.texi (ESTALE): Update to account for more than
4364         just NFS file systems.
4365         * sysdeps/gnu/errlist.c: Regenerated.
4367 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4369         [BZ #15465]
4370         * elf/Makefile (tests): Add tst-null-argv.
4371         (modules-names):  Add tst-null-argv-lib.
4372         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4373         (tst-null-argv-ENV): Set environment for tst-null-argv.
4374         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4375         (RTLD_PROGNAME): New macro.
4376         * elf/tst-null-argv.c: New test case.
4377         * elf/tst-null-argv-lib.c: Library for test case.
4378         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4379         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4380         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4381         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4382         * elf/dl-init.c (call_init): Likewise.
4383         (_dl_init): Likewise.
4384         * elf/dl-load.c (print_search_path): Likewise.
4385         (_dl_map_object): Likewise.
4386         * elf/dl-lookup.c (do_lookup_x): Likewise.
4387         (add_dependency): Likewise.
4388         (_dl_lookup_symbol_x): Likewise.
4389         (_dl_debug_bindings): Likewise.
4390         * elf/dl-open.c (_dl_show_scope): Likewise.
4391         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4392         * elf/dl-version.c (match_symbol): Likewise.
4393         (_dl_check_map_versions): Likewise.
4394         * elf/rtld.c (dl_main): Likewise.
4395         (print_unresolved): Use RTLD_PROGNAME.
4396         (print_missing_version): Likewise.
4397         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4398         (elf_machine_rela): Likewise.
4399         * sysdeps/powerpc/powerpc32/dl-machine.c
4400         (__process_machine_rela): Likewise.
4401         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4402         Likewise.
4403         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4404         Likewise.
4405         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4406         Likewise.
4407         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4408         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4409         Likewise.
4410         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4411         Likewise.
4412         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4414 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
4416         * po/be.po: Add descriptive title.
4417         * po/zh_CN.po: Likewise.
4418         * po/header.pot: Likewise.
4420 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
4422         * locale/programs/locarchive.c (create_archive): Inlucde fname in
4423         error message.
4424         (enlarge_archive): Likewise.
4426 2013-05-28  Ben North  <ben@redfrontdoor.org>
4428         * manual/arith.texi (frexp): It is the magnitude of the return
4429         value which lies in [0.5, 1), not the return value itself.
4431 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4435 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
4437         * stdio-common/bug26.c (main): Correct fscanf template.
4439         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4440         declare _dl_skip_args.
4442         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4443         Don't declare.
4445         * manual/platform.texi: Add missing @end deftypefun.
4447 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4449         [BZ #15529]
4450         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4451         bit of mantissa of 2^16382.
4452         * math/libm-test.inc (hypot_test_data): Add more tests.
4454         * math/libm-test.inc: Add drem and pow10 to list of tested
4455         functions.
4456         (pow10_test): New function.
4457         (drem_test): Likewise.
4458         (drem_test_tonearest): Likewise.
4459         (drem_test_towardzero): Likewise.
4460         (drem_test_downward): Likewise.
4461         (drem_test_upward): Likewise.
4462         (main): Call the new functions.
4464         * math/libm-test.inc (finite_test_data): Remove.
4465         (finite_test): Run tests from isfinite_test_data.
4466         (gamma_test_data): Remove.
4467         (gamma_test): Run tests from lgamma_test_data.
4468         * sysdeps/i386/fpu/libm-test-ulps: Update.
4469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4471 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4473         * manual/platform.texi: Add PowerPC PPR function set documentation.
4474         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4475         implementation.
4477 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
4479         * math/libm-test.inc (MAX_EXP): Define.
4480         (ULPDIFF): Define.
4481         (ulp): New function.
4482         (check_float_internal): Use ULPDIFF.
4483         (cpow_test): Disable failing test.
4484         (check_ulp): Test ulp() implemetnation.
4485         (main): Call check_ulp before starting tests.
4487 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4489         * math/gen-libm-test.pl (generate_testfile): Do not handle
4490         START_DATA and END_DATA.
4491         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4492         END_DATA.
4493         (acos_tonearest_test_data): Likewise.
4494         (acos_towardzero_test_data): Likewise.
4495         (acos_downward_test_data): Likewise.
4496         (acos_upward_test_data): Likewise.
4497         (acosh_test_data): Likewise.
4498         (asin_test_data): Likewise.
4499         (asin_tonearest_test_data): Likewise.
4500         (asin_towardzero_test_data): Likewise.
4501         (asin_downward_test_data): Likewise.
4502         (asin_upward_test_data): Likewise.
4503         (asinh_test_data): Likewise.
4504         (atan_test_data): Likewise.
4505         (atanh_test_data): Likewise.
4506         (atan2_test_data): Likewise.
4507         (cabs_test_data): Likewise.
4508         (cacos_test_data): Likewise.
4509         (cacosh_test_data): Likewise.
4510         (carg_test_data): Likewise.
4511         (casin_test_data): Likewise.
4512         (casinh_test_data): Likewise.
4513         (catan_test_data): Likewise.
4514         (catanh_test_data): Likewise.
4515         (cbrt_test_data): Likewise.
4516         (ccos_test_data): Likewise.
4517         (ccosh_test_data): Likewise.
4518         (ceil_test_data): Likewise.
4519         (cexp_test_data): Likewise.
4520         (cimag_test_data): Likewise.
4521         (clog_test_data): Likewise.
4522         (clog10_test_data): Likewise.
4523         (conj_test_data): Likewise.
4524         (copysign_test_data): Likewise.
4525         (cos_test_data): Likewise.
4526         (cos_tonearest_test_data): Likewise.
4527         (cos_towardzero_test_data): Likewise.
4528         (cos_downward_test_data): Likewise.
4529         (cos_upward_test_data): Likewise.
4530         (cosh_test_data): Likewise.
4531         (cosh_tonearest_test_data): Likewise.
4532         (cosh_towardzero_test_data): Likewise.
4533         (cosh_downward_test_data): Likewise.
4534         (cosh_upward_test_data): Likewise.
4535         (cpow_test_data): Likewise.
4536         (cproj_test_data): Likewise.
4537         (creal_test_data): Likewise.
4538         (csin_test_data): Likewise.
4539         (csinh_test_data): Likewise.
4540         (csqrt_test_data): Likewise.
4541         (ctan_test_data): Likewise.
4542         (ctan_tonearest_test_data): Likewise.
4543         (ctan_towardzero_test_data): Likewise.
4544         (ctan_downward_test_data): Likewise.
4545         (ctan_upward_test_data): Likewise.
4546         (ctanh_test_data): Likewise.
4547         (ctanh_tonearest_test_data): Likewise.
4548         (ctanh_towardzero_test_data): Likewise.
4549         (ctanh_downward_test_data): Likewise.
4550         (ctanh_upward_test_data): Likewise.
4551         (erf_test_data): Likewise.
4552         (erfc_test_data): Likewise.
4553         (exp_test_data): Likewise.
4554         (exp_tonearest_test_data): Likewise.
4555         (exp_towardzero_test_data): Likewise.
4556         (exp_downward_test_data): Likewise.
4557         (exp_upward_test_data): Likewise.
4558         (exp10_test_data): Likewise.
4559         (exp2_test_data): Likewise.
4560         (expm1_test_data): Likewise.
4561         (fabs_test_data): Likewise.
4562         (fdim_test_data): Likewise.
4563         (finite_test_data): Likewise.
4564         (floor_test_data): Likewise.
4565         (fma_test_data): Likewise.
4566         (fma_towardzero_test_data): Likewise.
4567         (fma_downward_test_data): Likewise.
4568         (fma_upward_test_data): Likewise.
4569         (fmax_test_data): Likewise.
4570         (fmin_test_data): Likewise.
4571         (fmod_test_data): Likewise.
4572         (fpclassify_test_data): Likewise.
4573         (frexp_test_data): Likewise.
4574         (gamma_test_data): Likewise.
4575         (hypot_test_data): Likewise.
4576         (ilogb_test_data): Likewise.
4577         (isfinite_test_data): Likewise.
4578         (isgreater_test_data): Likewise.
4579         (isgreaterequal_test_data): Likewise.
4580         (isinf_test_data): Likewise.
4581         (isless_test_data): Likewise.
4582         (islessequal_test_data): Likewise.
4583         (islessgreater_test_data): Likewise.
4584         (isnan_test_data): Likewise.
4585         (isnormal_test_data): Likewise.
4586         (issignaling_test_data): Likewise.
4587         (isunordered_test_data): Likewise.
4588         (j0_test_data): Likewise.
4589         (j1_test_data): Likewise.
4590         (jn_test_data): Likewise.
4591         (ldexp_test_data): Likewise.
4592         (lgamma_test_data): Likewise.
4593         (lrint_test_data): Likewise.
4594         (lrint_tonearest_test_data): Likewise.
4595         (lrint_towardzero_test_data): Likewise.
4596         (lrint_downward_test_data): Likewise.
4597         (lrint_upward_test_data): Likewise.
4598         (llrint_test_data): Likewise.
4599         (llrint_tonearest_test_data): Likewise.
4600         (llrint_towardzero_test_data): Likewise.
4601         (llrint_downward_test_data): Likewise.
4602         (llrint_upward_test_data): Likewise.
4603         (log_test_data): Likewise.
4604         (log10_test_data): Likewise.
4605         (log1p_test_data): Likewise.
4606         (log2_test_data): Likewise.
4607         (logb_test_data): Likewise.
4608         (logb_downward_test_data): Likewise.
4609         (lround_test_data): Likewise.
4610         (llround_test_data): Likewise.
4611         (modf_test_data): Likewise.
4612         (nearbyint_test_data): Likewise.
4613         (nextafter_test_data): Likewise.
4614         (nexttoward_test_data): Likewise.
4615         (pow_test_data): Likewise.
4616         (pow_tonearest_test_data): Likewise.
4617         (pow_towardzero_test_data): Likewise.
4618         (pow_downward_test_data): Likewise.
4619         (pow_upward_test_data): Likewise.
4620         (remainder_test_data): Likewise.
4621         (remainder_tonearest_test_data): Likewise.
4622         (remainder_towardzero_test_data): Likewise.
4623         (remainder_downward_test_data): Likewise.
4624         (remainder_upward_test_data): Likewise.
4625         (remquo_test_data): Likewise.
4626         (rint_test_data): Likewise.
4627         (rint_tonearest_test_data): Likewise.
4628         (rint_towardzero_test_data): Likewise.
4629         (rint_downward_test_data): Likewise.
4630         (rint_upward_test_data): Likewise.
4631         (round_test_data): Likewise.
4632         (scalb_test_data): Likewise.
4633         (scalbn_test_data): Likewise.
4634         (scalbln_test_data): Likewise.
4635         (signbit_test_data): Likewise.
4636         (sin_test_data): Likewise.
4637         (sin_tonearest_test_data): Likewise.
4638         (sin_towardzero_test_data): Likewise.
4639         (sin_downward_test_data): Likewise.
4640         (sin_upward_test_data): Likewise.
4641         (sincos_test_data): Likewise.
4642         (sinh_test_data): Likewise.
4643         (sinh_tonearest_test_data): Likewise.
4644         (sinh_towardzero_test_data): Likewise.
4645         (sinh_downward_test_data): Likewise.
4646         (sinh_upward_test_data): Likewise.
4647         (sqrt_test_data): Likewise.
4648         (tan_test_data): Likewise.
4649         (tan_tonearest_test_data): Likewise.
4650         (tan_towardzero_test_data): Likewise.
4651         (tan_downward_test_data): Likewise.
4652         (tan_upward_test_data): Likewise.
4653         (tanh_test_data): Likewise.
4654         (tgamma_test_data): Likewise.
4655         (trunc_test_data): Likewise.
4656         (y0_test_data): Likewise.
4657         (y1_test_data): Likewise.
4658         (yn_test_data): Likewise.
4659         (significand_test_data): Likewise.
4661         * math/gen-libm-test.pl (@functions): Remove variable.
4662         (generate_testfile): Don't handle START and END lines.
4663         * math/libm-test.inc (START): New macro.
4664         (END): Likewise.
4665         (END_COMPLEX): Likewise.
4666         (acos_test): Use END macro without arguments.
4667         (acos_test_tonearest): Likewise.
4668         (acos_test_towardzero): Likewise.
4669         (acos_test_downward): Likewise.
4670         (acos_test_upward): Likewise.
4671         (acosh_test): Likewise.
4672         (asin_test): Likewise.
4673         (asin_test_tonearest): Likewise.
4674         (asin_test_towardzero): Likewise.
4675         (asin_test_downward): Likewise.
4676         (asin_test_upward): Likewise.
4677         (asinh_test): Likewise.
4678         (atan_test): Likewise.
4679         (atanh_test): Likewise.
4680         (atan2_test): Likewise.
4681         (cabs_test): Likewise.
4682         (cacos_test): Use END_COMPLEX macro without arguments.
4683         (cacosh_test): Likewise.
4684         (carg_test): Use END macro without arguments.
4685         (casin_test): Use END_COMPLEX macro without arguments.
4686         (casinh_test): Likewise.
4687         (catan_test): Likewise.
4688         (catanh_test): Likewise.
4689         (cbrt_test): Use END macro without arguments.
4690         (ccos_test): Use END_COMPLEX macro without arguments.
4691         (ccosh_test): Likewise.
4692         (ceil_test): Use END macro without arguments.
4693         (cexp_test): Use END_COMPLEX macro without arguments.
4694         (cimag_test): Use END macro without arguments.
4695         (clog_test): Use END_COMPLEX macro without arguments.
4696         (clog10_test): Likewise.
4697         (conj_test): Likewise.
4698         (copysign_test): Use END macro without arguments.
4699         (cos_test): Likewise.
4700         (cos_test_tonearest): Likewise.
4701         (cos_test_towardzero): Likewise.
4702         (cos_test_downward): Likewise.
4703         (cos_test_upward): Likewise.
4704         (cosh_test): Likewise.
4705         (cosh_test_tonearest): Likewise.
4706         (cosh_test_towardzero): Likewise.
4707         (cosh_test_downward): Likewise.
4708         (cosh_test_upward): Likewise.
4709         (cpow_test): Use END_COMPLEX macro without arguments.
4710         (cproj_test): Likewise.
4711         (creal_test): Use END macro without arguments.
4712         (csin_test): Use END_COMPLEX macro without arguments.
4713         (csinh_test): Likewise.
4714         (csqrt_test): Likewise.
4715         (ctan_test): Likewise.
4716         (ctan_test_tonearest): Likewise.
4717         (ctan_test_towardzero): Likewise.
4718         (ctan_test_downward): Likewise.
4719         (ctan_test_upward): Likewise.
4720         (ctanh_test): Likewise.
4721         (ctanh_test_tonearest): Likewise.
4722         (ctanh_test_towardzero): Likewise.
4723         (ctanh_test_downward): Likewise.
4724         (ctanh_test_upward): Likewise.
4725         (erf_test): Use END macro without arguments.
4726         (erfc_test): Likewise.
4727         (exp_test): Likewise.
4728         (exp_test_tonearest): Likewise.
4729         (exp_test_towardzero): Likewise.
4730         (exp_test_downward): Likewise.
4731         (exp_test_upward): Likewise.
4732         (exp10_test): Likewise.
4733         (exp2_test): Likewise.
4734         (expm1_test): Likewise.
4735         (fabs_test): Likewise.
4736         (fdim_test): Likewise.
4737         (finite_test): Likewise.
4738         (floor_test): Likewise.
4739         (fma_test): Likewise.
4740         (fma_test_towardzero): Likewise.
4741         (fma_test_downward): Likewise.
4742         (fma_test_upward): Likewise.
4743         (fmax_test): Likewise.
4744         (fmin_test): Likewise.
4745         (fmod_test): Likewise.
4746         (fpclassify_test): Likewise.
4747         (frexp_test): Likewise.
4748         (gamma_test): Likewise.
4749         (hypot_test): Likewise.
4750         (ilogb_test): Likewise.
4751         (isfinite_test): Likewise.
4752         (isgreater_test): Likewise.
4753         (isgreaterequal_test): Likewise.
4754         (isinf_test): Likewise.
4755         (isless_test): Likewise.
4756         (islessequal_test): Likewise.
4757         (islessgreater_test): Likewise.
4758         (isnan_test): Likewise.
4759         (isnormal_test): Likewise.
4760         (issignaling_test): Likewise.
4761         (isunordered_test): Likewise.
4762         (j0_test): Likewise.
4763         (j1_test): Likewise.
4764         (jn_test): Likewise.
4765         (ldexp_test): Likewise.
4766         (lgamma_test): Likewise.
4767         (lrint_test): Likewise.
4768         (lrint_test_tonearest): Likewise.
4769         (lrint_test_towardzero): Likewise.
4770         (lrint_test_downward): Likewise.
4771         (lrint_test_upward): Likewise.
4772         (llrint_test): Likewise.
4773         (llrint_test_tonearest): Likewise.
4774         (llrint_test_towardzero): Likewise.
4775         (llrint_test_downward): Likewise.
4776         (llrint_test_upward): Likewise.
4777         (log_test): Likewise.
4778         (log10_test): Likewise.
4779         (log1p_test): Likewise.
4780         (log2_test): Likewise.
4781         (logb_test): Likewise.
4782         (logb_test_downward): Likewise.
4783         (lround_test): Likewise.
4784         (llround_test): Likewise.
4785         (modf_test): Likewise.
4786         (nearbyint_test): Likewise.
4787         (nextafter_test): Likewise.
4788         (nexttoward_test): Likewise.
4789         (pow_test): Likewise.
4790         (pow_test_tonearest): Likewise.
4791         (pow_test_towardzero): Likewise.
4792         (pow_test_downward): Likewise.
4793         (pow_test_upward): Likewise.
4794         (remainder_test): Likewise.
4795         (remainder_test_tonearest): Likewise.
4796         (remainder_test_towardzero): Likewise.
4797         (remainder_test_downward): Likewise.
4798         (remainder_test_upward): Likewise.
4799         (remquo_test): Likewise.
4800         (rint_test): Likewise.
4801         (rint_test_tonearest): Likewise.
4802         (rint_test_towardzero): Likewise.
4803         (rint_test_downward): Likewise.
4804         (rint_test_upward): Likewise.
4805         (round_test): Likewise.
4806         (scalb_test): Likewise.
4807         (scalbn_test): Likewise.
4808         (scalbln_test): Likewise.
4809         (signbit_test): Likewise.
4810         (sin_test): Likewise.
4811         (sin_test_tonearest): Likewise.
4812         (sin_test_towardzero): Likewise.
4813         (sin_test_downward): Likewise.
4814         (sin_test_upward): Likewise.
4815         (sincos_test): Likewise.
4816         (sinh_test): Likewise.
4817         (sinh_test_tonearest): Likewise.
4818         (sinh_test_towardzero): Likewise.
4819         (sinh_test_downward): Likewise.
4820         (sinh_test_upward): Likewise.
4821         (sqrt_test): Likewise.
4822         (tan_test): Likewise.
4823         (tan_test_tonearest): Likewise.
4824         (tan_test_towardzero): Likewise.
4825         (tan_test_downward): Likewise.
4826         (tan_test_upward): Likewise.
4827         (tanh_test): Likewise.
4828         (tgamma_test): Likewise.
4829         (trunc_test): Likewise.
4830         (y0_test): Likewise.
4831         (y1_test): Likewise.
4832         (yn_test): Likewise.
4833         (significand_test): Likewise.
4835 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
4837         [BZ #15381]
4838         * libio/genops.c (_IO_no_init): Initialize wide struct info.
4840 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4842         [BZ #14894]
4843         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4844         __ppc_mdoio and __ppc_mdoom.
4845         * manual/platform.texi: Document new functions __ppc_yield,
4846         __ppc_mdoio and __ppc_mdoom.
4848 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
4850         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4851         (main): Mention "tls" pseudo-hwcap is legacy.
4852         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4854 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4856         * math/gen-libm-test.pl (parse_args): Output only string of
4857         arguments as text for test name, not full call or descriptions of
4858         tests for extra outputs.
4859         (generate_testfile): Do not pass function name to parse_args.
4860         Generate this_func variable from START.
4861         * math/libm-test.inc (struct test_f_f_data): Rename test_name
4862         field to arg_str.
4863         (struct test_ff_f_data): Likewise.
4864         (test_ff_f_data_nexttoward): Likewise.
4865         (struct test_fi_f_data): Likewise.
4866         (struct test_fl_f_data): Likewise.
4867         (struct test_if_f_data): Likewise.
4868         (struct test_fff_f_data): Likewise.
4869         (struct test_c_f_data): Likewise.
4870         (struct test_f_f1_data): Likewise.  Remove field extra_name.
4871         (struct test_fF_f1_data): Likewise.
4872         (struct test_ffI_f1_data): Likewise.
4873         (struct test_c_c_data): Rename test_name field to arg_str.
4874         (struct test_cc_c_data): Likewise.
4875         (struct test_f_i_data): Likewise.
4876         (struct test_ff_i_data): Likewise.
4877         (struct test_f_l_data): Likewise.
4878         (struct test_f_L_data): Likewise.
4879         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
4880         and extra2_name.
4881         (COMMON_TEST_SETUP): New macro.
4882         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4883         (COMMON_TEST_CLEANUP): Likewise.
4884         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4885         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
4886         macros.
4887         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4888         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
4889         macros.
4890         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4891         (RUN_TEST_fff_f): Take argument string.  Call new setup and
4892         cleanup macros.
4893         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4894         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
4895         macros.
4896         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4897         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
4898         macros.
4899         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4900         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
4901         cleanup macros.
4902         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4903         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
4904         cleanup macros.
4905         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4906         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
4907         cleanup macros.
4908         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4909         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
4910         macros.
4911         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4912         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
4913         macros.
4914         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4915         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
4916         macros.
4917         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4918         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
4919         cleanup macros.
4920         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4921         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
4922         cleanup macros.
4923         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4924         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
4925         macros.
4926         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4927         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
4928         cleanup macros.
4929         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4930         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
4931         macros.
4932         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4933         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
4934         macros.
4935         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4936         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
4937         cleanup macros.
4938         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4940 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4942         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4943         to _sifields.sigfault.
4944         (si_addr_lsb): Define new macro.
4945         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4946         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4947         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4949 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
4951         [BZ #15441]
4952         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4953         returns -1.
4954         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4955         null return -1.
4956         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4957         loading the domain.
4959 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4961         * math/gen-libm-test.pl (parse_args): Do not include expected
4962         result in test name.
4963         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4964         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4965         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4966         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4967         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4970 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4972         * benchtests/Makefile: Sort function entries.
4974         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4975         tanh, asinh, acosh, atanh.
4976         * benchtests/acos-inputs: New file.
4977         * benchtests/acosh-inputs: New file.
4978         * benchtests/asin-inputs: New file.
4979         * benchtests/asinh-inputs: New file.
4980         * benchtests/atanh-inputs: New file.
4981         * benchtests/cosh-inputs: New file.
4982         * benchtests/log-inputs: New file.
4983         * benchtests/sinh-inputs: New file.
4984         * benchtests/tanh-inputs: New file.
4986 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
4988         [BZ #15339]
4989         * posix/tst-getaddrinfo4.c: New test.
4990         * posix/Makefile (tests): Add it.
4992 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4994         [BZ #15339]
4995         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4996         when no services were used.
4997         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4998         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5000 2013-05-21  Andreas Schwab  <schwab@suse.de>
5002         [BZ #15014]
5003         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5004         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5005         successful.
5006         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5007         redundant variable declarations and reallocation of buffer when
5008         parsing as IPv6 address.  Always set NSS status when called from
5009         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
5010         buffer too small.  Correct computation of needed size.
5011         * nss/Makefile (tests): Add test-digits-dots.
5012         * nss/test-digits-dots.c: New test.
5014 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5016         * benchtests/Makefile: Remove instructions for adding
5017         benchmark tests.
5018         * benchtests/README: New file to explain how to execute and
5019         enhance the benchmark tests.
5021 2013-05-21  Andreas Schwab  <schwab@suse.de>
5023         [BZ #15493]
5024         * setjmp/Makefile (tests): Add tst-sigsetjmp.
5025         * setjmp/tst-sigsetjmp.c: New test.
5027 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5029         * sysdeps/x86_64/memset.S (memset): New implementation.
5030         (__bzero): Likewise.
5031         (__memset_tail): New function.
5033 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5035         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5036         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5037         __memcpy_sse2_unaligned ifunc selection.
5038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5039         Add memcpy-sse2-unaligned.S.
5040         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5041         Add: __memcpy_sse2_unaligned.
5043 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
5045         [BZ #15490]
5046         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5047         math_force_eval before restoring floating-point envrionment.
5048         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5049         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5050         Likewise.
5051         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5052         <math_private.h>.
5053         (__nearbyintl): Use math_force_eval before restoring
5054         floating-point environment.
5055         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5057         * math/gen-libm-test.pl (special_functions): Remove.
5058         (parse_args): Don't handle TEST_extra.  Handle functions with no
5059         return value.
5060         * math/libm-test.inc (struct test_sincos_data): Replace with
5061         struct test_fFF_11_data.
5062         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5063         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5064         (sincos_test_data): Change element type to struct
5065         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
5066         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5067         RUN_TEST_LOOP_sincos.
5068         * math/README.libm-test: Don't mention special handling of
5069         individual functions.
5070         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5071         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5072         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5073         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5074         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5077         * math/gen-libm-test.pl (get_variable): Remove function.
5078         (parse_args): Don't show pointer parameters to call in test
5079         names.  Use "extra output N" in test names for extra outputs
5080         rather than naming variables.
5082 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
5084         [BZ #15488]
5085         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5086         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5087         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5088         double tests.
5089         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5090         disable.
5091         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5092         check_long_double.
5094         * math/gen-libm-test.pl (@tests): Remove variable.
5095         ($count): Likewise.
5096         (new_test): Remove function.
5097         (show_exceptions): New function.
5098         (special_functions): Use show_exceptions instead of new_test.
5099         (parse_args): Likewise.
5100         (generate_testfile): Pass only function name in generated call to
5101         print_max_error or print_complex_max_error.
5102         (get_ulps): Do not handle complex tests specially.
5103         (output_test): Rename to ...
5104         (get_all_ulps_for_test): ... this.  Return a string rather than
5105         printing to a file.  Require ulps to be present.
5106         (output_ulps): Generate arrays rather than #defines.
5107         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5108         (struct ulp_data): New type.
5109         (BUILD_COMPLEX_ULP): Remove macro.
5110         (compare_ulp_data): New function.
5111         (find_ulps): Likewise.
5112         (find_test_ulps): Likewise.
5113         (find_function_ulps): Likewise.
5114         (find_complex_function_ulps): Likewise.
5115         (print_max_error): Determine allowed ulps using
5116         find_function_ulps.
5117         (print_complex_max_error): Determine allowed ulps using
5118         find_complex_function_ulps.
5119         (check_float_internal): Determine max ulps using find_test_ulps.
5120         (check_float): Do not take max_ulp parameter.  Update call to
5121         check_float_internal.
5122         (check_complex): Likewise.
5123         (check_int): Do not take max_ulp parameter.
5124         (check_long): Likewise.
5125         (check_bool): Likewise.
5126         (check_longlong): Likewise.
5127         (struct test_f_f_data): Remove max_ulp field.
5128         (struct test_ff_f_data): Likewise.
5129         (struct test_ff_f_data_nexttoward): Likewise.
5130         (struct test_fi_f_data): Likewise.
5131         (struct test_fl_f_data): Likewise.
5132         (struct test_if_f_data): Likewise.
5133         (struct test_fff_f_data): Likewise.
5134         (struct test_c_f_data): Likewise.
5135         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5136         (struct test_fF_f1_data): Likewise.
5137         (struct test_ffI_f1_data): Likewise.
5138         (struct test_c_c_data): Remove max_ulp field.
5139         (struct test_cc_c_data): Likewise.
5140         (struct test_f_i_data): Likewise.
5141         (struct test_ff_i_data): Likewise.
5142         (struct test_f_l_data): Likewise.
5143         (struct test_f_L_data): Likewise.
5144         (struct test_sincos_data): Likewise.
5145         (RUN_TEST_f_f): Do not handle ulps.
5146         (RUN_TEST_LOOP_f_f): Likewise.
5147         (RUN_TEST_2_f): Likewise.
5148         (RUN_TEST_LOOP_2_f): Likewise.
5149         (RUN_TEST_fff_f): Likewise.
5150         (RUN_TEST_LOOP_fff_f): Likewise.
5151         (RUN_TEST_c_f): Likewise.
5152         (RUN_TEST_LOOP_c_f): Likewise.
5153         (RUN_TEST_f_f1): Likewise.
5154         (RUN_TEST_LOOP_f_f1): Likewise.
5155         (RUN_TEST_fF_f1): Likewise.
5156         (RUN_TEST_LOOP_fF_f1): Likewise.
5157         (RUN_TEST_fI_f1): Likewise.
5158         (RUN_TEST_LOOP_fI_f1): Likewise.
5159         (RUN_TEST_ffI_f1): Likewise.
5160         (RUN_TEST_LOOP_ffI_f1): Likewise.
5161         (RUN_TEST_c_c): Likewise.
5162         (RUN_TEST_LOOP_c_c): Likewise.
5163         (RUN_TEST_cc_c): Likewise.
5164         (RUN_TEST_LOOP_cc_c): Likewise.
5165         (RUN_TEST_f_i): Likewise.
5166         (RUN_TEST_LOOP_f_i): Likewise.
5167         (RUN_TEST_f_i_tg): Likewise.
5168         (RUN_TEST_LOOP_f_i_tg): Likewise.
5169         (RUN_TEST_ff_i_tg): Likewise.
5170         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5171         (RUN_TEST_f_b): Likewise.
5172         (RUN_TEST_LOOP_f_b): Likewise.
5173         (RUN_TEST_f_b_tg): Likewise.
5174         (RUN_TEST_LOOP_f_b_tg): Likewise.
5175         (RUN_TEST_f_l): Likewise.
5176         (RUN_TEST_LOOP_f_l): Likewise.
5177         (RUN_TEST_f_L): Likewise.
5178         (RUN_TEST_LOOP_f_L): Likewise.
5179         (RUN_TEST_sincos): Likewise.
5180         (RUN_TEST_LOOP_sincos): Likewise.
5182 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
5184         [BZ #15480]
5185         [BZ #15485]
5186         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5187         main case of finite arguments, set rounding mode to FE_TONEAREST
5188         and discard exceptions.
5189         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5190         exceptions.
5191         (remainder_tonearest_test_data): New variable.
5192         (remainder_test_tonearest): New function.
5193         (remainder_towardzero_test_data): New variable.
5194         (remainder_test_towardzero): New function.
5195         (remainder_downward_test_data): New variable.
5196         (remainder_test_downward): New function.
5197         (remainder_upward_test_data): New variable.
5198         (remainder_test_upward): New function.
5199         (main): Call the new test functions.
5201         * math/libm-test.inc (struct test_f_f1_data): Remove field
5202         extra_init.
5203         (struct test_fF_f1_data): Likewise.
5204         (struct test_ffI_f1_data): Likewise.
5205         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
5206         based on value of EXTRA_EXPECTED.
5207         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5208         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
5209         EXTRA_VAR based on value of EXTRA_EXPECTED.
5210         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5211         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
5212         EXTRA_VAR based on value of EXTRA_EXPECTED.
5213         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5214         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
5215         EXTRA_VAR based on value of EXTRA_EXPECTED.
5216         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5217         * math/gen-libm-test.pl (parse_args): Don't output initializers
5218         for extra output values.
5220         * math/libm-test.inc (check_int): Expect result to be exactly
5221         equal to expected value and do not handle ulps.
5222         (check_long): Likewise.
5223         (check_longlong): Likewise.
5225         * math/libm-test.inc (ceil_test_data): Test for "inexact"
5226         exceptions.
5227         (cimag_test_data): Likewise.
5228         (conj_test_data): Likewise.
5229         (copysign_test_data): Likewise.
5230         (cproj_test_data): Likewise.
5231         (creal_test_data): Likewise.
5232         (fabs_test_data): Likewise.
5233         (fdim_test_data): Likewise.
5234         (finite_test_data): Likewise.
5235         (floor_test_data): Likewise.
5236         (fmax_test_data): Likewise.
5237         (fmin_test_data): Likewise.
5238         (fmod_test_data): Likewise.
5239         (fpclassify_test_data): Likewise.
5240         (frexp_test_data): Likewise.
5241         (ilogb_test_data): Likewise.
5242         (isfinite_test_data): Likewise.
5243         (isgreater_test_data): Likewise.
5244         (isgreaterequal_test_data): Likewise.
5245         (isinf_test_data): Likewise.
5246         (isless_test_data): Likewise.
5247         (islessequal_test_data): Likewise.
5248         (islessgreater_test_data): Likewise.
5249         (isnan_test_data): Likewise.
5250         (isnormal_test_data): Likewise.
5251         (issignaling_test_data): Likewise.
5252         (isunordered_test_data): Likewise.
5253         (ldexp_test_data): Likewise.
5254         (lrint_test_data): Likewise.
5255         (lrint_test_data) [TEST_FLOAT]: Disable one test.
5256         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5257         (lrint_tonearest_test_data): Test for "inexact" exceptions.
5258         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5259         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5260         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5261         test input.
5262         (lrint_towardzero_test_data): Test for "inexact" exceptions.
5263         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5264         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5265         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5266         that test input.
5267         (lrint_downward_test_data): Test for "inexact" exceptions.
5268         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5269         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5270         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5271         test input.
5272         (lrint_upward_test_data): Test for "inexact" exceptions.
5273         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5274         test input.
5275         (llrint_test_data): Test for "inexact" exceptions.
5276         (llrint_test_data) [TEST_FLOAT]: Disable one test.
5277         (llrint_tonearest_test_data): Test for "inexact" exceptions.
5278         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5279         (llrint_towardzero_test_data): Test for "inexact" exceptions.
5280         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5281         (llrint_downward_test_data): Test for "inexact" exceptions.
5282         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5283         (llrint_upward_test_data): Test for "inexact" exceptions.
5284         (logb_test_data): Likewise.
5285         (logb_downward_test_data): Likewise.
5286         (nextafter_test_data): Likewise.
5287         (nexttoward_test_data): Likewise.
5288         (remainder_test_data): Likewise.
5289         (remquo_test_data): Likewise.
5290         (scalbn_test_data): Likewise.
5291         (scalbln_test_data): Likewise.
5292         (signbit_test_data): Likewise.
5293         (sqrt_test_data): Likewise.
5294         (significand_test_data): Likewise.
5296 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5298         [BZ #15424]
5299         * benchtests/bench-modf.c (struct args): Mark arg0 as
5300         volatile.
5301         * scripts/bench.pl: Mark members of struct args as volatile.
5303 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5305         [BZ # 15497]
5306         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5307         negative infinity on POWER6 or lower.
5308         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5310 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5312         [BZ #15442]
5313         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5314         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5315         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5316         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5317         (_FP_SETQNAN): New macro.
5318         (_FP_SETQNAN_SEMIRAW): Likewise.
5319         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5320         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5321         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5322         (FP_EXTEND): Use _FP_FRAC_SNANP.
5323         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5324         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5325         into account.
5326         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5327         New macro.
5328         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5329         Likewise.
5331 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5333         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5334         with DIVIDE_BY_ZERO_EXCEPTION.
5335         (gamma_test_data): Likewise.
5336         (lgamma_test_data): Likewise.
5337         (log_test_data): Likewise.
5338         (log10_test_data): Likewise.
5339         (log2_test_data): Likewise.
5340         (tgamma_test_data): Likewise.
5342         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5343         (acos_test_tonearest): Likewise.
5344         (acos_test_towardzero): Likewise.
5345         (acos_test_downward): Likewise.
5346         (acos_test_upward): Likewise.
5347         (acosh_test): Likewise.
5348         (asin_test): Likewise.
5349         (asin_test_tonearest): Likewise.
5350         (asin_test_towardzero): Likewise.
5351         (asin_test_downward): Likewise.
5352         (asin_test_upward): Likewise.
5353         (asinh_test): Likewise.
5354         (atan_test): Likewise.
5355         (atanh_test): Likewise.
5356         (atan2_test): Likewise.
5357         (cabs_test): Likewise.
5358         (cacos_test): Likewise.
5359         (cacosh_test): Likewise.
5360         (casin_test): Likewise.
5361         (casinh_test): Likewise.
5362         (catan_test): Likewise.
5363         (catanh_test): Likewise.
5364         (cbrt_test): Likewise.
5365         (ccos_test): Likewise.
5366         (ccosh_test): Likewise.
5367         (cexp_test): Likewise.
5368         (clog_test): Likewise.
5369         (clog10_test): Likewise.
5370         (cos_test): Likewise.
5371         (cos_test_tonearest): Likewise.
5372         (cos_test_towardzero): Likewise.
5373         (cos_test_downward): Likewise.
5374         (cos_test_upward): Likewise.
5375         (cosh_test): Likewise.
5376         (cosh_test_tonearest): Likewise.
5377         (cosh_test_towardzero): Likewise.
5378         (cosh_test_downward): Likewise.
5379         (cosh_test_upward): Likewise.
5380         (cpow_test): Likewise.
5381         (csin_test): Likewise.
5382         (csinh_test): Likewise.
5383         (csqrt_test): Likewise.
5384         (ctan_test): Likewise.
5385         (ctan_test_tonearest): Likewise.
5386         (ctan_test_towardzero): Likewise.
5387         (ctan_test_downward): Likewise.
5388         (ctan_test_upward): Likewise.
5389         (ctanh_test): Likewise.
5390         (ctanh_test_tonearest): Likewise.
5391         (ctanh_test_towardzero): Likewise.
5392         (ctanh_test_downward): Likewise.
5393         (ctanh_test_upward): Likewise.
5394         (erf_test): Likewise.
5395         (erfc_test): Likewise.
5396         (exp_test): Likewise.
5397         (exp_test_tonearest): Likewise.
5398         (exp_test_towardzero): Likewise.
5399         (exp_test_downward): Likewise.
5400         (exp_test_upward): Likewise.
5401         (exp10_test): Likewise.
5402         (exp2_test): Likewise.
5403         (expm1_test): Likewise.
5404         (fmod_test): Likewise.
5405         (gamma_test): Likewise.
5406         (hypot_test): Likewise.
5407         (j0_test): Likewise.
5408         (j1_test): Likewise.
5409         (jn_test): Likewise.
5410         (lgamma_test): Likewise.
5411         (log_test): Likewise.
5412         (log10_test): Likewise.
5413         (log1p_test): Likewise.
5414         (log2_test): Likewise.
5415         (logb_test_downward): Likewise.
5416         (pow_test): Likewise.
5417         (pow_test_tonearest): Likewise.
5418         (pow_test_towardzero): Likewise.
5419         (pow_test_downward): Likewise.
5420         (pow_test_upward): Likewise.
5421         (remainder_test): Likewise.
5422         (remquo_test): Likewise.
5423         (sin_test): Likewise.
5424         (sin_test_tonearest): Likewise.
5425         (sin_test_towardzero): Likewise.
5426         (sin_test_downward): Likewise.
5427         (sin_test_upward): Likewise.
5428         (sincos_test): Likewise.
5429         (sinh_test): Likewise.
5430         (sinh_test_tonearest): Likewise.
5431         (sinh_test_towardzero): Likewise.
5432         (sinh_test_downward): Likewise.
5433         (sinh_test_upward): Likewise.
5434         (sqrt_test): Likewise.
5435         (tan_test): Likewise.
5436         (tan_test_tonearest): Likewise.
5437         (tan_test_towardzero): Likewise.
5438         (tan_test_downward): Likewise.
5439         (tan_test_upward): Likewise.
5440         (tanh_test): Likewise.
5441         (tgamma_test): Likewise.
5442         (y0_test): Likewise.
5443         (y1_test): Likewise.
5444         (yn_test): Likewise.
5446         * math/gen-libm-test.pl (adjust_arg): Remove function.
5447         (special_function): Remove argument $in_func.  Only handle
5448         generating output for tables of tests, not inside functions.
5449         (parse_args): Likewise.
5450         (generate_testfile): Remove variable $in_func.  Update call to
5451         parse_args.
5452         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5453         (MINUS_ZERO_INIT): Rename macro to minus_zero.
5454         (PLUS_INFTY_INIT): Rename macro to plus_infty.
5455         (MINUS_INFTY_INIT): Rename macro to minus_infty.
5456         (QNAN_VALUE_INIT): Rename macro to qnan_value.
5457         (MAX_VALUE_INIT): Rename macro to max_value.
5458         (MIN_VALUE_INIT): Rename macro to min_value.
5459         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5460         (plus_zero): Remove variable.
5461         (minus_zero): Likewise.
5462         (plus_infty): Likewise.
5463         (minus_infty): Likewise.
5464         (qnan_value): Likewise.
5465         (max_value): Likewise.
5466         (min_value): Likewise.
5467         (min_subnorm_value): Likewise.
5469 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5471         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5472         uint64_t or uint32_t usage.
5473         * crypt/sha256-block.c: Likewise.
5474         * crypt/sha256-crypt.c: Likewise.
5475         * crypt/sha256.c: Likewise.
5476         * crypt/sha512-block.c: Likewise.
5477         * crypt/sha512-crypt.c: Likewise.
5478         * crypt/sha512.c: Likewise.
5479         * debug/backtrace-tst.c: Likewise.
5480         * debug/pcprofiledump.c: Likewise.
5481         * elf/cache.c: Likewise.
5482         * elf/dl-cache.c: Likewise.
5483         * elf/dl-misc.c: Likewise.
5484         * elf/dl-profile.c: Likewise.
5485         * elf/dl-support.c: Likewise.
5486         * elf/ldconfig.c: Likewise.
5487         * elf/sprof.c: Likewise.
5488         * iconv/dummy-repertoire.c: Likewise.
5489         * iconv/iconv_charmap.c: Likewise.
5490         * iconv/skeleton.c: Likewise.
5491         * iconvdata/8bit-generic.c: Likewise.
5492         * iconvdata/cp737.h: Likewise.
5493         * iconvdata/cp775.h: Likewise.
5494         * iconvdata/ibm1008.h: Likewise.
5495         * iconvdata/ibm1025.h: Likewise.
5496         * iconvdata/ibm1046.h: Likewise.
5497         * iconvdata/ibm1097.h: Likewise.
5498         * iconvdata/ibm1112.h: Likewise.
5499         * iconvdata/ibm1122.h: Likewise.
5500         * iconvdata/ibm1123.h: Likewise.
5501         * iconvdata/ibm1124.h: Likewise.
5502         * iconvdata/ibm1129.h: Likewise.
5503         * iconvdata/ibm1130.h: Likewise.
5504         * iconvdata/ibm1132.h: Likewise.
5505         * iconvdata/ibm1133.h: Likewise.
5506         * iconvdata/ibm1137.h: Likewise.
5507         * iconvdata/ibm1140.h: Likewise.
5508         * iconvdata/ibm1141.h: Likewise.
5509         * iconvdata/ibm1142.h: Likewise.
5510         * iconvdata/ibm1143.h: Likewise.
5511         * iconvdata/ibm1144.h: Likewise.
5512         * iconvdata/ibm1145.h: Likewise.
5513         * iconvdata/ibm1146.h: Likewise.
5514         * iconvdata/ibm1147.h: Likewise.
5515         * iconvdata/ibm1148.h: Likewise.
5516         * iconvdata/ibm1149.h: Likewise.
5517         * iconvdata/ibm1153.h: Likewise.
5518         * iconvdata/ibm1154.h: Likewise.
5519         * iconvdata/ibm1155.h: Likewise.
5520         * iconvdata/ibm1156.h: Likewise.
5521         * iconvdata/ibm1157.h: Likewise.
5522         * iconvdata/ibm1158.h: Likewise.
5523         * iconvdata/ibm1160.h: Likewise.
5524         * iconvdata/ibm1161.h: Likewise.
5525         * iconvdata/ibm1162.h: Likewise.
5526         * iconvdata/ibm1163.h: Likewise.
5527         * iconvdata/ibm1164.h: Likewise.
5528         * iconvdata/ibm1166.h: Likewise.
5529         * iconvdata/ibm1167.h: Likewise.
5530         * iconvdata/ibm12712.h: Likewise.
5531         * iconvdata/ibm1390.h: Likewise.
5532         * iconvdata/ibm1399.h: Likewise.
5533         * iconvdata/ibm16804.h: Likewise.
5534         * iconvdata/ibm4517.h: Likewise.
5535         * iconvdata/ibm4899.h: Likewise.
5536         * iconvdata/ibm4909.h: Likewise.
5537         * iconvdata/ibm4971.h: Likewise.
5538         * iconvdata/ibm5347.h: Likewise.
5539         * iconvdata/ibm803.h: Likewise.
5540         * iconvdata/ibm856.h: Likewise.
5541         * iconvdata/ibm901.h: Likewise.
5542         * iconvdata/ibm902.h: Likewise.
5543         * iconvdata/ibm9030.h: Likewise.
5544         * iconvdata/ibm9066.h: Likewise.
5545         * iconvdata/ibm921.h: Likewise.
5546         * iconvdata/ibm922.h: Likewise.
5547         * iconvdata/ibm9448.h: Likewise.
5548         * iconvdata/isiri-3342.h: Likewise.
5549         * iconvdata/jis0201.h: Likewise.
5550         * include/link.h: Likewise.
5551         * include/netdb.h: Likewise.
5552         * inet/check_native.c: Likewise.
5553         * inet/check_pf.c: Likewise.
5554         * inet/getipv4sourcefilter.c: Likewise.
5555         * inet/getnameinfo.c: Likewise.
5556         * inet/getsourcefilter.c: Likewise.
5557         * inet/htonl.c: Likewise.
5558         * inet/setipv4sourcefilter.c: Likewise.
5559         * inet/setsourcefilter.c: Likewise.
5560         * inet/test-inet6_opt.c: Likewise.
5561         * inet/tst-network.c: Likewise.
5562         * locale/C-collate.c: Likewise.
5563         * locale/C-ctype.c: Likewise.
5564         * locale/C-time.c: Likewise.
5565         * locale/C-translit.h: Likewise.
5566         * locale/loadarchive.c: Likewise.
5567         * locale/programs/3level.h: Likewise.
5568         * locale/programs/charmap.c: Likewise.
5569         * locale/programs/charmap.h: Likewise.
5570         * locale/programs/ld-address.c: Likewise.
5571         * locale/programs/ld-collate.c: Likewise.
5572         * locale/programs/ld-ctype.c: Likewise.
5573         * locale/programs/ld-identification.c: Likewise.
5574         * locale/programs/ld-measurement.c: Likewise.
5575         * locale/programs/ld-messages.c: Likewise.
5576         * locale/programs/ld-monetary.c: Likewise.
5577         * locale/programs/ld-name.c: Likewise.
5578         * locale/programs/ld-numeric.c: Likewise.
5579         * locale/programs/ld-paper.c: Likewise.
5580         * locale/programs/ld-telephone.c: Likewise.
5581         * locale/programs/ld-time.c: Likewise.
5582         * locale/programs/linereader.c: Likewise.
5583         * locale/programs/locale.c: Likewise.
5584         * locale/programs/locarchive.c: Likewise.
5585         * locale/programs/locfile.h: Likewise.
5586         * locale/programs/repertoire.c: Likewise.
5587         * locale/programs/simple-hash.c: Likewise.
5588         * locale/programs/simple-hash.h: Likewise.
5589         * malloc/memusage.c: Likewise.
5590         * malloc/memusagestat.c: Likewise.
5591         * nis/nis_defaults.c: Likewise.
5592         * nis/nis_hash.c: Likewise.
5593         * nis/nis_print.c: Likewise.
5594         * nis/nis_xdr.c: Likewise.
5595         * nscd/connections.c: Likewise.
5596         * nscd/hstcache.c: Likewise.
5597         * nscd/nscd_gethst_r.c: Likewise.
5598         * nscd/nscd_getserv_r.c: Likewise.
5599         * nscd/nscd_helper.c: Likewise.
5600         * nscd/servicescache.c: Likewise.
5601         * nss/makedb.c: Likewise.
5602         * nss/nss_db/db-XXX.c: Likewise.
5603         * nss/nss_db/db-initgroups.c: Likewise.
5604         * nss/nss_db/db-netgrp.c: Likewise.
5605         * nss/nss_files/files-network.c: Likewise.
5606         * nss/nss_files/files-parse.c: Likewise.
5607         * posix/bug-regex5.c: Likewise.
5608         * posix/fnmatch_loop.c: Likewise.
5609         * posix/regcomp.c: Likewise.
5610         * posix/regexec.c: Likewise.
5611         * posix/tst-rfc3484-2.c: Likewise.
5612         * posix/tst-rfc3484-3.c: Likewise.
5613         * posix/tst-rfc3484.c: Likewise.
5614         * resolv/nss_dns/dns-canon.c: Likewise.
5615         * resolv/nss_dns/dns-network.c: Likewise.
5616         * resolv/res_init.c: Likewise.
5617         * resolv/res_mkquery.c: Likewise.
5618         * resolv/tst-aton.c: Likewise.
5619         * stdlib/cxa_atexit.c: Likewise.
5620         * stdlib/cxa_finalize.c: Likewise.
5621         * stdlib/gen-fpioconst.c: Likewise.
5622         * stdlib/strtol_l.c: Likewise.
5623         * string/tst-endian.c: Likewise.
5624         * sunrpc/auth_des.c: Likewise.
5625         * sunrpc/clnt_udp.c: Likewise.
5626         * sunrpc/rtime.c: Likewise.
5627         * sunrpc/svcauth_des.c: Likewise.
5628         * sunrpc/xdr.c: Likewise.
5629         * sunrpc/xdr_intXX_t.c: Likewise.
5630         * sunrpc/xdr_rec.c: Likewise.
5631         * sysdeps/generic/ldconfig.h: Likewise.
5632         * sysdeps/generic/ldsodefs.h: Likewise.
5633         * sysdeps/generic/memusage.h: Likewise.
5634         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5635         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5636         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5637         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5638         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5639         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5640         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5641         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5642         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5643         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5644         * sysdeps/posix/getaddrinfo.c: Likewise.
5645         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5646         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5647         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5648         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5649         * sysdeps/powerpc/test-gettimebase.c: Likewise.
5650         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5651         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5652         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5653         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5654         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5655         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5656         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5657         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5658         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5659         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5660         * sysdeps/x86_64/dl-tls.h: Likewise.
5661         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5662         * time/alt_digit.c: Likewise.
5663         * time/era.c: Likewise.
5664         * wcsmbs/tst-c16c32-1.c: Likewise.
5666 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5668         * math/libm-test.inc (struct test_sincos_data): New type.
5669         (RUN_TEST_LOOP_sincos): New macro.
5670         (sincos_test_data): New variable.
5671         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5673 2013-05-16  Richard Henderson  <rth@redhat.com>
5675         * math/atest-exp2.c (LIMB64): New macro.
5676         (CONSTSZ): New macro.
5677         (mp_exp1, mp_exp_m1, mp_log2): New variables.
5678         (hexdig): Move ...
5679         (print_mpn_fp): ... to function scope.
5680         (read_mpn_hex): Remove.
5681         (get_log2): Remove.
5682         (exp2_mpn): Use mp_log2.
5683         (main): Use mp_exp1.
5685 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5687         * math/libm-test.inc: Remove comment about not testing "inexact"
5688         exceptions.
5689         (INEXACT_EXCEPTION): New macro.
5690         (NO_INEXACT_EXCEPTION): Likewise.
5691         (INVALID_EXCEPTION_OK): Update value.
5692         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5693         (OVERFLOW_EXCEPTION_OK): Likewise.
5694         (UNDERFLOW_EXCEPTION_OK): Likewise.
5695         (IGNORE_ZERO_INF_SIGN): Likewise.
5696         (ERRNO_UNCHANGED): Likewise.
5697         (ERRNO_EDOM): Likewise.
5698         (ERRNO_ERANGE): Likewise.
5699         (test_exceptions): Handle testing "inexact" exceptions.
5700         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5701         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5702         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5703         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5704         INEXACT_EXCEPTION.
5705         (rint_towardzero_test_data): Likewise.
5706         (rint_downward_test_data): Likewise.
5707         (rint_upward_test_data): Likewise.
5709         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5710         with OVERFLOW_EXCEPTION.
5711         (exp10_test_data): Likewise.
5712         (exp2_test_data): Likewise.
5713         (expm1_test_data): Likewise.
5714         (lgamma_test_data): Likewise.
5715         (pow_test_data): Likewise.
5716         (tgamma_test_data): Likewise.
5717         (yn_test_data): Remove duplicate test of overflow.
5719         * math/libm-test.inc (struct test_cc_c_data): New type.
5720         (RUN_TEST_LOOP_cc_c): New macro.
5721         (cpow_test_data): New variable.
5722         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5724         * math/libm-test.inc (struct test_f_L_data): New type.
5725         (RUN_TEST_LOOP_f_L): New macro.
5726         (llrint_test_data): New variable.
5727         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5728         (llrint_tonearest_test_data): New variable.
5729         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5730         (llrint_towardzero_test_data): New variable.
5731         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5732         (llrint_downward_test_data): New variable.
5733         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5734         (llrint_upward_test_data): New variable.
5735         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5736         (llround_test_data): New variable.
5737         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5739 2013-05-13  Peter Collingbourne  <pcc@google.com>
5741         * math/atest-exp2.c (get_log2): Remove const attribute.
5743 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5745         * math/libm-test.inc (struct test_f_l_data): New type.
5746         (RUN_TEST_LOOP_f_l): New macro.
5747         (lrint_test_data): New variable.
5748         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5749         (lrint_tonearest_test_data): New variable.
5750         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5751         (lrint_towardzero_test_data): New variable.
5752         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5753         (lrint_downward_test_data): New variable.
5754         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5755         (lrint_upward_test_data): New variable.
5756         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5757         (lround_test_data): New variable.
5758         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5760 2013-05-15  Peter Collingbourne  <pcc@google.com>
5762         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5763         (EXTRACT_WORDS64) Use where appropriate.
5764         (INSERT_WORDS64) Likewise.
5766         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5767         constraints with x constraints.
5768         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5770         * malloc/obstack.c (_obstack_compat): Add initializer.
5772 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5774         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5775         si_trapno and add si_addr_lsb to _sifields.sigfault.
5776         (si_trapno): Remove macro.
5777         (si_addr_lsb): Define new macro.
5778         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5780 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5782         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5783         instead of TEST_f_l.
5784         (llrint_test_tonearest): Likewise.
5785         (llrint_test_towardzero): Likewise.
5786         (llrint_test_downward): Likewise.
5787         (llrint_test_upward): Likewise.
5788         (llround_test): Likewise.
5790         * math/libm-test.inc (struct test_f_i_data): Add comment.
5791         (RUN_TEST_LOOP_f_b): New macro.
5792         (RUN_TEST_LOOP_f_b_tg): Likewise.
5793         (finite_test_data): New variable.
5794         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5795         (isfinite_test_data): New variable.
5796         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5797         (isinf_test_data): New variable.
5798         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5799         (isnan_test_data): New variable.
5800         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5801         (isnormal_test_data): New variable.
5802         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5803         (issignaling_test_data): New variable.
5804         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5805         (signbit_test_data): New variable.
5806         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5808         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5809         with INVALID_EXCEPTION.
5810         (acosh_test_data): Likewise.
5811         (asin_test_data): Likewise.
5812         (atanh_test_data): Likewise.
5813         (fmod_test_data): Likewise.
5814         (log_test_data): Likewise.
5815         (log10_test_data): Likewise.
5816         (log2_test_data): Likewise.
5817         (pow_test_data): Likewise.
5818         (sqrt_test_data): Likewise.
5819         (y0_test_data): Likewise.
5820         (y1_test_data): Likewise.
5821         (yn_test_data): Likewise.
5823         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5824         function contents.
5826         * math/libm-test.inc (struct test_ff_i_data): New type.
5827         (RUN_TEST_LOOP_ff_i_tg): New macro.
5828         (isgreater_test_data): New variable.
5829         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5830         (isgreaterequal_test_data): New variable.
5831         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5832         (isless_test_data): New variable.
5833         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5834         (islessequal_test_data): New variable.
5835         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5836         (islessgreater_test_data): New variable.
5837         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5838         (isunordered_test_data): New variable.
5839         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5841 2013-05-14  David S. Miller  <davem@davemloft.net>
5843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5845 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
5847         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5849         * math/libm-test.inc (struct test_fF_f1_data): Change type of
5850         extra_test to int.
5851         (struct test_f_i_data): Change type of max_ulp to int.
5853         * math/libm-test.inc (test_ffI_f1_data): New type.
5854         (RUN_TEST_LOOP_ffI_f1): New macro.
5855         (remquo_test_data): New variable.
5856         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5858         * setjmp/tst-setjmp-fp.c: New file.
5859         * setjmp/Makefile (tests): Add tst-setjmp-fp.
5860         (link-libm): New variable.
5861         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5863         * math/libm-test.inc (struct test_f_i_data): New type.
5864         (RUN_TEST_LOOP_f_i): New macro.
5865         (RUN_TEST_LOOP_f_i_tg): Likewise.
5866         (fpclassify_test_data): New variable.
5867         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5868         (ilogb_test_data): New variable.
5869         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5871         * math/libm-test.inc (scalbln_test): Correct function name in END
5872         call.
5874         * math/libm-test.inc (struct test_f_f1_data): Add comment.
5875         (RUN_TEST_LOOP_fI_f1): New macro.
5876         (frexp_test_data): New variable.
5877         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5879         * math/libm-test.inc (struct test_fF_f1_data): New type.
5880         (RUN_TEST_LOOP_fF_f1): New macro.
5881         (modf_test_data): New variable.
5882         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5884         * math/libm-test.inc (struct test_f_f1_data): New type.
5885         (RUN_TEST_LOOP_f_f1): New macro.
5886         (gamma_test_data): New variable.
5887         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5888         (lgamma_test_data): New variable.
5889         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5891 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
5893         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5894         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5895         (main): Comment "tls" pseudo-hwcap.
5897 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
5899         * math/libm-test.inc (struct test_fl_f_data): New type.
5900         (RUN_TEST_LOOP_fl_f): New variable.
5901         (scalbln_test_data): New variable.
5902         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5904         * math/libm-test.inc (struct test_fi_f_data): New type.
5905         (RUN_TEST_LOOP_fi_f): New macro.
5906         (ldexp_test_data): New variable.
5907         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5908         (scalbn_test_data): New variable.
5909         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5911         * math/libm-test.inc (struct test_c_f_data): New type.
5912         (RUN_TEST_LOOP_c_f): New macro.
5913         (cabs_test_data): New variable.
5914         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5915         (carg_test_data): New variable.
5916         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5917         (cimag_test_data): New variable.
5918         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5919         (creal_test_data): New variable.
5920         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5922         * math/libm-test.inc (struct test_if_f_data): New type.
5923         (RUN_TEST_LOOP_if_f): New macro.
5924         (jn_test_data): New variable.
5925         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5926         (yn_test_data): New variable.
5927         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5929         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5931 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5933         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5934         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5936 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5938         * benchtests/Makefile (CPPFLAGS-nonlib): Add
5939         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5940         (bench-deps): Add bench-timing.h.
5941         * benchtests-bench-skeleton.c: Include bench-timing.h.
5942         (main): Use TIMING_* macros instead of clock_gettime.
5943         * benchtests/bench-timing.h: New file.
5945         [BZ #14582]
5946         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5947         Renamed from _LIB_VERSION.
5948         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5950 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
5952         * math/libm-test.inc (struct test_fff_f_data): New type.
5953         (RUN_TEST_LOOP_fff_f): New macro.
5954         (fma_test_data): New variable.
5955         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5956         (fma_towardzero_test_data): New variable.
5957         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5958         (fma_downward_test_data): New variable.
5959         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5960         (fma_upward_test_data): New variable.
5961         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5963         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5964         (struct test_c_c_data): New type.
5965         (RUN_TEST_LOOP_c_c): New macro.
5966         (cacos_test_data): New variable.
5967         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5968         (cacosh_test_data): New variable.
5969         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5970         (casin_test_data): New variable.
5971         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5972         (casinh_test_data): New variable.
5973         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5974         (catan_test_data): New variable.
5975         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5976         (catanh_test_data): New variable.
5977         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5978         (ccos_test_data): New variable.
5979         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5980         (ccosh_test_data): New variable.
5981         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5982         (cexp_test_data): New variable.
5983         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5984         (clog_test_data): New variable.
5985         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5986         (clog10_test_data): New variable.
5987         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5988         (conj_test_data): New variable.
5989         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5990         (cproj_test_data): New variable.
5991         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5992         (csin_test_data): New variable.
5993         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5994         (csinh_test_data): New variable.
5995         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5996         (csqrt_test_data): New variable.
5997         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5998         (ctan_test_data): New variable.
5999         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6000         (ctan_tonearest_test_data): New variable.
6001         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6002         (ctan_towardzero_test_data): New variable.
6003         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6004         (ctan_downward_test_data): New variable.
6005         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6006         (ctan_upward_test_data): New variable.
6007         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6008         (ctanh_test_data): New variable.
6009         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6010         (ctanh_tonearest_test_data): New variable.
6011         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6012         (ctanh_towardzero_test_data): New variable.
6013         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6014         (ctanh_downward_test_data): New variable.
6015         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6016         (ctanh_upward_test_data): New variable.
6017         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6018         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6019         of BUILD_COMPLEX.
6021         * math/libm-test.inc (struct test_ff_f_data): New type.
6022         (struct test_ff_f_data_nexttoward): Likewise.
6023         (RUN_TEST_LOOP_2_f): New macro.
6024         (RUN_TEST_LOOP_ff_f): Likewise.
6025         (atan2_test_data): New variable.
6026         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6027         (copysign_test_data): New variable.
6028         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6029         (fdim_test_data): New variable.
6030         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6031         (fmax_test_data): New variable.
6032         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6033         (fmin_test_data): New variable.
6034         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6035         (fmod_test_data): New variable.
6036         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6037         (hypot_test_data): New variable.
6038         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6039         (nextafter_test_data): New variable.
6040         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6041         (nexttoward_test_data): New variable.
6042         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6043         (pow_test_data): New variable.
6044         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6045         (pow_tonearest_test_data): New variable.
6046         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6047         (pow_towardzero_test_data): New variable.
6048         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6049         (pow_downward_test_data): New variable.
6050         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6051         (pow_upward_test_data): New variable.
6052         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6053         (remainder_test_data): New variable.
6054         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6055         (scalb_test_data): New variable.
6056         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6057         * sysdeps/i386/fpu/libm-test-ulps: Update.
6059 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
6061         * math/libm-test.inc (fma_test): Use max_value instead of local
6062         variable fltmax.
6063         (nextafter_test): Likewise.
6065         * math/libm-test.inc (acos_towardzero_test_data): New variable.
6066         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6067         (acos_downward_test_data): New variable.
6068         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6069         (acos_upward_test_data): New variable.
6070         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6071         (acosh_test_data): New variable.
6072         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6073         (asin_test_data): New variable.
6074         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6075         (asin_tonearest_test_data): New variable.
6076         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6077         (asin_towardzero_test_data): New variable.
6078         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6079         (asin_downward_test_data): New variable.
6080         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6081         (asin_upward_test_data): New variable.
6082         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6083         (asinh_test_data): New variable.
6084         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6085         (atan_test_data): New variable.
6086         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6087         (atanh_test_data): New variable.
6088         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6089         (cbrt_test_data): New variable.
6090         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6091         (ceil_test_data): New variable.
6092         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6093         (cos_test_data): New variable.
6094         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6095         (cos_tonearest_test_data): New variable.
6096         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6097         (cos_towardzero_test_data): New variable.
6098         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6099         (cos_downward_test_data): New variable.
6100         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6101         (cos_upward_test_data): New variable.
6102         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6103         (cosh_test_data): New variable.
6104         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6105         (cosh_tonearest_test_data): New variable.
6106         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6107         (cosh_towardzero_test_data): New variable.
6108         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6109         (cosh_downward_test_data): New variable.
6110         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6111         (cosh_upward_test_data): New variable.
6112         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6113         (erf_test_data): New variable.
6114         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6115         (erfc_test_data): New variable.
6116         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6117         (exp_test_data): New variable.
6118         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6119         (exp_tonearest_test_data): New variable.
6120         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6121         (exp_towardzero_test_data): New variable.
6122         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6123         (exp_downward_test_data): New variable.
6124         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6125         (exp_upward_test_data): New variable.
6126         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6127         (exp10_test_data): New variable.
6128         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6129         (exp2_test_data): New variable.
6130         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6131         (expm1_test_data): New variable.
6132         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6133         (fabs_test_data): New variable.
6134         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6135         (floor_test_data): New variable.
6136         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6137         (j0_test_data): New variable.
6138         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6139         (j1_test_data): New variable.
6140         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6141         (log_test_data): New variable.
6142         (log_test): Run tests with RUN_TEST_LOOP_f_f.
6143         (log10_test_data): New variable.
6144         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6145         (log1p_test_data): New variable.
6146         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6147         (log2_test_data): New variable.
6148         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6149         (logb_test_data): New variable.
6150         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6151         (logb_downward_test_data): New variable.
6152         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6153         (nearbyint_test_data): New variable.
6154         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6155         (rint_test_data): New variable.
6156         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6157         (rint_tonearest_test_data): New variable.
6158         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6159         (rint_towardzero_test_data): New variable.
6160         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6161         (rint_downward_test_data): New variable.
6162         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6163         (rint_upward_test_data): New variable.
6164         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6165         (round_test_data): New variable.
6166         (round_test): Run tests with RUN_TEST_LOOP_f_f.
6167         (sin_test_data): New variable.
6168         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6169         (sin_tonearest_test_data): New variable.
6170         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6171         (sin_towardzero_test_data): New variable.
6172         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6173         (sin_downward_test_data): New variable.
6174         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6175         (sin_upward_test_data): New variable.
6176         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6177         (sinh_test_data): New variable.
6178         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6179         (sinh_tonearest_test_data): New variable.
6180         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6181         (sinh_towardzero_test_data): New variable.
6182         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6183         (sinh_downward_test_data): New variable.
6184         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6185         (sinh_upward_test_data): New variable.
6186         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6187         (sqrt_test_data): New variable.
6188         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6189         (tan_test_data): New variable.
6190         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6191         (tan_tonearest_test_data): New variable.
6192         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6193         (tan_towardzero_test_data): New variable.
6194         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6195         (tan_downward_test_data): New variable.
6196         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6197         (tan_upward_test_data): New variable.
6198         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6199         (tanh_test_data): New variable.
6200         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6201         (tgamma_test_data): New variable.
6202         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6203         (trunc_test_data): New variable.
6204         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6205         (y0_test_data): New variable.
6206         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6207         (y1_test_data): New variable.
6208         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6209         (significand_test_data): New variable.
6210         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6212 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
6214         [BZ #12387]
6215         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6217 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6219         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6221 2013-05-10  Andreas Jaeger  <aj@suse.de>
6223         [BZ #15448]
6224         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6225         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6227 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6229         * math/gen-libm-test.pl (adjust_arg): New function.
6230         (special_functions): Handle generating output in both functions
6231         and arrays.
6232         (parse_args): Likewise.
6233         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
6234         $in_func argument to parse_args.
6235         * math/libm-test.inc (struct test_f_f_data): New type.
6236         (IF_ROUND_INIT_): New macro.
6237         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6238         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6239         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6240         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6241         (ROUND_RESTORE_): Likewise.
6242         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6243         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6244         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6245         (ROUND_RESTORE_FE_UPWARD): Likewise.
6246         (RUN_TEST_LOOP_f_f): New macro.
6247         (acos_test_data): New variable.
6248         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6249         (acos_tonearest_test_data): New variable.
6250         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6252 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6254         * benchtests/bench-skeleton.c (startup): Fix coding style.
6256 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6258         [BZ #6809]
6259         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6260         negative infinity argument.
6261         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6262         negative infinity argument.
6263         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6264         negative infinity argument.
6265         * math/libm-test.inc (tgamma_test): Expect errno to be set for
6266         domain errors.
6268 2013-05-10  Florian Weimer  <fweimer@redhat.com>
6270         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6271         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6272         * iconv/iconv_prog.c (main): Likewise.
6273         * locale/programs/charmap-dir.c (charmap_readdir)
6274         (fopen_uncompressed): Likewise.
6275         * locale/programs/locfile.c (siblings_uncached)
6276         (write_locale_data): Use lstat64 instead of lstat.
6277         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6278         stat.
6280 2013-05-10  Andreas Jaeger  <aj@suse.de>
6282         [BZ #15395]
6283         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6284         localization.
6285         Include <locale.h>.
6287 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
6289         * elf/dl-close.c (_dl_close_worker): Add comments.
6291 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
6293         [BZ #15359]
6294         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6295         high part of pi/2.
6296         (__ieee754_rem_pio2l): Update comments.
6298         [BZ #15429]
6299         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6300         high part of pi/2.
6301         (__ieee754_rem_pio2l): Update comments.
6303         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6304         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6306         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6307         M_PI_4l.
6309         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6310         (M_PI_34_LOG10El): Likewise.
6311         (M_PI2_LOG10El): Likewise.
6312         (M_PI4_LOG10El): Likewise.
6313         (M_PI_LOG10El): Likewise.
6315 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6319 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
6321         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6322         (MINUS_ZERO_INIT): Likewise.
6323         (PLUS_INFTY_INIT): Likewise.
6324         (MINUS_INFTY_INIT): Likewise.
6325         (QNAN_VALUE_INIT): Likewise.
6326         (MAX_VALUE_INIT): Likewise.
6327         (MIN_VALUE_INIT): Likewise.
6328         (MIN_SUBNORM_VALUE_INIT): Likewise.
6329         (plus_zero): Initialize with PLUS_ZERO_INIT.
6330         (minus_zero): Initialize with MINUS_ZERO_INIT.
6331         (plus_infty): Initialize with PLUS_INFTY_INIT.
6332         (minus_infty): Initialize with MINUS_INFTY_INIT.
6333         (qnan_value): Initialize with QNAN_VALUE_INIT.
6334         (max_value): Initialize with MAX_VALUE_INIT.
6335         (min_value): Initialize with MIN_VALUE_INIT.
6336         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6338         * math/libm-test.inc (RUN_TEST_if_f): New macro.
6339         (jn_test): Use TEST_if_f instead of TEST_ff_f.
6340         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6341         (yn_test): Use TEST_if_f instead of TEST_ff_f.
6343         * math/libm-test.inc (RUN_TEST_f_f): New macro.
6344         (RUN_TEST_2_f): Likewise.
6345         (RUN_TEST_ff_f): Likewise.
6346         (RUN_TEST_fi_f): Likewise.
6347         (RUN_TEST_fl_f): Likewise.
6348         (RUN_TEST_fff_f): Likewise.
6349         (RUN_TEST_c_f): Likewise.
6350         (RUN_TEST_f_f1): Likewise.
6351         (RUN_TEST_fF_f1): Likewise.
6352         (RUN_TEST_fI_f1): Likewise.
6353         (RUN_TEST_ffI_f1): Likewise.
6354         (RUN_TEST_c_c): Likewise.
6355         (RUN_TEST_cc_c): Likewise.
6356         (RUN_TEST_f_i): Likewise.
6357         (RUN_TEST_f_i_tg): Likewise.
6358         (RUN_TEST_ff_i_tg): Likewise.
6359         (RUN_TEST_f_b): Likewise.
6360         (RUN_TEST_f_b_tg): Likewise.
6361         (RUN_TEST_f_l): Likewise.
6362         (RUN_TEST_f_L): Likewise.
6363         (RUN_TEST_sincos): Likewise.
6364         * math/gen-libm-test.pl (new_test): Take new argument to indicate
6365         whether to show exceptions.  Do not include ");\n" in return
6366         value.
6367         (special_functions): Output call to RUN_TEST_sincos instead of
6368         check_float calls.  Update calls to new_test.
6369         (parse_args): Output call to single RUN_TEST_* macro instead of
6370         check_* calls and other assignments.  Update calls to new_test.
6372         [BZ #2546]
6373         [BZ #2560]
6374         [BZ #5159]
6375         [BZ #15426]
6376         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6377         input to result for tgamma overflow.
6378         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6379         (gamma_coeff): New variable.
6380         (NCOEFF): New macro.
6381         (gamma_positive): New function.
6382         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6383         underflow here.  Use gamma_positive instead of exp (lgamma) for
6384         other arguments.
6385         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6386         (gamma_coeff): New variable.
6387         (NCOEFF): New macro.
6388         (gammaf_positive): New function.
6389         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6390         underflow here.  Use gamma_positive instead of exp (lgamma) for
6391         other arguments.
6392         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6393         (gamma_coeff): New variable.
6394         (NCOEFF): New macro.
6395         (gammal_positive): New function.
6396         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6397         underflow here.  Use gamma_positive instead of exp (lgamma) for
6398         other arguments.
6399         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6400         (gamma_coeff): New variable.
6401         (NCOEFF): New macro.
6402         (gammal_positive): New function.
6403         (__ieee754_gammal_r): Handle positive infinity, overflow and
6404         underflow here.  Handle NaN the same as positive infinity.  Remove
6405         check x < 0xffffffff for negative integers.  Use gamma_positive
6406         instead of exp (lgamma) for other arguments.
6407         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6408         (gamma_coeff): New variable.
6409         (NCOEFF): New macro.
6410         (gammal_positive): New function.
6411         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6412         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6413         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6414         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6415         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6416         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6417         * sysdeps/generic/math_private.h (__gamma_productf): New
6418         prototype.
6419         (__gamma_product): Likewise.
6420         (__gamma_productl): Likewise.
6421         * math/Makefile (libm-calls): Add gamma_product.
6422         * math/libm-test.inc (tgamma_test): Add more tests.
6423         * sysdeps/i386/fpu/libm-test-ulps: Update.
6424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6426 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
6428         * benchtests/bench-skeleton.c (main): Preheat CPU.
6430 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
6432         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6434 2013-05-07  Roland McGrath  <roland@hack.frob.com>
6436         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6437         and _dl_skip_args_internal.
6439 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
6441         * manual/message.texi (Message Translation): Talk about users.
6442         Message to key mapping impacts design.
6444 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6446         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6448         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6450         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6451         * sysdeps/wordsize-64/glob64.c: ... here.
6453         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6454         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6455         New macros.
6457         * debug/getlogin_r_chk.c: Moved to ...
6458         * login/getlogin_r_chk.c: ... here.
6459         * debug/Makefile (routines): Move getlogin_r_chk to ...
6460         * login/Makefile (routines): ... here.
6461         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6462         * login/Versions (libc: GLIBC_2.4): ... here.
6464         * io/poll.c (__poll): Renamed from poll.
6465         Add libc_hidden_def.
6466         (poll): Define as weak alias.
6468         * debug/ptsname_r_chk.c: Moved to ...
6469         * login/ptsname_r_chk.c: ... here.
6470         * debug/Makefile (routines): Move ptsname_r_chk to ...
6471         * login/Makefile (routines): ... here.
6472         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6473         * login/Versions (libc: GLIBC_2.4): ... here.
6475         * posix/getlogin.c: Moved to ...
6476         * login/getlogin.c: ... here.
6477         * posix/getlogin_r.c: Moved to ...
6478         * login/getlogin_r.c: ... here.
6479         * posix/getlogin_r.c: Moved to ...
6480         * login/getlogin_r.c: ... here.
6481         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6482         * login/Makefile (routines): ... here.
6483         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6484         * login/Versions (libc: GLIBC_2.0): ... here.
6486         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6487         (setrlimit): Define as weak alias.
6489         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6490         Call __ names for open, ftruncate, and close.
6491         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6492         (truncate): Define as weak alias.
6494 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
6496         * math/gen-libm-test.pl (parse_args): Initialize x before each
6497         test of frexp, modf and remquo.
6499         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6500         test signgam value.
6502 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6504         [BZ #15418]
6505         [BZ #15419]
6506         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6507         internal tests.
6508         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6510 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6512         * elf/dl-writev.h: New file.
6513         * elf/dl-misc.c: Include it.
6514         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6515         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6517 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
6519         * math/libm-test.inc (noXFails): Remove variable.
6520         (noXPasses): Likewise.
6521         (BUILD_COMPLEX_INT): Remove macro.
6522         (print_screen): Remove xfail argument.
6523         (print_screen_max_error): Likewise.
6524         (update_stats): Likewise.
6525         (print_max_error): Likewise.  Update calls to other affected
6526         functions.
6527         (print_complex_max_error): Likewise.
6528         (test_single_exception): Update calls to print_screen.
6529         (test_single_errno): Likewise.
6530         (check_float_internal): Remove xfail argument.  Update calls to
6531         other affected functions.
6532         (check_float): Likewise.
6533         (check_complex): Likewise.
6534         (check_int): Likewise.
6535         (check_long): Likewise.
6536         (check_bool): Likewise.
6537         (check_longlong): Likewise.
6538         (main): Don't print noXFails and noXPasses.
6539         * math/gen-libm-test.pl (top level): Don't mention expected
6540         failure handling in comment.
6541         (new_test): Don't handle expected failures.
6542         (parse_args): Don't mention expected failure handling in comment.
6543         (generate_testfile): Don't handle expected failures.
6544         (parse_ulps): Likewise.
6545         (print_ulps_file): Likewise.
6546         (get_failure): Remove function.
6547         (output_test): Don't handle expected failures.
6548         * make/README.libm-test: Don't mention expected failure handling.
6550         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
6551         (minus_zero): Likewise.
6552         (plus_infty): Likewise.
6553         (minus_infty): Likewise.
6554         (qnan_value): Likewise.
6555         (max_value): Likewise.
6556         (min_value): Likewise.
6557         (min_subnorm_value): Likewise.
6558         (initialize): Do not initialize those variables dynamically.
6560 2013-05-03  Roland McGrath  <roland@hack.frob.com>
6562         * io/open.c (__open_2): Moved to ...
6563         * io/open_2.c: ... this new file.
6564         * io/open64.c (__open64_2): Moved to ...
6565         * io/open64_2.c: ... this new file.
6566         * io/openat.c (__openat_2): Moved to ...
6567         * io/openat_2.c: ... this new file.
6568         * io/openat64.c (__openat64_2): Moved to ...
6569         * io/openat64_2.c: ... this new file.
6570         * io/Makefile (routines): Add them.
6571         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6572         * sysdeps/unix/sysv/linux/open_2.c: File removed.
6573         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6574         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6575         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6576         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6577         (__openat64): Add hidden_ver.
6578         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6579         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6581         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6582         Separately conditionalize setting of GLRO(dl_sysinfo) so
6583         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6584         as well, but the actual setting is only under [NEED_DL_SYSINFO].
6586 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6588         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6589         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6590         definition.
6591         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6592         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6593         (_libc_vdso_platform_setup): Add __vdso_time initialization.
6594         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6595         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6597 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
6599         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6600         test signgam value.
6602         * math/libm-test.inc (hypot_test): Do not use
6603         IGNORE_ZERO_INF_SIGN.
6605 2013-05-03  Andreas Jaeger  <aj@suse.de>
6607         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6608         Linux 3.9.
6609         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6610         (PF_MAX): Adjust for VSOCK change.
6612 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6616 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
6618         [BZ #15264]
6619         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6620         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6621         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6623 2013-05-02  David S. Miller  <davem@davemloft.net>
6625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6627 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
6629         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6631 2013-05-01  Roland McGrath  <roland@hack.frob.com>
6633         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6635 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
6637         [BZ #14952]
6638         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6639         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6640         Use __attribute__ ((__gnu_inline__)).
6641         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6642         Don't use __attribute__ ((__gnu_inline__)).
6644 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
6646         [BZ #15423]
6647         * math/s_catan.c (__catan): Handle small real or imaginary part of
6648         input specially to avoid spurious underflow.
6649         * math/s_catanf.c (__catanf): Likewise.
6650         * math/s_catanh.c (__catanh): Likewise.
6651         * math/s_catanhf.c (__catanhf): Likewise.
6652         * math/s_catanhl.c (__catanhl): Likewise.
6653         * math/s_catanl.c (__catanl): Likewise.
6654         * math/libm-test.inc (catan_test): Add more tests.
6655         (catanh_test): Likewise.
6656         * sysdeps/i386/fpu/libm-test-ulps: Update.
6657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6659 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6663 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
6665         [BZ #15416]
6666         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6667         accurately for denominator in atan2.
6668         * math/s_catanf.c (__catanf): Likewise.
6669         * math/s_catanh.c (__catanh): Likewise.
6670         * math/s_catanhf.c (__catanhf): Likewise.
6671         * math/s_catanhl.c (__catanhl): Likewise.
6672         * math/s_catanl.c (__catanl): Likewise.
6673         * math/libm-test.inc (catan_test): Add more tests.
6674         (catanh_test): Likewise.
6675         * sysdeps/i386/fpu/libm-test-ulps: Update.
6676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6678 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6680         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6682         * benchtests/Makefile (bench): Remove slow benchmarks.
6683         * benchtests/atan-inputs: Add slow benchmark inputs.
6684         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6685         (BENCH_FUNC): Accept variant offset.
6686         (VARIANT): Define.
6687         * benchtests/bench-skeleton.c (main): Run benchmark for each
6688         variant.
6689         * benchtests/cos-inputs: Add slow benchmark inputs.
6690         * benchtests/exp-inputs: Likewise.
6691         * benchtests/pow-inputs: Likewise.
6692         * benchtests/sin-inputs: Likewise.
6693         * benchtests/slowatan-inputs: Remove.
6694         * benchtests/slowatan.c: Remove.
6695         * benchtests/slowcos-inputs: Remove.
6696         * benchtests/slowcos.c: Remove.
6697         * benchtests/slowexp-inputs: Remove.
6698         * benchtests/slowexp.c: Remove.
6699         * benchtests/slowpow-inputs: Remove.
6700         * benchtests/slowpow.c: Remove.
6701         * benchtests/slowsin-inputs: Remove.
6702         * benchtests/slowsin.c: Remove.
6703         * benchtests/slowtan-inputs: Remove.
6704         * benchtests/slowtan.c: Remove.
6705         * benchtests/tan-inputs: Add slow benchmark inputs.
6706         * scripts/bench.pl: Parse comments and directives.
6708         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
6709         in CPPFLAGS.
6710         ($(objpfx)bench-%.c): Remove *-ITER.
6711         * benchtests/bench-modf.c: Remove definition of ITER.
6712         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6713         (main): Loop for DURATION seconds instead of fixed number of
6714         iterations.
6715         * scripts/bench.pl: Don't expect iterations in parameters.
6717 2013-04-29  Roland McGrath  <roland@hack.frob.com>
6719         * io/fchdir.c (__fchdir): Renamed from fchdir.
6720         (fchdir): Define as weak alias.
6722 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6724         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6725         (ERRNO_EDOM): Likewise.
6726         (ERRNO_ERANGE): Likewise.
6727         (noErrnoTests): New variable.
6728         (init_max_error): Set errno to 0.
6729         (test_single_errno): New function.
6730         (test_errno): Likewise.
6731         (check_float_internal): Call test_errno.  Set errno to 0.
6732         (check_complex): Refer to errno tests in comment.
6733         (check_int): Call test_errno.  Set errno to 0.
6734         (check_long): Likewise.
6735         (check_bool): Likewise.
6736         (check_longlong): Likewise.
6737         (cos_test): Use ERRNO_* flags for errno tests instead of
6738         check_int.
6739         (expm1_test): Likewise.
6740         (fmod_test): Likewise.
6741         (ilogb_test): Likewise.
6742         (lgamma_test): Likewise.
6743         (pow_test): Likewise.
6744         (remainder_test): Likewise.
6745         (sin_test): Likewise.
6746         (tan_test): Likewise.
6747         (yn_test): Likewise.
6748         (initialize): Set errno to 0.
6749         (main): Print number of errno tests.
6750         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6752 2013-04-29  Andreas Jaeger  <aj@suse.de>
6754         [BZ #15084]
6755         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6756         and RES_USEVC.
6758         [BZ #15085]
6759         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6760         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6761         unimplemented.
6763         [BZ #15380]
6764         * stdlib/random.c (__initstate): Return NULL if
6765         __initstate fails.
6767         [BZ #15086]
6768         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6769         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6770         RES_SNGLKUPREOP.
6772 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6776 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6778         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6779         of individual tests.
6780         (casin_test): Likewise.
6781         (casinh_test): Likewise.
6783 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
6785         [BZ #15409]
6786         * math/s_catan.c (__catan): Handle arguments with large real or
6787         imaginary part separately without squaring.
6788         * math/s_catanf.c (__catanf): Likewise.
6789         * math/s_catanh.c (__catanh): Likewise.
6790         * math/s_catanhf.c (__catanhf): Likewise.
6791         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6792         and redefine.
6793         (__catanhl): Handle arguments with large real or imaginary part
6794         separately without squaring.
6795         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6796         and redefine.
6797         (__catanl): Handle arguments with large real or imaginary part
6798         separately without squaring.
6799         * math/libm-test.inc (catan_test): Add more tests.
6800         (catanh_test): Likewise.
6801         * sysdeps/i386/fpu/libm-test-ulps: Update.
6802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6804 2013-04-27  Andreas Jaeger  <aj@suse.de>
6806         [BZ #15007]
6807         * stdlib/stdlib.h: Update guards for qecvt.
6808         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6809         <stdlib.h>.
6811 2013-04-27  Allan McRae  <allan@archlinux.org>
6813         * sysdeps/i386/fpu/libm-test-ulps: Update.
6815 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
6817         [BZ #15406]
6818         * math/s_catan.c: Include <float.h>.
6819         (__catan): Ensure underflow exception occurs for underflowed
6820         result.
6821         * math/s_catanf.c: Include <float.h>.
6822         (__catanf): Ensure underflow exception occurs for underflowed
6823         result.
6824         * math/s_catanh.c: Include <float.h>.
6825         (__catanh): Ensure underflow exception occurs for underflowed
6826         result.
6827         * math/s_catanhf.c: Include <float.h>.
6828         (__catanhf): Ensure underflow exception occurs for underflowed
6829         result.
6830         * math/s_catanhl.c: Include <float.h>.
6831         (__catanhl): Ensure underflow exception occurs for underflowed
6832         result.
6833         * math/s_catanl.c: Include <float.h>.
6834         (__catanl): Ensure underflow exception occurs for underflowed
6835         result.
6836         * math/libm-test.inc (catan_test): Add more tests.
6837         (catanh_test): Likewise.
6839         [BZ #15405]
6840         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6841         underflowed result.
6842         * math/s_ccoshf.c (__ccoshf): Likewise.
6843         * math/s_ccoshl.c (__ccoshl): Likewise.
6844         * math/s_csin.c (__csin): Likewise.
6845         * math/s_csinf.c (__csinf): Likewise.
6846         * math/s_csinh.c (__csinh): Likewise.
6847         * math/s_csinhf.c (__csinhf): Likewise.
6848         * math/s_csinhl.c (__csinhl): Likewise.
6849         * math/s_csinl.c (__csinl): Likewise.
6850         * math/libm-test.inc (ccos_test): Add more tests.
6851         (ccosh_test): Likewise.
6852         (csin_test): Likewise.
6853         (csinh_test): Likewise.
6855 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6857         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6858         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6859         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6860         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6861         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6862         powerpc/power5+/fpu folders.
6863         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6866 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
6868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6870 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
6872         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6873         additions to variable.
6874         [$(config-machine) = x86_64] (modules-names): Likewise.
6875         ($(objpfx)tst-audit3): Remove dependency.
6876         ($(objpfx)tst-audit3.out): Likewise.
6877         ($(objpfx)tst-audit4): Likewise.
6878         ($(objpfx)tst-audit4.out): Likewise.
6879         ($(objpfx)tst-audit5): Likewise.
6880         ($(objpfx)tst-audit5.out): Likewise.
6881         ($(objpfx)tst-audit6): Likewise.
6882         ($(objpfx)tst-audit6.out): Likewise.
6883         ($(objpfx)tst-audit7): Likewise.
6884         ($(objpfx)tst-audit7.out): Likewise.
6885         (tst-audit3-ENV): Remove variable.
6886         (tst-audit4-ENV): Likewise.
6887         (tst-audit5-ENV): Likewise.
6888         (tst-audit6-ENV): Likewise.
6889         (tst-audit7-ENV): Likewise.
6890         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6891         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6892         addition to variable.
6893         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6894         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6895         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6896         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6897         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6898         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6899         tst-audit3, tst-audit4 and tst-audit5.
6900         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6901         tst-audit6 and tst-audit7.
6902         [$(subdir) = elf] (modules-names): Add audit modules for those
6903         tests.
6904         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6905         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6906         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6907         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6908         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6909         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6910         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6911         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6912         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6913         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6914         [$(subdir) = elf] (tst-audit3-ENV): New variable.
6915         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6916         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6917         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6918         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6919         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6920         Likewise.
6921         [$(subdir) = elf && $(config-cflags-avx) = yes]
6922         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6923         [$(subdir) = elf && $(config-cflags-avx) = yes]
6924         (CFLAGS-tst-auditmod4a.c): Likewise.
6925         [$(subdir) = elf && $(config-cflags-avx) = yes]
6926         (CFLAGS-tst-auditmod4b.c): Likewise.
6927         [$(subdir) = elf && $(config-cflags-avx) = yes]
6928         (CFLAGS-tst-auditmod6b.c): Likewise.
6929         [$(subdir) = elf && $(config-cflags-avx) = yes]
6930         (CFLAGS-tst-auditmod6c.c): Likewise.
6931         [$(subdir) = elf && $(config-cflags-avx) = yes]
6932         (CFLAGS-tst-auditmod7b.c): Likewise.
6933         * elf/tst-audit3.c: Move to ...
6934         * sysdeps/x86_64/tst-audit3.c: ... here.
6935         * elf/tst-audit4.c: Move to ...
6936         * sysdeps/x86_64/tst-audit4.c: ... here.
6937         * elf/tst-audit5.c: Move to ...
6938         * sysdeps/x86_64/tst-audit5.c: ... here.
6939         * elf/tst-audit6.c: Move to ...
6940         * sysdeps/x86_64/tst-audit6.c: ... here.
6941         * elf/tst-audit7.c: Move to ...
6942         * sysdeps/x86_64/tst-audit7.c: ... here.
6943         * elf/tst-auditmod3a.c: Move to ...
6944         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6945         * elf/tst-auditmod3b.c: Move to ...
6946         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6947         * elf/tst-auditmod4a.c: Move to ...
6948         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6949         * elf/tst-auditmod4b.c: Move to ...
6950         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6951         * elf/tst-auditmod5a.c: Move to ...
6952         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6953         * elf/tst-auditmod5b.c: Move to ...
6954         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6955         * elf/tst-auditmod6a.c: Move to ...
6956         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6957         * elf/tst-auditmod6b.c: Move to ...
6958         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6959         * elf/tst-auditmod6c.c: Move to ...
6960         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6961         * elf/tst-auditmod7a.c: Move to ...
6962         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6963         * elf/tst-auditmod7b.c: Move to ...
6964         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6966 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
6968         [BZ #15366]
6969         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6970         define unconditionally.
6971         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6972         define unconditionally.
6973         (INT8_C, INT16_C, etc.): Likewise.
6975 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
6977         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6978         __ehdr_start with hidden visibility.
6980         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6982 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
6984         * math/libm-test.inc (cos_test): Use accurate hex constants.
6985         (sincost_test): Likewise.
6987 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
6989         * math/libm-test.inc (catan_test): Add more tests.
6990         (catanh_test): Likewise.
6992         * math/s_catanf.c (__catanf): Use suffixed floating-point
6993         constants.
6994         * math/s_catanhf.c (__catanhf): Likewise.
6995         * math/s_catanhl.c (__catanhl): Likewise.
6996         * math/s_catanl.c (__catanl): Likewise.
6998         [BZ #15394]
6999         * math/s_catan.c (__catan): Calculate imaginary part of result
7000         with log1p not log unless computing log of number close to 0.
7001         * math/s_catanf.c (__catanf): Likewise.
7002         * math/s_catanl.c (__catanl): Likewise.
7003         * math/s_catanh.c (__catanh): Calculate real part of result with
7004         log1p not log unless computing log of number close to 0.
7005         * math/s_catanhf.c (__catanhf): Likewise.
7006         * math/s_catanhl.c (__catanhl): Likewise.
7007         * math/libm-test.inc (catan_test): Add more tests.
7008         (catanh_test): Likewise.
7009         * sysdeps/i386/fpu/libm-test-ulps: Update.
7010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7012 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7014         * benchtests/Makefile: Mention files in which fast and slow
7015         paths of math functions are implemented.
7017 2013-04-23  Roland McGrath  <roland@hack.frob.com>
7019         * sysdeps/posix/timespec_get.c: New file.
7021 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7023         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7024         POWER.
7025         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7026         for POWER.
7027         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7028         powerpc/power5/fpu folders.
7029         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7030         * benchtests/Makefile: Add modf testcase.
7031         * benchtests/bench-modf.c: New file: Benchmark test for mo
7033 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7035         [BZ #14888]
7036         * time/Makefile (tests): Add tst-strptime-whitespace.
7037         * time/strptime_l.c (get_number): Use ISSPACE.
7038         (__strptime_internal): Likewise.
7039         * time/tst-strptime-whitespace.c: New test case.
7041 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
7043         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7044         member.
7045         (_nss_files_init): Set it here.
7047 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
7049         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7050         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7051         unsigned.
7053 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
7055         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7057 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7059         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7060         size just once.
7062 2013-04-21  David S. Miller  <davem@davemloft.net>
7064         * po/ru.po: Update Russion translation from translation project.
7066 2013-04-17  Adam Conrad  <adconrad@0c3.net>
7068         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7069         and setfsgid.
7071 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
7073         * configure.in: Remove i386 configure warning. Remove i386 case.
7074         * configure: Regenerate.
7075         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7076         Add example to error message.
7077         * sysdeps/i386/configure: Regenerate.
7079 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7081         * benchtests/Makefile (bench): Add cos, tan, slowcos and
7082         slowtan.
7083         * benchtests/cos-inputs: New file.
7084         * benchtests/slowcos-inputs: New file.
7085         * benchtests/slowcos.c: New file.
7086         * benchtests/slowtan-inputs: New file.
7087         * benchtests/slowtan.c: New file.
7088         * benchtests/tan-inputs: New file.
7090 2013-04-16  Roland McGrath  <roland@hack.frob.com>
7092         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7093         considered kosher.
7095 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7097         * benchtests/Makefile: Include cppflags-iterator.mk to add
7098         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7100         * Makefile.in (bench-clean): New target.
7101         * benchtests/Makefile (bench-clean): Likewise.
7103 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
7105         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7107 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
7109         * stdio-common/tstdiomisc.c: Fix coding-style violation.
7111 2013-04-15  Andreas Schwab  <schwab@suse.de>
7113         * nscd/grpcache.c (cache_addgr): Properly check for short write.
7114         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7115         * nscd/pwdcache.c (cache_addpw): Likewise.
7116         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
7117         more than recsize.
7119 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7121         * benchtests/Makefile (bench): Write all output to
7122         bench-out.tmp together.
7124 2013-04-15  Andreas Schwab  <schwab@suse.de>
7126         * nscd/nscd.c (main): Don't fork again after closing files.
7128 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7130         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7132         * benchtests/Rules (bench-deps): Collect dependencies into a
7133         single variable.  Add Makefile to dependencies.
7134         ($(objpfx)bench-%.c): Depend on bench-deps.
7136 2013-04-12  Roland McGrath  <roland@hack.frob.com>
7137             Xavier Roche  <roche+kml2@exalead.com>
7139         [BZ #15361]
7140         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7141         just that it's a file descriptor.
7142         * manual/llio.texi (Synchronizing AIO Operations): Update description
7143         for EBADF error from aio_fsync.
7145 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7147         * Rules (bench): Move target definition...
7148         * benchtests/Makefile: ... here.
7150 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
7152         * math/libm-test.inc (cos_test): Fix PI/2 test.
7153         (sincos_test): Likewise.
7154         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7155         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7157 2013-04-11  Andreas Schwab  <schwab@suse.de>
7159         [BZ #13988]
7160         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7161         accept exponent character only when digits were seen.
7162         * stdio-common/Makefile (tests): Add bug26.
7163         * stdio-common/bug26.c: New file.
7165         [BZ #14293]
7166         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7167         non-freeable.
7169 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7171         * Makeconfig (rtld-prefix): Define built linker prefix.
7172         * Rules (run-bench): Use it.
7173         * math/Makefile (run-regen-ulps): Likewise.
7175         * Rules (bench): Remove eval.
7177 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7178             Roland McGrath  <roland@hack.frob.com>
7179             Ondrej Bilka  <neleai@seznam.cz>
7181         [BZ #15346]
7182         * time/getdate.c: Include ctype.h and alloca.h.
7183         (__getdate_r): Trim leading and trailing spaces of input.
7184         * time/tst-getdate.c (tests): Add tests with leading and
7185         trailing spaces.
7187 2013-04-08  Roland McGrath  <roland@hack.frob.com>
7189         [BZ #14280]
7190         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7191         when computing value.
7193 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7195         * math/README.libm-test (How can I generate "libm-test-ulps"?):
7196         Use testrun.sh to run libm tests.
7198         [BZ #15309]
7199         * elf/dl-open.c (dl_open_worker): memset all of seen array.
7201 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
7203         [BZ #15264]
7204         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7206 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7208         * Makefile.in (regen-ulps): New target.
7209         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7210         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7211         [ifneq (no,$(PERL)] (regen-ulps): New target.
7212         [ifeq (no,$(PERL)] (regen-ulps): New target.
7213         * math/libm-test.inc (ulps_file_name): Define.
7214         (output_dir): New variable.
7215         (options): Add "output-dir" option.
7216         (parse_opt): Handle 'o' case.
7217         (main): If output_dir is non-NULL use it as a prefix
7218         otherwise use "".
7219         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7221 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7223         [BZ #10060, #10062]
7224         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7225         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7226         fail configure if __sync_val_compare_and_swap is not inlined.
7227         * sysdeps/i386/configure: Regenerate.
7228         * configure.in: Build for i686 when configured for i386.
7229         * configure: Regenerate.
7230         * README: Remove i386 reference.
7232 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7234         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7235         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7237 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7239         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7240         (lmsnanval): New variables.
7241         (F): Add conversion tests.
7242         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7243         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7245         * stdio-common/tstdiomisc.c (F): Properly collect individual
7246         tests' results.
7248         [BZ #14686, #15336]
7249         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7250         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7251         Instead, use input NaN values or generate a qNaN by arithmetic
7252         operation.  Also fix bugs to comply with the standard.
7253         * math/libm-test.inc (remainder_test): Add more tests.
7255         [BZ #15335, #15342]
7256         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7257         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7258         input NaN values or generate a qNaN by arithmetic operation.
7260         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7261         unreachable code.
7263         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7264         definitions.
7266 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
7268         [BZ #14478]
7269         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7270         underflowed result.
7271         * math/s_cexpf.c (__cexpf): Likewise.
7272         * math/s_cexpl.c (__cexpl): Likewise.
7273         * math/libm-test.inc (cexp_test): Add more tests.
7275 2013-04-03  Andreas Schwab  <schwab@suse.de>
7277         [BZ #15330]
7278         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7279         order arrays from heap if bigger than alloca cutoff.
7281 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
7283         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7284         (SNAN_TESTS_double): Refer to GCC PR56831.
7285         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7286         GCC PR56828.
7288 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7290         * Rules (bench): Move bench.out after the run is complete.
7292         * Rules (bench): Echo currently running benchmark.
7294         * benchtests/Makefile (bench): Add atan and slowatan.
7295         * benchtests/atan-inputs: New file.
7296         * benchtests/slowatan-inputs: New file.
7297         * benchtests/slowatan.c: New file.
7299         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7300         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7301         its value.
7303         [BZ #15305]
7304         * sysdeps/unix/sysv/linux/kernel-features.h
7305         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7306         __ASSUME_XFS_RESTRICTED_CHOWN.
7307         * sysdeps/unix/sysv/linux/pathconf.c
7308         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7309         Save and restore errno.
7311 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
7313         [BZ #15327]
7314         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7315         arguments using __kernel_casinh.
7316         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7317         arguments using __kernel_casinhf.
7318         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7319         arguments using __kernel_casinhl.
7320         * math/libm-test.inc (cacosh_test): Add more tests.
7321         * sysdeps/i386/fpu/libm-test-ulps: Update.
7322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7324 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7326         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7327         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7329         * bench/Makefile (bench): Add sin and slowsin.
7330         * benchtests/sin-inputs: New file.
7331         * benchtests/slowsin-inputs: New file.
7332         * benchtests/slowsin.c: New file.
7334         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7335         (bench): Add slowexp and slowpow.
7336         (exp-ITER): Increase iterations.
7337         (pow-ITER): Likewise.
7338         * benchtests/exp-inputs: Change input.
7339         * benchtests/pow-inputs: Likewise.
7340         * benchtests/slowexp-inputs: New file.
7341         * benchtests/slowexp.c: New file.
7342         * benchtests/slowpow-inputs: New file.
7343         * benchtests/slowpow.c: New file.
7345 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7347         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7348         instructions.
7349         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7350         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7351         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7352         * benchtests/Makefile: Add rint benchtest.
7353         * benchtests/rint-inputs: Input for rint benchtest.
7355 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7357         * Versions.def (libm): Add GLIBC_2.18.
7358         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7359         hidden libm prototypes.
7360         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7361         * math/Makefile (libm-calls): Add s_issignaling.
7362         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7363         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
7364         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7365         declaration.
7366         * math/math.h [__USE_GNU] (issignaling): New macro.
7367         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7368         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7369         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7370         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7371         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7372         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7373         * manual/arith.texi (issignaling): New section.
7374         * manual/libm-err-tab.pl (@all_functions): Update comment.
7375         * math/gen-libm-test.pl (parse_args): Apply special handling for
7376         issignaling.
7377         * math/libm-test.inc (print_float, issignaling_test): New
7378         functions.
7379         (check_float_internal): Add issignaling checks.
7380         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7381         default definition.
7382         * sysdeps/powerpc/math-tests.h: New file.
7383         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7384         tests.
7385         * math/test-snan.c (TEST_FUNC): Likewise.
7387 2013-03-30  David S. Miller  <davem@davemloft.net>
7389         * po/de.po: Update from translation team.
7391 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
7393         [BZ #10357]
7394         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7395         imaginary part less than 1.0 and real part less than 0.5
7396         specially.
7397         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7398         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7399         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7400         (cacos_test): Add more tests.
7401         (casin_test): Likewise.
7402         (casinh_test): Likewise.
7403         * sysdeps/i386/fpu/libm-test-ulps: Update.
7404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7406 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7408         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7409         ONE with its value.
7411         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7412         (__pow_mp): Replace ONE and MONE with their values.
7413         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7414         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7415         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7416         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7417         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7418         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7420         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7422         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7423         (__pow_mp): Replace ZERO and MZERO with their values.
7424         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7425         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7426         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7427         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7428         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7429         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7430         (__sqr): Likewise.
7432         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7434         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7436 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7438         * include/stdlib.h [!SHARED] (__call_tls_dtors):
7439         Declare with __attribute__ ((weak)).
7440         * stdlib/exit.c (__libc_atexit) [!SHARED]:
7441         Call __call_tls_dtors only if it's not NULL.
7443 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7445         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7446         didn't do it already, then set _dl_phdr and _dl_phnum based on the
7447         magic __ehdr_start linker symbol if it's defined.
7448         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7449         them up here if it was already done.
7451         * elf/dl-support.c (_dl_phdr): Make pointer to const.
7452         (_dl_aux_init): Use const in cast when setting it.
7453         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7454         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7455         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7457         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7458         Declare them here.
7459         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7460         * csu/libc-tls.c: Nor here.
7461         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7463         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7464         (__libc_message): Never call vsyslog.
7466 2013-03-28  Alan Modra  <amodra@gmail.com>
7468         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7469         Define as empty.
7470         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7471         Likewise.
7473 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7475         [BZ #15214]
7476         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7477         underflow.
7478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7480 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7482         [BZ #15304]
7483         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7484         Don't add gid passed as argument.
7486         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7488 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
7490         [BZ #15307]
7491         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7492         imaginary part between 1.0 and 1.5 and real part less than 0.5
7493         specially.
7494         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7495         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7496         * math/libm-test.inc (cacos_test): Add more tests.
7497         (casin_test): Likewise.
7498         (casinh_test): Likewise.
7499         * sysdeps/i386/fpu/libm-test-ulps: Update.
7500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7502 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7504         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7505         constants.
7506         (norm): Likewise.
7507         (denorm): Likewise.
7508         (__dbl_mp): Likewise.
7509         (add_magnitudes): Likewise.
7510         (sub_magnitudes): Likewise.
7511         (__add): Likewise.
7512         (__sub): Likewise.
7513         (__mul): Likewise.
7514         (__sqr): Likewise.
7515         (__inv): Likewise.
7516         (__dvd): Likewise.
7518         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7519         commented code.
7520         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7521         (__dubcos): Likewise.
7522         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7523         (__ieee754_acos): Likewise.
7524         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7525         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7526         (__exp1): Likewise.
7527         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7528         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7529         (log1): Likewise.
7530         (my_log2): Likewise.
7531         (checkint): Likewise.
7532         * sysdeps/ieee754/dbl-64/e_remainder.c
7533         (__ieee754_remainder): Likewise.
7534         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7535         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7536         (bsloww): Likewise.
7537         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7539         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7540         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7541         MANTISSA_STORE_T to store computations on mantissa.  Use
7542         macros for rounding and division.
7543         (denorm): Likewise.
7544         (__dbl_mp): Likewise.
7545         (add_magnitudes): Likewise.
7546         (sub_magnitudes): Likewise.
7547         (__mul): Likewise.
7548         (__sqr): Likewise.
7549         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7550         powers of two in terms of TWOPOW macro.
7551         (mp_no): Make type of mantissa as MANTISSA_T.
7552         [!RADIXI]: Define RADIXI.
7553         [!TWO52]: Define TWO52.
7554         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7556 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7558         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7559         llroundl symbol when building for PPC32.
7561 2013-03-24  Mark H Weaver  <mhw@netris.org>
7563         * manual/arith.texi (Normalization Functions): Fix prototypes for
7564         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7566 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7568         [BZ #13889]
7569         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7570         high value to check if expl overflow.
7571         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7572         to check for underflow and overflow.
7573         * math/libm-test.inc: Add exp test.
7575 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
7577         [BZ #11120]
7578         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7579         with NOT_IN_libc.
7581 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7583         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7584         symbol.
7586 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7588         * math/gen-libm-test.pl (parse_args, special_functions): Properly
7589         wrap blocks consisting of several statements.
7591         * sysdeps/generic/math-tests.h: New file.
7592         * sysdeps/i386/fpu/math-tests.h: Likewise.
7593         * math/test-snan.c: Include it.
7594         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7596 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7598         [BZ #15285]
7599         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7600         (__ieee754_j0l): Do not improve calculations using cos of twice
7601         input for inputs above LDBL_MAX / 2.0L.
7602         (__ieee754_y0l): Likewise.
7603         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7604         (__ieee754_j1l): Do not improve calculations using cos of twice
7605         input for inputs above LDBL_MAX / 2.0L.
7606         (__ieee754_y1l): Likewise.
7607         * math/libm-test.inc (j0_test): Add another test.
7608         (j1_test): Likewise.
7609         (y0_test): Likewise.
7610         (y1_test): Likewise.
7611         * sysdeps/i386/fpu/libm-test-ulps: Update.
7613 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7615         * Rules ($(objpfx)bench-%.c): Include code from a C source
7616         file.
7618 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7620         [BZ #15287]
7621         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7622         imaginary part 1.0 and real part less than 0.5 specially.
7623         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7624         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7625         * math/libm-test.inc (cacos_test): Add more tests.
7626         (casin_test): Likewise.
7627         (casinh_test): Likewise.
7628         * sysdeps/i386/fpu/libm-test-ulps: Update.
7629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7631 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7633         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7634         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7636 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
7638         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7639         * config.make.in (config-cflags-sse4): Remove variable.
7640         (config-cflags-avx): Likewise.
7641         (config-cflags-sse2avx): Likewise.
7642         (config-cflags-novzeroupper): Likewise.
7643         (config-asflags-i686): Likewise.
7644         (have-mfma4): Likewise.
7645         (have-as-vis3): Likewise.
7646         (MIG): Likewise.
7647         * configure.in (MIG): Do not AC_SUBST.
7648         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7649         (libc_cv_cc_sse4): Do not AC_SUBST.
7650         (libc_cv_cc_avx): Likewise.
7651         (libc_cv_cc_sse2avx): Likewise.
7652         (libc_cv_cc_novzeroupper): Likewise.
7653         (libc_cv_cc_fma4): Likewise.
7654         (libc_cv_as_i686): Likewise.
7655         (libc_cv_sparc_as_vis3): Likewise.
7656         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7657         LIBC_CONFIG_VAR.
7658         (config-asflags-i686): Likewise.
7659         (config-cflags-avx): Likewise.
7660         (config-cflags-sse2avx): Likewise.
7661         (have-mfma4): Likewise.
7662         (config-cflags-novzeroupper): Likewise.
7663         * sysdeps/mach/configure.in (MIG): Likewise.
7664         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7665         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7666         LIBC_CONFIG_VAR.
7667         (config-cflags-avx): Likewise.
7668         (config-cflags-sse2avx): Likewise.
7669         (have-mfma4): Likewise.
7670         (config-cflags-novzeroupper): Likewise.
7671         * configure: Regenerated.
7672         * sysdeps/i386/configure: Likewise.
7673         * sysdeps/mach/configure: Likewise.
7674         * sysdeps/sparc/configure: Likewise.
7675         * sysdeps/x86_64/configure: Likewise.
7677 2013-03-20  Roland McGrath  <roland@hack.frob.com>
7679         [BZ #14812]
7680         * locale/programs/localedef.c (options): Put N_ translation marker
7681         on argument names, not just descriptions.
7683 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7685         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7687 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
7689         [BZ #14176]
7690         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7692 2013-03-19  Roland McGrath  <roland@hack.frob.com>
7694         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7695         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7696         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7697         [!BEFORE_ABORT] (before_abort): New function.
7698         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7699         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7700         (writev_for_fatal): New function.
7701         (WRITEV_FOR_FATAL): New macro; call that.
7702         (backtrace_and_maps): New function.
7703         (BEFORE_ABORT): New macro; call that.
7704         (struct str_list): Type removed.
7705         (__libc_message, __libc_fatal): Functions removed.
7706         Include <sysdeps/posix/libc_fatal.c> instead.
7708 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
7710         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7711         constants.
7712         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7713         double constants.
7715 2013-03-19  Andreas Schwab  <schwab@suse.de>
7717         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7718         * sysdeps/gnu/configure: Regenerate.
7720         * configure.in: Substitute libc_cv_rtlddir.
7721         * configure: Regenerate.
7722         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7723         * Makeconfig (rtlddir, inst_rtlddir): New variables.
7724         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7725         * elf/Makefile (install-others, CFLAGS-interp.c)
7726         (ldso_install, common-ldd-rewrite): Likewise.
7727         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7728         $(inst_slibdir)/$(rtld-installed-name).
7729         * scripts/rellns-sh: Add -p option.
7730         * Makerules (make-shlib-link): Use rellns-sh to get relative name
7731         for source.
7733 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7735         * manual/nptl.texi: Renamed to ...
7736         * manual/threads.texi: ... this.
7737         * manual/Makefile (chapters): Update.
7739 2013-03-18  Roland McGrath  <roland@hack.frob.com>
7741         [BZ #14812]
7742         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7743         on argument names, not just descriptions.
7744         * malloc/memusagestat.c (options): Likewise.
7745         * nss/getent.c (options): Likewise.
7747 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
7749         [BZ #14812]
7750         * iconv/iconv_prog.c (options): Put N_ translation marker
7751         on argument names, not just descriptions.
7752         * iconv/iconvconfig.c (options): Likewise.
7754 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
7756         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7757         implementation which is faster on all x86_64 architectures.
7758         Tested on AMD, Intel Nehalem, SNB, IVB.
7759         * sysdeps/x86_64/strnlen.S: Likewise.
7761         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7762         Remove all multiarch strlen and strnlen versions.
7763         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7764         Remove strlen and strnlen related parts.
7766         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7767         Inline strlen part.
7768         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7770         * sysdeps/x86_64/multiarch/strlen.S: Remove.
7771         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7772         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7773         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7774         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7775         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7777 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
7779         * manual/memory.texi (Malloc Tunable Parameters):
7780         Sort parameters alphabetically. Add comments for missing entries.
7782 2013-03-17  David S. Miller  <davem@davemloft.net>
7784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7786 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
7788         [BZ #15283]
7789         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7790         for arguments at most half maximum finite value.
7791         * math/libm-test.inc (j0_test): Add more tests.
7792         (j1_test): Likewise.
7793         (y0_test): Likewise.
7794         (y1_test): Likewise.
7795         * sysdeps/i386/fpu/libm-test-ulps: Update.
7796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7798         [BZ #14155]
7799         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7800         1 / x and functions P and Q for arguments above 0x1p256L.
7801         (__ieee754_y0l): Likewise.
7802         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7803         (__ieee754_y1l): Likewise.
7804         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7805         (j1_test): Likewise.
7806         (y0_test): Likewise.
7807         (y1_test): Likewise.
7809 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
7811         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7812         variable.
7814 2013-03-15  Roland McGrath  <roland@hack.frob.com>
7816         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7817         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7818         zero since it's initialized to EXEC_PAGESIZE.
7820         * sysdeps/unix/sysv/linux/ldsodefs.h
7821         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7822         * sysdeps/generic/ldsodefs.h: ... here.
7824 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
7826         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7828         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7829         math/test-snan.c.
7830         * math/test-snan.c: Renamed from
7831         sysdeps/powerpc/fpu/test-powerpc-snan.c.
7832         * math/Makefile (tests): Add test-snan.
7833         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7834         test-powerpc-snan.
7836         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7837         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
7838         functions.
7839         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
7840         __builtin_nan family of functions.
7841         * math/libm-test.inc (initialize): Initialize qnan_value with
7842         __builtin_nan family of functions.
7843         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7844         Remove variables.
7845         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7846         Remove functions.
7847         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
7848         storage class.  Initialize qNaN_var and sNaN_var with
7849         __builtin_nan and __builtin_nans families of functions,
7850         respectively.
7852         * math/libm-test.inc (acosh_test): Also test with qNaN input.
7853         (sqrt_test): Remove duplicate test with qNaN input.
7854         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7855         (round_test, signbit_test, significand_test): Note missing +/-Inf
7856         as well as qNaN tests.
7858         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7859         qNaN_var.  Fix a few strings, too.
7860         * math/libm-test.inc (nan_value): Rename to qnan_value.
7861         * math/gen-libm-test.pl (%beautify): Adjust to that.
7862         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7863         * math/test-misc.c (main): Likewise.
7864         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7865         to __qnan_bytes, and __qnan_union, respectively.
7866         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7867         Likewise.
7868         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7869         and lqnanval, respectively.
7870         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7871         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7872         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7873         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7875         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7876         * math/test-misc.c (main) [__x86_64__]: Enable test for long
7877         doubles.
7879         * math/test-misc.c (main): Fix copy'n'pastos.
7880         * misc/tst-efgcvt.c (special): Likewise.
7882         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7883         Remove declarations.
7885 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7887         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7888         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7889         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7890         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7892 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7894         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7895         macro to return vdso values correctly in IFUNC implementations.
7896         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7897         Optimization by using IFUNC.
7899 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7900             Richard Henderson  <rth@redhat.com>
7901             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7903         * Makefile.in (bench): New target.
7904         * NEWS: Mention the benchmark framework.
7905         * Rules (bench): Likewise.
7906         (binaries-bench): Generate binaries for functions to
7907         benchmark.
7908         * benchtests/Makefile: New makefile for benchmark tests.
7909         * benchtests/bench-skeleton.c: New skeleton file for benchmark
7910         programs.
7911         * benchtests/exp-inputs: New input file for EXP function.
7912         * benchtests/pow-inputs: New input file for POW function.
7913         * scripts/bench.pl: New script to generate source files for
7914         benchmark programs.
7916 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7918         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7919         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7920         computations on mantissa.  Use macros for rounding and
7921         division.
7922         (denorm): Likewise.
7923         (__dbl_mp): Likewise.
7924         (add_magnitudes): Likewise.
7925         (sub_magnitudes): Likewise.
7926         (__mul): Likewise.
7927         (__sqr): Likewise.
7928         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7929         powers of two in terms of TWOPOW macro.
7930         (mp_no): Make type of mantissa as MANTISSA_T.
7931         [!RADIXI]: Define RADIXI.
7932         [!TWO52]: Define TWO52.
7933         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7935         * manual/nptl.texi (cindex): Modify threads to pthreads.
7937 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
7939         * sysdeps/x86_64/preconfigure: Regenerated.
7941 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
7943         [BZ #14155]
7944         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7945         0x1p28 and above.
7946         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7947         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7948         0x1p28 and above.
7949         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7950         * math/libm-test.inc (j0_test): Do not allow one spurious
7951         underflow exception.
7952         (y1_test): Likewise.
7954 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7956         * manual/Makefile (chapters): Add nptl.
7957         * manual/debug.texi (Debugging Support): Add link to Threads
7958         chapter.
7959         * manual/nptl.texi: New file.
7961         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7963 2013-03-14  Petr Baudis  <pasky@ucw.cz>
7965         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7966         for non-NULL pointer before the memory validity test. Pointed
7967         out by Holger Brunck <holger.brunck@keymile.com>.
7969 2013-03-13  Andreas Schwab  <schwab@suse.de>
7971         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7972         instead of .os.
7974 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
7976         * timezone/zic.c: Update from tzcode 2013b.
7978 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
7980         * manual/install.texi (Configuring and compiling):
7981         Mention i686 and i586.
7982         * INSTALL: Regenerate.
7984 2013-03-12  Roland McGrath  <roland@hack.frob.com>
7986         * sysdeps/init_array/elf-init.c: New file.
7987         * csu/elf-init.c
7988         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7989         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7991         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7992         __gmon_start__ as global, but as static with a .preinit_array pointer.
7993         * sysdeps/init_array/gmon-start.c: New file.  Use that.
7994         * sysdeps/init_array/crti.S: New file, empty except for comments.
7995         * sysdeps/init_array/crtn.S: Likewise.
7997 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
7999         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8000         definining bcopy.
8001         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8002         Remove Prefer_SSE_for_memop.
8003         * sysdeps/x86_64/multiarch/init-arch.h: Remove
8004         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8005         HAS_PREFER_SSE_FOR_MEMOP.
8006         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8007         memset-x86-64.
8008         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8009         Remove bzero, memset ifunc support.
8010         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8011         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8012         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8013         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8015 2013-03-11  Andreas Schwab  <schwab@suse.de>
8017         [BZ #15234]
8018         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8019         by SHLIB_COMPAT.
8020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8021         (GLIBC_2.16): Remove pthread_atfork.
8023 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8025         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8026         (ptestcases.h): Likewise.
8028 2013-03-08  Roland McGrath  <roland@hack.frob.com>
8030         * Makeconfig ($(common-objpfx)config.status): Depend on
8031         sysdeps/*/preconfigure{,.in} too.
8033 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
8035         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8036         (__free_hook): Use void * instead of __malloc_ptr_t.
8037         (__malloc_hook): Likewise.
8038         (__realloc_hook): Likewise.
8039         (__memalign_hook): Likewise.
8040         (__after_morecore_hook): Likewise.
8041         * malloc/arena.c (save_malloc_hook): Likewise.
8042         (save_free_hook): Likewise.
8043         * malloc/hooks.c (malloc_hook_ini): Likewise.
8044         (realloc_hook_ini): Likewise.
8045         (memalign_hook_ini): Likewise.
8046         * malloc/malloc.c (malloc_hook_ini): Likewise.
8047         (realloc_hook_ini): Likewise.
8048         (memalign_hook_ini): Likewise.
8049         (__free_hook): Likewise.
8050         (__malloc_hook): Likewise.
8051         (__realloc_hook): Likewise.
8052         (__memalign_hook): Likewise.
8053         (__libc_malloc): Likewise.
8054         (__libc_free): Likewise.
8055         (__libc_realloc): Likewise.
8056         (__libc_memalign): Likewise.
8057         (__libc_valloc): Likewise.
8058         (__libc_pvalloc): Likewise.
8059         (__libc_calloc): Likewise.
8060         (__posix_memalign): Likewise.
8061         * malloc/morecore.c (__sbrk): Likewise.
8062         (__default_morecore): Likewise.
8064         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8066         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8067         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8068         __malloc_ptrdiff_t.
8070         * malloc/malloc.h (__malloc_size_t): Remove macro.
8071         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8072         __malloc_size_t.
8073         (old_memalign_hook): Likewise.
8074         (old_realloc_hook): Likewise.
8075         (struct hdr): Likewise.
8076         (flood): Likewise.
8077         (mallochook): Likewise.
8078         (memalignhook): Likewise.
8079         (reallochook): Likewise.
8080         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8081         (tr_old_realloc_hook): Likewise.
8082         (tr_old_memalign_hook): Likewise.
8083         (tr_mallochook): Likewise.
8084         (tr_reallochook): Likewise.
8085         (tr_memalignhook): Likewise.
8087 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8089         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8090         default_ldbl_pack and using as default implementation.
8091         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8092         implementation.
8093         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8094         redundant definition.
8095         (ldbl_insert_mantissa): Likewise.
8096         (ldbl_canonicalize): Likewise.
8097         (ldbl_nearbyint): Likewise.
8098         (ldbl_pack): Rename to ldbl_pack_ppc.
8099         (ldbl_unpack): Rename to ldbl_unpack_ppc.
8100         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8101         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8103 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8105         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8106         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8107         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8108         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8109         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8110         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8111         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8112         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8114 2013-03-07  Andreas Jaeger  <aj@suse.de>
8116         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8117         bits/mman-linux.h.
8119 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8121         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8122         Include mpa.h and declare __MPEXP.
8123         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8124         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8125         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8126         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8127         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8128         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8129         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8131         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8132         (__slowpow): Use long double EXPL and LOGL functions to
8133         compute POW.
8134         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8135         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8136         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8137         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8138         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8139         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8141         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8142         intermediate variable to calculate exponent.
8143         (__sqr): Likewise.
8144         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8145         Likewise.
8146         (__sqr): Likewise.
8148         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8149         [!NO__SQR]: Define __sqr.
8150         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8151         and NO__SQR.  Remove all code except __mul and __sqr.  Include
8152         sysdeps/ieee754/dbl-64/mpa.c.
8153         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8155         [BZ #12723]
8156         * posix/Makefile (tests): Add tst-pathconf.
8157         * posix/tst-pathconf.c: New test case.
8158         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8159         _PC_PIPE_BUF.
8160         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8162 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
8164         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8166 2013-03-06  Andreas Jaeger  <aj@suse.de>
8168         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8169         definition via __MAP_ANONYMOUS.
8171         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8172         it's not part of Linux headers.
8174         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8175         (MAP_HUGE_MASK): Define.
8177         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8178         Define.
8179         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8180         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8181         Define.
8182         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8183         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8184         Define.
8185         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8186         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8187         Define.
8188         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8190         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8191         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8192         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8193         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8194         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8195         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8197         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8198         Handle f2fs.
8200         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8201         Handle f2fs and efivarfs.
8203         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8204         f2fs.
8206         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8207         (EFIVARFS_MAGIC): Add.
8208         (F2FS_LINK_MAX): Add.
8210 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8212         * stdio-common/vfprintf.c: Replace __builtin_expect with
8213         __glibc_unlikely.
8215 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
8217         [BZ #13550]
8218         * sysdeps/generic/bp-sym.h: Remove file.
8219         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8220         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8221         <bp-sym.h> and <bp-asm.h>.
8222         (__longjmp): Don't use BP_SYM.
8223         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8224         and <bp-asm.h>.
8225         (memcpy): Don't use BP_SYM.
8226         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8227         <bp-sym.h> and <bp-asm.h>.
8228         (memcpy): Don't use BP_SYM.
8229         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8230         <bp-asm.h>.
8231         (memcpy): Don't use BP_SYM.
8232         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8233         <bp-asm.h>.
8234         (memset): Don't use BP_SYM.
8235         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8236         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8237         (__bzero): Don't use BP_SYM.
8238         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8239         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8240         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8241         <bp-sym.h> and <bp-asm.h>.
8242         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8243         pointers.
8244         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8245         <bp-sym.h> and <bp-asm.h>.
8246         (memcpy): Don't use BP_SYM.
8247         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8248         <bp-sym.h> and <bp-asm.h>.
8249         (memset): Don't use BP_SYM.
8250         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8251         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8252         (__bzero): Don't use BP_SYM.
8253         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8254         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8255         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8256         <bp-sym.h> and <bp-asm.h>.
8257         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8258         pointers.
8259         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8260         <bp-sym.h> and <bp-asm.h>.
8261         (memcpy): Don't use BP_SYM.
8262         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8263         <bp-sym.h> and <bp-asm.h>.
8264         (memset): Don't use BP_SYM.
8265         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8266         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8267         (__bzero): Don't use BP_SYM.
8268         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8269         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8270         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8271         <bp-sym.h> and <bp-asm.h>.
8272         (__memchr): Don't use BP_SYM.
8273         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8274         <bp-sym.h> and <bp-asm.h>.
8275         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8276         pointers.
8277         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8278         <bp-sym.h> and <bp-asm.h>.
8279         (memcpy): Don't use BP_SYM.
8280         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8281         <bp-sym.h> and <bp-asm.h>.
8282         (__mempcpy): Don't use BP_SYM.
8283         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8284         <bp-sym.h> and <bp-asm.h>.
8285         (__memrchr): Don't use BP_SYM.
8286         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8287         <bp-sym.h> and <bp-asm.h>.
8288         (memset): Don't use BP_SYM.
8289         (__bzero): Likewise.
8290         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8291         <bp-sym.h> and <bp-asm.h>.
8292         (__rawmemchr): Don't use BP_SYM.
8293         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8294         <bp-sym.h> and <bp-asm.h>.
8295         (__STRCMP): Don't use BP_SYM.
8296         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8297         <bp-sym.h> and <bp-asm.h>.
8298         (strchr): Don't use BP_SYM.
8299         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8300         <bp-sym.h> and <bp-asm.h>.
8301         (__strchrnul): Don't use BP_SYM.
8302         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8303         <bp-sym.h> and <bp-asm.h>.
8304         (strlen): Don't use BP_SYM.
8305         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8306         <bp-sym.h> and <bp-asm.h>.
8307         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8308         pointers.
8309         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8310         <bp-sym.h> and <bp-asm.h>.
8311         (__strnlen): Don't use BP_SYM.
8312         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8313         <bp-sym.h> and <bp-asm.h>.
8314         (__GI__setjmp): Don't use BP_SYM.
8315         (_setjmp): Likewise.
8316         (__sigsetjmp): Likewise.
8317         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8318         (L(start_addresses)): Don't use BP_SYM.
8319         (_start): Likewise.
8320         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8321         <bp-asm.h>.
8322         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8323         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8324         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8325         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8326         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8327         <bp-asm.h>.
8328         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8329         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
8330         about bounded pointers.
8331         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8332         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8333         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8334         <bp-asm.h>.
8335         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8336         about bounded pointers.  Remove GKM FIXME comments.
8337         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8338         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8339         <bp-asm.h>.
8340         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8341         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
8342         Remove GKM FIXME comments.
8343         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8344         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8345         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8346         <bp-asm.h>.
8347         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8348         about bounded pointers.  Remove GKM FIXME comment.
8349         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8350         and <bp-asm.h>.
8351         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8352         pointers.
8353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8354         <bp-sym.h> and <bp-asm.h>.
8355         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8357         <bp-sym.h> and <bp-asm.h>.
8358         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8359         comment.
8361 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8363         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8364         call free(NULL).
8366 2013-03-05  David S. Miller  <davem@davemloft.net>
8368         * po/es.po: Update from translation team.
8370 2013-03-05  Andreas Jaeger  <aj@suse.de>
8372         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8373         <bits/mman-linux.h>.
8374         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8375         is fine.
8376         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8377         <bits/mman-linux.h> to end of file.
8378         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8379         is fine.
8380         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8381         <bits/mman-linux.h> to end of file.
8382         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8383         is fine.
8384         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8385         <bits/mman-linux.h> to end of file.
8387         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8388         (MCL_CURRENT, MCL_FUTURE): Define here.
8390 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8392         [BZ #15232]
8393         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8394         attribute_hidden.
8395         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8397 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8399         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8400         fourth parameter needed for rt_sigprocmask syscall.
8401         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8402         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8403         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8404         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8405         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8406         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8408 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
8410         [BZ #13550]
8411         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8412         comment about bounded pointers.
8413         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8414         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8416 2013-03-04  Andreas Jaeger  <aj@suse.de>
8418         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8419         common definitions.
8421         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8422         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8423         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8424         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8425         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8426         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8428 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8430         [BZ #15055]
8431         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8432         __ieee754_sqrl instead of __sqrl.
8434 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
8436         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8437         * sysdeps/powerpc/fpu_control.h: ... here.
8438         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8439         * sysdeps/powerpc/bits/fenvinline.h: ... here.
8440         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8441         * sysdeps/powerpc/bits/mathinline.h: ... here.
8443 2013-03-01  Roland McGrath  <roland@hack.frob.com>
8445         * elf/dl-hwcaps.c (_dl_important_hwcaps):
8446         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8447         to just [NEED_DL_SYSINFO_DSO].
8448         * elf/dl-support.c: Likewise.
8449         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8450         * elf/rtld.c (dl_main): Likewise.
8451         * elf/setup-vdso.h (setup_vdso): Likewise.
8452         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8453         * sysdeps/unix/sysv/linux/dl-sysdep.c
8454         (_dl_discover_osversion): Likewise.
8456 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
8458         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8459         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8461 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8463         * NEWS: Mention libm performance improvements and non-x86 PI
8464         futex support.
8466         * csu/libc-start.c (__pthread_initialize_minimal): Change
8467         function arguments.
8468         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8470 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
8472         [BZ #13550]
8473         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8474         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8475         <bp-sym.h> and <bp-asm.h>.
8476         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8477         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8478         and <bp-asm.h>.
8479         (memcpy): Don't use BP_SYM.
8480         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8481         <bp-asm.h>.
8482         (__mpn_add_n): Don't use BP_SYM.
8483         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8484         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8485         and <bp-asm.h>.
8486         (__mpn_addmul_1): Don't use BP_SYM.
8487         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8488         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8489         <bp-sym.h>.
8490         (_setjmp): Don't use BP_SYM.
8491         (__novmx_setjmp): Likewise.
8492         (__GI__setjmp): Likewise.
8493         (__vmx_setjmp): Likewise.
8494         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8495         <bp-sym.h>.
8496         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8497         (__bzero): Don't use BP_SYM.
8498         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8499         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8500         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8501         <bp-sym.h> and <bp-asm.h>.
8502         (memcpy): Don't use BP_SYM.
8503         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8504         <bp-sym.h> and <bp-asm.h>.
8505         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8506         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8507         <bp-sym.h> and <bp-asm.h>.
8508         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8509         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8510         <bp-asm.h>.
8511         (__mpn_lshift): Don't use BP_SYM.
8512         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8513         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8514         <bp-asm.h>.
8515         (memset): Don't use BP_SYM.
8516         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8517         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8518         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8519         <bp-asm.h>.
8520         (__mpn_mul_1): Don't use BP_SYM.
8521         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8522         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8523         <bp-sym.h> and <bp-asm.h>.
8524         (memcmp): Don't use BP_SYM.
8525         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8526         <bp-sym.h> and <bp-asm.h>.
8527         (memcpy): Don't use BP_SYM.
8528         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8529         <bp-sym.h> and <bp-asm.h>.
8530         (memset): Don't use BP_SYM.
8531         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8532         <bp-sym.h> and <bp-asm.h>.
8533         (strncmp): Don't use BP_SYM.
8534         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8535         <bp-sym.h> and <bp-asm.h>.
8536         (memcpy): Don't use BP_SYM.
8537         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8538         <bp-sym.h> and <bp-asm.h>.
8539         (memset): Don't use BP_SYM.
8540         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8541         <bp-sym.h> and <bp-asm.h>.
8542         (__memchr): Don't use BP_SYM.
8543         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8544         <bp-sym.h> and <bp-asm.h>.
8545         (memcmp): Don't use BP_SYM.
8546         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8547         <bp-sym.h> and <bp-asm.h>.
8548         (memcpy): Don't use BP_SYM.
8549         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8550         <bp-sym.h> and <bp-asm.h>.
8551         (__mempcpy): Don't use BP_SYM.
8552         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8553         <bp-sym.h> and <bp-asm.h>.
8554         (__memrchr): Don't use BP_SYM.
8555         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8556         <bp-sym.h> and <bp-asm.h>.
8557         (memset): Don't use BP_SYM.
8558         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8559         <bp-sym.h> and <bp-asm.h>.
8560         (__rawmemchr): Don't use BP_SYM.
8561         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8562         <bp-sym.h> and <bp-asm.h>.
8563         (__STRCMP): Don't use BP_SYM.
8564         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8565         <bp-sym.h> and <bp-asm.h>.
8566         (strchr): Don't use BP_SYM.
8567         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8568         <bp-sym.h> and <bp-asm.h>.
8569         (__strchrnul): Don't use BP_SYM.
8570         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8571         <bp-sym.h> and <bp-asm.h>.
8572         (strlen): Don't use BP_SYM.
8573         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8574         <bp-sym.h> and <bp-asm.h>.
8575         (strncmp): Don't use BP_SYM.
8576         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8577         <bp-sym.h> and <bp-asm.h>.
8578         (__strnlen): Don't use BP_SYM.
8579         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8580         <bp-asm.h>.
8581         (__mpn_rshift): Don't use BP_SYM.
8582         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8583         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8584         <bp-sym.h> and <bp-asm.h>.
8585         (__sigsetjmp): Don't use BP_SYM.
8586         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8587         (L(start_addresses)): Don't use BP_SYM.
8588         (_start): Likewise.
8589         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8590         <bp-asm.h>.
8591         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8592         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8593         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8594         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8595         <bp-asm.h>.
8596         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8597         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8598         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8599         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8600         <bp-asm.h>.
8601         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8602         comments.
8603         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8604         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8605         <bp-asm.h>.
8606         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
8607         FIXME comments.
8608         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8609         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8610         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8611         <bp-asm.h>.
8612         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8613         comment.
8614         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8615         and <bp-asm.h>.
8616         (strncmp): Don't use BP_SYM,
8617         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8618         <bp-asm.h>.
8619         (__mpn_sub_n): Don't use BP_SYM.
8620         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8621         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8622         and <bp-asm.h>.
8623         (__mpn_submul_1): Don't use BP_SYM.
8624         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8626         <bp-sym.h> and <bp-asm.h>.
8627         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8629         <bp-sym.h> and <bp-asm.h>.
8630         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8631         comment.
8633 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8635         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8636         Use ZK to minimize writes to Z.
8637         (sub_magnitudes): Simplify code a bit.
8638         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8639         Use ZK to minimize writes to Z.
8640         (sub_magnitudes): Simplify code a bit.
8642 2013-02-27  Roland McGrath  <roland@hack.frob.com>
8644         * csu/gmon-start.c: Add special exception to license text.
8646 2013-02-27  Richard Henderson  <rth@redhat.com>
8648         * scripts/config.guess: Update from config.git.
8649         * scripts/config.sub: Likewise.
8651 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8653         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8655         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8657         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8659         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8661         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8663 2013-02-26  Roland McGrath  <roland@hack.frob.com>
8665         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8666         [$(build-shared = yes].
8668 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8670         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8671         (__mul): Reduce iterations for calculating mantissa.
8673         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8674         MPTWO.
8675         (__mpranred): Likewise.
8677         [BZ #15160]
8678         * malloc/memusagestat.c (main): Draw graphs for heap and stack
8679         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8681 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
8683         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8684         Define __attribute__.
8686 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8688         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8689         unused.
8690         * posix/regex_internal.h (__attribute): Remove.
8691         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8692         (re_string_context_at): Likewise.
8693         (bitset_not): Use __attribute__ and mark function as possibly
8694         unused.
8695         (bitset_merge): Likewise.
8696         (bitset_mask): Likewise.
8697         (re_string_char_size_at): Likewise.
8698         (re_string_wchar_at): Likewise.
8699         (re_string_elem_size_at): Likewise.
8701 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8703         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8704         code.
8705         (cc32): Likewise.
8707         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8708         (__acr): Likewise.
8709         (__cpy): Likewise.
8710         (norm): Likewise.
8711         (denorm): Likewise.
8712         (__dbl_mp): Likewise.
8713         (add_magnitudes): Likewise.
8714         (sub_magnitudes): Likewise.
8715         (__mul): Likewise.
8716         (__inv): Likewise.
8718         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8719         style.
8721         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8722         style.
8724         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8725         code.
8727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8728         up changes with default code.
8729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8730         Likewise.
8732 2013-02-24  Allan McRae  <allan@archlinux.org>
8734         * manual/socket.texi (The Internet Namespace): Order menu items
8735         to match that in the file.
8737         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8738         node listing of the info page menu.
8740 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
8742         [BZ #13550]
8743         * sysdeps/i386/bp-asm.h: Remove file.
8744         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8745         (PARMS): Do not use macros from bp-asm.h.
8746         (S1): Likewise.
8747         (S2): Likewise.
8748         (SIZE): Likewise.
8749         (__mpn_add_n): Do not use BP_SYM
8750         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8751         "bp-asm.h".
8752         (PARMS): Do not use macros from bp-asm.h.
8753         (S1): Likewise.
8754         (SIZE): Likewise.
8755         (__mpn_addmul_1): Do not use BP_SYM
8756         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8757         "bp-asm.h".
8758         (PARMS): Do not use macros from bp-asm.h.
8759         (SIGMSK): Likewise.
8760         (_setjmp): Likewise.  Do not use BP_SYM.
8761         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8762         "bp-asm.h".
8763         (PARMS): Do not use macros from bp-asm.h.
8764         (SIGMSK): Likewise.
8765         (setjmp): Likewise.  Do not use BP_SYM.
8766         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8767         "bp-asm.h".
8768         (PARMS): Do not use macros from bp-asm.h.
8769         (__frexp): Do not use BP_SYM.
8770         (frexp): Likewise.
8771         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8772         "bp-asm.h".
8773         (PARMS): Do not use macros from bp-asm.h.
8774         (__frexpf): Do not use BP_SYM.
8775         (frexpf): Likewise.
8776         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8777         "bp-asm.h".
8778         (PARMS): Do not use macros from bp-asm.h.
8779         (__frexpl): Do not use BP_SYM.
8780         (frexpl): Likewise.
8781         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8782         "bp-asm.h".
8783         (PARMS): Do not use macros from bp-asm.h.
8784         (__remquo): Do not use BP_SYM.
8785         (remquo): Likewise.
8786         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8787         "bp-asm.h".
8788         (PARMS): Do not use macros from bp-asm.h.
8789         (__remquof): Do not use BP_SYM.
8790         (remquof): Likewise.
8791         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8792         "bp-asm.h".
8793         (PARMS): Do not use macros from bp-asm.h.
8794         (__remquol): Do not use BP_SYM.
8795         (remquol): Likewise.
8796         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8797         "bp-asm.h".
8798         (PARMS): Do not use macros from bp-asm.h.
8799         (DEST): Likewise.
8800         (SRC): Likewise.
8801         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
8802         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8803         "bp-asm.h".
8804         (PARMS): Do not use macros from bp-asm.h.
8805         (strlen): Do not use BP_SYM.
8806         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8807         "bp-asm.h".
8808         (PARMS): Do not use macros from bp-asm.h.
8809         (S1): Likewise.
8810         (S2): Likewise.
8811         (SIZE): Likewise.
8812         (__mpn_add_n): Do not use BP_SYM.
8813         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8814         "bp-asm.h".
8815         (PARMS): Do not use macros from bp-asm.h.
8816         (S1): Likewise.
8817         (SIZE): Likewise.
8818         (__mpn_addmul_1): Do not use BP_SYM.
8819         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8820         weak_alias.
8821         (bzero): Likewise.
8822         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8823         "bp-asm.h".
8824         (PARMS): Do not use macros from bp-asm.h.
8825         (S): Likewise.
8826         (SIZE): Likewise.
8827         (__mpn_lshift): Do not use BP_SYM.
8828         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8829         "bp-asm.h".
8830         (PARMS): Do not use macros from bp-asm.h.
8831         (DEST): Likewise.
8832         (SRC): Likewise.
8833         (LEN): Likewise.
8834         (memcpy): Likewise.  Do not use BP_SYM.
8835         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8836         libc_hidden_def and weak_alias.
8837         (mempcpy): Do not use BP_SYM in weak_alias.
8838         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8839         "bp-asm.h".
8840         (PARMS): Do not use macros from bp-asm.h.
8841         (DEST): Likewise.
8842         (LEN): Likewise.
8843         [!BZERO_P] (CHR): Likewise.
8844         (memset): Likewise.  Do not use BP_SYM.
8845         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8846         "bp-asm.h".
8847         (PARMS): Do not use macros from bp-asm.h.
8848         (S1): Likewise.
8849         (SIZE): Likewise.
8850         (__mpn_mul_1): Do not use BP_SYM.
8851         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8852         "bp-asm.h".
8853         (PARMS): Do not use macros from bp-asm.h.
8854         (S): Likewise.
8855         (SIZE): Likewise.
8856         (__mpn_rshift): Do not use BP_SYM.
8857         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8858         "bp-asm.h".
8859         (PARMS): Do not use macros from bp-asm.h.
8860         (STR): Likewise.
8861         (CHR): Likewise.
8862         (strchr): Likewise.  Do not use BP_SYM.
8863         (index): Do not use BP_SYM in weak_alias.
8864         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8865         "bp-asm.h".
8866         (PARMS): Do not use macros from bp-asm.h.
8867         (DEST): Likewise.
8868         (SRC): Likewise.
8869         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
8870         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8871         "bp-asm.h".
8872         (PARMS): Do not use macros from bp-asm.h.
8873         (strlen): Do not use BP_SYM.
8874         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8875         "bp-asm.h".
8876         (PARMS): Do not use macros from bp-asm.h.
8877         (S1): Likewise.
8878         (S2): Likewise.
8879         (SIZE): Likewise.
8880         (__mpn_sub_n): Do not use BP_SYM.
8881         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8882         "bp-asm.h".
8883         (PARMS): Do not use macros from bp-asm.h.
8884         (S1): Likewise.
8885         (SIZE): Likewise.
8886         (__mpn_submul_1): Do not use BP_SYM.
8887         * sysdeps/i386/i686/add_n.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         (S2): Likewise.
8892         (SIZE): Likewise.
8893         (__mpn_add_n): Do not use BP_SYM.
8894         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8895         weak_alias.
8896         (bzero): Likewise.
8897         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8898         "bp-asm.h".
8899         (PARMS): Do not use macros from bp-asm.h.
8900         (BLK2): Likewise.
8901         (LEN): Likewise.
8902         (memcmp): Do not use BP_SYM.
8903         (bcmp): Do not use BP_SYM in weak_alias.
8904         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8905         "bp-asm.h".
8906         (PARMS): Do not use macros from bp-asm.h.
8907         (DEST): Likewise.
8908         (SRC): Likewise.
8909         (LEN): Likewise.
8910         (memcpy): Likewise.  Do not use BP_SYM.
8911         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8912         "bp-asm.h".
8913         (PARMS): Do not use macros from bp-asm.h.
8914         (DEST): Likewise.
8915         (SRC): Likewise.
8916         (LEN): Likewise.
8917         (memmove): Likewise.  Do not use BP_SYM.
8918         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8919         "bp-asm.h".
8920         (PARMS): Do not use macros from bp-asm.h.
8921         (DEST): Likewise.
8922         (SRC): Likewise.
8923         (LEN): Likewise.
8924         (__mempcpy): Likewise.  Do not use BP_SYM.
8925         (mempcpy): Do not use BP_SYM in weak_alias.
8926         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8927         "bp-asm.h".
8928         (PARMS): Do not use macros from bp-asm.h.
8929         (DEST): Likewise.
8930         (LEN): Likewise.
8931         [!BZERO_P] (CHR): Likewise.
8932         (memset): Likewise.  Do not use BP_SYM.
8933         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8934         "bp-asm.h".
8935         (PARMS): Do not use macros from bp-asm.h.
8936         (STR2): Likewise.
8937         (strcmp): Do not use BP_SYM.
8938         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8939         "bp-asm.h".
8940         (PARMS): Do not use macros from bp-asm.h.
8941         (STR): Likewise.
8942         (DELIM): Likewise.
8943         [USE_AS_STRTOK_R] (SAVE): Likewise.
8944         (FUNCTION): Likewise.  Do not use BP_SYM.
8945         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8946         aliases.
8947         (strtok_r): Likewise.
8948         (__GI___strtok_r): Likewise.
8949         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8950         (PARMS): Do not use macros from bp-asm.h.
8951         (S): Likewise.
8952         (SIZE): Likewise.
8953         (__mpn_lshift): Do not use BP_SYM.
8954         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8955         (PARMS): Do not use macros from bp-asm.h.
8956         (STR): Likewise.
8957         (CHR): Likewise.
8958         (__memchr): Do not use BP_SYM.
8959         (memchr): Do not use BP_SYM in weak_alias.
8960         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8961         (PARMS): Do not use macros from bp-asm.h.
8962         (BLK2): Likewise.
8963         (LEN): Likewise.
8964         (memcmp): Do not use BP_SYM.
8965         (bcmp): Do not use BP_SYM in weak_alias.
8966         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8967         (PARMS): Do not use macros from bp-asm.h.
8968         (S1): Likewise.
8969         (SIZE): Likewise.
8970         (__mpn_mul_1): Do not use BP_SYM.
8971         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8972         "bp-asm.h".
8973         (PARMS): Do not use macros from bp-asm.h.
8974         (STR): Likewise.
8975         (CHR): Likewise.
8976         (__rawmemchr): Do not use BP_SYM.
8977         (rawmemchr): Do not use BP_SYM in weak_alias.
8978         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8979         (PARMS): Do not use macros from bp-asm.h.
8980         (S): Likewise.
8981         (SIZE): Likewise.
8982         (__mpn_rshift): Do not use BP_SYM.
8983         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8984         (PARMS): Do not use macros from bp-asm.h.
8985         (SIGMSK): Likewise.
8986         (__sigsetjmp): Likewise.  Do not use BP_SYM.
8987         * sysdeps/i386/start.S: Do not include "bp-sym.h".
8988         (_start): Do not use BP_SYM.
8989         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8990         (PARMS): Do not use macros from bp-asm.h.
8991         (DEST): Likewise.
8992         (SRC): Likewise.
8993         (__stpcpy): Likewise.  Do not use BP_SYM.
8994         (stpcpy): Do not use BP_SYM in weak_alias.
8995         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8996         "bp-asm.h".
8997         (PARMS): Do not use macros from bp-asm.h.
8998         (DEST): Likewise.
8999         (SRC): Likewise.
9000         (LEN): Likewise.
9001         (__stpncpy): Likewise.  Do not use BP_SYM.
9002         (stpncpy): Do not use BP_SYM in weak_alias.
9003         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9004         (PARMS): Do not use macros from bp-asm.h.
9005         (STR): Likewise.
9006         (CHR): Likewise.
9007         (strchr): Likewise.  Do not use BP_SYM.
9008         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9009         "bp-asm.h".
9010         (PARMS): Do not use macros from bp-asm.h.
9011         (STR): Likewise.
9012         (CHR): Likewise.
9013         (__strchrnul): Likewise.  Do not use BP_SYM.
9014         (strchrnul): Do not use BP_SYM in weak_alias.
9015         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9016         "bp-asm.h".
9017         (PARMS): Do not use macros from bp-asm.h.
9018         (STOP): Likewise.
9019         (strcspn): Do not use BP_SYM.
9020         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9021         "bp-asm.h".
9022         (PARMS): Do not use macros from bp-asm.h.
9023         (STR): Likewise.
9024         (STOP): Likewise.
9025         (strpbrk): Likewise.  Do not use BP_SYM.
9026         * sysdeps/i386/strrchr.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         (CHR): Likewise.
9031         (strrchr): Likewise.  Do not use BP_SYM.
9032         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9033         (PARMS): Do not use macros from bp-asm.h.
9034         (SKIP): Likewise.
9035         (strspn): Do not use BP_SYM.
9036         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9037         (PARMS): Do not use macros from bp-asm.h.
9038         (STR): Likewise.
9039         (DELIM): Likewise.
9040         (SAVE): Likewise.
9041         (FUNCTION): Likewise.  Do not use BP_SYM.
9042         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9043         aliases.
9044         (strtok_r): Likewise.
9045         (__GI___strtok_r): Likewise.
9046         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9047         (PARMS): Do not use macros from bp-asm.h.
9048         (S1): Likewise.
9049         (S2): Likewise.
9050         (SIZE): Likewise.
9051         (__mpn_sub_n): Do not use BP_SYM.
9052         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9053         "bp-asm.h".
9054         (PARMS): Do not use macros from bp-asm.h.
9055         (S1): Likewise.
9056         (SIZE): Likewise.
9057         (__mpn_submul_1): Do not use BP_SYM.
9058         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9059         <bp-sym.h>.
9060         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9061         and <bp-asm.h>.
9062         (PARMS): Do not use macros from bp-asm.h.
9063         (FLAGS): Likewise.
9064         (PTID): Likewise.
9065         (TLS): Likewise.
9066         (CTID): Likewise.
9067         (__clone): Do not use BP_SYM.
9068         (clone): Do not use BP_SYM in weak_alias.
9069         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9070         and <bp-asm.h>.
9071         (PARMS): Do not use macros from bp-asm.h.
9072         (LEN): Likewise.
9073         (__mmap64): Do not use BP_SYM.
9074         (mmap64): Do not use BP_SYM in weak_alias.
9075         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9076         <bp-sym.h> and <bp-asm.h>.
9077         (PARMS): Do not use macros from bp-asm.h.
9078         (__posix_fadvise64_l64): Do not use BP_SYM.
9079         * sysdeps/unix/sysv/linux/i386/semtimedop.S
9080         (PARMS): Do not use macros from bp-asm.h.
9081         (NSOPS): Likewise.
9082         (semtimedop): Do not use BP_SYM.
9083         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9084         and <bp-asm.h>.
9086 2013-02-21  Allan McRae  <allan@archlinux.org>
9088         * manual/message.texi (Charset conversion in gettext):
9089         Move @end statement to beginning of line.
9091 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9093         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9094         static.
9095         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9096         Likewise.
9098         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9099         (denorm): Likewise.
9100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9103 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9105         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9106         tail-call to the resolved function if pltexit isn't needed.
9108 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9110         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9111         or Y being zero as being unlikely.
9112         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9113         Likewise.
9115 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
9117         * manual/nss.texi (System Databases and Name Service Switch):
9118         Remove frobnicate @pxref.
9120 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9122         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9123         __attribute__ ((unused)) to __attribute__ ((__unused__)).
9125 2013-02-20  Petr Machata  <pmachata@redhat.com>
9127         * elf/elf.h (R_ARM_TARGET1): New macro.
9128         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9129         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9130         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9131         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9132         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9133         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9134         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9135         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9136         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9137         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9138         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9139         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9140         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9141         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9142         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9143         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9144         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9145         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9146         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9147         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9148         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9149         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9150         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9151         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9152         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9153         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9154         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9155         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9156         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9157         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9158         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9159         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9160         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9161         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9162         (R_ARM_THM_GOT_BREL12): Likewise.
9163         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9164         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9165         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9166         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9167         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9168         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9169         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9170         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9171         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9173 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9175         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9176         __attribute_used__ to __attribute__ ((unused)).
9178 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9180         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9181         powerpc mpa.c.
9182         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9183         comment formatting.
9184         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9186 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
9188         [BZ #13550]
9189         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9190         Remove macro.
9191         (ENTER): Remove both macro definitions.
9192         (LEAVE): Likewise.
9193         (CHECK_BOUNDS_LOW): Likewise.
9194         (CHECK_BOUNDS_HIGH): Likewise.
9195         (CHECK_BOUNDS_BOTH): Likewise.
9196         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9197         (RETURN_BOUNDED_POINTER): Likewise.
9198         (RETURN_NULL_BOUNDED_POINTER): Likewise.
9199         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9200         (POP_ERRNO_LOCATION_RETURN): Likewise.
9201         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9202         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9203         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9204         macros.
9205         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9206         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9207         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9208         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9209         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9210         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9211         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9212         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9213         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9214         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9215         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9216         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9217         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9218         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9219         removed macros.
9220         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9221         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9222         macros.
9223         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9224         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9225         * sysdeps/i386/i586/memset.S (memset): Likewise.
9226         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9227         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9228         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9229         macros.
9230         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9231         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9232         Change uses of L(2) to L(out).
9233         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9234         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9235         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9236         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9237         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9238         removed macros.
9239         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9240         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9241         macros.
9242         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9243         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9244         (RETURN): Do not use macro LEAVE.
9245         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9246         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9247         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9248         * sysdeps/i386/i686/memset.S (memset): Likewise.
9249         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9250         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9251         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9252         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9253         Likewise.
9254         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9255         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
9256         L(1_2) and L(1_3) into L(1).
9257         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9258         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9259         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9260         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9261         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9262         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9263         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9264         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9265         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9266         macros.
9267         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9268         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9269         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9270         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9271         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9272         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9273         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9274         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9275         * sysdeps/i386/strcspn.S (strcspn): Likewise.
9276         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9277         * sysdeps/i386/strrchr.S (strrchr): Likewise.
9278         * sysdeps/i386/strspn.S (strspn): Likewise.
9279         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9280         conditional code.
9281         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9282         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9283         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9284         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
9285         L(1_3) into L(1_1).
9286         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9287         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9288         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9289         macros.
9290         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9292 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
9294         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9295         macro.
9297 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9299         * math/atest-exp.c (exp_mpn): Remove ROUND.
9300         * math/atest-exp2.c (exp_mpn): Likewise.
9301         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9303         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9304         * stdlib/tst-tls-atexit-lib.c: Likewise.
9305         * stdlib/tst-tls-atexit.c: Likewise.
9307 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9309         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9310         and __attribute_alloc_size__.
9312 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9314         * include/programs/xmalloc.h: Change __attribute_alloc_size to
9315         __attribute_alloc_size__.
9316         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9317         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9319 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9321         * include/programs/xmalloc.h: New file.
9322         * catgets/gencat.c: Include it.
9323         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9324         * elf/pldd.c: Likewise.
9325         * iconv/iconv_charmap.c: Likewise.
9326         * iconv/iconvconfig.c: Likewise.
9327         * iconv/strtab.c: Likewise.
9328         * locale/programs/locale.c: Likewise.
9329         * locale/programs/localedef.h: Likewise.
9330         * locale/programs/simple-hash.c: Likewise.
9331         * nscd/nscd.h: Likewise.
9332         * nss/makedb.c: Likewise.
9333         * sysdeps/generic/ldconfig.h: Likewise.
9335 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9337         * Versions.def: Add GLIBC_2.18.
9338         * include/link.h (struct link_map): New member l_tls_dtor_count.
9339         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9340         (__call_tls_dtors): Likewise.
9341         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9342         __cxa_thread_atexit_impl.
9343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9344         Likewise.
9345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9346         Likewise.
9347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9348         Likewise.
9349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9350         Likewise.
9351         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9353         Likewise.
9354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9355         Likewise.
9356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9358         Likewise.
9359         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9360         (tests): Add test case tst-tls-atexit.
9361         (modules-names): Add shared library for tst-tls-atexit.
9362         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9363         (GLIBC_PRIVATE): Add __call_tls_dtors.
9364         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9365         for libstdc++.
9366         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9367         * stdlib/tst-tls-atexit.c: New test case.
9368         * stdlib/tst-tls-atexit-lib.c: New test case.
9370         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9372         * elf/Versions (ld): Add _dl_find_dso_for_object.
9373         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9374         * elf/dl-open.c (_dl_find_dso_for_object): New function.
9375         (dl_open_worker): Use _dl_find_dso_for_object.
9376         * elf/dl-sym.c (do_sym): Likewise.
9377         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9379 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9381         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9382         Syntactic changes only.
9383         (_dl_runtime_profile): Do a tail-call to the resolved function.
9385 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
9387         [BZ #13550]
9388         * sysdeps/x86_64/bp-asm.h: Remove file.
9389         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9390         <bp-sym.h> and <bp-asm.h>.
9391         (__clone): Do not use BP_SYM.
9392         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9393         <bp-sym.h> and <bp-asm.h>.
9394         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9395         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9396         "bp-asm.h".
9397         (_setjmp): Do not use BP_SYM.
9398         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9399         "bp-asm.h".
9400         (setjmp): Do not use BP_SYM.
9401         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9402         libc_hidden_def.
9403         (mempcpy): Do not use BP_SYM in weak_alias.
9404         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9405         "bp-asm.h".
9406         (strchr): Do not use BP_SYM.
9407         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9408         "bp-asm.h".
9409         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9410         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9411         (_start): Do not use BP_SYM.
9412         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9413         "bp-asm.h".
9414         (strcat): Do not use BP_SYM.
9415         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9416         "bp-asm.h".
9417         (STRCMP): Do not use BP_SYM.
9418         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9419         "bp-asm.h".
9420         (STRCPY): Do not use BP_SYM.
9421         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9422         "bp-asm.h".
9423         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9424         "bp-asm.h".
9425         (FUNCTION): Do not use BP_SYM.
9426         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9427         weak_alias.
9428         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9430 2013-02-17  Andreas Jaeger  <aj@suse.de>
9432         * time/Versions: Sort entries.
9433         * string/Versions: Likewise.
9434         * resolv/Versions: Likewise.
9435         * posix/Versions: Likewise.
9436         * iconv/Versions: Likewise.
9437         * elf/Versions: Likewise.
9438         * wcsmbs/Versions: Likewise.
9440 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9442         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9443         loop termination condition.
9445         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9446         variable to calculate EZ.
9447         (__sqr): Likewise.
9449         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9450         the lower precision input.
9452 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
9454         [BZ #13550]
9455         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9456         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9457         (run-via-rtld-prefix): Do not handle %-bp tests.
9458         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9459         (all-object-suffixes): Remove .ob.
9460         (bppfx): Remove variable.
9461         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9462         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9463         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9464         [$(build-bounded) = yes] (libtype.ob): Likewise.
9465         * Makerules (elide-routines.ob): Remove variable.
9466         (do-tests-clean): Do not handle *-bp.out.
9467         (common-mostlyclean): Do not handle *-bp and *-bp.out.
9468         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9469         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9470         (tests): Do not include $(tests-bp.out).
9471         (xtests): Do not include $(xtests-bp.out).
9472         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9473         [$(build-bounded) = yes] ($(addprefix
9474         $(objpfx),$(binaries-bounded))): Remove rule.
9475         ($(objpfx)%-bp.out): Remove rule.
9476         * config.make.in (build-bounded): Remove variable.
9477         * crypt/Makefile [$(build-bounded) = yes]
9478         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9479         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9480         append to variable.
9481         [$(build-bounded) = yes] (install-lib): Likewise.
9482         [$(build-bounded) = yes] (generated): Likewise.
9483         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9484         Remove rule.
9485         * intl/Makefile [$(build-bounded) = yes]
9486         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9487         * math/Makefile [$(build-bounded) = yes]
9488         ($(tests:%=$(objpfx)%-bp): Likewise.
9489         * misc/Makefile [$(build-bounded) = yes]
9490         ($(objpfx)tst-tsearch-bp): Likewise.
9491         * nptl/Makeconfig (bounded-thread-library): Remove variable.
9492         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9493         Remove dependency.
9494         * string/Makefile (o-objects.ob): Remove variable.
9495         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9496         (CFLAGS-.ob): Remove variable.
9497         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9498         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9499         both definitions of variable.
9500         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9501         (ASFLAGS-.ob): Remove variable.
9503 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
9505         [BZ #13550]
9506         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9507         Remove __BOUNDED_POINTERS__ from condition.
9508         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9509         * string/bits/string2.h [!__NO_STRING_INLINES &&
9510         !__BOUNDED_POINTERS__]: Likewise.
9511         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9512         Likewise.
9513         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9514         Remove conditional code.
9515         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9516         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9517         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9518         condition.
9520         [BZ #13550]
9521         * csu/libc-start.c: Do not include <bp-sym.h>.
9522         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9523         * elf/dl-open.c: Do not include <bp-sym.h>.
9524         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9525         * math/fegetenv.c: Do not include <bp-sym.h>.
9526         (fegetenv): Do not use BP_SYM in versioned symbols.
9527         * nptl/sysdeps/pthread/bits/libc-lockP.h
9528         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9529         <bp-sym.h>.
9530         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9531         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9532         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9533         (__pthread_mutex_destroy): Likewise.
9534         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9535         (__pthread_mutex_lock): Likewise.
9536         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9537         (__pthread_mutex_trylock): Likewise.
9538         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9539         (__pthread_mutex_unlock): Likewise.
9540         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9541         (__pthread_mutexattr_init): Likewise.
9542         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9543         (__pthread_mutexattr_destroy): Likewise.
9544         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9545         (__pthread_mutexattr_settype): Likewise.
9546         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9547         (__pthread_rwlock_init): Likewise.
9548         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9549         (__pthread_rwlock_destroy): Likewise.
9550         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9551         (__pthread_rwlock_rdlock): Likewise.
9552         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9553         (__pthread_rwlock_tryrdlock): Likewise.
9554         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9555         (__pthread_rwlock_wrlock): Likewise.
9556         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9557         (__pthread_rwlock_trywrlock): Likewise.
9558         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9559         (__pthread_rwlock_unlock): Likewise.
9560         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9561         (__pthread_key_create): Likewise.
9562         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9563         (__pthread_setspecific): Likewise.
9564         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9565         (__pthread_getspecific): Likewise.
9566         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9567         Likewise.
9568         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9569         (_pthread_cleanup_push_defer): Likewise.
9570         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9571         (_pthread_cleanup_pop_restore): Likewise.
9572         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9573         (pthread_setcancelstate): Likewise.
9574         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9575         <bp-sym.h>.
9576         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9577         (memchr): Do not use BP_SYM in weak_alias.
9578         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9579         (fegetenv): Do not use BP_SYM in versioned symbols.
9580         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9581         (fesetenv): Do not use BP_SYM in versioned symbols.
9582         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9583         (feupdateenv): Do not use BP_SYM in versioned symbols.
9584         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9585         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9586         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9587         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9588         (open64): Do not use BP_SYM in weak_alias.
9589         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9590         (fegetenv): Do not use BP_SYM in versioned symbols.
9591         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9592         (fesetenv): Do not use BP_SYM in versioned symbols.
9593         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9594         (feupdateenv): Do not use BP_SYM in versioned symbols.
9595         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9596         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9597         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9598         (feraiseexcept): Do not use BP_SYM in versioned symbols.
9599         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9600         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9601         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9602         <bp-sym.h>.
9603         (__libc_start_main): Do not use BP_SYM.
9605 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9607         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9608         redundant return line.
9609         (norm): Likewise.
9610         (denorm): Likewise.
9611         (dbl_mp): Likewise.
9612         (sub_magnitudes): Likewise.
9613         (__add): Likewise.
9614         (__sub): Likewise.
9615         (__mul): Likewise.
9616         (__inv): Likewise.
9617         (__dvd): Likewise.
9618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9619         (norm): Likewise.
9620         (denorm): Likewise.
9621         (dbl_mp): Likewise.
9622         (sub_magnitudes): Likewise.
9623         (__add): Likewise.
9624         (__sub): Likewise.
9625         (__mul): Likewise.
9626         (__inv): Likewise.
9627         (__dvd): Likewise.
9629         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9630         instead of __mul.
9631         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9632         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9633         (cc32): Likewise.
9635         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9636         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9637         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9638         of __mul for squares.
9639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9640         function
9641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9642         Likewise.
9643         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9644         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9646 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
9648         [BZ #13550]
9649         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9650         code.
9651         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9652         prototype or function definition.  Rename ubp_* variables and
9653         parameters.  Remove argv definitions conditional on
9654         [__BOUNDED_POINTERS__].
9655         * debug/backtrace.c (__backtrace): Do not use __unbounded.
9656         * elf/dl-runtime.c (_dl_fixup): Likewise.
9657         * include/set-hooks.h (RUN_HOOK): Likewise.
9658         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9659         definition.
9660         * string/strcpy.c (strcpy): Do not use __unbounded.
9661         * sysdeps/generic/frame.h (struct layout): Likewise.
9662         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9663         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9664         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9665         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9666         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9667         (__backtrace): Likewise.
9668         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9669         use __ptrvalue.
9670         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9671         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9672         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9673         Likewise.
9674         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9675         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9676         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9677         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9678         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9679         Do not use __unbounded.
9680         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9681         Rename __unboundedrlimits parameter to rlimits in prototype.
9682         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9683         Do not use __unbounded.
9684         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9685         not use __ptrvalue.
9686         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9687         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9688         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9689         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9690         __ptrvalue or __unbounded.
9691         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9692         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9693         use __unbounded.
9694         (__new_msgctl): Do not use __ptrvalue.
9695         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9696         __unbounded.
9697         (__libc_msgrcv): Do not use __ptrvalue.
9698         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9699         startup_info): Do not use __unbounded.
9700         (__libc_start_main): Likewise.  Rename ubp_* variables and
9701         parameters.  Remove argv definitions conditional on
9702         [__BOUNDED_POINTERS__].
9703         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9704         __ptrvalue.
9705         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9706         use __unbounded.
9707         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9708         or __ptrvalue.
9709         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9710         use __unbounded.
9711         (__new_shmctl): Do not use __ptrvalue.
9712         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9713         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9714         Likewise.
9715         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9716         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9717         (__libc_sigaction): Likewise.
9718         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9719         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9720         Likewise.
9721         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9723 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
9725         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9727         * string/mempcpy.c: Implement by calling memcpy.
9729 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9731         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9734         evaluation.
9736         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9737         values in the mantissa.
9739         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9740         minimize writes to Z.
9741         (sub_magnitudes): Simplify code a bit.
9743 2013-02-12  Roland McGrath  <roland@hack.frob.com>
9745         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9746         from the message.  The linker prefixes all warnings with that already.
9748 2013-02-12  Andreas Schwab  <schwab@suse.de>
9750         [BZ #15078]
9751         * posix/regexec.c (extend_buffers): Add parameter min_len.
9752         (check_matching): Pass minimum needed length.
9753         (clean_state_log_if_needed): Likewise.
9754         (get_subexp): Likewise.
9755         * posix/Makefile (tests): Add bug-regex34.
9756         (bug-regex34-ENV): Define.
9757         * posix/bug-regex34.c: New file.
9759         [BZ #11561]
9760         * posix/regcomp.c (parse_bracket_exp): When looking up collating
9761         elements compare against the byte sequence of it, not its name.
9762         * posix/Makefile (tests): Add bug-regex35.
9763         (bug-regex35-ENV): Define.
9764         * posix/bug-regex35.c: New file.
9766 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9768         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
9769         comment.
9770         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9771         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9772         (CHECK_EOL): Add undef.
9774 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
9776         * bits/stdlib-bsearch.h: New file.
9777         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9778         * stdlib/stdlib.h: Likewise.
9780 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9782         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9783         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9784         declaration.
9785         * manual/search.texi (Array Search Function): Add missing const in
9786         lfind prototype.
9787         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9788         declaration to use rlim_t.
9789         (Basic Scheduling Functions): Remove erroneous const from
9790         sched_getparam prototype.  Remove erroneous * from
9791         sched_get_priority_max and sched_get_priority_min prototypes.
9792         (Resource Usage): Fix summary @comment on vtimes to refer to
9793         sys/vtimes.h rather than vtimes.h.
9794         Add missing *s in vtimes prototype.
9795         (Limits on Resources): Fix ulimit prototype to return long int.
9796         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9797         prototypes to use long int rather than double.
9798         (BSD Random): Fix initstate and setstate to use char *, not void *.
9799         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9800         prototype to make second argument 'struct aiocb64 *const[]'.
9801         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9802         (Status of AIO Operations): Remove erroneous const in aio_return and
9803         aio_return64 prototypes.
9804         (Synchronizing I/O): Fix sync prototype to return void.
9805         * manual/startup.texi (Suboptions): Remove an erroneous const in
9806         getsubopt prototype.
9807         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9808         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9809         use size_t rather than int.
9810         (Scanning All Users): Likewise for getpwent_r.
9811         (Setting Groups): Add missing const to setgroups prototype.
9812         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9813         * manual/socket.texi (Host Names): Fix gethostbyaddr and
9814         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9815         'const void *' rather than 'const char *'.
9816         (Host Address Functions): Likewise for inet_ntop.
9817         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9818         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9819         ssize_t for return value.
9820         (Sending Data): Likewise for send, sendto, sendmsg.
9821         (Socket Option Functions): Add a missing const in setsockopt prototype.
9822         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9823         use wchar_t for the argument.
9824         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9825         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9826         take no arguments.
9827         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9828         double/float/long double for second argument.
9829         Fix return types of significand, significandf, significandl.
9830         * manual/filesys.texi (Setting Permissions): Use mode_t for second
9831         argument in fchmod prototype.
9832         (File Owner): Use uid_t and gid_t in fchown prototype.
9833         (File Times): Add const to utimes, futimes, and lutimes prototypes.
9834         (Making Special Files): Use mode_t and dev_t in mknod prototype.
9835         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9836         use 'const struct dirent **' as argument types to CMP function pointer
9837         argument.
9838         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9839         (File Times): Fix summary magic @comment for struct utimbuf and utime
9840         to refer to utime.h, not time.h.
9841         * manual/string.texi (Argz Functions): Add missing const in
9842         argz_extract and argz_next prototypes.
9843         (Finding Tokens in a String): Likewise for basename.
9844         (String/Array Comparison): Fix typo in wcscasecmp prototype.
9845         (Copying and Concatenation): Fix typo in wmemmove prototype.
9846         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9847         (Signal Stack): Remove erroneous const in sigstack prototype.
9848         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9849         prototype.
9850         (Simple Calendar Time): Likewise for stime.
9851         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9852         prototype.
9853         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9854         say sys/sysctl.h instead.
9855         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9856         and vsyslog prototypes.
9858 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9860         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9861         Remove.
9863 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9865         * misc/sys/mman.h: Fix typo in mremap comment.
9867 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9869         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9870         the '\0' terminator.
9872 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9874         [BZ #13550]
9875         * debug/segfault.c: Don't include <bp-checks.h>.
9876         * sysdeps/generic/bp-checks.h: Remove file.
9877         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9878         (__GETDENTS): Don't use CHECK_N.
9879         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9880         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9881         (__getgroups): Don't use CHECK_N.
9882         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9883         (setgroups): Don't use CHECK_N.
9884         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9885         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9886         (__libc_msgrcv): Don't use CHECK_N.
9887         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9888         (__libc_msgsnd): Don't use CHECK_N.
9889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9890         <bp-checks.h>.
9891         (__libc_pread): Don't use CHECK_N.
9892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9893         include <bp-checks.h>.
9894         (__libc_pread64): Don't use CHECK_N.
9895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9896         include <bp-checks.h>.
9897         (__libc_pwrite): Don't use CHECK_N.
9898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9899         include <bp-checks.h>.
9900         (__libc_pwrite64): Don't use CHECK_N.
9901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9902         <bp-checks.h>.
9903         (__libc_pread): Don't use CHECK_N.
9904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9905         include <bp-checks.h>.
9906         (__libc_pread64): Don't use CHECK_N.
9907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9908         include <bp-checks.h>.
9909         (__libc_pwrite): Don't use CHECK_N.
9910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9911         include <bp-checks.h>.
9912         (__libc_pwrite64): Don't use CHECK_N.
9913         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9914         (do_pread): Don't use CHECK_N.
9915         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9916         (do_pread64): Don't use CHECK_N.
9917         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9918         (do_pwrite): Don't use CHECK_N.
9919         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9920         (do_pwrite64): Don't use CHECK_N.
9921         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9922         (__libc_readv): Don't use CHECK_N.
9923         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9924         (semop): Don't use CHECK_N.
9925         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9926         <bp-checks.h>.
9927         (semtimedop): Don't use CHECK_N.
9928         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9929         (__libc_pread): Don't use CHECK_N.
9930         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9931         <bp-checks.h>.
9932         (__libc_pread64): Don't use CHECK_N.
9933         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9934         <bp-checks.h>.
9935         (__libc_pwrite): Don't use CHECK_N.
9936         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9937         <bp-checks.h>.
9938         (__libc_pwrite64): Don't use CHECK_N.
9939         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9940         <bp-checks.h>.
9941         (__libc_msgrcv): Don't use CHECK_N.
9942         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9943         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
9944         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9945         (__libc_writev): Don't use CHECK_N.
9947 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9949         * string/strcpy.c: Removed unused variable.
9951         * Makeconfig (+sysdep-includes): Define with := rather than =.
9952         Use an existing include/ subdir of each sysdeps dir before it.
9954 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9956         * nscd/connection.c (register_traced_file): Comment function.
9957         [HAVE_INOTIFY] (union __inev): Define.
9958         [HAVE_INOTIFY] (inotify_check_files): New function.
9959         [HAVE_INOTIFY] (clear_db_cache): Likewise.
9960         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9961         clear_db_cache.
9962         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9964 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9966         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9967         loaded if not already and that a failure is permanent.
9969 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9971         [BZ #15006]
9972         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9973         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9975 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9977         [BZ #13550]
9978         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9979         (CHECK_1_NULL_OK): Likewise.
9980         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9981         (__fxstat): Do not use CHECK_1.
9982         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9983         <bp-checks.h>.
9984         (___fxstat64): Do not use CHECK_1.
9985         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9986         <bp-checks.h>.
9987         (__fxstatat): Do not use CHECK_1.
9988         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9989         <bp-checks.h>.
9990         (__fxstatat64): Do not use CHECK_1.
9991         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9992         <bp-checks.h>.
9993         (__fxstat): Do not use CHECK_1.
9994         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9995         <bp-checks.h>.
9996         (__fxstatat): Do not use CHECK_1.
9997         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9998         <bp-checks.h>.
9999         (__getresgid): Do not use CHECK_1.
10000         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10001         <bp-checks.h>.
10002         (__getresuid): Do not use CHECK_1.
10003         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10004         <bp-checks.h>.
10005         (__lxstat): Do not use CHECK_1.
10006         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10007         <bp-checks.h>.
10008         (__old_msgctl): Do not use CHECK_1.
10009         (__new_msgctl): Likewise.
10010         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10011         <bp-checks.h>.
10012         (__new_setrlimit): Do not use CHECK_1.
10013         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10014         <bp-checks.h>.
10015         (__old_shmctl): Do not use CHECK_1.
10016         (__new_shmctl): Likewise.
10017         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10018         <bp-checks.h>.
10019         (__xstat): Do not use CHECK_1.
10020         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10021         (__lxstat): Do not use CHECK_1.
10022         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10023         <bp-checks.h>.
10024         (___lxstat64): Do not use CHECK_1.
10025         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10026         (__old_msgctl): Do not use CHECK_1.
10027         (__new_msgctl): Likewise.
10028         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10029         <bp-checks.h>.
10030         (__gettimeofday): Do not use CHECK_1.
10031         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10032         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10033         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10034         <bp-checks.h>.
10035         (__gettimeofday): Do not use CHECK_1.
10036         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10037         (__old_shmctl): Do not use CHECK_1_NULL_OK.
10038         (__new_shmctl): Do not use CHECK_1.
10039         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10040         <bp-checks.h>.
10041         (do_sigtimedwait): Do not use CHECK_1.
10042         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10043         <bp-checks.h>.
10044         (do_sigwaitinfo): Do not use CHECK_1.
10045         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10046         <bp-checks.h>.
10047         (msgctl): Do not use CHECK_1.
10048         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10049         <bp-checks.h>.
10050         (shmctl): Do not use CHECK_1.
10051         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10052         (ustat): Do not use CHECK_1.
10053         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10054         <bp-checks.h>.
10055         (__fxstat): Do not use CHECK_1.
10056         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10057         <bp-checks.h>.
10058         (__fxstatat): Do not use CHECK_1.
10059         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10060         <bp-checks.h>.
10061         (__lxstat): Do not use CHECK_1.
10062         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10063         <bp-checks.h>.
10064         (__xstat): Do not use CHECK_1.
10065         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10066         (__xstat): Do not use CHECK_1.
10067         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10068         (___xstat64): Do not use CHECK_1.
10070         [BZ #13550]
10071         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10072         definitions.
10073         (CHECK_BOUNDS_HIGH): Likewise.
10074         * string/strcpy.c: Do not include <bp-checks.h>.
10075         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10077 2013-02-07  Roland McGrath  <roland@hack.frob.com>
10079         * nscd/nscd-client.h (__nscd_drop_map_ref):
10080         Add __attribute__ ((unused)).
10081         * nis/nss-nisplus.h (niserr2nss): Likewise.
10083         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10084         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10086         * csu/libc-tls.c (init_static_tls, init_slotinfo):
10087         Remove inline keyword.
10088         * include/rounding-mode.h (round_away): Likewise.
10089         * libio/wfileops.c (adjust_wide_data): Likewise.
10090         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10091         (__m128i_strloadu_tolower): Likewise.
10092         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10093         (__m128i_strloadu_tolower): Likewise.
10094         * time/mktime.c (ydhms_diff): Likewise.
10095         * locale/elem-hash.h (elem_hash): Likewise.
10096         * locale/setlocale.c (setdata): Likewise.
10097         * posix/regex_internal.h (re_string_char_size_at): Likewise.
10098         (re_string_wchar_at): Likewise.
10099         (bitset_not, bitset_merge, bitset_mask): Likewise.
10100         [!(__GNUC__ > 3)] (inline): Remove macro.
10101         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10102         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10103         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10104         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10105         * string/memcmp.c (memcmp_bytes): Likewise.
10106         * locale/programs/locarchive.c (compute_hashval): Likewise.
10107         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10108         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10109         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10110         * nss/getent.c (print_rpc, print_protocols): Likewise.
10111         (print_passwd, print_group, print_aliases): Likewise.
10112         * nis/nss-nisplus.h (niserr2nss): Likewise.
10113         * nscd/connections.c (restart_p): Likewise.
10114         Change return type to bool.
10116 2013-02-05  Roland McGrath  <roland@hack.frob.com>
10118         * Makeconfig (all-Depend-files): Add existing
10119         $(sorted-subdirs:=/Depend) files.
10120         (all-subdirs): Remove nss.
10121         * sysdeps/unix/inet/Subdirs: Add it here instead.
10122         * hesiod/Depend: New file.
10124         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10125         instead of calling alloca.
10127         * io/lseek.c (__lseek): Rename to __libc_lseek.
10128         Define __lseek as an alias.
10130         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10132 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
10134         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10135         else clause and remove check for non-standard endianness.
10137 2013-02-04  David S. Miller  <davem@davemloft.net>
10139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10141 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
10143         [BZ #13550]
10144         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10145         (__ubp_memchr): Remove prototype.
10146         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10147         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10148         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10149         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10150         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10151         Remove alias.
10152         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10153         (__ubp_memchr): Likewise.
10154         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10155         (__ubp_memchr): Likewise.
10156         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10157         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10158         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10159         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10160         CHECK_STRING.
10161         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10162         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10163         (__getcwd): Do not use CHECK_STRING.
10164         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10165         <bp-checks.h>.
10166         (__real_chown): Do not use CHECK_STRING.
10167         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10168         <bp-checks.h>.
10169         (fchownat): Do not use CHECK_STRING.
10170         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10171         CHECK_STRING.
10172         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10173         <bp-checks.h>.
10174         (__lchown): Do not use CHECK_STRING.
10175         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10176         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10177         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10178         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10180         include <bp-checks.h>.
10181         (truncate64): Do not use CHECK_STRING.
10182         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10183         <bp-checks.h>.
10184         (__real_chown): Do not use CHECK_STRING.
10185         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10186         <bp-checks.h>.
10187         (__lchown): Do not use CHECK_STRING.
10188         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10189         <bp-checks.h>.
10190         (__chown): Do not use CHECK_STRING.
10191         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10192         <bp-checks.h>.
10193         (truncate64): Do not use CHECK_STRING.
10194         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10195         Likewise.
10196         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10197         (__xmknod): Do not use CHECK_STRING.
10198         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10199         <bp-checks.h>.
10200         (__xmknodat): Do not use CHECK_STRING.
10201         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10202         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10204 2013-02-04  Andreas Schwab  <schwab@suse.de>
10206         [BZ #14142]
10207         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10208         * include/netdb.h: Likewise for h_errno.
10209         * elf/tst-stackguard1.c: Include <tls.h>.
10211 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10213         * elf/link.h (struct link_map): Extend the l_addr comment.
10214         * include/link.h (struct link_map): Likewise.
10216 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
10218         [BZ #13550]
10219         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10220         (BOUNDED_1): Remove macro.
10221         * debug/backtrace.c: Don't include <bp-checks.h>.
10222         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10223         (__backtrace): Likewise.
10224         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10225         <bp-checks.h>.
10226         (__backtrace): Don't use BOUNDED_1.
10227         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10228         <bp-checks.h>.
10229         (__backtrace): Don't use BOUNDED_1.
10230         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10231         (__backtrace): Don't use BOUNDED_1.
10232         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10233         (shmat): Don't use BOUNDED_N.
10235 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
10237         [BZ #13550]
10238         * sysdeps/generic/bp-start.h: Remove file.
10239         * csu/libc-start.c: Don't include <bp-start.h>.
10240         (LIBC_START_MAIN): Set up __environ directly instead of using
10241         INIT_ARGV_and_ENVIRON.
10242         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10243         <bp-start.h>.
10245         [BZ #13550]
10246         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10247         definitions.
10248         (CHECK_FCNTL): Likewise.
10249         (CHECK_N_PAGES): Likewise.
10251         [BZ #13550]
10252         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10253         definitions.
10254         (CHECK_SIGSET_NULL_OK): Likewise.
10255         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10256         <bp-checks.h>.
10257         (sigpending): Don't use CHECK_SIGSET.
10258         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10259         <bp-checks.h>.
10260         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10261         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10262         <bp-checks.h>.
10263         (do_sigsuspend): Don't use CHECK_SIGSET.
10264         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10265         use CHECK_SIGSET.
10266         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10267         (do_sigwait): Don't use CHECK_SIGSET.
10268         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10269         use CHECK_SIGSET.
10270         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10271         include <bp-checks.h>.
10272         (sigpending): Don't use CHECK_SIGSET.
10273         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10274         include <bp-checks.h>.
10275         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10276         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10277         <bp-checks.h>.
10278         (sigpending): Don't use CHECK_SIGSET.
10279         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10280         <bp-checks.h>.
10281         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10283         [BZ #13550]
10284         * sysdeps/generic/bp-semctl.h: Remove file.
10285         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10286         <bp-checks.h> and <bp-semctl.h>.
10287         (__old_semctl): Don't use CHECK_SEMCTL.
10288         (__new_semctl): Likewise.
10289         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10290         and <bp-semctl.h>.
10291         (__old_semctl): Don't use CHECK_SEMCTL.
10292         (__new_semctl): Likewise.
10293         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10294         <bp-checks.h> and <bp-semctl.h>.
10295         (__old_semctl): Don't use CHECK_SEMCTL.
10296         (__new_semctl): Likewise.
10297         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10298         <bp-checks.h> and <bp-semctl.h>.
10299         (semctl): Don't use CHECK_SEMCTL.
10301         [BZ #13550]
10302         * Makerules (elide-bp-thunks): Remove variable.
10303         (elide-routines.oS): Don't use $(elide-bp-thunks).
10304         (elide-routines.os): Likewise.
10305         (elide-routines.o): Likewise.
10306         (elide-routines.op): Likewise.
10307         (elide-routines.og): Likewise.
10308         (objects): Don't use $(bp-thunks).
10309         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10310         include.
10311         (common-generated): Do not add s-proto-bp.d.
10312         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10313         (int): Likewise.
10314         (typ): Likewise.
10315         Do not generate makefile rules for bounded-pointer thunks.
10316         * sysdeps/generic/bp-thunks.h: Remove file.
10317         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10318         * sysdeps/unix/s-proto-bp.S: Likewise.
10320         [BZ #15062]
10321         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10322         parts of result separately when argument is not close to line from
10323         -i to i and one part of argument is small.
10324         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10325         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10326         * math/libm-test.inc (cacos_test): Add more tests.
10327         (casin_test): Likewise.
10328         (casinh_test): Likewise.
10329         * sysdeps/i386/fpu/libm-test-ulps: Update.
10330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10332 2013-01-31  David S. Miller  <davem@davemloft.net>
10334         * po/de.po: Update from translation team.
10336 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10338         * time/tzfile.c: Include stdint.h for SIZE_MAX.
10340 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
10342         * configure.in (_AC_PROG_CC_C89): New definition.
10343         * configure: Regenerate.
10345         * configure.in (AC_PROG_CPP): New definition.
10346         * configure: Regenerate.
10348 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10350         * debug/tst-backtrace.h: New file.
10351         * debug/tst-backtrace2.c: Include tst-backtrace.h.
10352         (ret): Remove variable.
10353         (x): Likewise.
10354         (FAIL): Remove macro.
10355         (NO_INLINE): Likewise.
10356         (fn1): Use match function instead of strstr.
10357         * debug/tst-backtrace3.c: Include tst-backtrace.h.
10358         (ret): Remove variable.
10359         (x): Likewise.
10360         (FAIL): Remove macro.
10361         (NO_INLINE): Likewise.
10362         (fn): Use match function instead of strstr.
10363         * debug/tst-backtrace4.c: Include tst-backtrace.h.
10364         (ret): Remove variable.
10365         (x): Likewise.
10366         (FAIL): Remove macro.
10367         (NO_INLINE): Likewise.
10368         (handle_signal): Use match function instead of strstr.
10369         * debug/tst-backtrace5.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.
10376 2013-01-23  Roland McGrath  <roland@hack.frob.com>
10378         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10380 2013-01-23  David S. Miller  <davem@davemloft.net>
10382         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10383         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10384         argument of CAS if possible.
10385         * sysdeps/sparc/sparc64/bits/atomic.h
10386         (__arch_compare_and_exchange_val_32_acq): Likewise.
10387         (__arch_compare_and_exchange_val_64_acq): Likewise.
10389 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
10391         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10392         * sysdeps/posix/ulimit.c: ... this.
10393         Include <limits.h>.
10394         * sysdeps/unix/bsd/ulimit.c: Remove file.
10396 2013-01-23  Adam Conrad  <adconrad@0c3.net>
10398         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10399         (LDFLAGS-tst-array5): Likewise.
10401 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10403         [BZ #15036]
10404         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10405         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10406         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10407         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10409 2013-01-21  David S. Miller  <davem@davemloft.net>
10411         * sysdeps/sparc/backtrace.c: New file.
10412         * sysdeps/sparc/sparc32/backtrace.h: New file.
10413         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10414         * sysdeps/sparc/sparc64/backtrace.h: New file.
10415         * sysdeps/sparc/sparc64/backtrace.c: Delete.
10416         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10417         -funwind-tables.
10419 2013-01-21  Andreas Schwab  <schwab@suse.de>
10421         [BZ #15020]
10422         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10423         closed its stdout.
10425 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
10427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10428         "mpa2.h".
10429         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10431 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
10432             Mark Mitchell  <mark@codesourcery.com>
10433             Tom de Vries  <tom@codesourcery.com>
10434             Paul Pluzhnikov  <ppluzhnikov@google.com>
10436         * debug/tst-backtrace2.c: New file.
10437         * debug/tst-backtrace3.c: Likewise.
10438         * debug/tst-backtrace4.c: Likewise.
10439         * debug/tst-backtrace5.c: Likewise.
10440         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10441         (CFLAGS-tst-backtrace3.c): Likewise.
10442         (CFLAGS-tst-backtrace4.c): Likewise.
10443         (CFLAGS-tst-backtrace5.c): Likewise.
10444         (LDFLAGS-tst-backtrace2): Likewise.
10445         (LDFLAGS-tst-backtrace3): Likewise.
10446         (LDFLAGS-tst-backtrace4): Likewise.
10447         (LDFLAGS-tst-backtrace5): Likewise.
10448         (tests): Add new tests tst-backtrace2, tst-backtrace3,
10449         tst-backtrace4 and tst-backtrace5.
10451 2013-01-18  Anton Blanchard  <anton@samba.org>
10452             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10454         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10455         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10456         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10457         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10459         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10460         "+r" and remove output regs list as redundant.  Add explicit inline
10461         asm to specify register of return val to work around compiler codegen
10462         bug.  Remove (int) cast on return value.  Add return type parameter to
10463         use in macro so that this macro does not truncate return value for
10464         64-bit values.
10465         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10466         pass to INTERNAL_VSYSCALL_NCS.
10467         (INLINE_VSYSCALL): Add 'long int' as return type to
10468         INTERNAL_VSYSCALL_NCS macro invocation.
10469         (INTERNAL_VSYSCALL): Add 'long int' as return type to
10470         INTERNAL_VSYSCALL_NCS macro invocation.
10471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10473 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10475         [BZ #14496]
10476         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10477         Fix application of SIMD FP exception mask.
10479         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10480         mp_no from a power of two.
10481         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10482         __mpexp_twomm1.  Use __pow_mp.
10484         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10485         multiplication.
10487 2013-01-17  David S. Miller  <davem@davemloft.net>
10489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10491 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10493         [BZ #15023]
10494         * include/complex.h: Condition contents on [!_COMPLEX_H].
10495         (__kernel_casinhf): New prototype.
10496         (__kernel_casinh): Likewise.
10497         (__kernel_casinhl): Likewise.
10498         * math/Makefile (libm_calls): Add k_casinh.
10499         * math/k_casinh.c: New file.
10500         * math/k_casinhf.c: Likewise.
10501         * math/k_casinhl.c: Likewise.
10502         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10503         finite nonzero arguments.
10504         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10505         finite nonzero arguments.
10506         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10507         finite nonzero arguments.
10508         * math/s_casinh.c: Do not include <float.h>.
10509         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10510         * math/s_casinhf.c: Do not include <float.h>.
10511         (__casinhf): Move code for finite nonzero arguments to
10512         k_casinhf.c.
10513         * math/s_casinhl.c: Do not include <float.h>.
10514         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10515         redefine.
10516         (__casinhl): Move code for finite nonzero arguments to
10517         k_casinhl.c.
10518         * math/libm-test.inc (cacos_test): Add more tests.
10519         * sysdeps/i386/fpu/libm-test-ulps: Update.
10520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10522 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
10524         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10525         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10526         [!HAVE_MREMAP]: Remove [defined linux] case.
10527         * malloc/arena.c: Do not include <malloc-sysdep.h>.
10529 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10531         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10533 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
10535         * elf/elf.h (R_386_SIZE32): New relocation.
10536         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10537         R_386_SIZE32.
10538         (elf_machine_rela): Likewise.
10539         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10540         R_X86_64_SIZE64 and R_X86_64_SIZE32.
10542 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10544         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10545         (FP_FAST_FMA): Do not define.
10546         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10547         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10548         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10549         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10550         !_SOFT_FLOAT]: Likewise.
10551         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10552         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10553         value.
10554         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10555         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10556         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10557         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10558         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10559         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10560         file.
10562 2013-01-16  Andreas Schwab  <schwab@suse.de>
10564         [BZ #14327]
10565         * include/stdlib.h (__mktemp): Add declaration.
10566         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10567         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10569 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10571         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10572         definitions.
10573         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10574         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10575         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10576         definitions here.
10577         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10578         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10579         definitions.
10580         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10581         and ONE.
10582         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10583         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10584         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10585         definitions.
10586         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10587         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10588         definitions.
10589         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10591         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10593 2013-01-15  David S. Miller  <davem@davemloft.net>
10595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10596         trunc{,f} to libm-sysdep_routes.
10597         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10599         file.
10600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10602         file.
10603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10604         file.
10605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10607         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10608         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10609         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10610         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10611         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10612         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10615         nearbyint{,f} to libm-sysdep_routes.
10616         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10618         New file.
10619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10620         file.
10621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10622         New file.
10623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10624         file.
10625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10627         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10628         file.
10629         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10630         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10631         file.
10632         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10633         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10634         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10636         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10637         libc_feholdexcept and libc_fesetenv.
10639 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
10641         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10643 2013-01-14  David S. Miller  <davem@davemloft.net>
10645         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10646         (SPARC_ASM_VIS2_IFUNC): Likewise.
10647         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10649         use of 'siam' instruction.
10650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10651         Likewise.
10652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10653         Likewise.
10654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10655         Likewise.
10656         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10657         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10658         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10659         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10661         file.
10662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10663         file.
10664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10665         file.
10666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10667         file.
10668         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10669         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10670         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10671         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10673         new VIS2 routines.
10674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10677         Likewise.
10678         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10679         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10680         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10681         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10683         routines to libm-sysdep_routines.
10684         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10687         fdim/fdimf to libm-sysdep_routines.
10688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10689         file.
10690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10692         file.
10693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10696         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10697         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10698         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10699         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10701 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10703         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10704         to optimize copies.
10706         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10707         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10708         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10710         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10711         local variable MPTWO.
10712         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10713         Likewise.
10715 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10717         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10718         GLOB_NOESCAPE.
10720 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10722         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10724 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10726         * manual/pattern.texi (glob_t): Document gl_flags.
10727         (glob64_t): Likewise.
10729 2013-01-11  David S. Miller  <davem@davemloft.net>
10731         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10732         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10733         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
10734         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10735         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10736         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10737         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10738         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10739         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10740         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10741         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10742         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10743         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10745         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10746         sparc V9 rather than using V8 code.
10747         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10748         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10750         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10751         Move to...
10752         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10753         Here.
10755 2013-01-11  Roland McGrath  <roland@hack.frob.com>
10757         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10758         not in the main loop.
10759         * configure: Regenerated.
10761 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
10763         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10764         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10765         to just #else.
10766         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
10767         [!__GLIBC_HAVE_LONG_LONG] case.
10768         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10769         condition to just #else.
10770         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10771         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10772         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10773         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10774         unconditional.
10775         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10776         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10777         #elif condition to just #else.
10778         * sysdeps/unix/sysv/linux/sys/sysmacros.h
10779         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10780         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10781         #elif condition to just #else.
10783 2013-01-11  Steve Ellcey  <sellcey@mips.com>
10785         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10786         (EF_MIPS_ARCH_64): Fix value.
10787         (EF_MIPS_ARCH_32R2): New.
10788         (EF_MIPS_ARCH_64R2): New.
10790 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
10792         * Makeconfig (+link-pie-before-libc): New.
10793         (+link-pie-after-libc): Likewise.
10794         (+link-pie-tests): Likewise.
10795         (+link-pie): Rewritten.
10796         (link-before-libc): Remove $(config-LDFLAGS).
10797         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10798         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10799         (config-LDFLAGS): Renamed to ...
10800         (rtld-LDFLAGS): This.
10801         (rtld-tests-LDFLAGS): New macro.
10802         (link-libc-rpath-link): Likewise.
10803         (link-libc-tests-rpath-link): Likewise.
10804         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10805         (link-libc): Prepand $(link-libc-rpath-link).
10806         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10807         (test-program-prefix): New macro.
10808         (test-via-rtld-prefix): Likewise.
10809         (test-program-cmd): Likewise.
10810         (host-test-program-cmd): Likewise.
10811         * Makefile ($(common-objpfx)testrun.sh): Replace
10812         $(run-program-prefix) with $(test-program-prefix).
10813         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10814         $(rtld-LDFLAGS).
10815         ($(common-objpfx)shlib.lds): Likewise.
10816         (build-module-helper): Likewise.
10817         ($(common-objpfx)format.lds): Likewise.
10818         * Rules (binaries-pie-tests): New.
10819         (binaries-pie-notests): Likewise.
10820         (binaries-pie): Rewritten.
10821         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10822         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10823         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10824         (make-test-out): Replace $(host-built-program-cmd) with
10825         $(host-test-program-cmd).
10826         * config.make.in (build-hardcoded-path-in-tests): New variable.
10827         * configure.in (--enable-hardcoded-path-in-tests): New configure
10828         option.
10829         (hardcoded_path_in_tests): New AC_SUBST.
10830         * configure: Regenerated.
10831         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10832         $(built-program-cmd) with $(test-program-cmd).
10833         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10834         (test_program_cmd): This.
10835         * elf/Makefile ($(objpfx)order.out): Run test with
10836         $(test-program-prefix).
10837         ($(objpfx)order2.out): Likewise.
10838         ($(objpfx)tst-initorder.out): Likewise.
10839         ($(objpfx)tst-initorder2.out): Likewise.
10840         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10841         $(test-program-cmd).
10842         ($(objpfx)tst-array1-static.out): Likewise.
10843         ($(objpfx)tst-array2.out): Likewise.
10844         ($(objpfx)tst-array3.out): Likewise.
10845         ($(objpfx)tst-array4.out): Likewise.
10846         ($(objpfx)tst-array5.out): Likewise.
10847         ($(objpfx)tst-array5-static.out): Likewise.
10848         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10849         $(test-program-cmd).
10850         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10851         $(run-program-prefix) with $(test-program-prefix).
10852         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10853         (test_program_prefix): This.
10854         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10855         $(run-program-prefix) with $(test-program-prefix).
10856         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10857         (test_program_prefix): This.
10858         * iconvdata/tst-tables.sh: Likewise.
10859         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10860         $(run-program-prefix) with $(test-program-prefix).
10861         ($(objpfx)tst-translit.out): Likewise.
10862         ($(objpfx)tst-gettext2.out): Likewise.
10863         ($(objpfx)tst-gettext4.out): Likewise.
10864         ($(objpfx)tst-gettext6.out): Likewise.
10865         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10866         (test_program_prefix): This.
10867         * intl/tst-gettext2.sh: Likewise.
10868         * intl/tst-gettext4.sh  Likewise.
10869         * intl/tst-gettext6.sh: Likewise.
10870         * intl/tst-translit.sh: Likewise.
10871         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10872         with $(test-program-cmd).
10873         * libio/Makefile ($(objpfx)test-freopen.out): Replace
10874         $(run-program-prefix) with $(test-program-prefix).
10875         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10876         (test_program_prefix): This.
10877         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10878         $(run-program-prefix) with $(test-program-prefix).
10879         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10880         (test_program_prefix): This.
10881         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10882         * posix/Makefile ($(objpfx)globtest.out): Replace
10883         $(run-via-rtld-prefix) and $(test-wrapper) with
10884         $(test-program-prefix) and $(test-via-rtld-prefix).
10885         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10886         $(test-program-prefix).
10887         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10888         $(host-test-program-cmd).
10889         (tst-spawn-ARGS): Likewise.
10890         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10891         $(test-program-prefix).
10892         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10893         (test_via_rtld_prefix): This.
10894         (test_wrapper): Renamed to ...
10895         (test_program_prefix): This.
10896         (run_program_prefix): Replaced by test_program_prefix.
10897         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10898         (test_program_prefix): This.
10899         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10900         with $(host-test-program-cmd).
10901         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10902         $(run-program-prefix) with $(test-program-prefix).
10903         ($(objpfx)tst-printf.out): Likewise.
10904         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10905         $(test-program-cmd).
10906         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10907         (test_program_prefix): This.
10908         * stdio-common/tst-unbputc.sh: Likewise.
10909         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10910         $(run-program-prefix) with $(test-program-prefix).
10911         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10912         (test_program_prefix): This.
10913         * string/Makefile ($(objpfx)tst-svc.out):  Replace
10914         $(built-program-cmd) with $(test-program-cmd).
10916 2013-01-11  Andreas Jaeger  <aj@suse.de>
10918         [BZ #15003]
10919         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10920         value. Sync with Linux 3.7.
10922 2013-01-10  David S. Miller  <davem@davemloft.net>
10924         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10925         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10926         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10928 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10930         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10931         never set.
10932         * configure: Regenerated.
10934 2013-01-10  David S. Miller  <davem@davemloft.net>
10936         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10937         sparc V9 rather than using V8 code.
10938         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10939         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10941 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10943         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10944         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10945         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10946         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10947         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10948         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10949         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10950         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10951         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10952         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10953         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10954         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10955         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10956         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10957         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10958         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10959         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10960         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10961         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10962         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10963         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10964         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10965         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10966         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10967         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10968         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10969         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10971 2013-01-10  David S. Miller  <davem@davemloft.net>
10973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10975 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10977         * posix/Makefile (tests-static): New variable.
10978         (tests): Add $(tests-static).
10979         (tst-exec-static-ARGS): New variable.
10980         (tst-spawn-static-ARGS): Likewise.
10981         * posix/tst-exec-static.c: New file.
10982         * posix/tst-spawn-static.c: Likewise.
10983         * posix/tst-exec.c: Support run directly.
10984         * posix/tst-spawn.c: Likewise.
10986 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
10988         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10989         long.
10990         * math/bits/mathcalls.h (llrint): Likewise.
10991         (llround): Likewise.
10992         * stdlib/stdlib.h (struct drand48_data): Likewise.
10993         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10994         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10995         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10996         Likewise.
10997         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10998         Likewise.
10999         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11000         (elf_greg_t): Likewise.
11001         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11002         (__jmp_buf): Likewise.
11003         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11004         definitions.
11005         (llrint): Likewise, for all definitions.
11006         (llrintl): Likewise.
11008         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11009         Remove [__GNUC__] condition.
11010         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11011         condition to just [__USE_ISOC99].
11012         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11014 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11016         [BZ #14200]
11017         * sysdeps/unix/sysv/linux/x86/bits/environments.h
11018         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11019         defined.
11020         (_POSIX_V6_ILP32_OFF32): Likewise.
11021         (_XBS5_ILP32_OFF32): Likewise.
11022         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11023         (__ILP32_OFFBIG_LDFLAGS): Likewise.
11025 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11027         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11029         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11030         doubles __mpexp_twomm1.  Adjust usage.
11031         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11032         Remove.
11034 2013-01-10  Andreas Schwab  <schwab@suse.de>
11036         [BZ #14964]
11037         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11038         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11040 2013-01-09  David S. Miller  <davem@davemloft.net>
11042         [BZ #15003]
11043         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11044         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11045         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11046         TCP_FASTOPEN): Define.
11047         (tcp_repair_opt): New structure.
11048         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11049         enum values.
11050         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11051         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11052         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11053         (tcp_cookie_transactions): New structure.
11055 2013-01-09  Anton Blanchard  <anton@samba.org>
11057         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11058         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11059         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11060         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11062 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
11064         * include/features.h (__USE_ANSI): Remove.
11066 2013-01-09  Roland McGrath  <roland@hack.frob.com>
11068         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11070         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11072 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11074         * sysdeps/s390/fpu/libm-test-ulps: Update.
11076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11078         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11079         (__acr): Likewise.
11080         (__cpy): Likewise.
11081         (norm): Likewise.
11082         (denorm): Likewise.
11083         (__mp_dbl): Likewise.
11084         (__dbl_mp): Likewise.
11085         (add_magnitudes): Likewise.
11086         (sub_magnitudes): Likewise.
11087         (__add): Likewise.
11088         (__sub): Likewise.
11089         (__mul): Likewise.
11090         (__inv): Likewise.
11091         (__dvd): Likewise.
11092         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11093         (__acr): Likewise.
11094         (__cpy): Likewise.
11095         (norm): Likewise.
11096         (denorm): Likewise.
11097         (__mp_dbl): Likewise.
11098         (__dbl_mp): Likewise.
11099         (add_magnitudes): Likewise.
11100         (sub_magnitudes): Likewise.
11101         (__add): Likewise.
11102         (__sub): Likewise.
11103         (__mul): Likewise.
11104         (__inv): Likewise.
11105         (__dvd): Likewise.
11106         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11107         (__acr): Likewise.
11108         (__cpy): Likewise.
11109         (norm): Likewise.
11110         (denorm): Likewise.
11111         (__mp_dbl): Likewise.
11112         (__dbl_mp): Likewise.
11113         (add_magnitudes): Likewise.
11114         (sub_magnitudes): Likewise.
11115         (__add): Likewise.
11116         (__sub): Likewise.
11117         (__mul): Likewise.
11118         (__inv): Likewise.
11119         (__dvd): Likewise.
11121 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
11123         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11124         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11125         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11126         2 && __USE_EXTERN_INLINES]: Likewise.
11128 2013-01-08  Andreas Jaeger  <aj@suse.de>
11130         [BZ# 14985]
11131         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11132         Remove.
11133         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11134         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11136 2013-01-07  Anton Blanchard  <anton@samba.org>
11138         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11139         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11140         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11141         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11142         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11143         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11144         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11145         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11146         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11147         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11148         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11149         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11150         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11151         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11152         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11153         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11154         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11155         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11156         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11157         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11158         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11159         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11160         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11161         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11162         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11163         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11164         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11165         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11166         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11167         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11168         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11169         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11170         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11171         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11172         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11173         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11174         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11175         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11176         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11177         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11178         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11179         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11180         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11182 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
11184         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11185         (__MALLOC_PMT): Likewise.
11186         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11187         [__GNUC__], only on [_LIBC].
11188         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11189         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11190         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11191         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11192         forward declaration.
11193         (realloc_hook_ini): Likewise.
11194         (memalign_hook_ini): Likewise.
11195         (__libc_memalign): Do not use __MALLOC_PMT in variable
11196         declaration.
11197         (__libc_valloc): Likewise.
11198         (__libc_pvalloc): Likewise.
11199         (__libc_calloc): Likewise.
11200         (__posix_memalign): Likewise.
11202         [BZ #14996]
11203         * math/s_casinh.c: Include <float.h>.
11204         (__casinh): Do not do computation with squaring and square root
11205         for large arguments.
11206         * math/s_casinhf.c: Include <float.h>.
11207         (__casinhf): Do not do computation with squaring and square root
11208         for large arguments.
11209         * math/s_casinhl.c: Include <float.h>.
11210         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11211         (__casinhl): Do not do computation with squaring and square root
11212         for large arguments.
11213         * math/libm-test.inc (casin_test): Add more tests.
11214         (casinh_test): Likewise.
11215         * sysdeps/i386/fpu/libm-test-ulps: Update.
11216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11218 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
11220         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11221         (__x86_64_raw_data_cache_size): Likewise.
11222         (__x86_64_data_cache_size_half): Likewise.
11223         (__x86_64_raw_data_cache_size_half): Likewise.
11224         (__x86_64_shared_cache_size): Likewise.
11225         (__x86_64_raw_shared_cache_size): Likewise.
11226         (__x86_64_shared_cache_size_half): Likewise.
11227         (__x86_64_raw_shared_cache_size_half): Likewise.
11228         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11229         to ...
11230         (__x86_data_cache_size): This.
11231         (__x86_64_raw_data_cache_size): Renamed to ...
11232         (__x86_raw_data_cache_size): This.
11233         (__x86_64_data_cache_size_half): Renamed to ...
11234         (__x86_data_cache_size_half): This.
11235         (__x86_64_raw_data_cache_size_half): Renamed to ...
11236         (__x86_raw_data_cache_size_half): This.
11237         (__x86_64_shared_cache_size): Renamed to ...
11238         (__x86_shared_cache_size): This.
11239         (__x86_64_raw_shared_cache_size): Renamed to ...
11240         (__x86_raw_shared_cache_size): This.
11241         (__x86_64_shared_cache_size_half): Renamed to ...
11242         (__x86_shared_cache_size_half): This.
11243         (__x86_64_raw_shared_cache_size_half): Renamed to ...
11244         (__x86_raw_shared_cache_size_half): This.
11245         * sysdeps/x86_64/memcpy.S: Updated.
11246         * sysdeps/x86_64/memset.S: Likewise.
11247         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11248         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11249         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11251 2013-01-04  David S. Miller  <davem@davemloft.net>
11253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11255 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
11257         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11258         1 to avoid redefinition warning.
11259         (__USE_GNU): Don't define.
11260         (init_signaling_nan): Protoize.
11262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11264 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11266         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11267         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11268         (__cpymn): Likewise.
11269         (norm): Remove commented code.
11270         (denorm): Likewise.
11271         (__mp_dbl): Likewise.
11272         (__inv): Likewise.
11273         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11274         (__cpymn): Likewise.
11275         (norm): Remove commented code.
11276         (denorm): Likewise.
11277         (__mp_dbl): Likewise.
11278         (__inv): Likewise.
11280         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11281         mp_no value for 1.0 and 2.0.
11282         (norm): Use RADIXI instead of radixi.d.
11283         (denorm): Likewise.
11284         (__mul): Use 0.0 instead of zero.d.
11285         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11286         mp_no value for 1.0 and 2.0.
11287         (norm): Use RADIXI instead of radixi.d.
11288         (denorm): Likewise.
11289         (__mul): Use 0.0 instead of zero.d.
11291 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
11293         [BZ #14994]
11294         * math/s_casinh.c (__casinh): Reduce finite argument to first
11295         quadrant then set signs of results at the end.
11296         * math/s_casinhf.c (__casinhf): Likewise.
11297         * math/s_casinhl.c (__casinhl): Likewise.
11298         * math/libm-test.inc (casin_test): Add more tests.
11299         (casinh_test): Likewise.
11300         * sysdeps/i386/fpu/libm-test-ulps: Update.
11301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11303 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11305         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11307         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11309         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11310         declarations.
11311         (denorm): Likewise.
11312         (__mp_dbl): Likewise.
11313         (__inv): Likewise.
11315         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11316         and adjust the header comment.
11318         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11319         variable name from declaration.
11321 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
11323         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11324         Initialize COMMON_CPUID_INDEX_7 element.
11325         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11326         (CPUID_RTM): Likewise.
11327         (HAS_RTM): Likewise.
11328         (COMMON_CPUID_INDEX_7): New enum.
11330 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
11332         [BZ #14981]
11333         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11334         size is zero, record memory as freed.
11336 2013-01-03  Andreas Jaeger  <aj@suse.de>
11338         * po/ia.po: Add new Interlingua translation.
11340 2012-01-03  Allan McRae  <allan@archlinux.org>
11342         * locale/programs/localedef.c: Fix description of '--posix' flag.
11344 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
11346         * NEWS: Update dates in second copyright notice.
11347         * README: Update copyright dates in example.
11348         * manual/libc.texinfo: Update copyright dates.
11349         * scripts/test-installation.pl: Update copyright date in --version
11350         output.
11352         * hurd/ctty-input.c: Fix copyright notice formatting.
11353         * hurd/ctty-output.c: Likewise.
11354         * hurd/dtable.c: Likewise.
11355         * hurd/hurd-raise.c: Likewise.
11356         * hurd/hurdprio.c: Likewise.
11357         * hurd/msgportdemux.c: Likewise.
11358         * misc/sys/file.h: Likewise.
11359         * misc/sys/ioctl.h: Likewise.
11360         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11361         * sysdeps/mach/hurd/chdir.c: Likewise.
11362         * sysdeps/mach/hurd/fchdir.c: Likewise.
11363         * sysdeps/mach/hurd/rename.c: Likewise.
11364         * sysdeps/mach/hurd/rmdir.c: Likewise.
11365         * sysdeps/mach/hurd/seekdir.c: Likewise.
11366         * sysdeps/mach/hurd/setsid.c: Likewise.
11367         * sysdeps/posix/wait3.c: Likewise.
11369         * All files with FSF copyright notices: Update copyright dates
11370         using scripts/update-copyrights.
11371         * intl/plural.c: Regenerated.
11372         * locale/programs/charmap-kw.h: Likewise.
11373         * locale/programs/locfile-kw.h: Likewise.
11375 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11377         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11378         four values.
11380         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11381         calculation loop and add branch prediction.
11383         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11384         check access beyond bounds of m1np.
11386         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11387         MPTWO.
11388         (__inv): Remove local variable MPTWO to use the global
11389         constant.
11390         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11391         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11392         variable MPTWO.
11393         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11394         MP3HALFS static const.
11396 2013-01-01  David S. Miller  <davem@davemloft.net>
11398         * po/ca.po: Update from translation team.
11400 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
11402         * scripts/update-copyrights: New file.
11403         * Makeconfig: Reformat copyright notice.
11404         * ctype/ctype.h: Likewise.
11405         * debug/swprintf_chk.c: Likewise.
11406         * elf/dl-cache.c: Likewise.
11407         * elf/dl-debug.c: Likewise.
11408         * elf/dl-object.c: Likewise.
11409         * grp/initgroups.c: Likewise.
11410         * hurd/Makefile: Likewise.
11411         * hurd/hurd/signal.h: Likewise.
11412         * hurd/hurdfault.c: Likewise.
11413         * hurd/hurdioctl.c: Likewise.
11414         * hurd/hurdlookup.c: Likewise.
11415         * hurd/intr-msg.c: Likewise.
11416         * iconv/gconv_open.c: Likewise.
11417         * libio/swprintf.c: Likewise.
11418         * locale/lc-ctype.c: Likewise.
11419         * locale/nl_langinfo.c: Likewise.
11420         * mach/Machrules: Likewise.
11421         * mach/Makefile: Likewise.
11422         * malloc/obstack.h: Likewise.
11423         * manual/Makefile: Likewise.
11424         * manual/tsort.awk: Likewise.
11425         * misc/bits/stab.def: Likewise.
11426         * nis/nis_print_group_entry.c: Likewise.
11427         * nis/nis_table.c: Likewise.
11428         * nis/nss_compat/compat-pwd.c: Likewise.
11429         * nis/nss_compat/compat-spwd.c: Likewise.
11430         * po/Makefile: Likewise.
11431         * posix/fnmatch.c: Likewise.
11432         * posix/regex.h: Likewise.
11433         * resolv/Makefile: Likewise.
11434         * resolv/nss_dns/dns-network.c: Likewise.
11435         * resolv/res_hconf.c: Likewise.
11436         * scripts/gen-sorted.awk: Likewise.
11437         * soft-fp/soft-fp.h: Likewise.
11438         * stdio-common/printf.h: Likewise.
11439         * stdlib/monetary.h: Likewise.
11440         * stdlib/random.c: Likewise.
11441         * stdlib/random_r.c: Likewise.
11442         * sysdeps/generic/Makefile: Likewise.
11443         * sysdeps/gnu/Makefile: Likewise.
11444         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11445         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11446         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11447         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11448         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11449         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11450         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11451         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11452         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11453         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11454         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11455         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11456         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11457         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11458         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11459         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11460         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11461         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11462         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11463         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11464         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11465         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11466         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11467         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11468         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11469         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11470         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11471         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11472         * sysdeps/mach/hurd/errnos.awk: Likewise.
11473         * sysdeps/mach/hurd/fork.c: Likewise.
11474         * sysdeps/mach/hurd/getcwd.c: Likewise.
11475         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11476         * sysdeps/mach/hurd/mmap.c: Likewise.
11477         * sysdeps/mach/hurd/utimes.c: Likewise.
11478         * sysdeps/mach/hurd/xmknod.c: Likewise.
11479         * sysdeps/posix/profil.c: Likewise.
11480         * sysdeps/posix/readdir_r.c: Likewise.
11481         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11482         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11483         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11484         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11485         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11486         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11487         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11488         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11490         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11491         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11492         * sysdeps/pthread/lio_listio.c: Likewise.
11493         * sysdeps/sparc/dl-procinfo.h: Likewise.
11494         * sysdeps/unix/i386/sysdep.S: Likewise.
11495         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11496         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11497         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11498         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11500         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11501         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11502         * sysdeps/unix/sysv/linux/speed.c: Likewise.
11503         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11504         * sysdeps/wordsize-32/divdi3.c: Likewise.
11505         * time/sys/time.h: Likewise.
11506         * wcsmbs/Makefile: Likewise.
11508 2013-01-01  David S. Miller  <davem@davemloft.net>
11510         * po/fr.po: Update from translation team.
11512         * catgets/gencat.c: Update copyright year.
11513         * csu/version.c: Likewise.
11514         * debug/catchsegv.sh: Likewise.
11515         * debug/pcprofiledump.c: Likewise.
11516         * debug/xtrace.sh: Likewise.
11517         * elf/ldconfig.c: Likewise.
11518         * elf/ldd.bash.in: Likewise.
11519         * elf/pldd.c: Likewise.
11520         * elf/sotruss.ksh: Likewise.
11521         * elf/sprof.c: Likewise.
11522         * iconv/iconv_prog.c: Likewise.
11523         * iconv/iconvconfig.c: Likewise.
11524         * locale/programs/locale.c: Likewise.
11525         * locale/programs/localedef.c: Likewise.
11526         * login/programs/pt_chown.c: Likewise.
11527         * malloc/memusage.sh: Likewise.
11528         * malloc/memusagestat.c: Likewise.
11529         * malloc/mtrace.pl: Likewise.
11530         * nscd/nscd.c: Likewise.
11531         * nss/getent.c: Likewise.
11532         * nss/makedb.c: Likewise.
11533         * posix/getconf.c: Likewise.
11535 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11537         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11538         numbers.
11540 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
11542         * math/bits/mathcalls.h (modf): Use __nonnull.
11544 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11546         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11547         (split): Use macro CN instead of the bare value.
11548         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11549         could be used.
11550         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11551         instead of the bare value.
11552         (power1): Likewise.
11554 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11556         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11557         __ATAN_TWOM.
11558         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11560         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11561         their values.
11562         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11563         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11564         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11565         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11567 2012-12-28  Andreas Jaeger  <aj@suse.de>
11569         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
11570         values are from Linux 3.7.
11572         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11573         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
11575 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11577         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11578         TRUE case.
11580         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11581         (norm): Likewise.
11582         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11583         variables with preprocessor constants.
11584         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11585         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11586         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11588 2012-12-27  Bruno Haible  <bruno@clisp.org>
11590         [BZ #14317]
11591         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11592         only if needed.
11594 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11596         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11597         and use variable directly.
11598         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11600         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11601         MPONE.
11602         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11603         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11604         variable MPONE.
11605         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11606         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11607         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11608         include directive.  Remove local variable MPONE.
11609         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11610         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11611         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11613 2012-12-25  David S. Miller  <davem@davemloft.net>
11615         * version.h (RELEASE): Set to "development".
11616         (VERSION): Set to "2.17.90".
11617         * NEWS: Add 2.18 section.
11619 2012-12-21  David S. Miller  <davem@davemloft.net>
11621         * po/hr.po: Update from translation team.
11623 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11625         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11627 2012-12-19  Steve Ellcey  <sellcey@mips.com>
11629         * NEWS:  Mention new memcpy for MIPS.
11631 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11633         * manual/contrib.texi (Contributors): Spelling correction.
11635 2012-12-15  David S. Miller  <davem@davemloft.net>
11637         * po/ru.po: Update from translation team.
11639 2012-12-13  David S. Miller  <davem@davemloft.net>
11641         * NEWS: Mention IFUNC testsuite enhancements.
11643         * po/pl.po: Update from translation team.
11644         * po/bg.po: Likewise.
11646         * manual/contrib.texi (Contributors): Update entries for Hongjiu
11647         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
11649 2012-12-11  David S. Miller  <davem@davemloft.net>
11651         * po/sv.po: Update from translation team.
11653         * po/vi.po: Update from translation team.
11655         * po/cs.po: Update from translation team.
11657         * po/de.po: Update from translation team.
11658         * po/eo.po: Likewise.
11659         * po/nl.po: Likewise.
11661 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11663         [BZ #14246]
11664         * manual/argp.texi (Argp Helper Functions): Move node to follow
11665         Argp Parsing State.
11667         [BZ #14872]
11668         * manual/conf.texi (Limits on File System Capacity): Mention if
11669         terminating null is included in the max size.
11671 2012-12-10  Andreas Jaeger  <aj@suse.de>
11673         * po/cs.po: Update from translation team.
11675 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11677         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11678         void pointer and cast to uintptr_t.
11679         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11680         path.
11681         * sysdeps/s390/s390-64/memcpy.S: Likewise.
11682         * sysdeps/s390/s390-64/memset.S: Likewise.
11684 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
11686         [BZ #14833]
11687         * menual/message.texi (Message Translation): Fix typos.
11688         (Helper programs for gettext): Likewise.
11690 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
11692         [BZ #14898]
11693         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11694         Change to -1.
11696 2012-12-07  David S. Miller  <davem@davemloft.net>
11698         * po/libc.pot: Update.
11700 2012-12-07  Richard Henderson  <rth@redhat.com>
11702         [BZ #10114]
11703         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11704         normal/normal case to before the switch.
11705         (_FP_DIV): Likewise.
11707 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
11708             Mike Frysinger  <vapier@gentoo.org>
11710         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11711         check for __NR_fadvise64_64.
11713 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
11715         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11716         0, not just to plain "0" as a statement.
11717         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11718         with cw.
11720 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
11722         * NEWS: Use sourceware.org in Bugzilla URL.
11724 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11727         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11729         * stdio-common/tst-put-error.c (do_test): Add newline to the
11730         padded test to ensure flush.
11732 2012-12-05  Jeff Law  <law@redhat.com>
11734         * sunrpc/etc.rpc (fedfs_admin): Add entry.
11736 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
11738         * README: Don't refer to ports add-on as distributed separately.
11739         Mention AArch64 in list of systems supported in the ports add-on.
11741         * LICENSES: Add more non-FSF copyright and license notices.
11743         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11744         ((unused)).
11746         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11748         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11749         10000 as width of padded output.
11751 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11753         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11755         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11756         variable LX with __attribute__ ((unused)).
11757         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11758         Likewise.
11759         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11760         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11761         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11762         with __attribute__ ((unused)).
11764 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
11766         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11768 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11770         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11771         (CFLAGS-nldbl-acos.c): New variable.
11772         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11773         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11774         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11775         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11776         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11777         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11778         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11779         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11780         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11781         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11782         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11783         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11784         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11785         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11786         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11787         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11788         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11789         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11790         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11791         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11792         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11793         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11794         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11795         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11796         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11797         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11798         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11799         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11800         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11801         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11802         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11803         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11804         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11805         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11806         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11807         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11808         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11809         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11810         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11811         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11812         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11813         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11814         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11815         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11816         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11817         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11818         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11819         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11820         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11821         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11822         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11823         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11824         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11825         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11826         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11827         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11828         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11829         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11830         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11831         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11832         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11833         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11834         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11835         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11836         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11837         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11838         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11839         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11840         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11841         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11842         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11843         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11844         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11845         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11846         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11847         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11848         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11849         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11850         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11851         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11852         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11853         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11854         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11855         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11856         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11857         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11858         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11859         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11860         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11861         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11862         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11863         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11864         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11865         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11866         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11867         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11868         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11871         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11873         [BZ #14914]
11874         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11875         whole low double instead of just low 47 bits when splitting values
11876         into two parts.
11878 2012-12-03  Allan McRae  <allan@archlinux.org>
11880         * manual/stdio.texi (Predefined Printf Handlers): Remove
11881         @hsep and @vsep usage.
11883 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
11885         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11886         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11888 2012-12-03  Jeff Law  <law@redhat.com>
11890         * time/sys/time.h (settimeofday): Do not mark TV argument
11891         as __nonnull.
11893 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
11895         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11896         when currently writing and seek to current position when not.
11897         * libio/Makefile (tests): Remove bug-fclose1.
11898         * libio/bug-fclose1.c: Delete.
11900 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
11902         * manual/arith.texi (feenableexcept): Fix typo.
11903         (fedisableexcept): Likewise.
11905 2012-11-30  Roland McGrath  <roland@hack.frob.com>
11907         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11908         second, differently-typed declaration, rather than a cast.
11910 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11912         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11913         * include/rpc/svc.h: ... here.
11915 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
11917         [BZ #13013]
11918         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11919         depending n and resplen2 to catch cases where answer
11920         equals answerp2.
11922 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
11924         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11925         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11927 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
11929         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11931 2012-11-29  Roland McGrath  <roland@hack.frob.com>
11933         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11935 2012-11-28  Jeff Law  <law@redhat.com>
11937         [BZ #13761]
11938         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11939         dataset_temporary.  Track alloca usage into alloca_used.
11940         If dataset is large allocate and release it via malloc/free.
11942 2012-06-04  Florian Weimer  <fweimer@redhat.com>
11944         [BZ #14197]
11945         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11947 2012-11-28  David S. Miller  <davem@davemloft.net>
11949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11951 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11953         [BZ #14803]
11954         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11955         of pi/2 rounded to nearest to 64 bits.
11956         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11957         nearest to 64 bits.
11958         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11959         bits.
11961 2012-11-28  Jeff Law <law@redhat.com>
11962             Martin Osvald <mosvald@redhat.com>
11964         [BZ #14889]
11965         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11966         * sunrpc/svc.c: Include time.h.
11967         (__svc_accept_failed): New function.
11968         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11969         any reason other than EINTR, call __svc_accept_failed.
11970         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11971         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11973 2012-11-28  Andreas Schwab  <schwab@suse.de>
11975         * scripts/abilist.awk: Also handle indirect functions in .opd
11976         section.
11978 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11980         [BZ #13881]
11981         * sysdeps/x86/fpu/powl_helper.c: New file.
11982         * sysdeps/x86/fpu/Makefile: Likewise.
11983         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11984         (p3): New object.
11985         (__ieee754_powl): Use __powl_helper for finite arguments except
11986         integer exponents below 8.
11987         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11988         (p3): New object.
11989         (__ieee754_powl): Use __powl_helper for finite arguments except
11990         integer exponents below 8.
11991         * math/libm-test.inc (pow_test): Add more tests and enable some
11992         previously disabled tests.
11993         * sysdeps/i386/fpu/libm-test-ulps: Update.
11994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11996 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11997             Carlos O'Donell  <carlos_odonell@mentor.com>
11999         * nss/makedb.c (is_prime): Assert that input is odd and greater
12000         than 4.  Note that fact in a comment too.
12001         (next_prime): Add 4 to input.
12003 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12005         [BZ #11741]
12006         * libio/Makefile (tests): Add test case tst-fwrite-error.
12007         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12008         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12009         * libio/tst-fwrite-error.c: New test case.
12011 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
12013         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12014         before casting to void *.
12015         * include/libc-internal.h (__pointer_type): New macro.
12016         (__integer_if_pointer_type_sub): Likewise.
12017         (__integer_if_pointer_type): Likewise.
12018         (cast_to_integer): Likewise.
12019         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12020         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12021         before casting to atomic64_t.
12022         (atomic_exchange_acq): Likewise.
12023         (__arch_exchange_and_add_body): Likewise.
12024         (__arch_add_body): Likewise.
12025         (atomic_add_negative): Likewise.
12026         (atomic_add_zero): Likewise.
12028 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
12030         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12031         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12032         (add_fdes): Likewise.
12033         (linear_search_fdes): Likewise.
12034         (binary_search_unencoded_fdes): Likewise.
12036 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
12038         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12040 2012-11-24  Adam Conrad  <adconrad@0c3.net>
12042         * configure.in: Autodetect C++ header directories.
12043         * configure: Regenerated.
12045 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
12047         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12049 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
12051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12053 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
12055         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12056         LDBL_MANT_DIG == 106]: Disable some tests.
12057         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12058         Likewise.
12059         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12060         Likewise.
12062         [BZ #14871]
12063         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12064         input for small inputs.  Return +/- pi/2 for large inputs.
12065         * math/libm-test.inc (atan_test): Add more tests.
12067         * sysdeps/generic/unwind-dw2-fde-glibc.c
12068         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12069         __attribute__ ((unused)).
12071         [BZ #14645]
12072         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12073         x * y if x and y are nonzero and z is zero.
12075         [BZ #14811]
12076         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12077         nonzero exponents with absolute value below 0x1p-117 to +/-
12078         0x1p-117.
12080         [BZ #14869]
12081         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12082         up arguments below 2**-450, not just those below 2**-500.
12083         * math/libm-test.inc (hypot_test): Add another test.
12085         [BZ #14868]
12086         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12087         Return a+b for ratio over 2**120, not 2**60.
12088         * math/libm-test.inc (hypot_test): Add another test.
12090         * math/libm-test.inc (clog_test): Use
12091         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12092         (clog10_test): Likewise.
12094         [BZ #6778]
12095         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12097 2012-11-22  Andreas Schwab  <schwab@suse.de>
12099         * sysdeps/i386/fpu/libm-test-ulps: Update.
12101 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
12103         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12104         printf output with newline.
12106 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
12108         [BZ #14865]
12109         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12110         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12111         -z nodlopen, -z initfirst and -z execstack support.
12112         * configure: Regenerated.
12114         * elf/elf.h (DF_1_NODIRECT): New macro.
12115         (DF_1_IGNMULDEF): Likewise.
12116         (DF_1_NOKSYMS): Likewise.
12117         (DF_1_NOHDR): Likewise.
12118         (DF_1_EDITED): Likewise.
12119         (DF_1_NORELOC): Likewise.
12120         (DF_1_SYMINTPOSE): Likewise.
12121         (DF_1_GLOBAUDIT): Likewise.
12122         (DF_1_SINGLETON): Likewise.
12123         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12124         DT_1_SUPPORTED_MASK bits.
12125         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12127 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
12129         * sysdeps/unix/make-syscalls.sh: Document prefixes.
12131 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
12133         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12134         macro.
12136         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12137         (sendmmsg): Move declarations...
12138         * socket/sys/socket.h: ... here.
12139         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12140         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12141         include it from...
12142         * socket/recvmmsg.c: ... this new file.
12143         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12144         (sendmmsg): Rename to __sendmmsg, create weak alias and make
12145         definition of __sendmmsg hidden.
12146         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12147         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12148         Move ENOSYS stub into and include it from...
12149         * socket/sendmmsg.c: ... this new file.
12150         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12151         (sysdep_routines): Move recvmmsg and sendmmsg...
12152         * socket/Makefile (routines): ... here.
12153         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12154         (GLIBC_PRIVATE): Add __sendmmsg.
12155         * include/sys/socket.h (__sendmmsg): Add declarations.
12156         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12157         sendmmsg.
12159 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
12161         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12162         variable I1 with __attribute__ ((unused)).
12163         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12165 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12167         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12168         DUMMY variables with __attribute__ ((unused)).
12170         * bits/byteswap.h: Include <bits/types.h>.
12171         (__bswap_64): Use __uint64_t instead of unsigned long long int.
12173 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12175         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12176         string_t.  Do not manually set errno.
12177         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12178         length with __strnlen.  Make sure to both set errno and return it on
12179         failure.
12181 2012-11-19  David S. Miller  <davem@davemloft.net>
12183         With help from Joseph Myers.
12184         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12185         very large arguments properly.
12186         * math/libm-test.inc (atan_test): New tests.
12187         (atan2_test): New tests.
12188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12191 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12193         [BZ #14856]
12194         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12195         Define to 3.
12197         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12198         [POSIX] (EADDRNOTAVAIL): Likewise.
12199         [POSIX] (EAFNOSUPPORT): Likewise.
12200         [POSIX] (EALREADY): Likewise.
12201         [POSIX] (ECONNABORTED): Likewise.
12202         [POSIX] (ECONNREFUSED): Likewise.
12203         [POSIX] (ECONNRESET): Likewise.
12204         [POSIX] (EDESTADDRREQ): Likewise.
12205         [POSIX] (EDQUOT): Likewise.
12206         [POSIX] (EHOSTUNREACH): Likewise.
12207         [POSIX] (EIDRM): Likewise.
12208         [POSIX] (EISCONN): Likewise.
12209         [POSIX] (ELOOP): Likewise.
12210         [POSIX] (EMULTIHOP): Likewise.
12211         [POSIX] (ENETDOWN): Likewise.
12212         [POSIX] (ENETUNREACH): Likewise.
12213         [POSIX] (ENOBUFS): Likewise.
12214         [POSIX] (ENODATA): Likewise.
12215         [POSIX] (ENOLINK): Likewise.
12216         [POSIX] (ENOMSG): Likewise.
12217         [POSIX] (ENOPROTOOPT): Likewise.
12218         [POSIX] (ENOSR): Likewise.
12219         [POSIX] (ENOSTR): Likewise.
12220         [POSIX] (ENOTCONN): Likewise.
12221         [POSIX] (ENOTSOCK): Likewise.
12222         [POSIX] (EOPNOTSUPP): Likewise.
12223         [POSIX] (EOVERFLOW): Likewise.
12224         [POSIX] (EPROTO): Likewise.
12225         [POSIX] (EPROTONOSUPPORT): Likewise.
12226         [POSIX] (EPROTOTYPE): Likewise.
12227         [POSIX] (ESTALE): Likewise.
12228         [POSIX] (ETIME): Likewise.
12229         [POSIX] (ETXTBSY): Likewise.
12230         [POSIX] (EWOULDBLOCK): Likewise.
12231         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12232         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12233         [POSIX] (SEEK_CUR): Likewise.
12234         [POSIX] (SEEK_END): Likewise.
12235         [POSIX || UNIX98] (mode_t): Do not require.
12236         [POSIX] (off_t): Likewise.
12237         [POSIX] (pid_t): Likewise.
12238         [POSIX] (sys/stat.h): Do not allow header.
12239         [POSIX] (unistd.h): Likewise.
12240         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12241         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12242         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12243         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12244         require.
12245         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12246         sigevent): Specify elements.
12247         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12248         entry.
12249         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12250         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12252         * conform/data/cpio.h-data [POSIX]: Disable whole file.
12253         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12254         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12255         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12256         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12257         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12258         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12259         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12260         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12261         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12262         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12263         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12264         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12265         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12266         Likewise.
12267         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12268         Likewise.
12269         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12270         Likewise.
12271         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12272         Likewise.
12273         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12274         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12275         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12276         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12277         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12278         Specify lower bound on value.
12279         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12280         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12281         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12282         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12283         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12284         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12285         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12286         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12287         value.
12288         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12289         as optional.
12290         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12291         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12292         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12293         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12294         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12295         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12296         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12297         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12298         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12299         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12300         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12301         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12302         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12303         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12304         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12305         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12306         entry.
12307         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12308         optional.
12309         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12310         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12311         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12312         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12313         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12314         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12315         Likewise.
12316         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12317         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12318         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12319         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12320         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
12321         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12322         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12323         as optional.
12324         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12325         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12326         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12327         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12328         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12329         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12330         specify as optional.
12331         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12332         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12333         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12334         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12335         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12336         [XPG3] (NL_LANGMAX): Likewise.
12337         [POSIX || XPG3] (NL_MSGMAX): Likewise.
12338         [POSIX || XPG3] (NL_NMAX): Likewise.
12339         [POSIX || XPG3] (NL_SETMAX): Likewise.
12340         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12341         [XPG3] (NZERO): Likewise.
12342         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12343         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12344         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12345         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12346         (REG_ERANGE): Expect.
12347         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12348         optional-constant.
12349         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12350         Use (void) in prototype.
12351         [POSIX] (*_t): Allow.
12352         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12353         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12354         (WRDE_BADVAL): Expect.
12356         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12357         expect.
12358         [XPG3 || XPG4] (O_RSYNC): Likewise.
12359         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12360         Likewise.
12361         [XPG3 || XPG4] (pthread_sigmask): Likewise.
12362         [XPG3 || XPG4] (sigqueue): Likewise.
12363         [XPG3 || XPG4] (sigtimedwait): Likewise.
12364         [XPG3 || XPG4] (sigwaitinfo): Likewise.
12365         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12366         [XPG3 || XPG4] (vsnprintf): Likewise.
12367         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12368         Likewise.
12369         [XPG3 || XPG4] (blksize_t): Likewise.
12370         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12371         Likewise.
12372         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12373         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12374         [XPG3 || XPG4] (struct itimerspec): Likewise.
12375         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12376         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12377         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12378         [XPG3 || XPG4] (clockid_t): Likewise.
12379         [XPG3 || XPG4] (timer_t): Likewise.
12380         [XPG3 || XPG4] (clock_getres): Likewise.
12381         [XPG3 || XPG4] (clock_gettime): Likewise.
12382         [XPG3 || XPG4] (clock_settime): Likewise.
12383         [XPG3 || XPG4] (nanosleep): Likewise.
12384         [XPG3 || XPG4] (timer_create): Likewise.
12385         [XPG3 || XPG4] (timer_delete): Likewise.
12386         [XPG3 || XPG4] (timer_gettime): Likewise.
12387         [XPG3 || XPG4] (timer_getoverrun): Likewise.
12388         [XPG3 || XPG4] (timer_settime): Likewise.
12389         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12390         [XPG3 || XPG4] (getlogin_r): Likewise.
12391         [XPG3 || XPG4] (pread): Likewise.
12392         [XPG3 || XPG4] (pthread_atfork): Likewise.
12393         [XPG3 || XPG4] (pwrite): Likewise.
12395         [BZ #14835]
12396         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12397         <bits/siginfo.h>.
12399 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12401         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12402         finalizing MALLSTREAM.
12404         * sysdeps/mach/hurd/syncfs.c: New file.
12406 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12408         [BZ #14719]
12409         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12410         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12411         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12412         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12413         (_nss_dns_gethostbyname4_r): Likewise.
12414         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12415         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12417 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
12419         [BZ #13763]
12420         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12422 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
12424         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12425         * elf/cache.c (print_entry): Print ",AArch64" for
12426         FLAG_AARCH64_LIB64
12428         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12429         * elf/cache.c (print_entry): Print ",hard-float" for
12430         FLAG_ARM_LIBHF.
12432 2012-11-18  David S. Miller  <davem@davemloft.net>
12434         With help from Joseph Myers.
12435         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12436         cutoff to 2**-13.
12437         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12438         cutoff to 2**-25.
12439         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12440         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12441         small.
12442         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12443         * math/libm-test.inc (y0_test): New tests.
12444         (y1_test): New tests.
12445         * sysdeps/i386/fpu/libm-test-ulps: Update.
12446         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12449 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
12451         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12452         64-bit targets.
12453         * configure: Regenerated.
12455 2012-11-17  David S. Miller  <davem@davemloft.net>
12457         [BZ #14811]
12458         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12459         nonzero exponents with absolute value below 0x1p-128 to +/-
12460         0x1p-128.
12462 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
12464         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12466         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12468         * posix/getconf-speclist.c: New file.
12469         * posix/posix-envs.def: Likewise.
12470         * posix/confstr.c (START_ENV_GROUP): New macro.
12471         (END_ENV_GROUP): Likewise.
12472         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12473         (KNOWN_PRESENT_ENV_STRING): Likewise.
12474         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12475         (UNKNOWN_ENVIRONMENT): Likewise.
12476         (confstr): Include posix-envs.def instead of handling
12477         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12478         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12479         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12480         (END_ENV_GROUP): Likewise.
12481         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12482         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12483         (UNKNOWN_ENVIRONMENT): Likewise.
12484         (__sysconf): Include posix-envs.def instead of handling associated
12485         cases directly here.
12486         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12487         preprocessing getconf-speclist.c rather than running getconf or
12488         generating empty file.
12490 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
12492         * scripts/check-local-headers.sh: Ignore 'mach' headers.
12494 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
12496         [BZ #14672]
12497         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12499 2012-11-16  David S. Miller  <davem@davemloft.net>
12501         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12502         smaller than LDBL_EPSILON/2.0L, just return xm1.
12504 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
12506         * elf/tst-array1.c (init): Set constructor priority to 1000.
12507         (fini): Set destructor priority to 1000.
12508         * elf/tst-array2dep.c: Likewise.
12510 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12512         [BZ #11741]
12513         * libio/fileops.c (_IO_new_file_write): Correctly return error.
12514         (_IO_new_file_xsputn): Also return EOF if none of the input
12515         data was written when overflow failed.
12516         * libio/iopadn.c (_IO_padn): Likewise.
12517         * libio/iowpadn.c (_IO_wpadn): Likewise.
12518         * stdio-common/tst-put-error.c: Add copyright notice.
12519         (do_test): Add case for printing padded string.
12520         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12521         _IO_padn returned error.
12522         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12523         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12524         return EOF.
12526 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12528         * libio/libioP.h: Add comment note that the references to C++
12529         bits are now obsolete.
12531 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12533         * math/libm-test.inc (check_complex): Use asprintf.
12535 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
12537         * debug/pcprofiledump.c (print_version): Update copyright year.
12538         * malloc/memusagestat.c (print_version): Likewise.
12540 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12542         [BZ #14831]
12543         * elf/Makefile (tests): Add tst-audit8.
12544         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12545         ($(objpfx)tst-audit8.out): New target.
12546         (tst-audit8-ENV): New variable.
12547         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12548         audit if l_reloc_result is NULL.
12549         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12550         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12551         * elf/tst-audit8.c: New file.
12553 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12555         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12556         * misc/Makefile (CFLAGS-select.c): Define.
12557         * posix/Makefile (CFLAGS-pause.c): Define.
12559 2012-11-13  David S. Miller  <davem@davemloft.net>
12561         * crypt/Makefile: Move test targets after toplevel Rules
12562         inclusion.  Grab any necessary sysdep routines when linking.
12563         * crypt/md5.c (md5_process_block): Remove define, we will always
12564         name it __md5_process_block.
12565         (md5_finish_ctx): Update md5_process_block call.
12566         (md5_stream): Likewise.
12567         (md5_process_bytes): Likewise.
12568         (md5_process_block): Rename to __md5_process_block and move to ...
12569         * crypt/md5-block.c: ... here.
12570         * crypt/sha256.c (sha256_process_block): Move to ...
12571         * crypt/sha256-block.c: ... here.
12572         * crypt/sha512.c (sha512_process_block): Move to ...
12573         * crypt/sha512-block.c: ... here.
12574         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12575         path.
12576         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12577         * sysdeps/sparc/sparc64/multiarch/Makefile
12578         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12579         crypt subdir.
12580         (localedef-aux): Add md5 crypto assembler when in locale subdir.
12581         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12582         multiarch changes.
12583         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12584         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12585         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12586         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12587         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12588         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12589         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12590         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12591         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12592         file.
12593         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12594         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12595         file.
12596         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12598 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
12600         * timezone/tzselect.ksh: Update from tzcode git revision
12601         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12602         * timezone/zdump.c: Likewise.
12603         * timezone/zic.c: Likewise.
12604         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12605         in TZVERSION setting, not $(PKGVERSION).
12606         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
12607         REPORT_BUGS_TO settings.
12609         [BZ #14838]
12610         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12611         macro.
12613 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12615         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12616         detection to immediately after _FP_ROUND().
12617         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12618         bits are 0.
12620 2012-11-11  David S. Miller  <davem@davemloft.net>
12622         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12623         inttypes.h
12624         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12625         __close rather than their public counterparts.
12627 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
12629         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12630         file.
12631         [UNIX98] (sem_timedwait): Do not expect.
12632         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12633         [XPG4 || UNIX98] (sockatmark): Do not expect.
12634         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12635         (clock_getcpuclockid): Do not expect.
12636         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12637         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12638         Do not expect.
12639         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12640         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12641         [UNIX98] (vwscanf): Likewise.
12642         [UNIX98] (vswscanf): Likewise.
12644 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
12646         * timezone/version.h: Remove file.
12647         * timezone/README: Do not refer to version.h.
12648         * timezone/Makefile ($(objpfx)zic.o): New dependency on
12649         $(objpfx)version.h.
12650         ($(objpfx)zdump.o): Likewise.
12651         ($(objpfx)version.h): New target.
12653         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12654         2012i.
12655         * timezone/README: Don't mention modification to tzselect.ksh.
12656         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12657         work on unmodified tzselect.ksh.  Substitute version numbers in
12658         tzselect.ksh.
12660         * Makefile (format-me): Remove.
12661         (INSTALL): Adjust indentation.  Use commands directly instead of
12662         using $(format-me).
12664         * aclocal.m4 (ACX_PKGVERSION): New macro.
12665         (ACX_BUGURL): Likewise.
12666         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12667         (PKGVERSION): New AC_DEFINE_UNQUOTED.
12668         (REPORT_BUGS_TO): Likewise.
12669         * configure: Regenerated.
12670         * config.h.in (PKGVERSION): New macro.
12671         (REPORT_BUGS_TO): Likewise.
12672         * config.make.in (PKGVERSION): New variable.
12673         (PKGVERSION_TEXI): Likewise.
12674         (REPORT_BUGS_TO): Likewise.
12675         (REPORT_BUGS_TEXI): Likewise.
12676         * Makefile (format-me): Use -I$(common-objpfx)manual.
12677         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12678         ($(common-objpfx)manual/%): New target.
12679         (manual/%): Remove target.
12680         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12681         (print_version): Use PKGVERSION.
12682         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12683         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12684         and REPORT_BUGS_TO.
12685         ($(objpfx)xtrace): Likewise.
12686         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12687         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12688         (print_version): Use PKGVERSION.
12689         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12690         (do_version): Use PKGVERSION.
12691         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12692         REPORT_BUGS_TO.
12693         (common-ldd-rewrite): Likewise.
12694         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12695         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12696         (print_version): Use PKGVERSION.
12697         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12698         * elf/pldd.c (argp_program_bug_address): Remove variable.
12699         (more_help): New function.
12700         (argp): Use more_help.
12701         (print_version): Use PKGVERSION.
12702         * elf/sln.c (main): Use PKGVERSION.
12703         (usage): Use REPORT_BUGS_TO.
12704         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12705         (top level): Use PKGVERSION.
12706         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12707         (print_version): Use PKGVERSION.
12708         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12709         (print_version): Use PKGVERSION.
12710         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12711         (print_version): Use PKGVERSION.
12712         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12713         (print_version): Use PKGVERSION.
12714         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12715         (print_version): Use PKGVERSION.
12716         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12717         (print_version): Use PKGVERSION.
12718         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12719         and BUGURL.
12720         ($(objpfx)memusage): Likewise.
12721         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12722         (do_version): Use PKGVERSION.
12723         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12724         (print_version): Use PKGVERSION.
12725         * malloc/mtrace.pl ($PACKAGE): Remove variable.
12726         ($PKGVERSION): New variable.
12727         ($REPORT_BUGS_TO): Likewise.
12728         (usage): Use $REPORT_BUGS_TO.
12729         (top level): Use $PKGVERSION.
12730         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12731         ($(objpfx)pkgvers.texi): New rule.
12732         ($(objpfx)stamp-pkgvers): Likewise.
12733         * manual/install.texi: Include pkgvers.texi.
12734         (--with-pkgversion): Document new configure option.
12735         (--with-bugurl): Likewise.
12736         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12737         than necessarily for this particular distribution.  Use
12738         REPORT_BUGS_TO for where to report bugs.
12739         * INSTALL: Regenerated.
12740         * manual/libc.texinfo: Include pkgvers.texi.
12741         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12742         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12743         (print_version): Use PKGVERSION.
12744         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12745         (print_version): Use PKGVERSION.
12746         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12747         (print_version): Use PKGVERSION.
12748         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12749         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12750         macro.
12751         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12752         (print_version): Use PKGVERSION.
12753         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12754         (print_version): Use PKGVERSION.
12755         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12756         and PKGVERSION.
12758         * timezone/checktab.awk: Update from tzcode 2012i.
12759         * timezone/ialloc.c: Likewise.
12760         * timezone/private.h: Likewise.
12761         * timezone/scheck.c: Likewise.
12762         * timezone/tzfile.h: Likewise.
12763         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12764         (TZVERSION): Hardcode tzcode version number.
12765         * timezone/zdump.c: Update from tzcode 2012i.
12766         * timezone/zic.c: Likewise.
12767         * timezone/version.h: New file.
12768         * timezone/README: Describe version.h.  Update upstream location.
12770         [BZ #14824]
12771         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12772         (mktemp): Enable declaration.
12773         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12774         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12775         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12776         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12777         Likewise.
12778         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12779         Likewise.
12780         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12781         Likewise.
12782         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12783         Likewise.
12784         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12785         Likewise.
12786         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12787         Likewise.
12789         [BZ #14821]
12790         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12791         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
12792         for copies of such integer values.
12793         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12794         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12796 2012-11-09  Andreas Jaeger  <aj@suse.de>
12798         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12799         definitions and declarations that are provided by
12800         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12802 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12804         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12805         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12806         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12807         definition.
12809 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12811         * elf/elf.h: Update comment before AArch64 relocations.
12813 2012-11-07  David S. Miller  <davem@davemloft.net>
12815         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12816         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12817         (__start_context): Declare.
12818         (__makecontext_ret): Delete.
12819         (__makecontext): Hook up __start_context instead of
12820         __makecontext_ret.
12821         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12822         (sysdep_routines): Add __start_context when in stdlib.
12824 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12826         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12827         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12828         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
12829         hardcoded "nm".
12830         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
12831         (READELF): New variable.  Use it instead of hardcoded "readelf".
12833 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12835         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12836         * sysdeps/x86/Makefile: Here.
12837         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12838         * sysdeps/x86/tst-xmmymm.sh: This.
12840 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12842         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12843         expectations.
12844         [UNIX98] (pthread_barrier_t): Do not expect.
12845         [UNIX98] (pthread_barrierattr_t): Likewise.
12846         [UNIX98] (pthread_spinlock_t): Likewise.
12847         [UNIX98] (pthread_barrier_destroy): Likewise.
12848         [UNIX98] (pthread_barrier_init): Likewise.
12849         [UNIX98] (pthread_barrier_wait): Likewise.
12850         [UNIX98] (pthread_barrierattr_destroy): Likewise.
12851         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12852         [UNIX98] (pthread_barrierattr_init): Likewise.
12853         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12854         [UNIX98] (pthread_getcpuclockid): Likewise.
12855         [UNIX98] (pthread_mutex_timedlock): Likewise.
12856         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12857         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12858         [UNIX98] (pthread_sigmask): Likewise.
12859         [UNIX98] (pthread_spin_destroy): Likewise.
12860         [UNIX98] (pthread_spin_init): Likewise.
12861         [UNIX98] (pthread_spin_lock): Likewise.
12862         [UNIX98] (pthread_spin_trylock): Likewise.
12863         [UNIX98] (pthread_spin_unlock): Likewise.
12864         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12865         Do not expect.
12866         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12867         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12868         [XPG3 || XPG4] (pthread_cond_t): Likewise.
12869         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12870         [XPG3 || XPG4] (pthread_key_t): Likewise.
12871         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12872         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12873         [XPG3 || XPG4] (pthread_once_t): Likewise.
12874         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12875         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12876         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12877         [XPG3 || XPG4] (pthread_t): Likewise.
12879         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12880         not expect.
12881         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12883         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12884         Change function return type to int.
12886         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12887         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12888         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12889         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12890         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12891         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12892         [!POSIX] (posix_madvise): Likewise.
12893         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12894         && !UNIX98].
12895         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12896         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12897         (mode_t): Likewise.
12898         (posix_mem_offset): Likewise.
12899         (posix_typed_mem_get_info): Likewise.
12900         (posix_typed_mem_open): Likewise.
12902         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12903         Change condition to [XOPEN2K8].
12905         * conform/conformtest.pl: Preprocess allow-header data with -x c
12906         instead of from stdin.
12907         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12908         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12909         [C99-based standards] (cerfc): Likewise.
12910         [C99-based standards] (cexp2): Likewise.
12911         [C99-based standards] (cexpm1): Likewise.
12912         [C99-based standards] (clog10): Likewise.
12913         [C99-based standards] (clog1p): Likewise.
12914         [C99-based standards] (clog2): Likewise.
12915         [C99-based standards] (clgamma): Likewise.
12916         [C99-based standards] (ctgamma): Likewise.
12917         [C99-based standards] (cerff): Likewise.
12918         [C99-based standards] (cerfcf): Likewise.
12919         [C99-based standards] (cexp2f): Likewise.
12920         [C99-based standards] (cexpm1f): Likewise.
12921         [C99-based standards] (clog10f): Likewise.
12922         [C99-based standards] (clog1pf): Likewise.
12923         [C99-based standards] (clog2f): Likewise.
12924         [C99-based standards] (clgammaf): Likewise.
12925         [C99-based standards] (ctgammaf): Likewise.
12926         [C99-based standards] (cerfl): Likewise.
12927         [C99-based standards] (cerfcl): Likewise.
12928         [C99-based standards] (cexp2l): Likewise.
12929         [C99-based standards] (cexpm1l): Likewise.
12930         [C99-based standards] (clog10l): Likewise.
12931         [C99-based standards] (clog1pl): Likewise.
12932         [C99-based standards] (clog2l): Likewise.
12933         [C99-based standards] (clgammal): Likewise.
12934         [C99-based standards] (ctgammal): Likewise.
12935         * conform/data/inttypes.h-data [C99-based standards]: Include
12936         stdint.h-data.  Remove all expectations for stdint.h contents.
12937         [C99-based standards] (PRI*): Do not allow.
12938         [C99-based standards] (SCN*): Likewise.
12939         [C99-based standards] (*_t): Likewise.
12940         [C99-based-standards] (PRId8): Expect macro.
12941         [C99-based-standards] (PRIi8): Likewise.
12942         [C99-based-standards] (PRIo8): Likewise.
12943         [C99-based-standards] (PRIu8): Likewise.
12944         [C99-based-standards] (PRIx8): Likewise.
12945         [C99-based-standards] (PRIX8): Likewise.
12946         [C99-based-standards] (SCNd8): Likewise.
12947         [C99-based-standards] (SCNi8): Likewise.
12948         [C99-based-standards] (SCNo8): Likewise.
12949         [C99-based-standards] (SCNu8): Likewise.
12950         [C99-based-standards] (SCNx8): Likewise.
12951         [C99-based-standards] (PRIdLEAST8): Likewise.
12952         [C99-based-standards] (PRIiLEAST8): Likewise.
12953         [C99-based-standards] (PRIoLEAST8): Likewise.
12954         [C99-based-standards] (PRIuLEAST8): Likewise.
12955         [C99-based-standards] (PRIxLEAST8): Likewise.
12956         [C99-based-standards] (PRIXLEAST8): Likewise.
12957         [C99-based-standards] (SCNdLEAST8): Likewise.
12958         [C99-based-standards] (SCNiLEAST8): Likewise.
12959         [C99-based-standards] (SCNoLEAST8): Likewise.
12960         [C99-based-standards] (SCNuLEAST8): Likewise.
12961         [C99-based-standards] (SCNxLEAST8): Likewise.
12962         [C99-based-standards] (PRIdFAST8): Likewise.
12963         [C99-based-standards] (PRIiFAST8): Likewise.
12964         [C99-based-standards] (PRIoFAST8): Likewise.
12965         [C99-based-standards] (PRIuFAST8): Likewise.
12966         [C99-based-standards] (PRIxFAST8): Likewise.
12967         [C99-based-standards] (PRIXFAST8): Likewise.
12968         [C99-based-standards] (SCNdFAST8): Likewise.
12969         [C99-based-standards] (SCNiFAST8): Likewise.
12970         [C99-based-standards] (SCNoFAST8): Likewise.
12971         [C99-based-standards] (SCNuFAST8): Likewise.
12972         [C99-based-standards] (SCNxFAST8): Likewise.
12973         [C99-based-standards] (PRId16): Likewise.
12974         [C99-based-standards] (PRIi16): Likewise.
12975         [C99-based-standards] (PRIo16): Likewise.
12976         [C99-based-standards] (PRIu16): Likewise.
12977         [C99-based-standards] (PRIx16): Likewise.
12978         [C99-based-standards] (PRIX16): Likewise.
12979         [C99-based-standards] (SCNd16): Likewise.
12980         [C99-based-standards] (SCNi16): Likewise.
12981         [C99-based-standards] (SCNo16): Likewise.
12982         [C99-based-standards] (SCNu16): Likewise.
12983         [C99-based-standards] (SCNx16): Likewise.
12984         [C99-based-standards] (PRIdLEAST16): Likewise.
12985         [C99-based-standards] (PRIiLEAST16): Likewise.
12986         [C99-based-standards] (PRIoLEAST16): Likewise.
12987         [C99-based-standards] (PRIuLEAST16): Likewise.
12988         [C99-based-standards] (PRIxLEAST16): Likewise.
12989         [C99-based-standards] (PRIXLEAST16): Likewise.
12990         [C99-based-standards] (SCNdLEAST16): Likewise.
12991         [C99-based-standards] (SCNiLEAST16): Likewise.
12992         [C99-based-standards] (SCNoLEAST16): Likewise.
12993         [C99-based-standards] (SCNuLEAST16): Likewise.
12994         [C99-based-standards] (SCNxLEAST16): Likewise.
12995         [C99-based-standards] (PRIdFAST16): Likewise.
12996         [C99-based-standards] (PRIiFAST16): Likewise.
12997         [C99-based-standards] (PRIoFAST16): Likewise.
12998         [C99-based-standards] (PRIuFAST16): Likewise.
12999         [C99-based-standards] (PRIxFAST16): Likewise.
13000         [C99-based-standards] (PRIXFAST16): Likewise.
13001         [C99-based-standards] (SCNdFAST16): Likewise.
13002         [C99-based-standards] (SCNiFAST16): Likewise.
13003         [C99-based-standards] (SCNoFAST16): Likewise.
13004         [C99-based-standards] (SCNuFAST16): Likewise.
13005         [C99-based-standards] (SCNxFAST16): Likewise.
13006         [C99-based-standards] (PRId32): Likewise.
13007         [C99-based-standards] (PRIi32): Likewise.
13008         [C99-based-standards] (PRIo32): Likewise.
13009         [C99-based-standards] (PRIu32): Likewise.
13010         [C99-based-standards] (PRIx32): Likewise.
13011         [C99-based-standards] (PRIX32): Likewise.
13012         [C99-based-standards] (SCNd32): Likewise.
13013         [C99-based-standards] (SCNi32): Likewise.
13014         [C99-based-standards] (SCNo32): Likewise.
13015         [C99-based-standards] (SCNu32): Likewise.
13016         [C99-based-standards] (SCNx32): Likewise.
13017         [C99-based-standards] (PRIdLEAST32): Likewise.
13018         [C99-based-standards] (PRIiLEAST32): Likewise.
13019         [C99-based-standards] (PRIoLEAST32): Likewise.
13020         [C99-based-standards] (PRIuLEAST32): Likewise.
13021         [C99-based-standards] (PRIxLEAST32): Likewise.
13022         [C99-based-standards] (PRIXLEAST32): Likewise.
13023         [C99-based-standards] (SCNdLEAST32): Likewise.
13024         [C99-based-standards] (SCNiLEAST32): Likewise.
13025         [C99-based-standards] (SCNoLEAST32): Likewise.
13026         [C99-based-standards] (SCNuLEAST32): Likewise.
13027         [C99-based-standards] (SCNxLEAST32): Likewise.
13028         [C99-based-standards] (PRIdFAST32): Likewise.
13029         [C99-based-standards] (PRIiFAST32): Likewise.
13030         [C99-based-standards] (PRIoFAST32): Likewise.
13031         [C99-based-standards] (PRIuFAST32): Likewise.
13032         [C99-based-standards] (PRIxFAST32): Likewise.
13033         [C99-based-standards] (PRIXFAST32): Likewise.
13034         [C99-based-standards] (SCNdFAST32): Likewise.
13035         [C99-based-standards] (SCNiFAST32): Likewise.
13036         [C99-based-standards] (SCNoFAST32): Likewise.
13037         [C99-based-standards] (SCNuFAST32): Likewise.
13038         [C99-based-standards] (SCNxFAST32): Likewise.
13039         [C99-based-standards] (PRId64): Likewise.
13040         [C99-based-standards] (PRIi64): Likewise.
13041         [C99-based-standards] (PRIo64): Likewise.
13042         [C99-based-standards] (PRIu64): Likewise.
13043         [C99-based-standards] (PRIx64): Likewise.
13044         [C99-based-standards] (PRIX64): Likewise.
13045         [C99-based-standards] (SCNd64): Likewise.
13046         [C99-based-standards] (SCNi64): Likewise.
13047         [C99-based-standards] (SCNo64): Likewise.
13048         [C99-based-standards] (SCNu64): Likewise.
13049         [C99-based-standards] (SCNx64): Likewise.
13050         [C99-based-standards] (PRIdLEAST64): Likewise.
13051         [C99-based-standards] (PRIiLEAST64): Likewise.
13052         [C99-based-standards] (PRIoLEAST64): Likewise.
13053         [C99-based-standards] (PRIuLEAST64): Likewise.
13054         [C99-based-standards] (PRIxLEAST64): Likewise.
13055         [C99-based-standards] (PRIXLEAST64): Likewise.
13056         [C99-based-standards] (SCNdLEAST64): Likewise.
13057         [C99-based-standards] (SCNiLEAST64): Likewise.
13058         [C99-based-standards] (SCNoLEAST64): Likewise.
13059         [C99-based-standards] (SCNuLEAST64): Likewise.
13060         [C99-based-standards] (SCNxLEAST64): Likewise.
13061         [C99-based-standards] (PRIdFAST64): Likewise.
13062         [C99-based-standards] (PRIiFAST64): Likewise.
13063         [C99-based-standards] (PRIoFAST64): Likewise.
13064         [C99-based-standards] (PRIuFAST64): Likewise.
13065         [C99-based-standards] (PRIxFAST64): Likewise.
13066         [C99-based-standards] (PRIXFAST64): Likewise.
13067         [C99-based-standards] (SCNdFAST64): Likewise.
13068         [C99-based-standards] (SCNiFAST64): Likewise.
13069         [C99-based-standards] (SCNoFAST64): Likewise.
13070         [C99-based-standards] (SCNuFAST64): Likewise.
13071         [C99-based-standards] (SCNxFAST64): Likewise.
13072         [C99-based-standards] (PRIdMAX): Likewise.
13073         [C99-based-standards] (PRIiMAX): Likewise.
13074         [C99-based-standards] (PRIoMAX): Likewise.
13075         [C99-based-standards] (PRIuMAX): Likewise.
13076         [C99-based-standards] (PRIxMAX): Likewise.
13077         [C99-based-standards] (PRIXMAX): Likewise.
13078         [C99-based-standards] (SCNdMAX): Likewise.
13079         [C99-based-standards] (SCNiMAX): Likewise.
13080         [C99-based-standards] (SCNoMAX): Likewise.
13081         [C99-based-standards] (SCNuMAX): Likewise.
13082         [C99-based-standards] (SCNxMAX): Likewise.
13083         [C99-based-standards] (PRIdPTR): Likewise.
13084         [C99-based-standards] (PRIiPTR): Likewise.
13085         [C99-based-standards] (PRIoPTR): Likewise.
13086         [C99-based-standards] (PRIuPTR): Likewise.
13087         [C99-based-standards] (PRIxPTR): Likewise.
13088         [C99-based-standards] (PRIXPTR): Likewise.
13089         [C99-based-standards] (SCNdPTR): Likewise.
13090         [C99-based-standards] (SCNiPTR): Likewise.
13091         [C99-based-standards] (SCNoPTR): Likewise.
13092         [C99-based-standards] (SCNuPTR): Likewise.
13093         [C99-based-standards] (SCNxPTR): Likewise.
13094         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13095         allow.
13096         * conform/data/stdint.h-data: Update comments to clarify
13097         requirements.
13098         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
13099         type.
13100         [C99-based standards] (INT8_MAX): Likewise.
13101         [C99-based standards] (INT16_MIN): Likewise.
13102         [C99-based standards] (INT16_MAX): Likewise.
13103         [C99-based standards] (INT32_MIN): Likewise.
13104         [C99-based standards] (INT32_MAX): Likewise.
13105         [C99-based standards] (INT64_MIN): Likewise.
13106         [C99-based standards] (INT64_MAX): Likewise.
13107         [C99-based standards] (UINT8_MAX): Likewise.
13108         [C99-based standards] (UINT16_MAX): Likewise.
13109         [C99-based standards] (UINT32_MAX): Likewise.
13110         [C99-based standards] (UINT64_MAX): Likewise.
13111         [C99-based standards] (INT_LEAST8_MIN): Likewise.
13112         [C99-based standards] (INT_LEAST8_MAX): Likewise.
13113         [C99-based standards] (INT_LEAST16_MIN): Likewise.
13114         [C99-based standards] (INT_LEAST16_MAX): Likewise.
13115         [C99-based standards] (INT_LEAST32_MIN): Likewise.
13116         [C99-based standards] (INT_LEAST32_MAX): Likewise.
13117         [C99-based standards] (INT_LEAST64_MIN): Likewise.
13118         [C99-based standards] (INT_LEAST64_MAX): Likewise.
13119         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13120         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13121         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13122         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13123         [C99-based standards] (INT_FAST8_MIN): Likewise.
13124         [C99-based standards] (INT_FAST8_MAX): Likewise.
13125         [C99-based standards] (INT_FAST16_MIN): Likewise.
13126         [C99-based standards] (INT_FAST16_MAX): Likewise.
13127         [C99-based standards] (INT_FAST32_MIN): Likewise.
13128         [C99-based standards] (INT_FAST32_MAX): Likewise.
13129         [C99-based standards] (INT_FAST64_MIN): Likewise.
13130         [C99-based standards] (INT_FAST64_MAX): Likewise.
13131         [C99-based standards] (UINT_FAST8_MAX): Likewise.
13132         [C99-based standards] (UINT_FAST16_MAX): Likewise.
13133         [C99-based standards] (UINT_FAST32_MAX): Likewise.
13134         [C99-based standards] (UINT_FAST64_MAX): Likewise.
13135         [C99-based standards] (INTPTR_MIN): Likewise.
13136         [C99-based standards] (INTPTR_MAX): Likewise.
13137         [C99-based standards] (UINTPTR_MAX): Likewise.
13138         [C99-based standards] (INTMAX_MIN): Likewise.
13139         [C99-based standards] (INTMAX_MAX): Likewise.
13140         [C99-based standards] (UINTMAX_MAX): Likewise.
13141         [C99-based standards] (PTRDIFF_MIN): Likewise.
13142         [C99-based standards] (PTRDIFF_MAX): Likewise.
13143         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13144         [C99-based standards] (SIZE_MAX): Likewise.
13145         [C99-based standards] (WCHAR_MAX): Likewise.
13146         [C99-based standards] (WINT_MAX): Likewise.
13147         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
13148         constraint on value.
13149         [C99-based standards] (WCHAR_MIN): Likewise.
13150         [C99-based standards] (WINT_MIN): Likewise.
13151         [C99-based standards] (*_t): Allow.
13152         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13153         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13154         Include math.h-data and complex.h-data.  Remove all expectations
13155         of math.h and complex.h contents.
13156         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13157         at end of line.
13158         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13159         (struct tm): Expect tag.
13160         [C99-based-standards] (wcstof): Expect function.
13161         [C99-based-standards] (wcstold): Likewise.
13162         [C99-based-standards] (wcstoll): Likewise.
13163         [C99-based-standards] (wcstoull): Likewise.
13164         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13165         macro-int-constant.  Specify type.
13166         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
13167         constraint on value.
13168         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13169         Specify type.
13170         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13171         Specify value.
13172         [ISO C standards]: Do not allow headers.
13173         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13174         wcs[abcdefghijklmnopqrstuvwxyz]*.
13175         [ISO C standards] (*_t): Do not allow.
13176         * conform/data/wctype.h-data [C99-based standards] (iswblank):
13177         Expect function.
13178         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13179         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13180         Specify type.
13181         [ISO C standards]: Do not allow headers.
13182         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13183         is[abcdefghijklmnopqrstuvwxyz]*.
13184         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13185         to[abcdefghijklmnopqrstuvwxyz]*.
13186         [ISO C standards] (*_t): Do not allow.
13187         * conform/data/stdalign.h-data: New file.
13188         * conform/data/stdbool.h-data: Likewise.
13189         * conform/data/stdnoreturn.h-data: Likewise.
13191 2012-11-07  Roland McGrath  <roland@hack.frob.com>
13193         [BZ #14815]
13194         * manual/filesys.texi (Directory Entries): Typo fix.
13195         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13197 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13199         * elf/elf.h (EM_AARCH64): New macro.
13200         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13201         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13202         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13203         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13204         (R_AARCH64_TLSDESC): Likewise.
13205         (NT_ARM_TLS): Likewise.
13206         (NT_ARM_HW_BREAK): Likewise.
13207         (NT_ARM_HW_WATCH): Likewise.
13209 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13211         [BZ #14811]
13212         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13213         (__ieee754_powl): Saturate nonzero exponents with absolute value
13214         below 0x1p-79 to +/- 0x1p-79.
13215         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13216         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13217         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13218         nonzero exponents with absolute value below 0x1p-32 to +/-
13219         0x1p-32.
13220         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13221         (__ieee754_powl): Saturate nonzero exponents with absolute value
13222         below 0x1p-79 to +/- 0x1p-79.
13223         * math/libm-test.inc (pow_test): Add more tests.
13225 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13227         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13228         _dl_s390_cap_flags with kernel. Increase string length.
13229         (_dl_s390_platforms): Add z196 and zEC12.
13231 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13233         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13234         Change XOPEN21K to XOPEN2K.
13236 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
13238         * string/memmove.c: Use memcpy when possible.
13240 2012-11-06  Andreas Jaeger  <aj@suse.de>
13242         * po/eo.po: Update from translation team.
13244 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
13246         [BZ #14793]
13247         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13248         exponent and small x and y exponents, scale x or y up.  Increase
13249         by 2 the exponent used in scaling up.
13250         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13251         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13252         * math/libm-test.inc (fma_test): Add more tests.
13253         (fma_test_towardzero): Likewise.
13254         (fma_test_downward): Likewise.
13255         (fma_test_upward): Likewise.
13257 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
13259         [BZ #14805]
13260         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13261         fenv_t *.
13263         [BZ #14801]
13264         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13265         namespace for names of struct fields.
13266         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13267         fenv_t fields.
13268         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13269         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13271 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13273         [BZ #3665]
13274         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13276 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13278         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13279         PTR_DEMANGLE.
13281         [BZ #5246]
13282         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13283         PTR_DEMANGLE.
13285 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
13287         [BZ #14797]
13288         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13289         definitely overflow as x * y not x * y + z.
13290         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13291         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13292         * math/libm-test.inc (fma_test): Add more tests.
13293         (fma_test_towardzero): Likewise.
13294         (fma_test_downward): Likewise.
13295         (fma_test_upward): Likewise.
13297 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13299         [BZ #157]
13301         * include/stub-tag.h: Remove file.
13302         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13303         '#include' of it.
13304         * manual/maint.texi (Porting): Don't reference it.
13305         * Makerules ($(objpfx)stubs): Likewise.
13306         * dirent/closedir.c: Don't include <stub-tag.h>.
13307         * dirent/dirfd.c: Likewise.
13308         * dirent/fdopendir.c: Likewise.
13309         * dirent/getdents.c: Likewise.
13310         * dirent/getdents64.c: Likewise.
13311         * dirent/opendir.c: Likewise.
13312         * dirent/readdir.c: Likewise.
13313         * dirent/readdir64.c: Likewise.
13314         * dirent/readdir64_r.c: Likewise.
13315         * dirent/readdir_r.c: Likewise.
13316         * dirent/rewinddir.c: Likewise.
13317         * dirent/seekdir.c: Likewise.
13318         * dirent/telldir.c: Likewise.
13319         * gmon/profil.c: Likewise.
13320         * grp/setgroups.c: Likewise.
13321         * inet/if_index.c: Likewise.
13322         * io/access.c: Likewise.
13323         * io/chdir.c: Likewise.
13324         * io/chmod.c: Likewise.
13325         * io/chown.c: Likewise.
13326         * io/close.c: Likewise.
13327         * io/dup.c: Likewise.
13328         * io/dup2.c: Likewise.
13329         * io/dup3.c: Likewise.
13330         * io/euidaccess.c: Likewise.
13331         * io/faccessat.c: Likewise.
13332         * io/fchdir.c: Likewise.
13333         * io/fchmod.c: Likewise.
13334         * io/fchmodat.c: Likewise.
13335         * io/fchown.c: Likewise.
13336         * io/fchownat.c: Likewise.
13337         * io/fcntl.c: Likewise.
13338         * io/flock.c: Likewise.
13339         * io/fstatfs.c: Likewise.
13340         * io/fstatfs64.c: Likewise.
13341         * io/fstatvfs.c: Likewise.
13342         * io/fstatvfs64.c: Likewise.
13343         * io/futimens.c: Likewise.
13344         * io/fxstat.c: Likewise.
13345         * io/fxstat64.c: Likewise.
13346         * io/fxstatat.c: Likewise.
13347         * io/fxstatat64.c: Likewise.
13348         * io/getcwd.c: Likewise.
13349         * io/isatty.c: Likewise.
13350         * io/lchmod.c: Likewise.
13351         * io/lchown.c: Likewise.
13352         * io/link.c: Likewise.
13353         * io/linkat.c: Likewise.
13354         * io/lseek.c: Likewise.
13355         * io/lseek64.c: Likewise.
13356         * io/lxstat64.c: Likewise.
13357         * io/mkdir.c: Likewise.
13358         * io/mkdirat.c: Likewise.
13359         * io/mkfifo.c: Likewise.
13360         * io/mkfifoat.c: Likewise.
13361         * io/open.c: Likewise.
13362         * io/open64.c: Likewise.
13363         * io/openat.c: Likewise.
13364         * io/openat64.c: Likewise.
13365         * io/pipe.c: Likewise.
13366         * io/pipe2.c: Likewise.
13367         * io/poll.c: Likewise.
13368         * io/posix_fadvise.c: Likewise.
13369         * io/posix_fadvise64.c: Likewise.
13370         * io/posix_fallocate.c: Likewise.
13371         * io/posix_fallocate64.c: Likewise.
13372         * io/read.c: Likewise.
13373         * io/readlink.c: Likewise.
13374         * io/readlinkat.c: Likewise.
13375         * io/rmdir.c: Likewise.
13376         * io/sendfile.c: Likewise.
13377         * io/sendfile64.c: Likewise.
13378         * io/statfs.c: Likewise.
13379         * io/statfs64.c: Likewise.
13380         * io/statvfs.c: Likewise.
13381         * io/statvfs64.c: Likewise.
13382         * io/symlink.c: Likewise.
13383         * io/symlinkat.c: Likewise.
13384         * io/ttyname.c: Likewise.
13385         * io/ttyname_r.c: Likewise.
13386         * io/umask.c: Likewise.
13387         * io/unlink.c: Likewise.
13388         * io/unlinkat.c: Likewise.
13389         * io/utime.c: Likewise.
13390         * io/utimensat.c: Likewise.
13391         * io/write.c: Likewise.
13392         * io/xmknod.c: Likewise.
13393         * io/xmknodat.c: Likewise.
13394         * io/xstat.c: Likewise.
13395         * io/xstat64.c: Likewise.
13396         * login/getpt.c: Likewise.
13397         * login/grantpt.c: Likewise.
13398         * login/unlockpt.c: Likewise.
13399         * math/e_acoshl.c: Likewise.
13400         * math/e_acosl.c: Likewise.
13401         * math/e_asinl.c: Likewise.
13402         * math/e_atan2l.c: Likewise.
13403         * math/e_atanhl.c: Likewise.
13404         * math/e_coshl.c: Likewise.
13405         * math/e_expl.c: Likewise.
13406         * math/e_fmodl.c: Likewise.
13407         * math/e_gammal_r.c: Likewise.
13408         * math/e_hypotl.c: Likewise.
13409         * math/e_j0l.c: Likewise.
13410         * math/e_j1l.c: Likewise.
13411         * math/e_jnl.c: Likewise.
13412         * math/e_lgammal_r.c: Likewise.
13413         * math/e_log10l.c: Likewise.
13414         * math/e_log2l.c: Likewise.
13415         * math/e_logl.c: Likewise.
13416         * math/e_powl.c: Likewise.
13417         * math/e_rem_pio2l.c: Likewise.
13418         * math/e_sinhl.c: Likewise.
13419         * math/e_sqrtl.c: Likewise.
13420         * math/fclrexcpt.c: Likewise.
13421         * math/fedisblxcpt.c: Likewise.
13422         * math/feenablxcpt.c: Likewise.
13423         * math/fegetenv.c: Likewise.
13424         * math/fegetexcept.c: Likewise.
13425         * math/fegetround.c: Likewise.
13426         * math/feholdexcpt.c: Likewise.
13427         * math/fesetenv.c: Likewise.
13428         * math/fesetround.c: Likewise.
13429         * math/feupdateenv.c: Likewise.
13430         * math/fgetexcptflg.c: Likewise.
13431         * math/fraiseexcpt.c: Likewise.
13432         * math/fsetexcptflg.c: Likewise.
13433         * math/ftestexcept.c: Likewise.
13434         * math/k_cosl.c: Likewise.
13435         * math/k_rem_pio2l.c: Likewise.
13436         * math/k_sinl.c: Likewise.
13437         * math/k_tanl.c: Likewise.
13438         * math/s_asinhl.c: Likewise.
13439         * math/s_atanl.c: Likewise.
13440         * math/s_cbrtl.c: Likewise.
13441         * math/s_erfl.c: Likewise.
13442         * math/s_expm1l.c: Likewise.
13443         * math/s_log1pl.c: Likewise.
13444         * math/s_tanhl.c: Likewise.
13445         * misc/acct.c: Likewise.
13446         * misc/brk.c: Likewise.
13447         * misc/chflags.c: Likewise.
13448         * misc/chroot.c: Likewise.
13449         * misc/fchflags.c: Likewise.
13450         * misc/fgetxattr.c: Likewise.
13451         * misc/flistxattr.c: Likewise.
13452         * misc/fremovexattr.c: Likewise.
13453         * misc/fsetxattr.c: Likewise.
13454         * misc/fsync.c: Likewise.
13455         * misc/ftruncate.c: Likewise.
13456         * misc/futimes.c: Likewise.
13457         * misc/futimesat.c: Likewise.
13458         * misc/getdomain.c: Likewise.
13459         * misc/getdtsz.c: Likewise.
13460         * misc/gethostid.c: Likewise.
13461         * misc/gethostname.c: Likewise.
13462         * misc/getloadavg.c: Likewise.
13463         * misc/getpagesize.c: Likewise.
13464         * misc/getsysstats.c: Likewise.
13465         * misc/getxattr.c: Likewise.
13466         * misc/gtty.c: Likewise.
13467         * misc/ioctl.c: Likewise.
13468         * misc/lgetxattr.c: Likewise.
13469         * misc/listxattr.c: Likewise.
13470         * misc/llistxattr.c: Likewise.
13471         * misc/lremovexattr.c: Likewise.
13472         * misc/lsetxattr.c: Likewise.
13473         * misc/lutimes.c: Likewise.
13474         * misc/madvise.c: Likewise.
13475         * misc/mincore.c: Likewise.
13476         * misc/mlock.c: Likewise.
13477         * misc/mlockall.c: Likewise.
13478         * misc/mmap.c: Likewise.
13479         * misc/mprotect.c: Likewise.
13480         * misc/msync.c: Likewise.
13481         * misc/munlock.c: Likewise.
13482         * misc/munlockall.c: Likewise.
13483         * misc/munmap.c: Likewise.
13484         * misc/preadv.c: Likewise.
13485         * misc/preadv64.c: Likewise.
13486         * misc/ptrace.c: Likewise.
13487         * misc/pwritev.c: Likewise.
13488         * misc/pwritev64.c: Likewise.
13489         * misc/readv.c: Likewise.
13490         * misc/reboot.c: Likewise.
13491         * misc/remap_file_pages.c: Likewise.
13492         * misc/removexattr.c: Likewise.
13493         * misc/revoke.c: Likewise.
13494         * misc/select.c: Likewise.
13495         * misc/setdomain.c: Likewise.
13496         * misc/setegid.c: Likewise.
13497         * misc/seteuid.c: Likewise.
13498         * misc/sethostid.c: Likewise.
13499         * misc/sethostname.c: Likewise.
13500         * misc/setregid.c: Likewise.
13501         * misc/setreuid.c: Likewise.
13502         * misc/setxattr.c: Likewise.
13503         * misc/sstk.c: Likewise.
13504         * misc/stty.c: Likewise.
13505         * misc/swapoff.c: Likewise.
13506         * misc/swapon.c: Likewise.
13507         * misc/sync.c: Likewise.
13508         * misc/syncfs.c: Likewise.
13509         * misc/syscall.c: Likewise.
13510         * misc/truncate.c: Likewise.
13511         * misc/ualarm.c: Likewise.
13512         * misc/usleep.c: Likewise.
13513         * misc/ustat.c: Likewise.
13514         * misc/utimes.c: Likewise.
13515         * misc/vhangup.c: Likewise.
13516         * misc/writev.c: Likewise.
13517         * posix/_exit.c: Likewise.
13518         * posix/alarm.c: Likewise.
13519         * posix/execve.c: Likewise.
13520         * posix/fexecve.c: Likewise.
13521         * posix/fork.c: Likewise.
13522         * posix/fpathconf.c: Likewise.
13523         * posix/getaddrinfo.c: Likewise.
13524         * posix/getegid.c: Likewise.
13525         * posix/geteuid.c: Likewise.
13526         * posix/getgid.c: Likewise.
13527         * posix/getgroups.c: Likewise.
13528         * posix/getlogin.c: Likewise.
13529         * posix/getlogin_r.c: Likewise.
13530         * posix/getpgid.c: Likewise.
13531         * posix/getpid.c: Likewise.
13532         * posix/getppid.c: Likewise.
13533         * posix/getresgid.c: Likewise.
13534         * posix/getresuid.c: Likewise.
13535         * posix/getsid.c: Likewise.
13536         * posix/getuid.c: Likewise.
13537         * posix/glob64.c: Likewise.
13538         * posix/nanosleep.c: Likewise.
13539         * posix/pathconf.c: Likewise.
13540         * posix/pause.c: Likewise.
13541         * posix/posix_madvise.c: Likewise.
13542         * posix/pread.c: Likewise.
13543         * posix/pread64.c: Likewise.
13544         * posix/pwrite.c: Likewise.
13545         * posix/pwrite64.c: Likewise.
13546         * posix/sched_getaffinity.c: Likewise.
13547         * posix/sched_getp.c: Likewise.
13548         * posix/sched_gets.c: Likewise.
13549         * posix/sched_primax.c: Likewise.
13550         * posix/sched_primin.c: Likewise.
13551         * posix/sched_rr_gi.c: Likewise.
13552         * posix/sched_setaffinity.c: Likewise.
13553         * posix/sched_setp.c: Likewise.
13554         * posix/sched_sets.c: Likewise.
13555         * posix/sched_yield.c: Likewise.
13556         * posix/setgid.c: Likewise.
13557         * posix/setlogin.c: Likewise.
13558         * posix/setpgid.c: Likewise.
13559         * posix/setresgid.c: Likewise.
13560         * posix/setresuid.c: Likewise.
13561         * posix/setsid.c: Likewise.
13562         * posix/setuid.c: Likewise.
13563         * posix/sleep.c: Likewise.
13564         * posix/spawni.c: Likewise.
13565         * posix/sysconf.c: Likewise.
13566         * posix/times.c: Likewise.
13567         * posix/wait.c: Likewise.
13568         * posix/wait3.c: Likewise.
13569         * posix/wait4.c: Likewise.
13570         * posix/waitpid.c: Likewise.
13571         * resolv/gai_sigqueue.c: Likewise.
13572         * resource/getpriority.c: Likewise.
13573         * resource/getrlimit.c: Likewise.
13574         * resource/getrusage.c: Likewise.
13575         * resource/nice.c: Likewise.
13576         * resource/setpriority.c: Likewise.
13577         * resource/setrlimit.c: Likewise.
13578         * resource/ulimit.c: Likewise.
13579         * rt/aio_cancel.c: Likewise.
13580         * rt/aio_fsync.c: Likewise.
13581         * rt/aio_read.c: Likewise.
13582         * rt/aio_sigqueue.c: Likewise.
13583         * rt/aio_suspend.c: Likewise.
13584         * rt/aio_write.c: Likewise.
13585         * rt/clock_getres.c: Likewise.
13586         * rt/clock_gettime.c: Likewise.
13587         * rt/clock_nanosleep.c: Likewise.
13588         * rt/clock_settime.c: Likewise.
13589         * rt/lio_listio.c: Likewise.
13590         * rt/mq_close.c: Likewise.
13591         * rt/mq_getattr.c: Likewise.
13592         * rt/mq_notify.c: Likewise.
13593         * rt/mq_open.c: Likewise.
13594         * rt/mq_receive.c: Likewise.
13595         * rt/mq_send.c: Likewise.
13596         * rt/mq_setattr.c: Likewise.
13597         * rt/mq_timedreceive.c: Likewise.
13598         * rt/mq_timedsend.c: Likewise.
13599         * rt/mq_unlink.c: Likewise.
13600         * rt/shm_open.c: Likewise.
13601         * rt/shm_unlink.c: Likewise.
13602         * rt/timer_create.c: Likewise.
13603         * rt/timer_delete.c: Likewise.
13604         * rt/timer_getoverr.c: Likewise.
13605         * rt/timer_gettime.c: Likewise.
13606         * rt/timer_settime.c: Likewise.
13607         * setjmp/__longjmp.c: Likewise.
13608         * setjmp/setjmp.c: Likewise.
13609         * signal/kill.c: Likewise.
13610         * signal/killpg.c: Likewise.
13611         * signal/raise.c: Likewise.
13612         * signal/sigaction.c: Likewise.
13613         * signal/sigaltstack.c: Likewise.
13614         * signal/sigblock.c: Likewise.
13615         * signal/sigignore.c: Likewise.
13616         * signal/sigintr.c: Likewise.
13617         * signal/signal.c: Likewise.
13618         * signal/sigpause.c: Likewise.
13619         * signal/sigpending.c: Likewise.
13620         * signal/sigqueue.c: Likewise.
13621         * signal/sigreturn.c: Likewise.
13622         * signal/sigset.c: Likewise.
13623         * signal/sigsetmask.c: Likewise.
13624         * signal/sigstack.c: Likewise.
13625         * signal/sigsuspend.c: Likewise.
13626         * signal/sigtimedwait.c: Likewise.
13627         * signal/sigvec.c: Likewise.
13628         * signal/sigwait.c: Likewise.
13629         * signal/sigwaitinfo.c: Likewise.
13630         * signal/sysv_signal.c: Likewise.
13631         * socket/accept.c: Likewise.
13632         * socket/accept4.c: Likewise.
13633         * socket/bind.c: Likewise.
13634         * socket/connect.c: Likewise.
13635         * socket/getpeername.c: Likewise.
13636         * socket/getsockname.c: Likewise.
13637         * socket/getsockopt.c: Likewise.
13638         * socket/isfdtype.c: Likewise.
13639         * socket/listen.c: Likewise.
13640         * socket/recv.c: Likewise.
13641         * socket/recvfrom.c: Likewise.
13642         * socket/recvmsg.c: Likewise.
13643         * socket/send.c: Likewise.
13644         * socket/sendmsg.c: Likewise.
13645         * socket/sendto.c: Likewise.
13646         * socket/setsockopt.c: Likewise.
13647         * socket/shutdown.c: Likewise.
13648         * socket/sockatmark.c: Likewise.
13649         * socket/socket.c: Likewise.
13650         * socket/socketpair.c: Likewise.
13651         * stdio-common/ctermid.c: Likewise.
13652         * stdio-common/cuserid.c: Likewise.
13653         * stdio-common/remove.c: Likewise.
13654         * stdio-common/rename.c: Likewise.
13655         * stdio-common/renameat.c: Likewise.
13656         * stdio-common/tempname.c: Likewise.
13657         * stdlib/getcontext.c: Likewise.
13658         * stdlib/makecontext.c: Likewise.
13659         * stdlib/setcontext.c: Likewise.
13660         * stdlib/swapcontext.c: Likewise.
13661         * stdlib/system.c: Likewise.
13662         * streams/fattach.c: Likewise.
13663         * streams/fdetach.c: Likewise.
13664         * streams/getmsg.c: Likewise.
13665         * streams/getpmsg.c: Likewise.
13666         * streams/putmsg.c: Likewise.
13667         * streams/putpmsg.c: Likewise.
13668         * sysdeps/unix/bsd/getpt.c: Likewise.
13669         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13670         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13671         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13673         Likewise.
13674         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13675         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13676         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13677         * sysvipc/msgctl.c: Likewise.
13678         * sysvipc/msgget.c: Likewise.
13679         * sysvipc/msgrcv.c: Likewise.
13680         * sysvipc/msgsnd.c: Likewise.
13681         * sysvipc/semctl.c: Likewise.
13682         * sysvipc/semget.c: Likewise.
13683         * sysvipc/semop.c: Likewise.
13684         * sysvipc/semtimedop.c: Likewise.
13685         * sysvipc/shmat.c: Likewise.
13686         * sysvipc/shmctl.c: Likewise.
13687         * sysvipc/shmdt.c: Likewise.
13688         * sysvipc/shmget.c: Likewise.
13689         * termios/tcdrain.c: Likewise.
13690         * termios/tcflow.c: Likewise.
13691         * termios/tcflush.c: Likewise.
13692         * termios/tcgetattr.c: Likewise.
13693         * termios/tcgetpgrp.c: Likewise.
13694         * termios/tcsendbrk.c: Likewise.
13695         * termios/tcsetattr.c: Likewise.
13696         * termios/tcsetpgrp.c: Likewise.
13697         * time/adjtime.c: Likewise.
13698         * time/clock.c: Likewise.
13699         * time/getitimer.c: Likewise.
13700         * time/gettimeofday.c: Likewise.
13701         * time/setitimer.c: Likewise.
13702         * time/settimeofday.c: Likewise.
13703         * time/stime.c: Likewise.
13704         * time/time.c: Likewise.
13706 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
13708         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13709         /usr/old/bin.
13711         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13712         instead of spaces.
13713         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13715 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
13717         [BZ #14796]
13718         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13719         FE_TONEAREST before applying Dekker multiplication and Knuth
13720         addition.  Clear inexact exceptions and check for exact zero
13721         results afterwards.
13722         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13723         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13724         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13725         * math/libm-test.inc (fma_test): Add more tests.
13726         (fma_test_towardzero): Likewise.
13727         (fma_test_downward): Likewise.
13728         (fma_test_upward): Likewise.
13729         * sysdeps/generic/math_private.h (default_libc_fesetround): New
13730         function.
13731         (libc_fesetround): New macro.
13732         (libc_fesetroundf): Likewise.
13733         (libc_fesetroundl): Likewise.
13734         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13735         function.
13736         (libc_fesetround_387): Likewise.
13737         (libc_fesetroundf): New macro.
13738         (libc_fesetround): Likewise.
13739         (libc_fesetroundl): Likewise.
13740         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13741         function.
13742         (libc_fesetroundf): New macro.
13743         (libc_fesetround): Likewise.
13744         (libc_fesetroundl): Likewise.
13745         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13746         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13747         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13748         libm_hidden_ver.
13749         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13750         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13751         libm_hidden_def.
13752         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13753         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13754         libm_hidden_ver.
13755         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13756         libm_hidden_def.
13758         [BZ #3439]
13759         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13760         integer constant usable in #if and use that to give value to enum
13761         constant.
13762         (FE_DIVBYZERO): Likewise.
13763         (FE_UNDERFLOW): Likewise.
13764         (FE_OVERFLOW): Likewise.
13765         (FE_INVALID): Likewise.
13766         (FE_INVALID_SNAN): Likewise.
13767         (FE_INVALID_ISI): Likewise.
13768         (FE_INVALID_IDI): Likewise.
13769         (FE_INVALID_ZDZ): Likewise.
13770         (FE_INVALID_IMZ): Likewise.
13771         (FE_INVALID_COMPARE): Likewise.
13772         (FE_INVALID_SOFTWARE): Likewise.
13773         (FE_INVALID_SQRT): Likewise.
13774         (FE_INVALID_INTEGER_CONVERSION): Likewise.
13775         (FE_TONEAREST): Likewise.
13776         (FE_TOWARDZERO): Likewise.
13777         (FE_UPWARD): Likewise.
13778         (FE_DOWNWARD): Likewise.
13779         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13780         (FE_DIVBYZERO): Likewise.
13781         (FE_OVERFLOW): Likewise.
13782         (FE_UNDERFLOW): Likewise.
13783         (FE_INEXACT): Likewise.
13784         (FE_TONEAREST): Likewise.
13785         (FE_DOWNWARD): Likewise.
13786         (FE_UPWARD): Likewise.
13787         (FE_TOWARDZERO): Likewise.
13788         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13789         (FE_UNDERFLOW): Likewise.
13790         (FE_OVERFLOW): Likewise.
13791         (FE_DIVBYZERO): Likewise.
13792         (FE_INVALID): Likewise.
13793         (FE_TONEAREST): Likewise.
13794         (FE_TOWARDZERO): Likewise.
13795         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13796         (FE_OVERFLOW): Likewise.
13797         (FE_UNDERFLOW): Likewise.
13798         (FE_DIVBYZERO): Likewise.
13799         (FE_INEXACT): Likewise.
13800         (FE_TONEAREST): Likewise.
13801         (FE_TOWARDZERO): Likewise.
13802         (FE_UPWARD): Likewise.
13803         (FE_DOWNWARD): Likewise.
13804         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13805         (FE_DIVBYZERO): Likewise.
13806         (FE_OVERFLOW): Likewise.
13807         (FE_UNDERFLOW): Likewise.
13808         (FE_INEXACT): Likewise.
13809         (FE_TONEAREST): Likewise.
13810         (FE_DOWNWARD): Likewise.
13811         (FE_UPWARD): Likewise.
13812         (FE_TOWARDZERO): Likewise.
13814 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
13816         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13818 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
13820         * scripts/cross-test-ssh.sh (command): Use newlines to separate
13821         commands.  Quote $PWD.
13822         (blacklist_exports): Don't use remove_newlines.  Replace "declare
13823         -x" by "export".
13824         (remove_newlines): Remove.
13826 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
13828         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13829         * stdlib/stdlib.h (atof): Moved to ...
13830         * include/bits/stdlib-float.h: Here.  New file.
13831         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13832         * stdlib/bits/stdlib-float.h: New file.
13833         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13834         -mno-sse -mno-mmx.
13835         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13836         <xmmintrin.h>.
13838 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13840         * conform/conformtest.pl (@headers): Add fenv.h.
13841         * conform/data/fenv.h-data: New file.
13842         * include/fenv.h [_ISOMAC]: Disable all contents of file except
13843         include of <math/fenv.h>.
13845         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13846         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13847         && !UNIX98].  Enables tests for XOPEN2K8.
13848         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13849         POSIX2008]: Likewise.
13851         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13852         (struct rusage): Do not expect type or its members.
13854         [BZ #3439]
13855         * math/math.h (FP_NAN): Define macro to integer constant usable in
13856         #if and use that to give value to enum constant.
13857         (FP_INFINITE): Likewise.
13858         (FP_ZERO): Likewise.
13859         (FP_SUBNORMAL): Likewise.
13860         (FP_NORMAL): Likewise.
13862 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
13864         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13865         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13866         arguments.
13868 2012-11-02  Roland McGrath  <roland@hack.frob.com>
13870         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13871         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13872         autoconf-time if not.
13873         * configure.in: Remove AC_PREREQ.
13875 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13877         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13878         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13879         of the internal implementation.
13881 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13883         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13884         except include of <misc/sys/syslog.h>.
13886 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13889         function returns with a NULL context exit with zero.
13891 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13893         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13895 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
13897         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13898         (run_program_cmd): This.
13899         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13900         (tst_langinfo): New variable.  Use it.
13902 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
13904         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13905         floating point opcodes.
13907 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13909         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13910         variable.
13912         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13914         * sysdeps/mach/hurd/powerpc: Remove directory.
13915         * sysdeps/mach/powerpc: Likewise.
13917 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13919         * scripts/check-local-headers.sh: Ignore c++ headers.
13921 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13923         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13924         __libc_cleanup_region_start argument.
13926 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
13928         [BZ #14784]
13929         [BZ #14785]
13930         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13931         x * y using scaling, not as x * y + z.
13932         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13933         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13934         * math/libm-test.inc (fma_test): Add more tests.
13935         (fma_test_towardzero): Likewise.
13936         (fma_test_downward): Likewise.
13937         (fma_test_upward): Likewise.
13939 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13941         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13943 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13945         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13946         New variable.
13948 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
13950         * rt/tst-shm.c (worker): Correct checking for mmap failure.
13952 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13955         Fix sort order.
13956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13957         Likewise.
13959 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13962         Fix the order of the list for glibc 2.17.
13963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13964         Likewise.
13966 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13970 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13972         [BZ #14610]
13973         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13974         for low part of x being zero before using __atanl (y).
13975         * math/libm-test.inc (atan2_test): Add another test.
13977         * manual/install.texi (Configuring and compiling): Document
13978         general use of test-wrapper and test-wrapper-env.
13979         * INSTALL: Regenerated.
13981         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13982         (__fma): Do not extract and scale down low bits on after-rounding
13983         systems when result rounded to normal precision would have normal
13984         exponent.
13985         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13986         (__fmal): Do not extract and scale down low bits on after-rounding
13987         systems when result rounded to normal precision would have normal
13988         exponent.
13989         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13990         (__fmal): Do not extract and scale down low bits on after-rounding
13991         systems when result rounded to normal precision would have normal
13992         exponent.
13993         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13994         macro.
13995         (fma_test): Add more tests.
13996         (fma_test_towardzero): Likewise.
13997         (fma_test_downward): Likewise.
13998         (fma_test_upward): Likewise.
14000 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
14002         * sysdeps/i386/tininess.h: Renamed to ...
14003         * sysdeps/x86/tininess.h: This.
14004         * sysdeps/x86_64/tininess.h: Removed.
14006 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14008         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14009         input.  Use $(build-program-cmd).
14010         ($(objpfx)tst-array1-static.out): Likewise.
14011         ($(objpfx)tst-array2.out): Likewise.
14012         ($(objpfx)tst-array3.out): Likewise.
14013         ($(objpfx)tst-array4.out): Likewise.
14014         ($(objpfx)tst-array5.out): Likewise.
14015         ($(objpfx)tst-array5-static.out): Likewise.
14017 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
14019         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14020         if defined.
14022         * nss/nsswitch.h (nss_interface_function): Provide new
14023         macro for use with NSS functions.
14024         * grp/initgroups.c: Use new macro.
14025         * nss/getXXbyYY.c: Likewise.
14026         * nss/getXXbyYY_r.c: Likewise.
14027         * nss/getXXent.c: Likewise.
14028         * nss/getXXent_r.c: Likewise.
14029         * sysdeps/posix/getaddrinfo.c: Likewise.
14031 2012-10-30  Andreas Jaeger  <aj@suse.de>
14033         * po/ru.po: Update Russion translation from translation project.
14035 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14037         [BZ #14152]
14038         [BZ #14783]
14039         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14040         result and shift together with sticky bit instead of replicating
14041         round-to-nearest rounding.
14042         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14043         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14044         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
14045         missing underflow exceptions.
14046         (fma_test_towardzero): Add more tests.
14047         (fma_test_downward): Likewise.
14048         (fma_test_upward): Likewise.
14050         [BZ #14047]
14051         * sysdeps/generic/tininess.h: New file.
14052         * sysdeps/i386/tininess.h: Likewise.
14053         * sysdeps/sh/tininess.h: Likewise.
14054         * sysdeps/x86_64/tininess.h: Likewise.
14055         * stdlib/tst-strtod-underflow.c: Likewise.
14056         * stdlib/tst-tininess.c: Likewise.
14057         * stdlib/strtod_l.c: Include <tininess.h>.
14058         (round_and_return): Do not set errno for exact underflow cases.
14059         Force an underflow exception when setting errno for underflow.
14060         Determine underflow based on rounding to normal precision if
14061         TININESS_AFTER_ROUNDING.
14062         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14063         ERANGE for exact underflow cases.
14064         * stdlib/Makefile (tests): Add tst-tininess and
14065         tst-strtod-underflow.
14066         ($(objpfx)tst-tininess): Use $(link-libm).
14067         ($(objpfx)tst-strtod-underflow): Likewise.
14069 2012-10-30  Andreas Jaeger  <aj@suse.de>
14071         [BZ#14767]
14072         * elf/Makefile (tests): Remove conditional for have-initfini-array
14073         since this is now always required and the variable does not exist
14074         anymore.
14075         (tests-static): Likewise.
14076         (modules-names): Likewise.
14078         * po/eo.po: Add Esperanto translation from translation project.
14080         * elf/tst-array1.c (fini_array): Make writeable so that it can be
14081         merged with constructor/destructor.
14082         (init_array): Likewise.
14083         * elf/tst-array2dep.c (fini_array): Likewise.
14084         (init_array): Likewise.
14086 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
14088         * manual/message.texi: Delete @cartouche tags.
14090 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
14092         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14093         EOPNOTSUPP.
14094         * sysdeps/mach/hurd/fsync.c: Likewise.
14096         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14097         [_POSIX_REALTIME_SIGNALS]: Change condition to
14098         [_POSIX_REALTIME_SIGNALS > 0].
14100 2012-10-27  Andreas Jaeger  <aj@suse.de>
14102         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14103         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14104         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14105         [__WORDSIZE != 64]: Likewise.
14107 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
14109         *  iconvdata/tst-table.sh: Remove ${SHELL}.
14110         *  iconvdata/tst-tables.sh: Likewise.
14112 2012-10-25  David S. Miller  <davem@davemloft.net>
14114         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14115         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14116         of strtoull.
14118         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14119         ifunc-impl-list.c
14120         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14121         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14122         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14123         file.
14125 2012-10-25  Roland McGrath  <roland@hack.frob.com>
14127         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14128         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14129         __getdirentries.
14131 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14132             Jim Blandy  <jimb@codesourcery.com>
14134         * scripts/cross-test-ssh.sh: New file.
14135         * manual/install.texi (Configuring and compiling): Document use of
14136         cross-test-ssh.sh.
14137         * INSTALL: Regenerated.
14139 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
14141         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14142         EOPNOTSUPP.
14144 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14146         * Makeconfig (run-program-prefix): Fix comment.
14148 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14149             Jim Blandy  <jimb@codesourcery.com>
14151         * Makeconfig (test-wrapper): New variable,
14152         (test-wrapper-env): Likewise.
14153         [$(cross-compiling) = yes && $(test-wrapper) != ""]
14154         (run-built-tests): Define to yes.
14155         (run-program-prefix): Use $(test-wrapper).
14156         (built-program-cmd): Likewise.
14157         * Rules (make-test-out): Use $(test-wrapper-env) and
14158         $(host-built-program-cmd).
14159         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14160         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14161         tst-pathopt.sh.
14162         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14163         $(test-wrapper-env) to tst-rtld-load-self.sh.
14164         ($(objpfx)order2.out): Use $(test-wrapper).
14165         ($(objpfx)tst-initorder.out): Likewise.
14166         ($(objpfx)tst-initorder2.out): Likewise.
14167         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14168         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14169         (test_wrapper_env): New variable.  Use it to run ld.so.
14170         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14171         Use it to run ld.so.
14172         (test_wrapper_env): Likewise.
14173         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14174         $(test-wrapper) to run-iconv-test.sh.
14175         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14176         (ICONV): Use $test_wrapper.
14177         * posix/Makefile ($(objpfx)globtest.out): Pass
14178         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14179         globtest.sh, not $(run-program-prefix).
14180         * posix/globtest.sh (run_via_rtld_prefix): New variable.
14181         (test_wrapper): Likewise.
14182         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
14183         set together with run_via_rtld_prefix.
14184         (run_program_prefix): Define in terms of test_wrapper and
14185         run_via_rtld_prefix.
14187 2012-10-24  Roland McGrath  <roland@hack.frob.com>
14189         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14190         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14191         Targets removed.
14193         [BZ #14743]
14194         * include/time.h: Remove librt_hidden_proto (clock_gettime).
14195         Declare __clock_getres, __clock_gettime, __clock_settime,
14196         __clock_nanosleep, and __clock_getcpuclockid.
14197         * rt/clock_gettime.c: Define __clock_gettime as an alias.
14198         Remove librt_hidden_def (clock_gettime).
14199         * sysdeps/unix/clock_gettime.c: Likewise.
14200         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14201         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14202         * rt/clock_getres.c: Define __clock_getres as an alias.
14203         * sysdeps/posix/clock_getres.c: Likewise.
14204         * rt/clock_settime.c: Define __clock_settime as an alias.
14205         * sysdeps/unix/clock_settime.c: Likewise.
14206         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14207         * sysdeps/unix/clock_nanosleep.c: Likewise.
14208         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14209         * rt/clock-compat.c: New file.
14210         * rt/Makefile (librt-routines): Add clock-compat and move
14211         $(clock-routines) to ...
14212         (routines): ... here, new variable.
14213         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14214         Don't add get_clockfreq here.
14215         * rt/Versions (libc: GLIBC_2.17): New version set.
14216         Add clock_* symbols here.
14217         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
14218         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14219         (GLIBC_2.17): Add clock_* symbols.
14220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14222         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14224         Likewise.
14225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14226         Likewise.
14227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14231         * NEWS: Mention the move.
14233         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14234         Use __open, __read, __close rather than their public counterparts.
14235         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14236         (__get_clockfreq_via_cpuinfo): Likewise.
14237         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14238         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14240         * config.h.in (HAVE_IFUNC): New #undef.
14241         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14242         was successful.
14243         * configure: Regenerated.
14245 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14247         * configure.in: Move READELF check to start of file.
14248         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14249         libc_cv_asm_gnu_indirect_function in the process.
14250         * configure: Regenerated.
14252 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14254         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14255         send the output to /dev/null.
14256         (libc_cv_cc_with_libunwind): Likewise.
14257         (libc_cv_as_noexecstack): Likewise.
14258         * configure: Regenerate.
14260 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14262         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14264         * posix/globtest.sh (TMPDIR): Do not set.
14265         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14266         (testout): Likewise.
14268 2012-10-24  Andreas Jaeger  <aj@suse.de>
14270         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14271         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14272         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14273         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14274         posix_fadvise64, posix_fallocate64.
14276         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14277         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14278         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14279         Likewise.
14280         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14281         Likewise.
14282         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14284         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14285         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14286         <bits/fcntl-linux.h>.
14287         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14289         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14290         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14291         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14292         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14293         [__WORDSIZE != 64]: Likewise.
14295 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14297         * Makeconfig (run-built-tests): New variable.
14298         * Rules [$(cross-compiling) = yes]: Change condition to
14299         [$(run-built-tests) = no].
14300         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14301         to [$(run-built-tests) = yes].
14302         * elf/Makefile [$(cross-compiling) = no]: Likewise
14303         * grp/Makefile [$(cross-compiling) = no]: Likewise.
14304         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14305         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14306         * intl/Makefile [$(cross-compiling) = no]: Likewise.
14307         * io/Makefile [$(cross-compiling) = no]: Likewise.
14308         * libio/Makefile [$(cross-compiling) = no]: Likewise.
14309         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14310         * misc/Makefile [$(cross-compiling) = no]: Likewise.
14311         * posix/Makefile [$(cross-compiling) = no]: Likewise.
14312         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14313         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14314         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14315         * string/Makefile [$(cross-compiling) = no]: Likewise.
14317         * posix/Makefile ($(objpfx)globtest.out): Pass
14318         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14319         $(rtld-installed-name).
14320         * posix/globtest.sh (elf_objpfx): Remove variable.
14321         (rtld_installed_name): Likewise.
14322         (library_path): Likewise.
14323         (run_program_prefix): New variable.  Use for running globtest
14324         binary.
14326 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
14327             Joseph Myers  <joseph@codesourcery.com>
14329         * Makeconfig (host-built-program-cmd): New variable.
14330         * elf/Makefile (tst-stackguard1-ARGS): Use
14331         $(host-built-program-cmd).
14332         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14333         (tst-spawn-ARGS): Likewise.
14334         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14336 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14337             Jim Blandy  <jimb@codesourcery.com>
14339         * Makeconfig (run-via-rtld-prefix): New variable.
14340         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14341         (built-program-cmd): Likewise.
14343 2012-10-22  Andreas Jaeger  <aj@suse.de>
14345         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14346         __O_RSYNC if it exists, otherwise to O_SYNC.
14348 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
14349             Joseph Myers  <joseph@codesourcery.com>
14351         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14352         /dev/null.
14353         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14354         from /dev/null
14355         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14356         /dev/null.
14358 2012-10-22  Andreas Jaeger  <aj@suse.de>
14360         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14361         Define always.
14362         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14364         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14365         bits/fcntl-linux.h.
14367         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14368         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14370         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14371         to __O_LARGEFILE.
14372         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14373         to __O_LARGEFILE.
14375 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
14376             Joseph Myers  <joseph@codesourcery.com>
14378         * config.make.in (NM): New variable.
14380 2012-10-21  Andreas Jaeger  <aj@suse.de>
14382         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14383         definitions and declarations that are provided by
14384         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14386 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14388         [BZ #14683]
14389         * elf/Makefile (tests-static): Add tst-leaks1-static.
14390         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14391         ($(objpfx)tst-leaks1-static): New rule.
14392         ($(objpfx)tst-leaks1-static-mem): Likewise.
14393         (tst-leaks1-static-ENV): New macro.
14394         * elf/dl-open.c (dl_open_worker): Check the main application
14395         only if SHARED is defined.
14396         * elf/tst-leaks1-static.c: New file.
14398 2012-10-20  Andreas Jaeger  <aj@suse.de>
14400         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14401         generic values for Linux.
14402         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14403         and declarations that are provided by <bits/fcntl-linux.h> and
14404         include <bits/fcntl-linux.h>.
14405         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14406         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14408 2012-10-20  Roland McGrath  <roland@hack.frob.com>
14410         * io/fcntl.h: Move include of <bits/types.h> to the top and
14411         include it unconditionally.
14413 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14415         * wcsmbs/Makefile (tests-ifunc): New variable.
14416         (tests): Add $(tests-ifunc).
14417         * wcsmbs/test-wcschr-ifunc.c: New file.
14418         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14419         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14420         * wcsmbs/test-wcslen-ifunc.c: Likewise.
14421         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14422         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14424         * string/Makefile (tests-ifunc): New variable.
14425         (tests): Add $(tests-ifunc).
14426         * string/test-memccpy.c (TEST_NAME): New macro.
14427         * string/test-memchr.c (TEST_NAME): Likewise.
14428         * string/test-memcmp.c (TEST_NAME): Likewise.
14429         * string/test-memcpy.c (TEST_NAME): Likewise.
14430         * string/test-memmem.c (TEST_NAME): Likewise.
14431         * string/test-memmove.c (TEST_NAME): Likewise.
14432         * string/test-memset.c (TEST_NAME): Likewise.
14433         * string/test-rawmemchr.c (TEST_NAME): Likewise.
14434         * string/test-stpcpy.c (TEST_NAME): Likewise.
14435         * string/test-stpncpy.c (TEST_NAME): Likewise.
14436         * string/test-strcasecmp.c (TEST_NAME): Likewise.
14437         * string/test-strcasestr.c (TEST_NAME): Likewise.
14438         * string/test-strcat.c (TEST_NAME): Likewise.
14439         * string/test-strchr.c (TEST_NAME): Likewise.
14440         * string/test-strcmp.c(TEST_NAME): Likewise.
14441         * string/test-strcpy.c (TEST_NAME): Likewise.
14442         * string/test-strcspn.c (TEST_NAME): Likewise.
14443         * string/test-strlen.c (TEST_NAME): Likewise.
14444         * string/test-strncasecmp.c (TEST_NAME): Likewise.
14445         * string/test-strncmp.c (TEST_NAME): Likewise.
14446         * string/test-strncpy.c (TEST_NAME): Likewise.
14447         * string/test-strnlen.c (TEST_NAME): Likewise.
14448         * string/test-strpbrk.c (TEST_NAME): Likewise.
14449         * string/test-strrchr.c (TEST_NAME): Likewise.
14450         * string/test-strspn.c (TEST_NAME): Likewise.
14451         * string/test-strstr.c (TEST_NAME): Likewise.
14452         * string/test-bcopy-ifunc.c: New file.
14453         * string/test-bzero-ifunc.c: Likewise.
14454         * string/test-memccpy-ifunc.c: Likewise.
14455         * string/test-memchr-ifunc.c: Likewise.
14456         * string/test-memcmp-ifunc.c: Likewise.
14457         * string/test-memcpy-ifunc.c: Likewise.
14458         * string/test-memmem-ifunc.c: Likewise.
14459         * string/test-memmove-ifunc.c: Likewise.
14460         * string/test-mempcpy-ifunc.c: Likewise.
14461         * string/test-memset-ifunc.c: Likewise.
14462         * string/test-rawmemchr-ifunc.c: Likewise.
14463         * string/test-stpcpy-ifunc.c: Likewise.
14464         * string/test-stpncpy-ifunc.c: Likewise.
14465         * string/test-strcasecmp-ifunc.c: Likewise.
14466         * string/test-strcasestr-ifunc.c: Likewise.
14467         * string/test-strcat-ifunc.c: Likewise.
14468         * string/test-strchr-ifunc.c: Likewise.
14469         * string/test-strchrnul-ifunc.c: Likewise.
14470         * string/test-strcmp-ifunc.c: Likewise.
14471         * string/test-strcpy-ifunc.c: Likewise.
14472         * string/test-strcspn-ifunc.c: Likewise.
14473         * string/test-strlen-ifunc.c: Likewise.
14474         * string/test-strncasecmp-ifunc.c: Likewise.
14475         * string/test-strncat-ifunc.c: Likewise.
14476         * string/test-strncmp-ifunc.c: Likewise.
14477         * string/test-strncpy-ifunc.c: Likewise.
14478         * string/test-strnlen-ifunc.c: Likewise.
14479         * string/test-strpbrk-ifunc.c: Likewise.
14480         * string/test-strrchr-ifunc.c: Likewise.
14481         * string/test-strspn-ifunc.c: Likewise.
14482         * string/test-strstr-ifunc.c: Likewise.
14484         * debug/Makefile (tests-ifunc): New variable.
14485         (tests): Add $(tests-ifunc).
14486         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14487         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14488         * debug/test-stpcpy_chk-ifunc.c: New file.
14489         * debug/test-strcpy_chk-ifunc.c: Likewise.
14491 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14493         [BZ #13601]
14494         * elf/dl-load.c (open_verify): Retry read if the entire ELF
14495         header is not read in.
14497 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
14499         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
14500         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
14501         directly.  Pass built executable to script as
14502         $(built-program-cmd).
14503         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
14504         $testprogram without using LD_LIBRARY_PATH and $ldso.
14506         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14507         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14508         $(rtld-installed-name).
14509         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14510         (rtld_installed_name): Likewise.
14511         (library_path): Likewise.
14512         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
14513         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14514         $(run-program-prefix) to tst-tables.sh.
14515         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
14516         it to run tst-table-from and tst-table-to.
14517         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14518         Pass it to tst-table.sh.
14519         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14520         $(run-program-prefix) to tst-gettext.sh.
14521         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14522         tst-translit.sh.
14523         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14524         tst-gettext2.sh.
14525         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
14526         to run tst-gettext.
14527         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
14528         to run tst-gettext2.
14529         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
14530         to run tst-translit.
14531         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14532         $(run-program-prefix) to tst-mtrace.sh.
14533         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
14534         to run tst-mtrace.
14535         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14536         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14537         $(rtld-installed-name).
14538         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14539         (rtld_installed_name): Likewise.
14540         (run_program_prefix): New variable.  Use it to run wordexp-test.
14542         * Makeconfig (ARCH): Remove all definitions.
14543         (machine): Likewise.
14544         [ARCH]: Remove conditional code.
14545         [!objdir]: Give error.
14546         [!objdir] (objpfx): Remove.
14547         [!objdir] (common-objpfx): Likewise.
14548         [!objdir] (common-objdir): Likewise.
14549         * configure.in (config_makefile): Remove.  Hardcode Makefile in
14550         AC_CONFIG_FILES call.
14551         * configure: Regenerated.
14553         [BZ #13888]
14554         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14555         or TMPDIR.
14556         (testout): Likewise.
14558         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14559         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14560         $(rtld-installed-name).
14561         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14562         (rtld_installed_name): Likwise.
14563         (runit): Remove function.
14564         (run_getconf): New variable,  Use it for running getconf binary.
14566 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
14568         [BZ #14716]
14569         * string/test-memmem.c (check_result): New function.
14570         (do_one_test): Use it.
14571         (check1): New function.
14572         (test_main): Use it.
14574 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
14576         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14578 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
14580         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14581         (_G_LSEEK64): Likewise.
14582         (_G_MMAP64): Likewise.
14583         (_G_FSTAT64): Likewise.
14584         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14585         (_G_LSEEK64): Likewise.
14586         (_G_MMAP64): Likewise.
14587         (_G_FSTAT64): Likewise.
14588         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14589         unconditional.  Call __mmap64 directly.
14590         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14591         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
14592         __lseek64 directly.
14593         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14594         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
14595         __mmap64 directly.
14596         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14597         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14598         __lseek64 directly.
14599         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14600         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14601         __lseek64 directly.
14602         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14603         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
14604         __lseek64 directly.
14605         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14606         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
14607         __fxstat64 directly.
14608         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14609         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14610         unconditional.
14611         (freopen64) [!_G_OPEN64]: Remove conditional code.
14612         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14613         unconditional.
14614         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14615         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14616         unconditional.
14617         (ftello64) [!_G_LSEEK64]: Remove conditional code.
14618         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14619         unconditional.
14620         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14621         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14622         unconditional.
14623         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14624         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14625         unconditional.
14626         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14627         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14628         unconditional.
14629         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14630         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14631         unconditional.
14632         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14634 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14636         [BZ #12140]
14637         * manual/memory.texi (Malloc Tunable Parameters): Add note
14638         about free list pointers overwriting some perturb bytes.
14639         Wording suggested by Roland McGrath.
14641 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
14643         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14644         (lgamma_test): Likewise.
14645         (tgamma_test): Likewise.
14647 2012-10-16  Florian Weimer  <fweimer@redhat.com>
14649         [BZ #14700]
14650         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14651         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14653 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
14655         * NEWS: Mention BZ #14716.
14656         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14657         when removing AVAILABLE1_USES_J macro.
14659 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14661         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14662         (__bswap_64): __uint64_t for unsigned 64-bit int.
14664 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
14666         * include/string.h (memmem): Declare libc hidden alias.
14667         * string/memmem.c (memmem): Define libc hidden alias.
14668         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14669         __read, __close instead of open, read, close.
14671 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
14673         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14674         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14675         global and hidden.
14676         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14677         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14678         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14679         Likewise.
14680         (__rawmemchr_sse2): Likewise.
14681         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14682         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14683         (__strchr_sse2): Likewise.
14684         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14685         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14686         (__strcasecmp_sse2): Likewise.
14687         (__strncasecmp_sse2): Likewise.
14688         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14689         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14690         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14691         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14692         (__strrchr_sse2): Likewise.
14693         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14694         ifunc-impl-list.c.
14695         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14696         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14697         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14698         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14699         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14700         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14701         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14702         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14703         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14704         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14705         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14706         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14707         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14708         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14709         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14710         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14711         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14712         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14713         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14714         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14715         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14716         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14717         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14718         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14719         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14720         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14721         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14722         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14723         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14724         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14726         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14727         global and hidden.
14728         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14729         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14730         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14731         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14732         Likewise.
14733         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14734         Likewise.
14735         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14736         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14737         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14738         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14739         ifunc-impl-list.c.
14740         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14741         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14742         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14743         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14744         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14745         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14746         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14747         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14748         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14749         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14750         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14751         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14752         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14753         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14754         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14755         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14756         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14757         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14758         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14759         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14760         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14761         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14762         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14763         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14764         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14765         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14766         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14767         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14768         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14769         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14770         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14771         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14772         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14773         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14774         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14775         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14776         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14777         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14778         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14779         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14780         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14782         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14783         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14784         * include/ifunc-impl-list.h: New file.
14785         * misc/ifunc-impl-list.c: Likewise.
14786         * misc/Makefile (routines): Add ifunc-impl-list.
14787         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14788         * string/test-string.h: Include <ifunc-impl-list.h>.
14789         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14790         impl_array): New variables.
14791         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14792         are defined.
14793         (test_init): Call __libc_ifunc_impl_list to initialize
14794         func_list if TEST_IFUNC and TEST_NAME are defined.
14796         * string/Makefile (strop-tests): Add bcopy and bzero.
14797         * string/test-bcopy.c: New file.
14798         * string/test-bzero.c: Likewise.
14799         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14800         defined.
14801         * string/test-memset.c: Support bzero test if TEST_BZERO is
14802         defined.
14803         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14804         __libc_memmove.
14805         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14806         __libc_memset.
14807         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14808         of memset.
14810 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
14812         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14813         * configure: Regenerated.
14815         * Makeconfig (+link-static-before-libc): Don't include
14816         $(link-static-libc).
14818         * libio/libio.h (_IO_pos_t): Remove.
14820 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14822         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
14823         McGrath.
14825 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14827         * crypt/crypt-entry.c: Include fips-private.h.
14828         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14829         * crypt/md5c-test.c (main): Tolerate disabled MD5.
14830         * sysdeps/unix/sysv/linux/fips-private.h: New file.
14831         * sysdeps/generic/fips-private.h: New file, dummy fallback.
14833 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14835         * crypt/crypt-private.h: Include stdbool.h.
14836         (_ufc_setup_salt_r): Return bool.
14837         * crypt/crypt-entry.c: Include errno.h.
14838         (__crypt_r): Return NULL with EINVAL for bad salt.
14839         * crypt/crypt_util.c (bad_for_salt): New.
14840         (_ufc_setup_salt_r): Check that salt is long enough and within
14841         the specified alphabet.
14842         * crypt/badsalttest.c: New file.
14843         * crypt/Makefile (tests): Add it.
14844         ($(objpfx)badsalttest): New.
14846 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
14848         * NEWS: Add entry for BZ #14602.
14850 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14852         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14853         type-generic.
14854         * math/libm-test.inc: Update comment listing what functions and
14855         macros are tested.
14856         (isgreater_test): New function.
14857         (isgreaterequal_test): Likewise.
14858         (isless_test): Likewise.
14859         (islessequal_test): Likewise.
14860         (islessgreater_test): Likewise.
14861         (isunordered_test): Likewise.
14862         (main): Call the new functions.
14864 2012-10-09  Roland McGrath  <roland@hack.frob.com>
14866         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14867         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14868         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14869         * sysdeps/i386/configure: Regenerated.
14870         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14871         * sysdeps/mach/configure: Regenerated.
14872         * sysdeps/mach/hurd/configure: Regenerated.
14873         * sysdeps/powerpc/configure: Regenerated.
14874         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14875         * sysdeps/powerpc/powerpc64/configure: Regenerated.
14876         * sysdeps/s390/s390-32/configure: Regenerated.
14877         * sysdeps/s390/s390-64/configure: Regenerated.
14878         * sysdeps/sh/configure: Regenerated.
14879         * sysdeps/sparc/configure: Regenerated.
14880         * sysdeps/unix/sysv/linux/configure: Regenerated.
14881         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14882         * sysdeps/x86_64/configure: Regenerated.
14884         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14885         defined.  Don't check if MAP is NULL.
14887 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14889         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14890         (_G_stat64): Likewise.
14891         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14892         (_G_stat64): Likewise.
14893         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14894         instead of struct _G_stat64.
14895         * libio/fileops.c (mmap_remap_check): Likewise.
14896         (decide_maybe_mmap): Likewise.
14897         (_IO_new_file_seekoff): Likewise.
14898         (_IO_file_stat): Likewise.
14899         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14900         _G_off64_t.
14901         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14902         instead of struct _G_stat64.
14903         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14905 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
14907         [BZ #14602]
14908         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14909         Replace with ...
14910         (CHECK_EOL): New macro.
14911         (two_way_short_needle): Check beginning of haystack for EOL.  Use
14912         CHECK_EOL.
14913         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14914         Replace with CHECK_EOL.
14915         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14916         Replace with CHECK_EOL.
14918 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
14920         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14921         type-generic.
14922         * math/libm-test.inc: Update comment listing what functions and
14923         macros are tested.
14924         (finite_test): New function.
14925         (isinf_test): Likewise.
14926         (isnan_test): Likewise.
14927         (fpclassify_test): Test subnormal input.
14928         (isfinite_test): Likewise.
14929         (isnormal_test): Likewise.
14930         (main): Call the new functions.
14932 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
14934         [BZ #14660]
14935         * Makerules (%.dynsym): Force C locale when running
14936         $(OBJDUMP) --dynamic-syms.
14938 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
14940         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14941         <stdint.h>.
14943 2012-10-06  David S. Miller  <davem@davemloft.net>
14945         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14946         upper 32-bits of the length value in %o2 since we use branch-on-register
14947         tests which consider the entire 64-bit register.
14949 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
14951         * string/test-strstr.c (check2): Add a test for page boundary.
14953 2012-10-05  David S. Miller  <davem@davemloft.net>
14955         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14956         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14957         file.
14958         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14959         sysdep_routines.
14960         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14961         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14962         and bzero when HWCAP_SPARC_CRYPTO is present.
14964 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
14966         [BZ #14602]
14967         * string/test-strstr.c (check2): New function.
14968         (test_main): Call check2.
14970         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14971         and bug-strchr1.
14972         * string/bug-strcasestr1.c (do_test): Moved to ...
14973         * string/test-strcasestr.c (check1): Here.  New function.
14974         (do_one_test): Break out result checking code into ...
14975         (check_result): This.  New function.
14976         (do_one_test): Call check_result.
14977         (test_main): Call check1.
14978         * string/bug-strchr1.c (do_test): Moved to ...
14979         * string/test-strchr.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-strstr1.c (main): Moved to ...
14985         * string/test-strstr.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-strcasestr1.c: Removed.
14991         * string/bug-strchr1.c: Likewise.
14992         * string/bug-strstr1.c: Likewise.
14994         * elf/Makefile (dl-routines): Add hwcaps.
14995         * elf/dl-support.c (_dl_important_hwcaps): Removed.
14996         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14997         (_dl_important_hwcaps): Moved to ...
14998         * elf/dl-hwcaps.c: Here.  New file.
14999         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15001         [BZ #14557]
15002         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15003         if IS_IN_rtld isn't defined.
15005         * elf/dl-support.c (_dl_sysinfo_map): New.
15006         Include "get-dynamic-info.h" and "setup-vdso.h".
15007         (_dl_non_dynamic_init): Call setup_vdso.
15008         * elf/dynamic-link.h: Don't include <assert.h>.
15009         (elf_get_dynamic_info): Moved to ...
15010         * elf/get-dynamic-info.h: Here.  New file.
15011         * elf/dynamic-link.h: Include "get-dynamic-info.h".
15012         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15013         * elf/setup-vdso.h: Here.  New file.
15014         * elf/rtld.c: Include "setup-vdso.h".
15015         (dl_main): Call setup_vdso.
15017 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
15019         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15020         creal in comment listing functions tested.  List finite, isinf,
15021         isnan, isless, islessequal, isgreater, isgreaterequal,
15022         islessgreater, isunordered, lgamma_r and pow10 as functions and
15023         macros not tested.  Mention which functions not tested are aliases
15024         for other functions.  Fix typo.  Note that signs of NaNs are not
15025         tested.
15027         * scripts/config.guess: Update from config.git.
15028         * scripts/config.sub: Likewise.
15030 2012-10-04  Roland McGrath  <roland@hack.frob.com>
15032         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15033         * misc/madvise.c (madvise): Renamed to __madvise.
15034         Make madvise a weak alias.
15035         * include/sys/mman.h: Declare __madvise.
15036         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15037         * sysdeps/unix/syscalls.list
15038         (madvise): Make __madvise the strong name, and madvise a weak alias.
15039         * sysdeps/unix/sysv/linux/syscalls.list
15040         (madvise, mmap): Remove redundant entries.
15041         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15042         * malloc/malloc.c (mtrim): Likewise.
15043         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15045 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15047         * sysdeps/mach/hurd/dl-cache.c: File removed.
15048         * config.h.in (USE_LDCONFIG): New #undef.
15049         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15050         * configure: Regenerated.
15051         * elf/Makefile (dl-routines): Add dl-cache only under
15052         [$(use-ldconfig) = yes].
15053         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15054         cache on [USE_LDCONFIG].
15055         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15056         [USE_LDCONFIG].
15057         * elf/rtld.c (dl_main): Likewise.
15059 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
15061         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15062         _SC_LEVEL4_CACHE_LINESIZE.
15064 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15066         * sysdeps/unix/bsd/confstr.h: File removed.
15068 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
15070         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15071         sys/sdt-config.h.
15073 2012-10-02  Roland McGrath  <roland@hack.frob.com>
15075         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15076         Make 'mapoff' field ElfW(Off) rather than off_t.
15078 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
15080         * nscd/Makefile: Remove nscd-cflags and all its users.
15081         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15082         (CFLAGS-nonlib): Add compiler flags for nscd modules.
15084         [BZ #10631]
15085         * malloc.c (malloc_printerr): Clarify error message.
15087 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
15089         [BZ #14648]
15090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15091         Set bit_FMA_Usable if FMA is supported.
15092         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15093         macro.
15094         (bit_FMA4_Usable): Updated.
15095         (index_FMA_Usable): New macro.
15096         (CPUID_FMA): Likewise
15097         (HAS_FMA): Defined with bit_FMA_Usable.
15099 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15101         * bits/types.h (__swblk_t): Type removed.
15102         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15103         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15104         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15105         (__SWBLK_T_TYPE): Likewise.
15106         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15107         (__SWBLK_T_TYPE): Likewise.
15108         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15109         (__SWBLK_T_TYPE): Likewise.
15110         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15111         (__SWBLK_T_TYPE): Likewise.
15113 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
15114             Honza Horak <hhorak@redhat.com>
15116         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15117         (xdr_mapname): Use YPMAXMAP as maxsize.
15118         (xdr_peername): Use YPMAXPEER as maxsize.
15119         (xdr_keydat): Use YPAXRECORD as maxsize.
15120         (xdr_valdat): Use YPMAXRECORD as maxsize.
15122 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15124         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15126         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15127         * csu/init-first.c: ... here.
15128         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15129         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15130         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15131         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15132         * sysdeps/i386/init-first.c: File removed.
15133         * sysdeps/sh/init-first.c: File removed.
15135 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
15137         [BZ #14645]
15138         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15139         if x * y might underflow to zero and z is zero.
15140         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15141         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15142         * math/libm-test.inc (min_subnorm_value): New variable.
15143         (fma_test): Add more tests.
15144         (fma_test_towardzero): Likewise.
15145         (fma_test_downward): Likewise
15146         (fma_test_upward): Likewise.
15147         (initialize): Set min_subnorm_value.
15149 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
15151         [BZ #14638]
15152         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15153         0 + 0.
15154         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15155         mode for addition resulting in exact zero.
15156         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15157         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15158         exact 0 + 0.
15159         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15160         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15161         * math/libm-test.inc (fma_test): Add more tests.
15162         (fma_test_towardzero): New function.
15163         (fma_test_downward): Likewise.
15164         (fma_test_upward): Likewise.
15165         (main): Call the new functions.
15167 2012-09-28  David S. Miller  <davem@davemloft.net>
15169         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15171 2012-09-28  Roland McGrath  <roland@hack.frob.com>
15173         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15174         instead of SIGALRM.
15176         * sysdeps/gnu/_G_config.h: Moved to ...
15177         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15178         * sysdeps/mach/hurd/_G_config.h: Moved to ...
15179         * sysdeps/generic/_G_config.h: ... here.
15181         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
15183         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15185         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15186         Conditionalize target on [libnss_test1.so-version].
15188         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15190         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15191         (elfobjdir): Move out of conditionals.
15193         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15194         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15195         (__nss_lookup_function): Conditionalize label remove_from_tree on
15196         [!DO_STATIC_NSS || SHARED], matching its only use.
15198 2012-09-28  David S. Miller  <davem@davemloft.net>
15200         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15201         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15202         file.
15203         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15204         sysdep_routines.
15205         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15206         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15207         when HWCAP_SPARC_CRYPTO is present.
15209 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15211         * io/tst-mknodat.c: Create a FIFO instead of a socket.
15213 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15215         [BZ #6530]
15216         * stdio-common/vfprintf.c (process_string_arg): Revert
15217         2000-07-22 change.
15219 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
15221         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15222         for testcase.
15223         * stdio-common/tst-sprintf.c: Include <locale.h>
15224         (main): Test sprintf's handling of incomplete multibyte
15225         characters.
15227 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
15229         * elf/dl-runtime.c (VERSYMIDX): Removed.
15230         * elf/dl-version.c (VERSYMIDX): Likewise.
15231         * elf/do-rel.h (VERSYMIDX): Likewise.
15232         (VALIDX): Likewise.
15233         * elf/dynamic-link.h (VERSYMIDX): Likewise.
15234         * elf/rtld.c (VALIDX): Likewise.
15235         (ADDRIDX): Likewise.
15236         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15237         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15238         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15239         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15240         (VALIDX): Likewise.
15241         (ADDRIDX): Likewise.
15243 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15245         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15247 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
15249         [BZ #11438]
15250         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15251         to global scope.
15252         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15253         addresses are in the same scope as 192.0.2/24.
15254         * posix/gai.conf: Document new scope table defaults.
15256 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15258         [BZ #5298]
15259         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15260         for ftell.  Compute offsets from write pointers instead.
15261         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15263 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15265         [BZ #14543]
15266         * libio/Makefile (tests): New test case tst-fseek.
15267         * libio/tst-fseek.c: New test case to verify that fseek/ftell
15268         combination works in wide mode.
15269         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15270         state when the external buffer state changes.
15272 2012-09-27  David S. Miller  <davem@davemloft.net>
15274         [BZ #14376]
15275         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15276         pass reloc->r_addend in as the 'high' argument to
15277         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15281 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15283         * rt/tst-aio2.c: Include <pthread.h>.
15284         * rt/tst-aio3.c: Likewise.
15286 2012-09-27  Steve Ellcey  <sellcey@mips.com>
15288         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15290 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
15292         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15293         contents on [SHARED].
15295 2012-09-26  Marek Polacek  <polacek@redhat.com>
15297         [BZ #14530]
15298         [BZ #13741]
15299         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15300         for C++ and GCC <4.3 as well as for non GCC compilers.
15302 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15306 2012-09-25  Roland McGrath  <roland@hack.frob.com>
15308         * Makefile.in (all, install): Declare with .PHONY.
15309         Reported by Michael Hope <michael.hope@linaro.org>.
15311 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15313         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15314         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15315         system header.
15316         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15317         Likewise.
15318         (sydep_routines): Add the new and the internal functions.
15319         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15320         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15322         (GLIBC_2.17): Add the new function.
15323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15324         (GLIBC_2.17): Likewise.
15325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15326         (GLIBC_2.17): Likewise.
15327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15328         (GLIBC_2.17): Likewise.
15329         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15331 2012-09-25  Alan Modra  <amodra@gmail.com>
15333         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15334         Add release barrier before setting once_control to say
15335         initialisation is done.  Add hints on lwarx.  Use macro in
15336         place of isync.
15337         (clear_once_control): Add release barrier.
15339 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15341         [BZ #13629]
15342         * math/s_clog.c (__clog): Handle more values close to |z| = 1
15343         specially.
15344         * math/s_clog10.c (__clog10): Likewise.
15345         * math/s_clog10f.c (__clog10f): Likewise.
15346         * math/s_clog10l.c (__clog10l): Likewise.
15347         * math/s_clogf.c (__clogf): Likewise.
15348         * math/s_clogl.c (__clogl): Likewise.
15349         * math/Makefile (libm-calls): Add x2y2m1.
15350         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15351         (__x2y2m1): Likewise.
15352         (__x2y2m1l): Likewise.
15353         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15354         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15355         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15356         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15357         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15358         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15359         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15360         * sysdeps/i386/fpu/libm-test-ulps: Update.
15361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15363         [BZ #14621]
15364         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15365         int as type of variable DEPTH.
15366         (glob): Use size_t instead of int as type of variables NEWCOUNT
15367         and OLD_PATHC.
15369 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15371         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15372         Add s_sincosf-sse2.
15373         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15374         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15375         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15376         macros for using routine as __sincosf_ia32.
15377         Use macro for function declaration and weak_alias.
15378         * sysdeps/i386/fpu/libm-test-ulps: Update.
15380         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15381         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15383         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15384         subnormal argument.
15385         * math/s_cexpf.c (__cexpf): Likewise.
15386         * math/s_csinf.c (__csinf): Likewise.
15387         * math/s_csinhf.c (__csinhf): Likewise.
15388         * math/s_ctanf.c (__ctanf): Likewise.
15389         * math/s_ctanhf.c (__ctanhf): Likewise.
15390         * math/s_ccosh.c (__ccoshf): Likewise.
15391         * math/s_cexp.c (__cexpl): Likewise.
15392         * math/s_csin.c (__csin): Likewise.
15393         * math/s_csinh.c (__csinh): Likewise.
15394         * math/s_ctan.c (__ctan): Likewise.
15395         * math/s_ctanh.c (ctanh): Likewise.
15396         * math/s_ccoshl.c (__ccoshl): Likewise.
15397         * math/s_cexpl.c (__cexpl): Likewise.
15398         * math/s_csinl.c (__csinl): Likewise.
15399         * math/s_csinhl.c (__csinhl): Likewise.
15400         * math/s_ctanl.c (__ctanl): Likewise.
15401         * math/s_ctanhl.c (__ctanhl): Likewise.
15403 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15405         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15406         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15407         (_IO_off_t): Define to __off_t, not _G_off_t.
15408         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15409         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15410         (_IO_wint_t): Define to wint_t, not _G_wint_t.
15411         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15412         type of __dummy and __dummy2 fields.
15413         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15414         (_G_ssize_t): Likewise.
15415         (_G_off_t): Likewise.
15416         (_G_pid_t): Likewise.
15417         (_G_uid_t): Likewise.
15418         (_G_wchar_t): Likewise.
15419         (_G_wint_t): Likewise.
15420         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15421         (_G_ssize_t): Likewise.
15422         (_G_off_t): Likewise.
15423         (_G_pid_t): Likewise.
15424         (_G_uid_t): Likewise.
15425         (_G_wchar_t): Likewise.
15426         (_G_wint_t): Likewise.
15427         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15428         (_G_ssize_t): Likewise.
15429         (_G_off_t): Likewise.
15430         (_G_pid_t): Likewise.
15431         (_G_uid_t): Likewise.
15432         (_G_wchar_t): Likewise.
15433         (_G_wint_t): Likewise.
15435 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15437         * malloc/arena.c: Include malloc-sysdep.h.
15438         (shrink_heap): Use check_may_shrink_heap to decide if madvise
15439         is sufficient to shrink the heap or an unmap is needed.
15440         * sysdeps/generic/malloc-sysdep.h: New file.  Define
15441         new function check_may_shrink_heap.
15442         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
15443         new function check_may_shrink_heap.
15445 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15447         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15448         comments.
15450 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
15452         * catgets/test-gencat.sh: Add "set -e".
15453         * elf/tst-pathopt.sh: Likewise.
15454         * grp/tst_fgetgrent.sh: Likewise.
15455         * iconvdata/run-iconv-test.sh: Likewise.
15456         * intl/tst-gettext.sh: Likewise.
15457         * intl/tst-gettext2.sh: Likewise.
15458         * intl/tst-gettext4.sh: Likewise.
15459         * intl/tst-gettext6.sh: Likewise.
15460         * intl/tst-translit.sh: Likewise.
15461         * io/ftwtest-sh: Likewise.
15462         * libio/test-freopen.sh: Likewise.
15463         * malloc/tst-mtrace.sh: Likewise.
15464         * posix/globtest.sh: Likewise.
15465         * posix/tst-getconf.sh: Likewise.
15466         * posix/wordexp-tst.sh: Likewise.
15467         * stdio-common/tst-printf.sh: Likewise.
15468         * stdio-common/tst-unbputc.sh: Likewise.
15469         * stdlib/tst-fmtmsg.sh: Likewise.
15470         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15471         * catgets/Makefile: Do not specify -e option when running
15472         testsuite shell scripts.
15473         * elf/Makefile: Likewise.
15474         * grp/Makefile: Likewise.
15475         * iconvdata/Makefile: Likewise.
15476         * intl/Makefile: Likewise.
15477         * io/Makefile: Likewise.
15478         * libio/Makefile: Likewise.
15479         * malloc/Makefile: Likewise.
15480         * posix/Makefile: Likewise.
15481         * stdio-common/Makefile: Likewise.
15482         * stdlib/Makefile: Likewise.
15483         * sysdeps/x86_64/Makefile: Likewise.
15485         * io/ftwtest-sh: Add copyright header.
15486         * posix/globtest.sh: Likewise.
15487         * posix/tst-getconf.sh: Likewise.
15488         * posix/wordexp-tst.sh: Likewise.
15489         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15491 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
15493         [BZ #13679]
15494         * Makeconfig (+link): Defined as $(+link-static) if
15495         $(build-shared) isn't yes.
15496         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15497         isn't yes.
15498         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15500         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15502         [BZ #14562]
15503         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15504         new chunk size with MALLOC_ALIGN_MASK.
15506 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
15508         [BZ #5044]
15509         * stdio-common/printf_fphex.c: Include <stdbool.h> and
15510         <rounding-mode.h>.
15511         (__printf_fphex): Determine rounding using get_rounding_mode and
15512         round_away.
15513         * stdio-common/tst-printf-round.c (struct hex_test): New
15514         structure.
15515         (hex_tests): New variable.
15516         (test_hex_in_one_mode): New function.
15517         (do_test): Also run tests for hex float output.
15519 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
15521         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15522         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15523         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15524         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15525         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15526         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15527         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15528         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15530 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
15532         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15533         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15534         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15535         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15537 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
15539         [BZ #14579]
15540         * elf/rtld.c (dl_main): Limit the check for self loading to normal
15541         mode only.
15542         * elf/tst-rtld-load-self.sh: New test.
15543         * elf/Makefile: Run it.
15545 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
15547         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15548         (tst-writev-ENV): Remove.
15549         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15551 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
15553         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15555 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
15557         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15558         unconditional.
15559         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15560         Likewise.
15561         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15562         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15563         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15564         Likewise.
15566 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
15568         [BZ #14587]
15569         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15570         * config.make.in (have-cpp-asm-debuginfo): Removed.
15571         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15572         * configure: Regenerated.
15574 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
15576         [BZ #5044]
15577         * stdio-common/printf_fp.c: Include <stdbool.h> and
15578         <rounding-mode.h>.
15579         (___printf_fp): Determine rounding using get_rounding_mode and
15580         round_away.
15581         * stdio-common/tst-printf-round.c: New file.
15582         * stdio-common/Makefile (tests): Add tst-printf-round.
15583         (link-libm): New variable.
15584         ($(objpfx)tst-printf-round): Depend in $(link-libm).
15586 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
15588         [BZ #14576]
15589         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15590         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15591         Likewise.
15592         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15593         Likewise.
15595 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
15597         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15598         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15599         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15600         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15602 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
15604         [BZ #14518]
15605         * include/rounding-mode.h: New file.
15606         * sysdeps/generic/get-rounding-mode.h: Likewise.
15607         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15608         * stdlib/strtod_l.c: Include <rounding-mode.h>.
15609         (MAX_VALUE): New macro.
15610         (MIN_VALUE): Likewise.
15611         (overflow_value): New function.
15612         (underflow_value): Likewise.
15613         (round_and_return): Use overflow_value and underflow_value to
15614         determine return values in overflow and underflow cases.  Use
15615         round_away to determine rounding depending on rounding mode.
15616         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15617         determine return values in overflow and underflow cases.
15618         * stdlib/tst-strtod-round.c: Include <fenv.h>.
15619         (struct test_results): New structure.
15620         (struct test): Use struct test_results to store expected results
15621         for all rounding modes.
15622         (TEST): Include expected results for all rounding modes.
15623         (test_in_one_mode): New function.
15624         (do_test): Use test_in_one_mode to compute and check results.
15625         Check results for all rounding modes.
15626         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15627         $(link-libm).
15629 2012-12-09  Allan McRae  <allan@archlinux.org>
15631         * sysdeps/i386/fpu/libm-test-ulps: Update
15633 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
15635         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15636         (_G_int32_t): Likewise.
15637         (_G_uint16_t): Likewise.
15638         (_G_uint32_t): Likewise.
15639         (_G_HAVE_BOOL): Likewise.
15640         (_G_HAVE_ATEXIT): Likewise.
15641         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15642         (_G_HAVE_IO_FILE_OPEN): Likewise.
15643         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15644         (_G_int32_t): Likewise.
15645         (_G_uint16_t): Likewise.
15646         (_G_uint32_t): Likewise.
15647         (_G_HAVE_BOOL): Likewise.
15648         (_G_HAVE_ATEXIT): Likewise.
15649         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15650         (_G_HAVE_IO_FILE_OPEN): Likewise.
15651         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15652         (_G_int32_t): Likewise.
15653         (_G_uint16_t): Likewise.
15654         (_G_uint32_t): Likewise.
15655         (_G_HAVE_BOOL): Likewise.
15656         (_G_HAVE_ATEXIT): Likewise.
15657         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15658         (_G_HAVE_IO_FILE_OPEN): Likewise.
15660 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
15662         * csu/libc-tls.c: Update copyright years.
15664 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
15666         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15667         [!_G_USING_THUNKS]: Remove conditional code.
15668         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15669         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15671         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15672         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15673         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15674         (_G_VTABLE_LABEL_PREFIX): Likewise.
15675         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15676         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15677         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15678         (_G_VTABLE_LABEL_PREFIX): Likewise.
15679         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15680         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15681         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15682         (_G_VTABLE_LABEL_PREFIX): Likewise.
15683         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15685 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
15687         * libio/Makefile: Include ../Makeconfig before tests.
15688         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15689         only if $(build-shared) is yes.
15691         * iconv/gconv_db.c: Update copyright years.
15693 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15695         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15696         unwind info if defined PIC. Fix special cases description.
15697         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15699         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15700         DP_HI_MASK entry.
15701         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15703 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
15705         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15707         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15708         is NULL.
15710         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15711         (LDLIBS-tst-chk4): This.
15712         (LDFLAGS-tst-chk5): Renamed to ...
15713         (LDLIBS-tst-chk5): This.
15714         (LDFLAGS-tst-chk6): Renamed to ...
15715         (LDLIBS-tst-chk6): This.
15716         (LDFLAGS-tst-lfschk4): Renamed to ...
15717         (LDLIBS-tst-lfschk4): This.
15718         (LDFLAGS-tst-lfschk5): Renamed to ...
15719         (LDLIBS-tst-lfschk5): This.
15720         (LDFLAGS-tst-lfschk6): Renamed to ...
15721         (LDLIBS-tst-lfschk6): This.
15723         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15724         on $(common-objpfx)soversions.mk.
15726 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
15728         [BZ #10014]
15729         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15730         example host name.
15732 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15734         * malloc/arena.c (arena_get_retry): New function that gets
15735         another arena for the caller to try its request on.
15736         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15737         current arena cannot fulfill the request.
15738         (__libc_memalign): Likewise.
15739         (__libc_memalign): Likewise.
15740         (__libc_pvalloc): Likewise.
15741         (__libc_calloc): Likewise.
15743 2012-09-05  John Tobey  <john.tobey@gmail.com>
15745         [BZ #13542]
15746         * manual/arith.texi (Operations on Complex): Fix description
15747         of carg branch cut.
15749 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15751         [BZ #10014]
15752         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15753         host name.
15755         [BZ #10038]
15756         * manual/memory.texi (Memory): Make order of menu items match
15757         order of sections.
15759 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15761         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15762         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
15763         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15765 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15767         * csu/libc-tls.c (static_dtv): Renamed to ...
15768         (_dl_static_dtv): This.  Make it global.
15769         (_dl_initial_dtv): Removed.
15770         (__libc_setup_tls): Updated.
15771         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15772         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15773         DL_INITIAL_DTV.
15775 2012-09-06  Petr Machata  <pmachata@redhat.com>
15777         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15778         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15779         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15780         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15782 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15784         [BZ #14545]
15785         * csu/libc-tls.c (_dl_initial_dtv): New variable.
15786         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15787         freeing dtv[-1].
15789 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15791         [BZ #14544]
15792         * Makeconfig (link-static-before-libc): Replace $(+prector)
15793         with $(+prectorT).
15794         (link-static-after-libc): Replace $(+postctor) with
15795         $(+postctorT).
15796         (link-bounded): Replace $(+prector)/$(+postctor) with
15797         $(+prectorT)/$(+postctorT).
15798         (+prectorT): New macro.
15799         (+postctorT): Likewise.
15801 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15803         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15804         (round_str): Handle values above the maximum for IBM long double
15805         as inexact.
15806         * stdlib/tst-strtod-round.c (tests): Regenerated.
15808 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15810         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15811         assembler flag.
15812         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15813         zarch_nohighgprs around the zarch optimized routines.
15814         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15815         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15816         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15817         for zarch.
15819 2012-09-05  David S. Miller  <davem@davemloft.net>
15821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15823         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15824         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15825         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15826         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15827         entries.
15829 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15831         * malloc/arena.c: Fold copyright years.
15832         * malloc/mcheck.c, malloc/memusage.c: Likewise.
15834 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15836         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15838 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15840         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
15842 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15844         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15845         change internal state upon failure.
15847 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15849         * malloc/mcheck.c (mcheck_check_all): Fix typo.
15850         * malloc/memusage.c (mmap): Likewise.
15851         (mmap64, mremap): Likewise.  Adjust name in comment.
15853 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15855         * libio/fileops.c: Fix typos in comments.
15856         * libio/oldfileops.c: Likewise.
15857         * libio/wfileops.c: Likewise.
15859 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15861         [BZ #1349]
15862         * malloc/Makefile (tests): Add tst-malloc-usable test case.
15863         (tst-malloc-usable-ENV): Set environment for test case.
15864         * malloc/hooks.c (malloc_check_get_size): New function to get
15865         requested size.
15866         * malloc/malloc.c (musable): Use malloc_check_get_size.
15867         * malloc/tst-malloc-usable.c: New test case.
15869 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15871         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15873 2012-09-05  Allan McRae  <allan@archlinux.org>
15875         [BZ #13966]
15876         * configure.in (CXX_SYSINCLUDES): Use compiler output to
15877         determine header location.
15878         * configure: Regenerated.
15880 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15882         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15883         float format.
15884         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15885         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15886         format.
15887         (test): Regenerate.
15889 2012-09-04  David S. Miller  <davem@davemloft.net>
15891         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15892         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15893         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15895 2012-09-04  Florian Weimer  <fweimer@redhat.com>
15897         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15898         failures.
15900         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15902 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
15904         [BZ #9914]
15905         * libio/iogetdelim.c: Include <limits.h>.
15906         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15907         + len + 1 would overflow.
15909 2012-09-03  Andreas Jaeger  <aj@suse.de>
15911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15912         * sysdeps/i386/fpu/libm-test-ulps: Update.
15914 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15916         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15917         Add s_sinf-sse2, s_conf-sse2.
15919         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15920         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15921         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15922         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15924         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15925         for using routine as __sinf_ia32.
15926         Use macro for function declaration and weak_alias.
15927         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15928         for using routine as __cosf_ia32.
15929         Use macro for function declaration and weak_alias.
15931         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15932         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15934         * sysdeps/x86_64/fpu/s_sinf.S: New file.
15935         * sysdeps/x86_64/fpu/s_cosf.S: New file.
15936         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15938         * math/libm-test.inc (cos_test): Add more test cases.
15939         (sin_test): Likewise.
15940         (sincos_test): Likewise.
15942 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15944         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15945         (IFUNC_RESOLVE): Make pointers to the specialized implementations
15946         hidden.
15947         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15949 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
15951         [BZ #14538]
15952         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15953         first element of the GOT.
15954         (elf_machine_load_address): Return the difference between
15955         the runtime address of _DYNAMIC and elf_machine_dynamic ().
15957 2012-09-01  Allan McRae  <allan@archlinux.org>
15959         [BZ #13412]
15960         * configure.in (AWK): Require gawk version 3.0 or later.
15961         * configure: Regenerated.
15963 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
15965         * sysdeps/unix/sysv/linux/kernel-features.h
15966         (__ASSUME_POSIX_CPU_TIMERS): Remove.
15967         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15968         [__NR_clock_getres]: Make code unconditional.
15969         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15970         (clock_getcpuclockid): Remove code left unreachable by removal of
15971         conditionals.
15972         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15973         code unconditional.
15974         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15975         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15976         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15977         Make code unconditional.
15978         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15979         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15980         * sysdeps/unix/sysv/linux/clock_settime.c
15981         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15982         conditional code.
15983         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15984         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15986 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
15988         [BZ #14476]
15989         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15990         scripts/test-installation.pl.
15992         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15993         and $ld_so_version if it is set.
15995 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15997         [BZ #14516]
15998         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15999         failure if reading from procfs failed.
16000         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16002 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16004         * sysdeps/unix/sysv/linux/kernel-features.h
16005         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16006         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16007         Remove conditional code.
16008         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16009         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16010         Remove conditional code.
16011         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16012         * sysdeps/unix/sysv/linux/i386/fxstat.c
16013         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16014         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16015         * sysdeps/unix/sysv/linux/i386/fxstatat.c
16016         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16017         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16018         * sysdeps/unix/sysv/linux/i386/lxstat.c
16019         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16020         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16021         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16022         Remove conditional code.
16023         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16024         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16025         Remove conditional code.
16026         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16027         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16028         <kernel-features.h>.
16029         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16030         Remove.
16031         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16032         Remove conditional code.
16033         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16034         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16035         Remove conditional.
16037 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
16039         [BZ #5400]
16040         * NEWS: Add fixed bug number.
16042 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16044         [BZ #14519]
16045         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16046         underflowing exponent in case of negative sign.
16047         * stdlib/tst-strtod-round-data: Add more tests.
16048         * stdlib/tst-strtod-round.c (tests): Regenerated.
16050         [BZ #3479]
16051         * stdlib/strtod_l.c (NDIG): Remove.
16052         (HEXNDIG): Likewise.
16053         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16054         smallest representable value.
16055         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16056         lie within an exact representation of 1/2 ulp of the result.
16057         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16058         unconditionally.
16059         (TENS_P9_IDX): Define unconditionally.
16060         (TENS_P9_SIZE): Likewise.
16061         (TENS_P10_IDX): Likewise.
16062         (TENS_P10_SIZE): Likewise.
16063         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16064         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16065         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16066         entries for 10^2^13 and 10^2^14.
16067         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16068         (TENS_P13_IDX): Define.
16069         (TENS_P13_SIZE): Likewise.
16070         (TENS_P14_IDX): Likewise.
16071         (TENS_P14_SIZE): Likewise.
16072         (_fpioconst_pow10): Change array size to
16073         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
16074         unconditional.
16075         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16076         1024]: Add entries for 10^2^13 and 10^2^14.
16077         [LAST_POW10 > _LAST_POW10]: Remove #error.
16078         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16079         (_fpioconst_pow10): Change array size to
16080         FPIOCONST_POW10_ARRAY_SIZE.
16081         * stdlib/gen-fpioconst.c: New file.
16082         * stdlib/gen-tst-strtod-round.c: Likewise.
16083         * stdlib/tst-strtod-round-data: Likewise.
16084         * stdlib/tst-strtod-round.c: Likewise.
16085         * stdlib/Makefile (tests): Add tst-strtod-round.
16087         [BZ #14459]
16088         * stdlib/strtod_l.c: Include <stdint.h>.
16089         (NDEBUG): Do not define.
16090         (round_and_return): Change EXPONENT parameter to type intmax_t.
16091         Rearrange calculations to avoid internal overflow possibilities.
16092         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16093         Rearrange calculations to avoid internal overflow possibilities.
16094         Assert that number fits inside MPNSIZE limbs.
16095         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16096         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
16097         calculations and add assertions to avoid internal overflow
16098         possibilities.  Add casts to avoid signed/unsigned operations.
16099         * stdlib/tst-strtod-overflow.c: New file.
16100         * stdlib/Makefile (tests): Add tst-strtod-overflow.
16102 2012-08-25  Marek Polacek  <polacek@redhat.com>
16104         * time/time.h: Fix some typos in comments.
16106 2012-08-23  Roland McGrath  <roland@hack.frob.com>
16108         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16109         * posix/tst-rfc3484-2.c: Likewise.
16110         * posix/tst-rfc3484-3.c: Likewise.
16112 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
16114         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16115         (EF_ARM_ABI_FLOAT_HARD): Likewise.
16117 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
16119         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16120         #include of fxstatat64.c.
16122 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16124         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16125         * shadow/getspent_r.c: Likewise.
16126         * shadow/getspnam.c: Likewise.
16127         * shadow/getspnam_r.c: Likewise.
16128         * gshadow/getsgent.c: Likewise.
16129         * gshadow/getsgent_r.c: Likewise.
16130         * gshadow/getsgnam.c: Likewise.
16131         * gshadow/getsgnam_r.c: Likewise.
16132         * inet/getnetbyad.c: Likewise.
16133         * inet/getnetbyad_r.c: Likewise.
16134         * inet/getnetbynm.c: Likewise.
16135         * inet/getnetbynm_r.c: Likewise.
16136         * inet/getnetent.c: Likewise.
16137         * inet/getnetent_r.c: Likewise.
16138         * inet/getproto.c: Likewise.
16139         * inet/getproto_r.c: Likewise.
16140         * inet/getprtent.c: Likewise.
16141         * inet/getprtent_r.c: Likewise.
16142         * inet/getprtname.c: Likewise.
16143         * inet/getprtname_r.c: Likewise.
16144         * inet/getrpcbyname.c: Likewise.
16145         * inet/getrpcbyname_r.c: Likewise.
16146         * inet/getrpcbynumber.c: Likewise.
16147         * inet/getrpcbynumber_r.c: Likewise.
16148         * inet/getrpcent.c: Likewise.
16149         * inet/getrpcent_r.c: Likewise.
16150         * inet/getaliasent.c: Likewise.
16151         * inet/getaliasent_r.c: Likewise.
16152         * inet/getaliasname.c: Likewise.
16153         * inet/getaliasname_r.c: Likewise.
16154         * nscd/getgrgid_r.c: Likewise.
16155         * nscd/getgrnam_r.c: Likewise.
16156         * nscd/gethstbyad_r.c: Likewise.
16157         * nscd/gethstbynm3_r.c: Likewise.
16158         * nscd/getpwnam_r.c: Likewise.
16159         * nscd/getpwuid_r.c: Likewise.
16160         * nscd/getsrvbynm_r.c: Likewise.
16161         * nscd/getsrvbypt_r.c: Likewise.
16162         * nscd/gai.c: Likewise.
16164         * configure.in (build_nscd): New substituted variable, set
16165         by --disable-build-nscd and defaults to $use_nscd.
16166         * configure: Regenerated.
16167         * config.make.in (build-nscd): New substituted variable.
16168         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16169         Change conditional to require [$(build-nscd) = yes] as well.
16170         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16172         [BZ# 13696]
16173         * configure.in (use_nscd): New substituted variable, set by
16174         --disable-nscd.  If enabled, define USE_NSCD.
16175         * configure: Regenerated.
16176         * config.h.in: Add USE_NSCD.
16177         * config.make.in (use-nscd): New substituted variable.
16178         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16179         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16180         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16181         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16182         (CFLAGS-getgrnam_r.c): Likewise.
16183         (CFLAGS-initgroups.c): Likewise.
16184         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16185         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16186         Variables removed.
16187         * inet/getnetgrent_r.c
16188         (nscd_setnetgrent): New function, broken out of ...
16189         (setnetgrent): ... here.  Call it.
16190         (innetgr): Conditionalize nscd bits on [USE_NSCD].
16191         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16192         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16193         * nscd/Makefile (routines, aux): Move definitions after include of
16194         Makeconfig.  Conditionalize on [$(use-nscd) != no].
16195         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16196         Conditionalize on [USE_NSCD].
16197         (is_nscd, nscd_init_cb): Likewise.
16198         (nss_load_library): Conditionalize init callback on [USE_NSCD].
16199         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16200         * nss/nss_db/db-init.c: Likewise.
16201         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16202         [USE_NSCD].
16203         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16204         (make_request): Use it.
16205         (cache_valid_p): New function.
16206         (__check_pf): Use it.
16207         * NEWS: Add item for --disable-nscd.
16209 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
16211         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16212         to support sed >= 4.2.1-20-ga9bf076.
16213         * configure: Regenerated.
16215 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16217         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16218         Conditionalize whole body on [IREL].
16220 2012-08-22  Jeff Law <law@redhat.com>
16222         [BZ #14505]
16223         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16224         if the family is PF_UNSPEC.
16226 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
16228         * Makerules (lib-version): Rename from V.
16229         (install-lib-nosubdir): Change V to lib-version.
16231 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
16233         [BZ #14252]
16234         * powerpc32/power6/wcschr.c: New file.
16235         * powerpc32/power6/wcscpy.c: New file.
16236         * powerpc32/power6/wcsrchr.c: New file.
16237         * powerpc64/power6/wcschr.c: New file.
16238         * powerpc64/power6/wcscpy.c: New file.
16239         * powerpc64/power6/wcsrchr.c: New file.
16241 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16243         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16244         (two_way_short_needle): Use it.
16245         * string/strstr.c (AVAILABLE1_USES_J): Define.
16246         * string/strcasestr.c: Likewise.
16248         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16249         array references.
16250         * string/strcasestr.c (TOLOWER): Make side-effect safe.
16252         [BZ #11607]
16253         * NEWS: Add an entry.
16254         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16255         define their defaults.
16256         (two_way_short_needle): Detect end-of-string on-the-fly.
16257         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16258         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16259         * string/bug-strcasestr1.c: New test.
16260         * string/Makefile: Run it.
16262 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16264         [BZ #11607]
16265         * string/str-two-way.h (two_way_short_needle): Optimize matching of
16266         the first character.
16268 2012-08-21  Roland McGrath  <roland@hack.frob.com>
16270         * csu/elf-init.c (__libc_csu_irel): Function removed.
16271         * csu/libc-start.c (apply_irel): New function.
16272         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16274 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
16276         * sysdeps/unix/sysv/linux/kernel-features.h
16277         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16278         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16279         <kernel-features.h>.
16280         [__NR_fadvise64_64]: Make code unconditional.
16281         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16282         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16283         !__NR_fadvise64_64)]: Likewise.
16284         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16285         !__NR_fadvise64_64))]: Likewise.
16286         [__NR_fadvise64]: Make code unconditional.
16287         [!__NR_fadvise64]: Remove conditional code.
16288         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16289         <kernel-features.h>.
16290         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16291         unconditional.
16292         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16293         conditional code.
16294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16295         not include <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/s390/s390-32/posix_fadvise64.c: Do not
16301         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.
16307 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16309         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16310         slight instruction rearrangements per scrollpipe analysis.
16311         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16313 2012-08-20  Roland McGrath  <roland@hack.frob.com>
16315         * manual/syslog.texi (syslog; vsyslog, closelog):
16316         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16317         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16319         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16320         DSOCAPS to match condition on defining it.
16322 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
16324         * sysdeps/unix/sysv/linux/kernel-features.h
16325         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16327         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16328         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16330         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16331         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16333         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16334         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16336         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16337         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16339         * sysdeps/unix/sysv/linux/kernel-features.h
16340         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16341         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16342         unconditional.
16343         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16344         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16345         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16346         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16347         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16348         Make code unconditional.
16349         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16350         (__mmap64) [!__NR_mmap2]: Likewise.
16351         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16352         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16353         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16354         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16355         [__NR_mmap2]: Make code unconditional.
16356         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16357         (__mmap64) [!__NR_mmap2]: Likewise.
16359 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16361         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16363 2012-08-18  Andreas Jaeger  <aj@suse.de>
16365         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16367 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16369         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16370         * include/unistd.h (__have_sock_cloexec): Likewise.
16371         (__have_pipe2): Likewise.
16372         (__have_dup3): Likewise.
16374 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16376         [BZ #9685]
16377         * include/unistd.h (__have_pipe2): Change define into an extern int.
16378         (__have_dup3): Likewise.
16379         * socket/have_sock_cloexec.c: Include fcntl.h.
16380         (__have_pipe2): New variable.
16381         (__have_dup3): Likewise.
16383 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
16385         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16387 2012-08-17  Marek Polacek  <polacek@redhat.com>
16389         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16390         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16392 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16394         * configure.in: Add AC_SUBST for sysheaders.
16395         * configure: Regenerated.
16396         * config.make.in (sysheaders): New substituted variable.
16398         * sysdeps/unix/mkfifo.c: Moved ...
16399         * sysdeps/posix/mkfifo.c: ... here.
16400         * sysdeps/unix/mkfifoat.c: Moved ...
16401         * sysdeps/posix/mkfifoat.c: ... here.
16403         * sysdeps/unix/utime.c: Moved ...
16404         * sysdeps/posix/utime.c: ... here.
16406         * sysdeps/unix/time.c: Moved ...
16407         * sysdeps/posix/time.c: ... here.
16408         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16409         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16411         * sysdeps/unix/nice.c: Moved ...
16412         * sysdeps/posix/nice.c: ... here.
16414         * sysdeps/unix/alarm.c: Moved ...
16415         * sysdeps/posix/alarm.c: ... here.
16417         * intl/Makefile ($(codeset_mo)): Depend on the input file.
16419 2012-08-17  Jeff Law <law@redhat.com>
16421         * intl/Makefile (codeset_mo): New variable.
16422         ($(codeset_mo)): New target.
16423         (tst-codeset.out): Depend on that.  Remove explicit rule.
16424         (tst-gettext3.out, tst-gettext5.out): Likewise.
16425         (LOCPATH-ENV, tst-codeset-ENV): New variables.
16426         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16427         * intl/tst-codeset.sh: Remove.
16428         * intl/tst-gettext3.sh: Likewise.
16429         * intl/tst-gettext5.sh: Likewise.
16431 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16433         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
16434         * sysdeps/unix/syscalls.list: ... here.
16436         * sysdeps/posix/getaddrinfo.c
16437         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16438         (gaiconf_init, gaiconf_reload): Use them.
16439         [!_STATBUF_ST_NSEC]
16440         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16441         Define using time_t rather than struct timespec.
16443         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16444         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16445         Macros removed.
16446         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16447         [!NO_THREADS].
16448         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16449         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16450         Likewise.
16452         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16453         __libc_cleanup_push argument.
16455         * bits/param.h: New file.
16456         * misc/sys/param.h: New file.
16457         * include/sys/param.h: New file.
16458         * misc/Makefile (headers): Add bits/param.h.
16459         * sysdeps/generic/sys/param.h: File removed.
16460         * sysdeps/unix/sysv/linux/bits/param.h: New file.
16461         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16462         * sysdeps/mach/hurd/bits/param.h: New file.
16463         * sysdeps/mach/hurd/sys/param.h: File removed.
16465         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16466         last change.
16468         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16469         [_IO_MTSAFE_IO].
16470         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16471         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16472         New macros.
16474         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16475         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16476         rather than -D_IO_MTSAFE_IO conditionally.
16477         * stdio-common/Makefile (CPPFLAGS): Likewise.
16478         * wcsmbs/Makefile (CPPFLAGS): Likewise.
16479         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16480         Use $(libio-mtsafe).
16481         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16482         of -D_IO_MTSAFE_IO.
16483         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16484         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16485         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16486         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16487         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16488         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16489         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16490         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16491         (CFLAGS-fread_u_chk.c): Likewise.
16492         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16493         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16494         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16495         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16496         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16497         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16498         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16499         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16500         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16502         * libio/Makefile: Test [$(libc-reentrant) = yes]
16503         instead of [$(filter %REENTRANT, $(defines)) nonempty].
16505         * Makeconfig
16506         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16507         * sysdeps/pthread/configure: File removed.
16508         * sysdeps/pthread/Makeconfig: New file.
16509         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16510         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16512 2012-08-16  Gary Benson  <gbenson@redhat.com>
16514         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16515         unmapping the first object in a namespace.
16517 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16519         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16520         (__internal_setnetgrent): ... this.  Add internal_function to
16521         definition.  Add libc_hidden_def.
16522         (setnetgrent): Update caller.
16523         (internal_endnetgrent): Renamed to ...
16524         (__internal_endnetgrent): ... this.  Add internal_function to
16525         definition.  Add libc_hidden_def.
16526         (endnetgrent): Update caller.
16527         (internal_getnetgrent_r): Renamed to ...
16528         (__internal_getnetgrent_r): ... this.  Add internal_function to
16529         definition.  Add libc_hidden_def.
16530         (__getnetgrent_r): Update caller.
16531         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
16533 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16535         * stdlib/longlong.h: Update from GCC.
16537 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16539         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16540         on _QL, which is set by umul_ppmm but never used.
16541         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16542         variables, which are set by GMP macros but never used.
16543         * stdio-common/_itowa.c (_itowa): Likewise.
16544         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16545         * stdlib/mod_1.c (mpn_mod_1): Likewise.
16547 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
16549         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16550         struct La_sh_regs is not constant.
16551         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16552         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16553         and struct La_sparc64_regs are not constant.
16555 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16557         * sysdeps/unix/sysv/linux/kernel-features.h
16558         (__ASSUME_POSIX_TIMERS): Remove.
16559         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16560         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16561         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16562         Make code unconditional.
16563         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16564         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16565         Make code unconditional.
16566         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16567         * sysdeps/unix/sysv/linux/clock_nanosleep.c
16568         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16569         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16570         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16571         Make code unconditional.
16572         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16573         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16574         (__libc_missing_posix_timers): Remove.
16576 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16578         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16579         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16581         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16583         * elf/dl-sym.c: Include <stdlib.h>.
16585         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16586         constants, which avoids warnings in 32-bit builds.
16588         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16589         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16591         * misc/lseek.c: File moved to ...
16592         * io/lseek.c: ... here.
16594         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16596         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16597         shifting LEN more than 31 bits at once.
16599 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16601         [BZ #14195]
16602         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16603         segmentation fault for a case of two empty input strings.
16604         * string/test-strncasecmp.c (check1): Renamed to...
16605         (bz12205): ...this.
16606         (bz14195): Add new testcase for two empty input strings and N > 0.
16607         (test_main): Call new testcase, adapt for renamed function.
16609 2012-08-15  Andreas Jaeger  <aj@suse.de>
16611         [BZ #14090]
16612         * crypt/md5test2.c: New test, based on test supplied by Serge
16613         Belyshev <belyshev@depni.sinp.msu.ru>.
16614         * crypt/Makefile (xtests): Add md5test-giant..
16615         * crypt/Makefile ($(objpfx)md5test-giant): Add.
16617 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
16619         [BZ #14090]
16620         * crypt/md5.c (md5_process_block): Don't assume the buffer
16621         length is less than 2**32.
16622         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16623         length is less than 2**64.
16625 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16627         * string/str-two-way.h: Include <sys/param.h>.
16628         (MAX): Macro removed.
16630         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16631         Move #define and #undef of memmove to just before and after
16632         including <string.h>.
16634         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16635         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16636         and after including <string.h>.  Move declarations of
16637         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16638         to before #include "string/memmove.c".
16640         * include/dirent.h: Declare __getdirentries.
16642         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16643         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16645 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
16647         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16648         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16649         * sysdeps/i386/configure: Regenerated.
16650         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16651         STABS_CURRENT_FILE, and STABS_FUN.
16652         (END): Remove call to STABS_FUN_END.
16653         (STABS_CURRENT_FILE1): Delete.
16654         (STABS_CURRENT_FILE): Likewise.
16655         (STABS_FUN): Likewise.
16656         (STABS_FUN_END): Likewise.
16657         (STABS_FUN2): Likewise.
16658         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16659         * sysdeps/x86_64/configure: Regenerated.
16661 2012-08-14  Roland McGrath  <roland@hack.frob.com>
16663         * elf/dl-open.c: Include <atomic.h>.
16664         * elf/dl-lookup.c: Likewise.
16666 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
16668         * sysdeps/unix/sysv/linux/kernel-features.h
16669         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16670         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16671         unconditionally.
16672         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16673         unconditionally.
16674         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16675         condition on __ASSUME_CLONE_THREAD_FLAGS.
16677 2012-08-14  Andreas Jaeger  <aj@suse.de>
16679         * sysdeps/i386/fpu/libm-test-ulps: Update.
16681 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
16683         * include/atomic.h (atomic_exchange_and_add): Split into ...
16684         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16685         New atomic macros.
16687 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
16689         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16691 2012-08-13  Jeff Law <law@redhat.com>
16693         * manual/stdio.texi (snprintf): Clarify handling of the trailing
16694         null byte in the output string.
16696 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
16698         * sysdeps/unix/sysv/linux/kernel-features.h
16699         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16700         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16701         (__ASSUME_ARG_MAX_STACK_BASED): Define.
16702         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16703         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16704         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
16705         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16707 2012-08-09  Jeff Law <law@redhat.com>
16709         [BZ #13939]
16710         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16711         When avoid_arena is set, don't retry in the that arena.  Pick the
16712         next one, whatever it might be.
16713         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16714         (arena_lock): Pass in new parameter to arena_get2.
16715         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16716         arena_get2.
16717         (__libc_malloc): Unify retrying after main arena failure with
16718         __libc_memalign version.
16719         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16721 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16723         [BZ #14166]
16724         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16725         to __redirect_strstr.
16726         (__strstr_sse42): Use typeof __redirect_strstr.
16727         (__strstr_ia32): Likewise.
16728         (__libc_strstr): New prototype.
16729         (strstr): Renamed to ...
16730         (__libc_strstr): This.
16731         (strstr): New strong alias of __libc_strstr.
16732         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16733         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16734         __redirect_time.
16735         Include <time.h>.
16736         (__libc_time): New prototype.
16737         (time_ifunc): Replace time with __libc_time.
16738         (time): New strong alias and hidden definition of __libc_time.
16739         (__GI_time): Remove strong alias.
16740         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16741         Include <stddef.h>.
16742         (memmove): Redefined to __redirect_memmove.
16743         (__memmove_sse2): Use typeof __redirect_memmove.
16744         (__memmove_ssse3): Likewise.
16745         (__memmove_ssse3_back): Likewise.
16746         (__libc_memmove): New prototype.
16747         (memmove): Renamed to ...
16748         (__libc_memmove): This.
16749         (memmove): New strong alias of __libc_memmove.
16751 2012-08-08  Mark Salter  <msalter@redhat.com>
16753         * elf/elf.h
16754         (R_MN10300_TLS_GD): Define.
16755         (R_MN10300_TLS_LD): Likewise.
16756         (R_MN10300_TLS_LDO): Likewise.
16757         (R_MN10300_TLS_GOTIE): Likewise.
16758         (R_MN10300_TLS_IE): Likewise.
16759         (R_MN10300_TLS_LE): Likewise.
16760         (R_MN10300_TLS_DTPMOD): Likewise.
16761         (R_MN10300_TLS_DTPOFF): Likewise.
16762         (R_MN10300_TLS_TPOFF): Likewise.
16763         (R_MN10300_SYM_DIFF): Likewise.
16764         (R_MN10300_ALIGN): Likewise.
16765         (R_MN10300_NUM): Update.
16767 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
16769         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16770         Remove.
16772 2012-08-08  Roland McGrath  <roland@hack.frob.com>
16774         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16776         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16777         sysdeps/unix -> sysdeps/posix move.
16778         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16780 2012-08-07      Allan McRae     <allan@archlinux.org>
16782         [BZ #14303]
16783         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16784         (SUNOS_CPP): Likewise.
16785         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16786         not found.
16787         (open_input): Call CPP using execvp.
16789 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16791         * sysdeps/unix/sysv/linux/kernel-features.h
16792         (__ASSUME_PROT_GROWSUPDOWN): Remove.
16793         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16794         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16795         (__ASSUME_WAITID_SYSCALL): Likewise.
16796         * sysdeps/unix/sysv/linux/dl-execstack.c
16797         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16798         code unconditional.
16799         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16800         conditional code.
16801         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16802         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16803         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16804         code.
16805         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16806         unconditional.
16807         [__ASSUME_WAITID_SYSCALL]: Likewise.
16808         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16810 2012-08-07  Roland McGrath  <roland@hack.frob.com>
16812         * sysdeps/unix/closedir.c: Renamed to ...
16813         * sysdeps/posix/closedir.c: ... here.
16814         * sysdeps/unix/dirfd.c: Renamed to ...
16815         * sysdeps/posix/dirfd.c: ... here.
16816         * sysdeps/unix/dirstream.h: Renamed to ...
16817         * sysdeps/posix/dirstream.h: ... here.
16818         * sysdeps/unix/fdopendir.c: Renamed to ...
16819         * sysdeps/posix/fdopendir.c: ... here.
16820         * sysdeps/unix/opendir.c: Renamed to ...
16821         * sysdeps/posix/opendir.c: ... here.
16822         * sysdeps/unix/readdir.c: Renamed to ...
16823         * sysdeps/posix/readdir.c: ... here.
16824         * sysdeps/unix/readdir_r.c: Renamed to ...
16825         * sysdeps/posix/readdir_r.c: ... here.
16826         * sysdeps/unix/rewinddir.c: Renamed to ...
16827         * sysdeps/posix/rewinddir.c: ... here.
16828         * sysdeps/unix/seekdir.c: Renamed to ...
16829         * sysdeps/posix/seekdir.c: ... here.
16830         * sysdeps/unix/telldir.c: Renamed to ...
16831         * sysdeps/posix/telldir.c: ... here.
16832         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16833         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16834         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16835         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16837         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16838         * bits/fcntl.h: ... here.
16840         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16841         not 0.
16842         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16843         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16844         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16845         (struct flock): Move l_start, l_len to the beginning.
16846         Use __pid_t for l_pid.
16847         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16848         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16849         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16850         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16851         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16852         [__USE_LARGEFILE64] (struct flock64): New type.
16853         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16855         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16856         * bits/dirent.h: ... here.
16858         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16859         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16861 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16863         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16864         Change from 2.6.0 to 2.6.16.
16865         * sysdeps/unix/sysv/linux/configure: Regenerated.
16866         * sysdeps/unix/sysv/linux/kernel-features.h
16867         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16868         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16869         version.
16870         (__ASSUME_UTIMES): Likewise.
16871         (__ASSUME_CLONE_STOPPED): Remove.
16872         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16873         architectures, not kernel version.
16874         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16875         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16876         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16877         (__ASSUME_WAITID_SYSCALL): Likewise.
16878         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16879         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16880         * README: State 2.6.16 as minimum Linux kernel version.  Do not
16881         refer to older versions.
16883 2012-08-06  Roland McGrath  <roland@hack.frob.com>
16885         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16886         Define alphasort64 as an alias.
16887         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16888         Define versionsort64 as an alias.
16889         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16890         Define scandir64 as an alias.
16891         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16892         Define scandirat64 as an alias.
16893         * dirent/alphasort64.c (alphasort64):
16894         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16895         * dirent/versionsort64.c: Likewise.
16896         * dirent/scandir64.c: Likewise.
16897         * dirent/scandirat64.c: Likewise.
16898         * sysdeps/wordsize-64/alphasort.c: File removed.
16899         * sysdeps/wordsize-64/alphasort64.c: File removed.
16900         * sysdeps/wordsize-64/scandir.c: File removed.
16901         * sysdeps/wordsize-64/scandir64.c: File removed.
16902         * sysdeps/wordsize-64/scandirat.c: File removed.
16903         * sysdeps/wordsize-64/scandirat64.c: File removed.
16904         * sysdeps/wordsize-64/versionsort.c: File removed.
16905         * sysdeps/wordsize-64/versionsort64.c: File removed.
16906         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16907         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16908         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16909         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16910         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16911         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16912         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16913         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16915         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16916         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16917         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16918         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16919         [defined __arch64__ || defined __sparcv9]
16920         (__INO_T_MATCHES_INO64_T): New macro.
16921         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16922         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16923         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16924         * sysdeps/unix/sysv/linux/bits/dirent.h
16925         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16926         (_DIRENT_MATCHES_DIRENT64): New macro.
16928         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16929         Define lockf64 as an alias.
16930         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16931         Define fseeko64 as an alias.
16932         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16933         Define ftello64 as an alias.
16934         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16935         Define _IO_fgetpos64 and fgetpos64 as aliases.
16936         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16937         Define _IO_fsetpos64 and fsetpos64 as aliases.
16938         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16939         Conditionalize body on this.
16940         * libio/fseeko64.c: Likewise.
16941         * libio/ftello64.c: Likewise.
16942         * libio/iofgetpos64.c: Likewise.
16943         * libio/iofsetpos64.c: Likewise.
16944         * sysdeps/wordsize-64/lockf.c: File removed.
16945         * sysdeps/wordsize-64/lockf64.c: File removed.
16946         * sysdeps/wordsize-64/fseeko.c: File removed.
16947         * sysdeps/wordsize-64/fseeko64.c: File removed.
16948         * sysdeps/wordsize-64/ftello.c: File removed.
16949         * sysdeps/wordsize-64/ftello64.c: File removed.
16950         * sysdeps/wordsize-64/iofgetpos.c: File removed.
16951         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16952         * sysdeps/wordsize-64/iofsetpos.c: File removed.
16953         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16954         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16955         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16956         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16957         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16958         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16959         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16960         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16961         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16962         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16963         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16965         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16966         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16967         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16968         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16969         [defined __arch64__ || defined __sparcv9]
16970         (__OFF_T_MATCHES_OFF64_T): New macro.
16971         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16972         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16973         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16974         (__OFF_T_MATCHES_OFF64_T): New macro.
16976 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16978         * stdlib/secure-getenv.c (__secure_getenv): Replace
16979         GLIBC_2_16 with GLIBC_2_17.
16981 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16983         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16984         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16986 2012-08-03  David S. Miller  <davem@davemloft.net>
16988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16990 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16992         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16993         Remove.
16994         (__ASSUME_CORRECT_SI_PID): Likewise.
16995         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16996         (__ASSUME_TMPFS_NAME): Likewise.
16997         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16998         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16999         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17000         (HAVE_AUX_SECURE): Make definition unconditional.
17001         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17002         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17004 2012-08-03  Roland McGrath  <roland@hack.frob.com>
17006         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17007         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17008         * sysdeps/mach/hurd/eloop-threshold.h: New file.
17009         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17010         __eloop_threshold instead of SYMLOOP_MAX.
17012         * sysdeps/generic/eloop-threshold.h: New file.
17013         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17014         of MAXSYMLINKS.
17015         * elf/chroot_canon.c (chroot_canon): Likewise.
17017 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17019         [BZ #13717]
17020         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17021         Change to 2.6.0 everywhere.
17022         * sysdeps/unix/sysv/linux/configure: Regenerated.
17023         * sysdeps/unix/sysv/linux/kernel-features.h
17024         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17025         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17026         kernel versions.
17027         (__ASSUME_POSIX_TIMERS): Define unconditionally.
17028         (__ASSUME_FUTEX_REQUEUE): Remove.
17029         (__ASSUME_STATFS64): Define unconditionally.
17030         (__ASSUME_AT_SECURE): Likewise.
17031         (__ASSUME_CORRECT_SI_PID): Likewise.
17032         (__ASSUME_TGKILL): Define without depending on kernel version for
17033         i386.
17034         (__ASSUME_UTIMES): Likewise.
17035         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17036         kernel version.
17037         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17038         (__ASSUME_TMPFS_NAME): Likewise.
17039         * README: Update reference to Linux kernel versions.
17041 2012-08-02  Marek Polacek  <polacek@redhat.com>
17043         [BZ# 14150]
17044         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
17045         libc_cv_asm_type_prefix with %.
17046         * configure: Regenerated.
17047         * include/libc-symbols.h: Remove comment about
17048         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17049         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17050         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17051         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17052         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17053         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17054         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17055         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17056         * elf/tst-unique2mod1.c: Likewise.
17057         * elf/tst-unique1mod2.c: Likewise.
17058         * elf/tst-unique1mod1.c: Likewise.
17059         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17060         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17061         Replace ASM_TYPE_DIRECTIVE with .type.
17062         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17063         * sysdeps/i386/sysdep.h: Likewise.
17064         * sysdeps/x86_64/sysdep.h: Likewise.
17065         * sysdeps/sh/sysdep.h: Likewise.
17066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17067         Do not define ASM_TYPE_DIRECTIVE.
17068         * sysdeps/powerpc/sysdep.h: Likewise.
17069         * sysdeps/powerpc/powerpc32/sysdep.h:
17070         Replace ASM_TYPE_DIRECTIVE with .type.
17071         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17072         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17073         * sysdeps/i386/fpu/e_powf.S: Likewise.
17074         * sysdeps/i386/fpu/e_expl.S: Likewise.
17075         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17076         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17077         * sysdeps/i386/fpu/e_pow.S: Likewise.
17078         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17079         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17080         * sysdeps/i386/fpu/s_expm1.S: Likewise.
17081         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17082         * sysdeps/i386/fpu/e_log2.S: Likewise.
17083         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17084         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17085         * sysdeps/i386/fpu/e_powl.S: Likewise.
17086         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17087         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17088         * sysdeps/i386/fpu/e_logl.S: Likewise.
17089         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17090         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17091         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17092         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17093         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17094         * sysdeps/i386/fpu/e_log.S: Likewise.
17095         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17096         * sysdeps/i386/fpu/e_logf.S: Likewise.
17097         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17098         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17099         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17100         * sysdeps/i386/fpu/e_log10.S: Likewise.
17101         * sysdeps/i386/fpu/s_frexp.S: Likewise.
17102         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17103         * sysdeps/i386/fpu/s_asinh.S: Likewise.
17104         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17105         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17106         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17107         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17108         * sysdeps/i386/i686/strtok.S: Likewise.
17109         * sysdeps/i386/i386-mcount.S: Likewise.
17110         * sysdeps/i386/strtok.S: Likewise.
17111         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17112         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17113         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17114         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17115         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17116         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17117         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17118         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17119         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17120         * sysdeps/x86_64/_mcount.S: Likewise.
17121         * sysdeps/x86_64/strtok.S: Likewise.
17122         * sysdeps/sh/_mcount.S: Likewise.
17124 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17126         * libio/iofopen.c: Include <fcntl.h>.
17127         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17128         (_IO_fopen64, fopen64): Define as aliases.
17129         * libio/iofopen64.c: Include <fcntl.h>.
17130         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17131         Conditionalize body on this.
17132         * sysdeps/wordsize-64/iofopen.c: File removed.
17133         * sysdeps/wordsize-64/iofopen64.c: File removed.
17135 2012-08-01  Marek Polacek  <polacek@redhat.com>
17137         * libc/Makeconfig: Use elf in place of binfmt-subdir.
17138         Use dlfcn directly instead of a variable.
17139         (binfmt-subdir): Do not define.
17140         (dlfcn): Likewise.
17142 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
17144         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17145         Remove all definitions.
17146         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17147         <kernel-features.h>.
17148         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17149         (miss_F_GETOWN_EX): Remove all definitions.
17150         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17151         macro definition.
17152         [!__ASSUME_FCNTL64]: Remove conditional code.
17153         [__ASSUME_FCNTL64]: Make code unconditional.
17154         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17155         <kernel-features.h>.
17156         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17157         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17158         (lockf64) [__NR_fcntl64]: Make code unconditional.
17159         (lockf64) [__ASSUME_FCNTL64]: Likewise.
17161         * sysdeps/unix/sysv/linux/kernel-features.h
17162         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17163         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17164         Make code unconditional.
17165         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17166         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17168         [__NR_vfork]: Make code unconditional.
17169         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17170         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17172         [__NR_vfork]: Make code unconditional.
17173         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17174         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17176 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17178         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17179         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17181         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17182         Define mkstemp64 as an alias.
17183         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17184         Define mkstemps64 as an alias.
17185         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17186         Define mkostemp64 as an alias.
17187         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17188         Define mkostemps64 as an alias.
17189         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17190         Conditionalize body on this.
17191         * misc/mkostemp64.c: Likewise.
17192         * misc/mkostemps64.c: Likewise.
17193         * misc/mkstemps64.c: Likewise.
17194         * sysdeps/wordsize-64/mkstemp64.c: File removed.
17195         * sysdeps/wordsize-64/mkostemp64.c: File removed.
17196         * sysdeps/wordsize-64/mkostemp.c: File removed.
17197         * sysdeps/wordsize-64/mkstemp.c: File removed.
17198         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17199         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17200         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17201         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17203         [BZ #14138]
17204         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17205         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17206         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17207         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17209         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17210         compat_symbol macros from <shlib-compat.h> rather than the underlying
17211         default_symbol_version and symbol_version macros, so that DEFAULT
17212         lines in shlib-versions are respected.
17213         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17215 2012-08-01  Florian Weimer  <fweimer@redhat.com>
17217         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17218         Declare with warn_unused_result.
17219         (setgid, setregid, setegid, setresgid): Likewise.
17220         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17221         Likewise.
17222         * WUR-REPORT: Remove set*id functions.
17224 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
17226         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17228 2012-07-31  Roland McGrath  <roland@hack.frob.com>
17230         [BZ #10191]
17231         * include/sys/socket.h (__libc_accept, __libc_accept4):
17232         Add attribute_hidden.
17233         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17235         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17236         use of PTR_MANGLE.
17237         * inet/getnetgrent_r.c (setup): Likewise.
17239         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17241 2012-07-31  David S. Miller  <davem@davemloft.net>
17243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17245 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
17247         [BZ #13629]
17248         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17249         value between 1.0 and 2.0 and smaller part has absolute value less
17250         than 1.0.
17251         * math/s_clog10.c (__clog10): Likewise.
17252         * math/s_clog10f.c (__clog10f): Likewise.
17253         * math/s_clog10l.c (__clog10l): Likewise.
17254         * math/s_clogf.c (__clogf): Likewise.
17255         * math/s_clogl.c (__clogl): Likewise.
17256         * math/libm-test.inc (clog_test): Add more tests.
17257         (clog10_test): Likewise.
17258         * sysdeps/i386/fpu/libm-test-ulps: Update.
17259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17261 2012-07-31  Florian Weimer  <fweimer@redhat.com>
17263         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17264         Exit with zero in case no suitable GID is found, and write a
17265         message to standard error.
17267 2012-07-30  Roland McGrath  <roland@hack.frob.com>
17269         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17270         rather than to 1.
17271         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17272         (MAXPATHLEN): Removed.
17273         (NOGROUP, NODEV): New macros.
17274         (setbit, clrbit, isset, isclr): New macros.
17275         (howmany, roundup, powerof2): New macros.
17276         (DEV_BSIZE): New macro.
17278         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17279         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17281         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17282         definition on [!__NO_LONG_DOUBLE_MATH].
17284         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17285         PTR_MANGLE and PTR_DEMANGLE.
17287         * socket/accept4.c (accept4): Rename to __libc_accept4.
17288         Define accept4 as a weak alias.
17290         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17291         on [_DIRENT_HAVE_D_TYPE].
17292         * io/ftw.c (ftw_dir): Likewise.
17294         * io/xmknod.c (__xmknod): Don't check PATH for being null.
17296         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17298         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17299         Use the BSD numbers rather than the arbitrary ones we had.
17300         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17301         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17302         (SIGXCPU, SIGXFSZ): New macros.
17303         (_NSIG): Now 32.
17305         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17306         initializer on [_LIBC_REENTRANT].
17308         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17309         definitions inside [_POSIX_MAPPED_FILES].
17311         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17313         * dirent/opendir.c: Include <fcntl.h>.
17315         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17316         (__libc_getspecific): Likewise.
17317         (__libc_key_create): Likewise.
17319         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17320         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17321         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17322         (tmpfile64): Define as alias.
17323         * sysdeps/wordsize-64/tmpfile.c: File removed.
17324         * sysdeps/wordsize-64/tmpfile64.c: File removed.
17325         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17326         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17328         * stdio-common/vfscanf.c: Include <stdbool.h>.
17329         * nss/makedb.c: Likewise.
17330         * stdio-common/_i18n_number.h: Likewise.
17331         * argp/argp-help.c: Likewise.
17332         * posix/wordexp.c: Likewise.
17333         * sysdeps/posix/spawni.c: Likewise.
17334         * nss/nss_files/files-initgroups.c: Likewise.
17335         * stdio-common/reg-modifier.c: Include <stdlib.h>.
17336         * nss/nss_files/files-initgroups.c: Likewise.
17337         * nss/nss_db/db-netgrp.c: Likewise.
17338         * nss/nss_db/db-initgroups.c: Likewise.
17339         * io/fchmodat.c: Include <sys/stat.h>.
17341         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17342         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17344         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17345         [HAVE_MMAP].
17347         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17348         Add multiple inclusion protection.
17350 2012-07-27  David S. Miller  <davem@davemloft.net>
17352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17354 2012-07-27  Gary Benson  <gbenson@redhat.com>
17356         [BZ #14298]
17357         * elf/rtld.c: Include <stap-probe.h>.
17358         (dl_main): Added static probes "init_start" and "init_complete".
17359         * elf/dl-load.c: Include <stap-probe.h>.
17360         (lose): Take new parameter "nsid".
17361         Added static probe "map_failed".
17362         (_dl_map_object_from_fd): Pass namespace id to lose.
17363         Added static probe "map_start".
17364         (open_verify): Pass namespace id to lose.
17365         * elf/dl-open.c: Include <stap-probe.h>.
17366         (dl_open_worker) Added static probes "map_complete", "reloc_start"
17367         and "reloc_complete".
17368         * elf/dl-close.c: Include <stap-probe.h>.
17369         (_dl_close_worker): Added static probes "unmap_start" and
17370         "unmap_complete".
17371         * elf/rtld-debugger-interface.txt: New file documenting the above.
17373 2012-07-26  Roland McGrath  <roland@hack.frob.com>
17375         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17376         rather than a string variable.
17377         * sunrpc/rpc_main.c (h_output): Likewise.
17378         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17380 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
17382         * inet/check_native.c: New file.
17384 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
17386         [BZ #13629]
17387         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17388         if larger part has absolute value 1.0.
17389         * math/s_clog10.c (__clog10): Likewise.
17390         * math/s_clog10f.c (__clog10f): Likewise.
17391         * math/s_clog10l.c (__clog10l): Likewise.
17392         * math/s_clogf.c (__clogf): Likewise.
17393         * math/s_clogl.c (__clogl): Likewise.
17394         * math/libm-test.inc (clog_test): Add more tests.
17395         (clog10_test): Likewise.
17396         * sysdeps/i386/fpu/libm-test-ulps: Update.
17397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17399         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17400         (pltexit): Likewise.
17401         (La_regs): Likewise.
17402         (La_retval): Likewise.
17403         (int_retval): Likewise.
17404         Update #error for removed macros to refer only to definitions in
17405         tst-audit.h.
17406         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17407         macro.
17408         (pltexit): Likewise.
17409         (La_regs): Likewise.
17410         (La_retval): Likewise.
17411         (int_retval): Likewise.
17412         * elf/tst-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
17437         macro.
17438         (pltexit): Likewise.
17439         (La_regs): Likewise.
17440         (La_retval): Likewise.
17441         (int_retval): Likewise.
17442         * sysdeps/generic/tst-audit.h: Update comment to refer only to
17443         macro definitions in tst-audit.h.
17444         * sysdeps/i386/tst-audit.h: New file.
17445         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17446         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17447         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17448         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17449         * sysdeps/sh/tst-audit.h: Likewise.
17450         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17451         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17452         * sysdeps/x86_64/tst-audit.h: Likewise.
17454 2012-07-26  Andreas Jaeger  <aj@suse.de>
17456         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17457         ptrace.
17459         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17460         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17461         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17462         PTRACE_O_MASK.
17463         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17464         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17465         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17467         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17468         value.
17470         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17471         _sigsys.
17472         (si_call_addr, si_syscall, si_arch): Define new macro.
17473         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17474         _sigsys.
17475         (si_call_addr, si_syscall, si_arch): Define new marcro.
17476         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17477         _sigsys.
17478         (si_call_addr, si_syscall, si_arch): Define new macro.
17479         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17480         _sigsys.
17481         (si_call_addr, si_syscall, si_arch): Define new macro.
17483 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17485         [BZ #13717]
17486         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17487         Change to 2.4.21 where previously 2.4.1.
17488         * sysdeps/unix/sysv/linux/configure: Regenerated.
17489         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17490         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17491         Linux kernel version.
17492         (__ASSUME_STD_AUXV): Remove.
17493         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17494         kernel version.
17495         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17496         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17497         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17498         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17499         (__ASSUME_NETLINK_SUPPORT): Likewise.
17500         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17501         (__no_netlink_support): Remove conditional definition.
17502         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17503         Remove.
17504         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17505         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17506         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17507         (if_nameindex_ioctl): Remove.
17508         (if_nameindex_netlink): Do not handle __no_netlink_support.
17509         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17510         code.
17511         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17512         Remove conditional code.
17513         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17514         code.
17515         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17516         unconditional.
17517         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17518         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17519         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17520         Remove.
17521         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17522         [!__ASSUME_STD_AUXV]: Remove conditional code.
17523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17524         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17525         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17527         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17528         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17529         code.
17530         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17532         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17533         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17534         conditional code.
17535         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17537         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17538         code.
17539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17540         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17541         conditional code.
17542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17543         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17544         code unconditional.
17545         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17546         conditional code.
17547         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17548         unconditional.
17549         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17550         conditional code.
17551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17552         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17553         unconditional.
17554         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17555         conditional code.
17556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17557         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17558         code unconditional.
17559         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17560         conditional code.
17561         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17562         unconditional.
17563         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17564         conditional code.
17565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17566         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17567         code unconditional.
17568         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17569         conditional code.
17570         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17571         unconditional.
17572         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17573         conditional code.
17575 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
17577         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17578         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17579         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17580         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17581         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17582         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17583         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17584         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17585         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17586         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17587         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17588         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17589         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17590         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17591         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17592         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17593         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17594         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17595         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17596         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17597         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17598         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17599         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17601 2012-07-25  Florian Weimer  <fweimer@redhat.com>
17603         * Versions.def: Add GLIBC_2.17.
17604         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17605         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17606         Introduce __libc_secure_getenv.
17607         * stdlib/Versions (2.17): Add secure_getenv
17608         (GLIBC_PRIVATE): Add __libc_secure_getenv.
17609         * stdlib/secure-getenv.c: Rename __secure_getenv to
17610         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
17611         symbol __secure_getenv for GLIBC_2.0.
17612         * stdlib/tst-secure-getenv.c: New.
17613         * stdlib/Makefile (tests): Add testcase.
17614         * manual/startup.texi (Environment Access): Document
17615         secure_getenv.
17616         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17617         __libc_secure_getenv.
17618         * inet/ruserpass.c (ruserpass): Likewise.
17619         * malloc/mtrace.c (mtrace): Likewise.
17620         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17621         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17622         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17623         * sysdeps/posix/tempname.c: Likewise.  Evaluate
17624         HAVE_SECURE_GETENV.
17625         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17626         __secure_getenv to __libc_secure_getenv.
17627         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17629         Likewise.
17630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17631         Likewise.
17632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17634         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17640 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17642         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17643         (struct La_i86_retval): Likewise.
17644         (struct La_x86_64_regs): Likewise.
17645         (struct La_x86_64_retval): Likewise.
17646         (struct La_x32_regs): Likewise.
17647         (struct La_x32_retval): Likewise.
17648         (struct La_ppc32_regs): Likewise.
17649         (struct La_ppc32_retval): Likewise.
17650         (struct La_ppc64_regs): Likewise.
17651         (struct La_ppc64_retval): Likewise.
17652         (struct La_sh_regs): Likewise.
17653         (struct La_sh_retval): Likewise.
17654         (struct La_s390_32_regs): Likewise.
17655         (struct La_s390_32_retval): Likewise.
17656         (struct La_s390_64_regs): Likewise.
17657         (struct La_s390_64_retval): Likewise.
17658         (struct La_sparc32_regs): Likewise.
17659         (struct La_sparc32_retval): Likewise.
17660         (struct La_sparc64_regs): Likewise.
17661         (struct La_sparc64_retval): Likewise.
17662         (struct audit_ifaces): Remove architecture-specific pltenter and
17663         pltexit members.
17664         * sysdeps/i386/ldsodefs.h: New file.
17665         * sysdeps/powerpc/ldsodefs.h: Likewise.
17666         * sysdeps/s390/ldsodefs.h: Likewise.
17667         * sysdeps/sh/ldsodefs.h: Likewise.
17668         * sysdeps/sparc/ldsodefs.h: Likewise.
17669         * sysdeps/x86_64/ldsodefs.h: Likewise.
17671 2012-07-25  Marek Polacek  <polacek@redhat.com>
17673         [BZ #6808]
17674         * math/libm-test.inc (yn_test): Add another test.
17675         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17676         to ERANGE when the result is +-Inf.
17677         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17678         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17679         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17680         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17682 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
17684         * conform/data/time.h-data (NULL): Use macro-constant.  Require
17685         equal to 0.
17686         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
17687         clock_t.
17688         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
17690 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
17692         * configure.in <sysdeps resolving>: Correct printing
17693         Implies_before.
17694         * configure: Regenerate.
17696 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
17698         * math/w_ilogb.c: Include <limits.h>.
17699         * math/w_ilogbl.c: Likewise.
17701 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17703         * manual/lang.texi (__va_copy): Document primarily as ISO C99
17704         va_copy.  Document allowing for unavailable va_copy only as
17705         pre-C99 compatibility.
17706         * manual/string.texi (Copying and Concatenation): Use va_copy
17707         instead of __va_copy in concat example.
17709 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
17711         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17712         (__sendto): Use create_address_port.  Initialize APORT and deallocate
17713         it if not null.
17715         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17716         with O_NOLINK passed to __file_name_lookup.
17718         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17719         with O_NOLINK passed to __file_name_lookup.
17721         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17722         negative N or less than NGIDS.
17724         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17725         type to string_t.  Set ERANGE as errno and return it if NAME is not big
17726         enough.  Use memcpy instead of strncpy.
17728 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17730         * elf/Makefile (check-data): Remove.
17731         (localplt.data): New vpath directive.
17732         ($(objpfx)check-localplt.out): Use localplt.data from vpath
17733         instead of $(check-data).
17734         * scripts/data/localplt-generic.data: Move to ...
17735         * sysdeps/generic/localplt.data: ... here.
17736         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17737         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17738         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17740         ... here.
17741         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17743         ... here.
17744         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17746         ... here.
17747         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17749         ... here.
17750         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17752         ... here.
17753         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17755         ... here.
17757 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17759         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17760         PPC32 and PPC64 files.
17761         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17762         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17764 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17766         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17767         __makecontext_ret to ...
17768         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17769         ... here and call exit if uc_link is NULL.  New file.
17770         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17771         __makecontext_ret.S.
17772         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17773         __makecontext_ret to ...
17774         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17775         ... here and call exit if uc_link is NULL.  New file.
17776         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17777         __makecontext_ret.S.
17779 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17781         * elf/elf.h (R_390_IRELATIVE): New definition.
17782         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17783         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
17784         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17785         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17786         (elf_machine_lazy_rel): Likewise.
17787         * sysdeps/s390/dl-irel.h: New file.
17788         * sysdeps/s390/s390-64/memcpy.S: New asm code.
17789         * sysdeps/s390/s390-64/memset.S: New asm code.
17790         * sysdeps/s390/s390-64/memcmp.S: New asm code.
17791         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17792         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17793         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17794         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17795         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17796         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17797         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17798         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17799         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17800         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17801         * sysdeps/s390/s390-32/memcpy.S: New asm code.
17802         * sysdeps/s390/s390-32/memset.S: New asm code.
17803         * sysdeps/s390/s390-32/memcmp.S: New asm code.
17805 2012-07-17  Marek Polacek  <polacek@redhat.com>
17807         [BZ #14349]
17808         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17809         * sysdeps/s390/s390-64/configure.in: Likewise.
17810         * sysdeps/sparc/configure.in: Likewise.
17811         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17812         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17813         * sysdeps/i386/configure.in: Likewise.
17814         * sysdeps/x86_64/configure.in: Likewise.
17815         * sysdeps/sh/configure.in: Likewise.
17816         * sysdeps/s390/s390-32/configure: Regenerated.
17817         * sysdeps/s390/s390-64/configure: Likewise.
17818         * sysdeps/x86_64/configure: Likewise.
17819         * sysdeps/sh/configure: Likewise.
17820         * sysdeps/powerpc/powerpc64/configure: Likewise.
17821         * sysdeps/powerpc/powerpc32/configure: Likewise.
17822         * sysdeps/sparc/configure: Likwise.
17823         * sysdeps/i386/configure: Likewise.
17825         * elf/dl-open.c: Comment fixes.
17827 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
17829         * Makefile [CXX] (check-data): Remove.
17830         [CXX] (c++-types.data): New vpath directive.
17831         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17832         vpath.  Do not allow for C++ type data being missing.
17833         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17834         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17835         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17836         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17837         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17838         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17839         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17841         ... here.
17842         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17844         ... here.
17845         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17847         ... here.
17848         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17850         ... here.
17851         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17853         ... here.
17854         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17856         ... here.
17857         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17859         ... here.
17860         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17863         * elf/tls-macros.h (TLS_LE): Move architecture-specific
17864         definitions to architecture-specific files.
17865         (TLS_IE): Likewise.
17866         (TLS_LD): Likewise.
17867         (TLS_GD): Likewise.
17868         * sysdeps/i386/tls-macros.h: New file.
17869         * sysdeps/powerpc/tls-macros.h: Likewise.
17870         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17871         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17872         * sysdeps/sh/tls-macros.h: Likewise.
17873         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17874         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17875         * sysdeps/x86_64/tls-macros.h: Likewise.
17877 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17879         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17880         zero value for regular exit case.
17882         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17883         (__start_context): Preserve zero value for regular exit case.
17885 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17886             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17888         * manual/setjmp.texi (setcontext): Clarify normal process
17889         termination when uc_link is the null pointer.
17890         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17891         exit call.
17893 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
17895         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17896         preprocessor.  Test for each exception mask separately.
17898 2012-07-16  Andreas Jaeger  <aj@suse.de>
17900         * po/ru.po: Update from translation team.
17902 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
17904         * conform/data/string.h-data (NULL): Use macro-constant.  Require
17905         equal to 0.
17906         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17907         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17908         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17909         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17910         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17912 2012-07-13  Andreas Jaeger  <aj@suse.de>
17914         * po/fr.po: Update from translation team.
17916 2012-07-12  Marek Polacek  <polacek@redhat.com>
17918         [BZ #14173]
17919         * math/libm-test.inc (yn_test): Add test for BZ #14173.
17920         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17921         loop condition.
17923 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
17925         [BZ #13717]
17926         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17927         Change to 2.4.1 where previously 2.4.0.
17928         * sysdeps/unix/sysv/linux/configure: Regenerated.
17929         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17930         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17931         version.
17932         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17933         (__ASSUME_AT_CLKTCK): Remove.
17934         (__ASSUME_AT_PAGESIZE): Likewise.
17935         (__ASSUME_AT_XID): Likewise.
17936         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17937         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17938         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17939         unconditionally.
17940         (HAVE_AUX_PAGESIZE): Likewise.
17941         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17942         [__ASSUME_AT_CLKTCK]: Make code unconditional.
17943         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17945 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
17947         [BZ #14307]
17948         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17949         the temporary buffer used to invoke __gethostbyname2_r,
17950         __gethostbyaddr_r and gethostbyname4_r to make room for struct
17951         host_data / struct gaih_addrtuple.
17952         * resolv/nss_dns/dns-host.c (global scope): Move definition of
17953         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17954         header file nss/nsswitch.h.
17955         * nss/nsswitch.h (global scope): Add definition of implementation
17956         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17957         resolv/nss_dns/dns-host.c).
17959 2012-07-11  Andreas Jaeger  <aj@suse.de>
17961         * po/fr.po: Update from translation team.
17963         * po/sv.po: Update from translation team
17964         * po/fr.po: Another update from translation team.
17966 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17968         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17969         for subnormals or multiply small sinh result by itself.
17970         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17973 2012-07-11  David S. Miller  <davem@davemloft.net>
17975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17977 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
17979         [BZ #14347]
17980         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17981         (INTERNAL_MARK): Shift it here.
17983 2012-07-10  Marek Polacek  <polacek@redhat.com>
17985         [BZ #14151]
17986         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
17987         libc_cv_asm_global_directive with .globl.
17988         * configure: Regenerated.
17989         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17990         with .globl.
17991         * sysdeps/i386/configure: Regenerated.
17992         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17993         with .globl.
17994         * sysdeps/x86_64/configure: Regenerated.
17995         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17996         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17997         * elf/tst-unique2mod2.c: Likewise.
17998         * elf/tst-unique2mod1.c: Likewise.
17999         * elf/tst-unique1mod2.c: Likewise.
18000         * elf/tst-unique1mod1.c: Likewise.
18001         * sysdeps/s390/s390-32/sysdep.h: Likewise.
18002         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18003         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18004         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18005         * sysdeps/mach/sysdep.h: Likewise.
18006         * sysdeps/i386/sysdep.h: Likewise.
18007         * sysdeps/i386/i386-mcount.S: Likewise.
18008         * sysdeps/x86_64/_mcount.S: Likewise.
18009         * sysdeps/x86_64/sysdep.h: Likewise.
18010         * sysdeps/sh/_mcount.S: Likewise.
18011         * sysdeps/sh/sysdep.h: Likewise.
18012         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18013         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18014         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18015         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18016         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18017         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18018         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18019         * locale/localeinfo.h: Likewise.
18020         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18021         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18023 2012-07-09  Roland McGrath  <roland@hack.frob.com>
18025         [BZ #14336]
18026         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18027         system".
18028         * manual/message.texi (The Uniforum approach): Likewise.
18029         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18030         (glibc iconv Implementation): Likewise.
18032 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
18034         [BZ #14337]
18035         * math/s_clog.c (__clog): Avoid scaling a value down where that
18036         could result in underflow.
18037         * math/s_clog10.c (__clog10): Likewise.
18038         * math/s_clog10f.c (__clog10f): Likewise.
18039         * math/s_clog10l.c (__clog10l): Likewise.
18040         * math/s_clogf.c (__clogf): Likewise.
18041         * math/s_clogl.c (__clogl): Likewise.
18042         * math/libm-test.inc (clog_test): Add more tests.
18043         (clog10_test): Likewise.
18044         * sysdeps/i386/fpu/libm-test-ulps: Update.
18045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18047 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
18049         [BZ #14283]
18050         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18051         by 7 not 8 to examine high bit of fractional part.
18053         [BZ #14042]
18054         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18055         for call to __mcount_internal.
18056         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18057         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18058         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18060 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
18062         [BZ #14154]
18063         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18064         approximation for values within 0x1p-13f of an odd multiple of
18065         pi/4.
18066         * math/libm-test.inc (tan_test): Do not allow spurious underflow
18067         exception.  Add more tests.
18068         * sysdeps/i386/fpu/libm-test-ulps: Update.
18070         [BZ #6778]
18071         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18072         inputs and return -1 for them.  Do not check for +Inf in case not
18073         reachable for +Inf.
18074         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18075         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18076         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18077         and return -1 for them.  Do not check for +Inf in case not
18078         reachable for +Inf.
18079         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18080         define.
18081         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18082         and return -1 for them.  Do not check for +Inf in case not
18083         reachable for +Inf.
18084         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
18085         spurious underflow.
18086         * sysdeps/i386/fpu/libm-test-ulps: Update.
18087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18089 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
18091         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18093 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
18095         [BZ #14157]
18096         [BZ #14331]
18097         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18098         could result in spurious underflow.  Scale down values above
18099         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18100         * math/s_csqrtf.c (__csqrtf): Likewise.
18101         * math/s_csqrtl.c (__csqrtl): Likewise.
18102         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
18103         spurious underflow.
18104         * sysdeps/i386/fpu/libm-test-ulps: Update.
18105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18107 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18109         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18110         xopen-msg.sed.
18111         * catgets/xopen-msg.awk: New file.
18112         * catgets/xopen-msg.sed: Removed.
18114         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18115         po2text.sed.
18116         * intl/po2test.awk: New file.
18117         * intl/po2test.sed: Removed.
18119 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
18121         [BZ #14328]
18122         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18123         or multiply small sinh result by itself.
18124         * math/s_ctanf.c (__ctanf): Likewise.
18125         * math/s_ctanh.c (__ctanh): Likewise.
18126         * math/s_ctanhf.c (__ctanhf): Likewise.
18127         * math/s_ctanhl.c (__ctanhl): Likewise.
18128         * math/s_ctanl.c (__ctanl): Likewise.
18129         * math/libm-test.inc (ctan_test_tonearest): New function.
18130         (ctan_test_towardzero): Likewise.
18131         (ctan_test_downward): Likewise.
18132         (ctan_test_upward): Likewise.
18133         (ctanh_test_tonearest): Likewise.
18134         (ctanh_test_towardzero): Likewise.
18135         (ctanh_test_downward): Likewise.
18136         (ctanh_test_upward): Likewise.
18137         (main): Call these new functions.
18138         * sysdeps/i386/fpu/libm-test-ulps: Update.
18139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18141 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
18143         * .gitignore: Delete /ports entry.
18145 2012-07-03  Andreas Jaeger  <aj@suse.de>
18147         * po/bg.po: Update from translation team.
18148         * po/cs.po: Likewise.
18149         * po/de.po: Likewise.
18150         * po/hr.po: Likewise.
18151         * po/nl.pl: Likewise.
18152         * po/pl.po: Likewise.
18153         * po/vi.po: Likewise.
18155 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
18157         * Makeconfig [!+link] (+link-before-libc): New variable.
18158         [!+link] (+link-after-libc): Likewise.
18159         [!+link] (+link-tests): Likewise.
18160         [!+link] (+link): Define in terms of $(+link-before-libc) and
18161         $(+link-after-libc).
18162         [!+link-static] (+link-static-before-libc): New variable.
18163         [!+link-static] (+link-static-after-libc): Likewise.
18164         [!+link-static] (+link-static-tests): Likewise.
18165         [!+link-static] (+link-static): Define in terms of
18166         $(+link-static-before-libc) and $(+link-static-after-libc).
18167         [build-shared] (link-libc-before-gnulib): New variable.
18168         [build-shared] (link-libc-tests): Likewise.
18169         [build-shared] (link-libc): Define in terms of
18170         $(link-libc-before-gnulib).
18171         [!build-shared] (link-libc-tests): New variable.
18172         (link-libc-static-tests): New variable.
18173         [!gnulib] (gnulib-arch): New variable.
18174         [!gnulib] (gnulib-tests): Likewise.
18175         [!gnulib] (static-gnulib-arch): Likewise.
18176         [!gnulib] (static-gnulib-tests): Likewise.
18177         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
18178         Define with "=" instead of ":=".
18179         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
18180         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
18181         * Rules (binaries-all-notests): New variable.
18182         (binaries-all-tests): Likewise.
18183         (binaries-static-notests): Likewise.
18184         (binaries-static-tests): Likewise.
18185         (binaries-all): Define using $(binaries-all-notests) and
18186         $(binaries-all-tests).
18187         (binaries-static): Define using $(binaries-static-notests) and
18188         $(binaries-static-tests).
18189         (binaries-shared-tests): New variable.
18190         (binaries-shared-notests): Likewise.
18191         (binaries-shared): Remove variable.
18192         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18193         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18194         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18195         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18196         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18197         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18198         * elf/Makefile (sln-modules): New variable.
18199         (extra-objs): Add $(sln-modules:=.o).
18200         (ldconfig-modules): Add static-stubs.
18201         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18202         * elf/static-stubs.c: New file.
18204         [BZ #14283]
18205         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18206         by 7 not 8 to examine high bit of fractional part.  Use volatile
18207         variables when splitting into final array of floats if
18208         __FLT_EVAL_METHOD__ != 0.
18209         * math/libm-test.inc (cos_test): Add another test.
18210         (sin_test): Likewise.
18211         * sysdeps/i386/fpu/libm-test-ulps: Update.
18213         [BZ #14273]
18214         * math/libm-test.inc (cosh_test): Add more tests.
18216         * version.h (RELEASE): Set to "development".
18217         (VERSION): Set to "2.16.90".
18219 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
18221         * NEWS: Update copyright. Remove last-updated date.
18222         Mention math library bug fixes and timezone data changes.
18223         * README: Mention GNU/Hurd, x32, and HPPA support status.
18225 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
18227         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18229 2012-06-27  Andreas Jaeger  <aj@suse.de>
18231         * manual/contrib.texi (Contributors): Add Samuel Thibault.
18233 2012-06-25  Andreas Jaeger  <aj@suse.de>
18235         * sysdeps/s390/fpu/libm-test-ulps: Update.
18237 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
18238             Thomas Schwinge  <thomas@codesourcery.com>
18240         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18241         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18242         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18243         fanotify_mark.
18245 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
18247         * sysdeps/mach/start.c: Remove file.
18248         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18249         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18250         * sysdeps/sh/init-first.c: Likewise.
18252         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18253         registers for frame unwinding purposes, add CFI directives.
18254         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18255         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18256         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18257         Likewise.
18259         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18260         __fortify_fail returning.
18261         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18263         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18264         sysdeps/sh/____longjmp_chk.S.
18265         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18266         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18267         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18268         (gen-as-const-headers): Append sigaltstack-offsets.sym.
18270         * sysdeps/sh/abort-instr.h: New file.
18271         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18272         process in case exit returns.
18274         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18275         initialize the GOT register before use.
18277         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18278         calculation of ARGC > 4.
18280         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18281         meaningful names to some local labels.
18283 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18284             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18286         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18287         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18288         (__arch_compare_and_exchange_val_16_acq): Likewise.
18289         (__arch_compare_and_exchange_val_32_acq): Likewise.
18290         (atomic_exchange_and_add): Fix gUSA sequence.
18291         (atomic_add): Likewise.
18292         (atomic_add_negative): Likewise.
18293         (atomic_add_zero): Likewise.
18294         (atomic_bit_test_set): Likewise.
18296 2012-06-22  Andreas Schwab  <schwab@redhat.com>
18298         [BZ #13579]
18299         * include/link.h (struct link_map): Add l_free_initfini.
18300         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18301         l_initfini.
18302         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18303         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18304         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18305         set.
18307 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
18309         * configure.in: Use AC_LANG_SOURCE.
18310         * configure: Regenerate.
18312 2012-06-22  Roland McGrath  <roland@hack.frob.com>
18314         * configure.in (libc_cv_localstatedir): New substituted variable.
18315         * configure: Regenerated.
18316         * config.make.in (localstatedir): New variable, substituted from
18317         libc_cv_localstatedir.
18318         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18319         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18320         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18321         * sysdeps/gnu/configure: Regenerated.
18323 2012-06-21  Jeff Law  <law@redhat.com>
18325         [BZ #14277]
18326         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18327         free.  Simplify list management for _LIBC case.
18329 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
18331         [BZ #14273]
18332         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18333         Clear sign bit of 64-bit integer value before comparing against
18334         overflow value.
18336         * sysdeps/mach/configure: Regenerated.
18338 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
18340         [BZ #14278]
18341         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18343 2012-06-21  Jeff Law  <law@redhat.com>
18345         [BZ #13882]
18346         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
18347         uint16_t for elements in the "seen" array to avoid char overflows.
18348         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18349         * elf/dl-open.c (dl_open_worker): Likewise.
18351 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
18353         * scripts/list-sources.sh: Scan PORTS for translations.
18354         * po/libc.pot: Regenerated.
18356 2012-06-21  Andreas Jaeger  <aj@suse.de>
18358         [BZ #12194]
18359         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18360         warning.
18361         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18362         * bits/byteswap-16.h (__bswap_16): Likewise.
18363         * bits/byteswap.h (__bswap_constant_16): Likewise.
18365 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
18367         [BZ #14117]
18368         * sysdeps/i386/fpu_control.h: Removed.
18369         * sysdeps/x86_64/fpu_control.h: Moved to ...
18370         * sysdeps/x86/fpu_control.h: Here.
18372         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18373         (_FPU_SETCW): Likewise.
18375 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
18377         [BZ #14117]
18378         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18379         * sysdeps/x86/fpu/bits/mathinline.h: This.
18380         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18382         [BZ #14050]
18383         [BZ #14117]
18384         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18385         functions if __x86_64__ is defined.
18387 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
18389         * string/endian.h: Add !__ASSEMBLER__ condition for including
18390         conversion interfaces.
18392 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
18394         [BZ #14241]
18395         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18396         of ABS(x) in calculating zero to negative powers other than odd
18397         integers.
18398         * math/libm-test.inc (pow_test): Add more tests.
18400 2012-06-15  Andreas Jaeger  <aj@suse.de>
18402         * manual/contrib.texi (Contributors): Update entry of Liubov
18403         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18404         Machado Filho.
18406 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
18408         * string/string.h: Add __wur to GNU version of strerror_r.
18410 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
18412         [BZ #14229]
18413         * string/Makefile (tests): Add tst-strtok_r.
18414         * string/tst-strtok_r.c: New file.
18415         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18416         RAX_LP/RDX_LP on SAVE_PTR.
18418 2012-06-14  Roland McGrath  <roland@hack.frob.com>
18420         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18422 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
18424         * libm_test.inc (csqrt_test): Allow more spurious underflow
18425         exceptions.
18426         (j0_test): Likewise.
18427         (j1_test): Likewise.
18428         (y0_test): Likewise.
18429         (y1_test): Likewise.
18431 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
18433         * po/Makefile (libc.pot): Use UTF-8 charset.
18435 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
18437         [BZ #14210]
18438         Suppress sign-conversion warning from FD_SET.
18439         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18440         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18441         not unsigned long int.
18442         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18444 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
18446         [BZ #14050]
18447         [BZ #14117]
18448         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18449         __extern_always_inline instead of __extern_inline.
18450         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18451         (__signbit): Likewise.
18452         (__signbitl): Support C++ namespace.
18453         (lrintf): New inline function.
18454         (lrint): Likewise.
18455         (llrintf): Likewise.
18456         (llrint): Likewise.
18457         (fmaxf): Likewise.
18458         (fmax): Likewise.
18459         (fminf): Likewise.
18460         (fmin): Likewise.
18461         (rint): Likewise.
18462         (rintf): Likewise.
18463         (ceil): Likewise.
18464         (ceilf): Likewise.
18465         (floor): Likewise.
18466         (floorf): Likewise.
18467         (nearbyint): Likewise.
18468         (nearbyintf): Likewise.
18470 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
18472         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18473         non-default versions.
18475 2012-06-11  Roland McGrath  <roland@hack.frob.com>
18477         [BZ #14218]
18478         * manual/argp.texi (Argp): Reword argp_parse description slightly.
18480 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
18482         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18483         (FE_UPWARD, FE_DOWNWARD): Don't define.
18484         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18485         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18487         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18488         reading it.
18489         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18490         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18492 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18494         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18495         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18496         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18497         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18499 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18501         [BZ #14117]
18502         * sysdeps/i386/fpu/bits/fenv.h: Removed.
18503         * sysdeps/i386/fpu/Implies: New file.
18504         * sysdeps/x86_64/fpu/Implies: Likewise.
18505         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18506         * sysdeps/x86/fpu/bits/fenv.h: This.
18508         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18509         __SSE_MATH__.
18511 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18513         [BZ #14134]
18514         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18515         character 0xffff that matches the last element of the
18516         conversion table.
18518 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18520         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18521         fmodl commit.
18523 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18525         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18526         values higher than 25.6283.
18528 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18530         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18531         subnormal exponent extraction and add some __builtin_expect.
18532         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18533         Fix for subnormal mantissa calculation.
18535 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
18537         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18538         cpu2 is -1 and errno is not ENOSYS.
18540 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
18542         [BZ #14117]
18543         * sysdeps/i386/i486/bits/string.h: Renamed to ...
18544         * sysdeps/x86/bits/string.h: This.
18545         * sysdeps/x86_64/bits/string.h: Removed.
18547         * sysdeps/i386/i486/bits/string.h: Define inline functions only
18548         if not compiling for x86-64, but compiling for >= i486.
18550         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18551         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18553         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18554         New macro from Linux kernel 3.4.0.
18555         (FP_XSTATE_MAGIC2): Likewise.
18556         (FP_XSTATE_MAGIC2_SIZE): Likewise.
18557         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18558         (struct _fpx_sw_bytes): New struct.
18559         (struct _xsave_hdr): Likewise.
18560         (struct _ymmh_state): Likewise.
18561         (struct _xstate): Likewise.
18563         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18564         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18565         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18566         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18567         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18568         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18570         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18571         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18572         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18573         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18574         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18575         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18577 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18579         [BZ #13743]
18580         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18581         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18582         (sysdep_headers): Include sys/platform/ppc.h.
18583         * sysdeps/powerpc/test-gettimebase.c: Test for
18584         __ppc_get_timebase() to catch future ISA opcode/insn changes.
18585         * manual/Makefile (appendices): Include platform.texi.
18586         * manual/contrib.texi (Contributors): Update @node pointers.
18587         * manual/maint.texi (Maintenance): Likewise.
18588         (Platform): New node.
18589         * manual/platform.texi: New file.  Document the new features.
18591 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18592             Jakub Jelinek  <jakub@redhat.com>
18594         [BZ #14188]
18595         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18596         where __builtin_expect is unavailable.
18598 2012-06-03  David S. Miller  <davem@davemloft.net>
18600         * stdlib/longlong.h: Updated from GCC.
18602 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
18604         [BZ #14042]
18605         * sysdeps/powerpc/powerpc32/mcount.c: New file.
18606         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18607         __mcount_internal.
18608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18609         (GLIBC_2.16): Likewise.
18611 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18613         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18615 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18618         (default-abi): New variable.
18619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18620         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18621         variable.
18622         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18623         Likewise.
18624         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18625         Likewise.
18626         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18627         Likewise.
18629         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18630         definition.  Document in comment.
18632 2012-06-01  David S. Miller  <davem@davemloft.net>
18634         * stdlib/longlong.h: Updated from GCC.
18636 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18638         [BZ #14117]
18639         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18640         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18641         sys/debugreg.h sys/io.h here.
18642         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18643         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18644         sys/io.h.
18645         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18646         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18647         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18648         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18649         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18650         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18652         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18653         Define only if __x86_64__ is defined.
18655 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18657         [BZ #14048]
18658         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18659         Use int64_t for variable i.
18660         * math/libm-test.inc (fmod_test): Add more tests.
18662         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18663         z computation is not scheduled after fetestexcept.
18664         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18665         Use math_force_eval instead of asm to ensure calculation scheduled
18666         before exception test.
18667         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18668         Ensure a1 + u.d computation is not scheduled after fetestexcept.
18670 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
18672         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18673         computation is not scheduled after fetestexcept.
18675 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18677         [BZ #14117]
18678         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18679         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18681 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18683         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18684         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18686 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18688         [BZ #14117]
18689         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18690         <bits/wordsize.h>.
18691         (__WCHAR_MIN): Support __WORDSIZE == 64.
18692         (__WCHAR_MAX): Likewise.
18694         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18695         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18697         [BZ #14183]
18698         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18699         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18701         [BZ #14117]
18702         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18703         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18705         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18706         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18708         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18709         Defined to 1 if __x86_64__ isn't defined.
18710         (_STAT_VER_LINUX_OLD): New.
18711         (st_atime): Remove duplicate.
18712         (st_mtime): Likewise.
18713         (st_ctime): Likewise.
18715 2012-05-31  David S. Miller  <davem@davemloft.net>
18717         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18718         entries.
18720 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
18722         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18723         gen-libm-test.pl.
18725         [BZ #14132]
18726         * elf/dl-reloc.c: Include <_itoa.h>.
18727         (_dl_reloc_bad_type): Remove use of INTUSE.
18728         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18729         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18730         * stdio-common/psiginfo.c (psiginfo): Likewise.
18731         * stdio-common/psignal.c (psignal): Likewise.
18732         * string/strsignal.c (strsignal): Likewise.
18733         * include/signal.h (_sys_siglist): Declare hidden proto.
18734         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
18735         INTVARDEF with libc_hidden_data_def.
18736         * stdio-common/itoa-udigits.c: Likewise.
18737         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18738         (_itoa_lower_digits_internal): Remove declaration.
18739         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18740         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18741         (_sys_sigabbrev_internal): Remove aliases.
18742         (_sys_siglist): Define hidden alias.
18744 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
18746         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18747         bits/sysctl.h.
18749 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18751         [BZ #14117]
18752         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18753         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18755         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18756         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18757         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18758         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18759         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18760         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18762         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18763         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18764         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18766         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18767         with __addr.
18768         (insw): Likewise.
18769         (insl): Likewise.
18770         (outsb): Likewise.
18771         (outsw): Likewise.
18772         (outsl): Likewise.
18774         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18775         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18776         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18778         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18779         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18780         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18781         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18782         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18783         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18785         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18786         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18788         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18789         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18791         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18792         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18793         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18795         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18796         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18797         to ...
18798         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18800         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18801         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18802         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18804         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18805         for x86-64.
18806         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18808 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
18810         * math/math.h (M_El): Use two more decimal places.
18811         (M_LOG2El): Likewise.
18812         (M_LOG10El): Likewise.
18813         (M_LN2l): Likewise.
18814         (M_LN10l): Likewise.
18815         (M_PIl): Likewise.
18816         (M_PI_2l): Likewise.
18817         (M_PI_4l): Likewise.
18818         (M_1_PIl): Likewise.
18819         (M_2_PIl): Likewise.
18820         (M_2_SQRTPIl): Likewise.
18821         (M_SQRT2l): Likewise.
18822         (M_SQRT1_2l): Likewise.
18824 2012-05-31  David S. Miller  <davem@davemloft.net>
18826         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18827         values between float registers.
18828         * sysdeps/sparc/sparc64/memset.S: Likewise.
18829         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18831 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
18833         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18834         -D_FORTIFY_SOURCE=1.
18835         (CPPFLAGS-tst-longjmp_chk.c): Define.
18836         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18837         (CPPFLAGS-tst-longjmp_chk2.c): Define.
18838         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18839         CFLAGS-tst-wchar-h.c.
18841 2012-05-31  Marek Polacek  <polacek@redhat.com>
18843         [BZ #14132]
18844         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18845         __endmntent_internal): Remove declaration.
18846         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18847         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18848         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18850 2012-05-30  David S. Miller  <davem@davemloft.net>
18852         * sysdeps/sparc/sparc32/soft-fp/q_util.c
18853         (___Q_simulate_exceptions): Use real FP ops rather than writing
18854         into the %fsr.
18855         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18856         Likewise.
18858 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18860         [BZ #14117]
18861         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18862         * sysdeps/x86/bits/xtitypes.h: This.
18864         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18865         * sysdeps/x86/bits/wordsize.h: This.
18867         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18868         * sysdeps/x86/bits/huge_vall.h: This.
18870         * sysdeps/i386/bits/select.h: Removed.
18871         * sysdeps/x86_64/bits/select.h: Renamed to ...
18872         * sysdeps/x86/bits/select.h: This.
18874         * sysdeps/i386/bits/setjmp.h: Removed.
18875         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18876         * sysdeps/x86/bits/setjmp.h: This.
18878         * sysdeps/i386/bits/mathdef.h: Removed.
18879         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18880         * sysdeps/x86/bits/mathdef.h: This.
18882 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
18884         [BZ #14132]
18885         * include/sys/socket.h (__connect_internal)
18886         (__libc_sa_len_internal): Remove declaration.
18887         (__connect, __libc_sa_len): Declare hidden_proto.
18888         (SA_LEN): Remove use of INTUSE.
18889         * socket/connect.c: Add libc_hidden_def.
18890         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18891         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18892         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18893         alias.
18894         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18895         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18896         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18897         of adding _internal alias.
18899 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18901         [BZ #14117]
18902         * sysdeps/i386/bits/link.h: Removed.
18903         * sysdeps/i386/bits/linkmap.h: Likewise.
18904         * sysdeps/x86_64/bits/link.h: Renamed to ...
18905         * sysdeps/x86/bits/link.h: This.
18906         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18907         * sysdeps/x86/bits/linkmap.h: This.
18909         * sysdeps/i386/bits/endian.h: Removed.
18910         * sysdeps/x86_64/bits/endian.h: Renamed to ...
18911         * sysdeps/x86/bits/endian.h: This.
18913         * sysdeps/i386/bits/byteswap.h: Removed.
18914         * sysdeps/i386/bits/byteswap-16.h: Likewise.
18915         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18916         * sysdeps/x86/bits/byteswap.h: This.
18917         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18918         * sysdeps/x86/bits/byteswap-16.h: This.
18919         * sysdeps/i386/Implies: Add x86.
18920         * sysdeps/x86_64/Implies: Likewise.
18922 2012-05-30  David S. Miller  <davem@davemloft.net>
18924         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18925         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18926         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18927         (FP_TRAPPING_EXCEPTIONS): Define.
18928         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18929         (FP_TRAPPING_EXCEPTIONS): Define.
18930         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18931         subnormals only when inexact has been signalled or underflow
18932         exceptions are enabled.
18933         (_FP_PACK_CANONICAL): Likewise.
18935 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18937         [BZ #14183]
18938         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18939         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18941 2012-05-30  Richard Henderson  <rth@twiddle.net>
18943         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18944         with #ifndef NOT_IN_libc.
18946         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
18947         marked to avoid plt entry.
18949 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18951         [BZ #14112]
18952         * Makeconfig (default-abi): New macro.
18953         (abi-includes): Likewise.
18954         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
18955         $(abi-$(default-abi)-lib-soname) for soname if defined.
18956         ($(common-objpfx)gnu/lib-names.stmp): Generate from
18957         abi-variants.
18958         * Makefile (installed-stubs): Likewise.
18959         * include/stubs-biarch.h: Removed.
18960         * scripts/lib-names.awk: Only handle one library at a time.
18961         * scripts/soversions.awk: Remove WORDSIZE support.
18962         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18963         entries.
18964         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18965         Removed.
18966         (syscall-list-default-condition): Likewise.
18967         (syscall-list-default-condition): Likewise.
18968         (syscall-list-includes): Likewise.
18969         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18970         syscall-list-* with abi-*.  Handle undefined abi-variants.
18971         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18972         * sysdeps/unix/sysv/linux/i386/Implies: New file.
18973         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18974         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18975         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18976         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18977         Removed.
18978         (syscall-list-32-options): Likewise.
18979         (syscall-list-32-condition): Likewise.
18980         (syscall-list-64-options): Likewise.
18981         (syscall-list-64-condition): Likewise.
18982         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18983         macro.
18984         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18985         Renamed to ...
18986         (abi-*): This.
18987         (abi-64-ld-soname): New macro.
18988         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18989         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18990         Renamed to ...
18991         (abi-*): This.
18992         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18993         * sysdeps/x86_64/x32/shlib-versions: Likewise.
18995 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
18997         * sysdeps/unix/sysv/linux/kernel-features.h
18998         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18999         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19000         include <kernel-features.h>.
19001         [!__NR_ftruncate64]: Remove conditional code.
19002         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19003         [__NR_ftruncate64]: Make code unconditional.
19004         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19005         * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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.
19024         * configure.in (libc_cv_fpie): Weaken to a compile test using
19025         LIBC_TRY_CC_OPTION.
19026         * configure: Regenerated.
19028 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19034         Refreshed.
19035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19039         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19041         Refreshed.
19043 2012-05-27  David S. Miller  <davem@davemloft.net>
19045         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19046         (___Q_zero): New.
19047         (__Q_simulate_exceptions): Return void.  Change to simulate
19048         exceptions by writing into the %fsr.
19049         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19050         (__Qp_handle_exceptions): Likewise.
19051         (numbers): Delete.
19052         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19053         __Qp_handle_exceptions.
19054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19055         __Qp_handle_exceptions.
19056         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19057         as unused and give dummy FP_RND_NEAREST initializer.
19058         (FP_INHIBIT_RESULTS): Define.
19059         (___Q_simulate_exceptions): Update declaration.
19060         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19061         formatting.
19062         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19063         as unused and give dummy FP_RND_NEAREST initializer.
19064         (__Qp_handle_exceptions): Update declaration.
19065         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19066         formatting.
19068 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
19070         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19071         the temporary FPU control word.
19072         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19073         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19074         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19075         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19076         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19077         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19078         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19079         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19080         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19081         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19082         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19084 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19086         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19087         fields.
19089 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
19091         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19092         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19093         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19094         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19095         Likewise.
19096         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19097         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19098         Likewise.
19100 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
19102         * po/h.po: Update from translation team.
19104 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
19106         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19108         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19109         handling of denormals.
19110         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19111         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19112         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19113         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19114         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19115         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19116         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19117         Likewise.
19119 2012-05-26  Marek Polacek  <polacek@redhat.com>
19121         [BZ #14152]
19122         * math/libm-test.inc (fma_test): Don't always expect underflow
19123         exception.
19125 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19127         [BZ #12416]
19128         * elf/tst-execstack.c: Include stackinfo.h.
19129         (do_test): Adjust test case to ensure that pthread_getattr_np
19130         behaviour remains the same after marking stack executable.
19132 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19134         * sysdeps/unix/sysv/linux/kernel-features.h
19135         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19136         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19137         kernel-features.h.
19138         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19139         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19140         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19141         kernel-features.h.
19142         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19143         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19145 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
19147         * configure.in: Define the default includes to being none.
19148         * configure: Regenerated.
19150 2012-05-25  Roland McGrath  <roland@hack.frob.com>
19152         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19153         * sysdeps/x86_64/setjmp.S: Likewise.
19154         * sysdeps/i386/bsd-setjmp.S: Likewise.
19155         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19156         * sysdeps/i386/setjmp.S: Likewise.
19157         * sysdeps/i386/__longjmp.S: Likewise.
19158         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19159         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19161         * include/stap-probe.h: New file.
19162         * configure.in: Handle --enable-systemtap.
19163         * configure: Regenerated.
19164         * config.h.in (USE_STAP_PROBE): New #undef.
19165         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19166         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19167         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19169 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19171         [BZ #13717]
19172         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19173         to 2.4.0 where earlier.
19174         * sysdeps/unix/sysv/linux/configure: Regenerated.
19175         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19176         <kernel-features.h>.
19177         [__ASSUME_32BITUIDS]: Make code unconditional.
19178         [!__ASSUME_32BITUIDS]: Remove conditional code.
19179         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19180         <kernel-features.h>.
19181         [__ASSUME_32BITUIDS]: Make code unconditional.
19182         [!__ASSUME_32BITUIDS]: Remove conditional code.
19183         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19184         [__ASSUME_32BITUIDS]: Make code unconditional.
19185         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19186         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19187         <kernel-features.h>.
19188         [__ASSUME_32BITUIDS]: Make code unconditional.
19189         [!__ASSUME_32BITUIDS]: Remove conditional code.
19190         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19191         <kernel-features.h>.
19192         [__ASSUME_32BITUIDS]: Make code unconditional.
19193         [!__ASSUME_32BITUIDS]: Remove conditional code.
19194         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19195         <kernel-features.h>.
19196         [__ASSUME_32BITUIDS]: Make code unconditional.
19197         [!__ASSUME_32BITUIDS]: Remove conditional code.
19198         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19199         <kernel-features.h>.
19200         [__ASSUME_32BITUIDS]: Make code unconditional.
19201         [!__ASSUME_32BITUIDS]: Remove conditional code.
19202         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19203         <kernel-features.h>.
19204         [__ASSUME_32BITUIDS]: Make code unconditional.
19205         [!__ASSUME_32BITUIDS]: Remove conditional code.
19206         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19207         <kernel-features.h>.
19208         [__ASSUME_32BITUIDS]: Make code unconditional.
19209         [!__ASSUME_32BITUIDS]: Remove conditional code.
19210         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19211         <kernel-features.h>.
19212         [__ASSUME_32BITUIDS]: Make code unconditional.
19213         [!__ASSUME_32BITUIDS]: Remove conditional code.
19214         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19215         <kernel-features.h>.
19216         [__ASSUME_32BITUIDS]: Make code unconditional.
19217         [!__ASSUME_32BITUIDS]: Remove conditional code.
19218         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19219         <kernel-features.h>.
19220         [__ASSUME_32BITUIDS]: Make code unconditional.
19221         [!__ASSUME_32BITUIDS]: Remove conditional code.
19222         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19223         <kernel-features.h>.
19224         [__ASSUME_32BITUIDS]: Make code unconditional.
19225         [!__ASSUME_32BITUIDS]: Remove conditional code.
19226         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19227         <kernel-features.h>.
19228         [__NR_setresgid] (__setresgid): Do not declare.
19229         [__ASSUME_32BITUIDS]: Make code unconditional.
19230         [!__ASSUME_32BITUIDS]: Remove conditional code.
19231         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19232         <kernel-features.h>.
19233         [__NR_setresuid] (__setresuid): Do not declare.
19234         [__ASSUME_32BITUIDS]: Make code unconditional.
19235         [!__ASSUME_32BITUIDS]: Remove conditional code.
19236         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19237         <kernel-features.h>.
19238         [__ASSUME_32BITUIDS]: Make code unconditional.
19239         [!__ASSUME_32BITUIDS]: Remove conditional code.
19240         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19241         <kernel-features.h>.
19242         [__ASSUME_32BITUIDS]: Make code unconditional.
19243         [!__ASSUME_32BITUIDS]: Remove conditional code.
19244         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19245         <kernel-features.h>.
19246         [__ASSUME_32BITUIDS]: Make code unconditional.
19247         [!__ASSUME_32BITUIDS]: Remove conditional code.
19248         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19249         <kernel-features.h>.
19250         [__ASSUME_32BITUIDS]: Make code unconditional.
19251         [!__ASSUME_32BITUIDS]: Remove conditional code.
19252         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19253         <kernel-features.h>.
19254         [__ASSUME_32BITUIDS]: Make code unconditional.
19255         [!__ASSUME_32BITUIDS]: Remove conditional code.
19256         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19257         <kernel-features.h>.
19258         [__ASSUME_32BITUIDS]: Make code unconditional.
19259         [!__ASSUME_32BITUIDS]: Remove conditional code.
19260         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19261         <kernel-features.h>.
19262         [__ASSUME_32BITUIDS]: Make code unconditional.
19263         [!__ASSUME_32BITUIDS]: Remove conditional code.
19264         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19265         <kernel-features.h>.
19266         [__ASSUME_32BITUIDS]: Make code unconditional.
19267         [!__ASSUME_32BITUIDS]: Remove conditional code.
19268         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19269         <kernel-features.h>.
19270         [__ASSUME_32BITUIDS]: Make code unconditional.
19271         [!__ASSUME_32BITUIDS]: Remove conditional code.
19272         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19273         <kernel-features.h>.
19274         [__ASSUME_32BITUIDS]: Make code unconditional.
19275         [!__ASSUME_32BITUIDS]: Remove conditional code.
19276         * sysdeps/unix/sysv/linux/kernel-features.h
19277         (__ASSUME_SETRESUID_SYSCALL): Remove.
19278         (__ASSUME_SETRESGID_SYSCALL): Likewise.
19279         (__ASSUME_32BITUIDS): Likewise.
19280         (__ASSUME_LDT_WORKS): Likewise.
19281         (__ASSUME_O_DIRECTORY): Likewise.
19282         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19283         architecture but not kernel version.
19284         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19285         (__ASSUME_MMAP2_SYSCALL): Likewise.
19286         (__ASSUME_STAT64_SYSCALL): Likewise.
19287         (__ASSUME_IPC64): Likewise.
19288         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19289         <kernel-features.h>.
19290         [__ASSUME_32BITUIDS]: Make code unconditional.
19291         [!__ASSUME_32BITUIDS]: Remove conditional code.
19292         * sysdeps/unix/sysv/linux/opendir.c: Do not include
19293         <kernel-features.h>.
19294         [__ASSUME_O_DIRECTORY]: Make code unconditional.
19295         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19296         132096]: Remove conditional code.
19297         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19298         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19299         <kernel-features.h>.
19300         [__ASSUME_32BITUIDS]: Make code unconditional.
19301         [!__ASSUME_32BITUIDS]: Remove conditional code.
19302         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19303         <kernel-features.h>.
19304         [__ASSUME_32BITUIDS]: Make code unconditional.
19305         [!__ASSUME_32BITUIDS]: Remove conditional code.
19306         * sysdeps/unix/sysv/linux/setegid.c: Do not include
19307         <kernel-features.h>.
19308         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19309         unconditional.
19310         (__setresgid): Do not declare.
19311         [__ASSUME_32BITUIDS]: Make code unconditional.
19312         [!__ASSUME_32BITUIDS]: Remove conditional code.
19313         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19314         <kernel-features.h>.
19315         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19316         unconditional.
19317         (__setresuid): Do not declare.
19318         [__ASSUME_32BITUIDS]: Make code unconditional.
19319         [!__ASSUME_32BITUIDS]: Remove conditional code.
19320         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19321         <kernel-features.h>.
19322         [__ASSUME_32BITUIDS]: Make code unconditional.
19323         [!__ASSUME_32BITUIDS]: Remove conditional code.
19324         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19325         <kernel-features.h>.
19326         [__ASSUME_32BITUIDS]: Make code unconditional.
19327         [!__ASSUME_32BITUIDS]: Remove conditional code.
19329 2012-05-25  Richard Henderson  <rth@twiddle.net>
19331         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19332         dl_hwcap to ifunc resolver.
19333         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19334         elf_ifunc_invoke.
19335         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19336         dl_hwcap to ifunc resolver.
19337         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19339 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19341         [BZ #14153]
19342         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19343         for |x| <= 2**-26, not 2**-57.
19344         * math/libm-test.inc (acos_test): Do not allow spurious underflow
19345         exception.
19347 2012-05-24  Jeff Law  <law@redhat.com>
19349         * stdio-common/Makefile (tests): Add bug25.
19350         * stdio-common/bug25.c: New test.
19352 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19354         [BZ #13576]
19355         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19356         multiple of MALLOC_ALIGNMENT in size.
19357         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19359 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19361         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19362         Require >= 256.
19363         (FILENAME_MAX): Use macro-int-constant.
19364         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
19365         (_IOFBF): Use macro-int-constant.
19366         (_IOLBF): Likewise.
19367         (_IONBF): Likewise.
19368         (SEEK_CUR): Likewise.
19369         (SEEK_END): Likewise.
19370         (SEEK_SET): Likewise.
19371         (TMP_MAX): Likewise.
19372         (EOF): Use macro-int-constant.  Require < 0.
19373         (NULL): Use macro-constant.  Require == 0.
19374         (stdin): Require type to be FILE *.
19375         (stdout): Likewise.
19376         (stderr): Likewise.
19377         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19378         macro-int-constant.
19379         (EXIT_SUCCESS): Likewise.
19380         (NULL): Use macro-constant.  Require == 0.
19381         (RAND_MAX): Use macro-int-constant.
19382         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19383         [C99-based standards] (strtof): Require function.
19384         [C99-based standards] (strtold): Likewise.
19385         [C99-based standards] (strtoll): Likewise.
19386         [C99-based standards] (strtoull): Likewise.
19387         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19388         [ISO || ISO99 || ISO11] (limits.h): Likewise.
19389         [ISO || ISO99 || ISO11] (math.h): Likewise.
19390         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19391         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19392         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19394 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
19396         [BZ #14132]
19397         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19398         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19399         * intl/dgettext.c (DCGETTEXT): Likewise.
19400         * intl/gettext.c (DCGETTEXT): Likewise.
19401         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19402         * posix/regex_internal.h (gettext): Likewise.
19403         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19404         Remove declaration.
19405         * include/argz.h (__argz_count_internal)
19406         (__argz_stringify_internal): Remove declaration.
19407         (__argz_count, __argz_stringify): Declare hidden proto.
19408         * intl/dcgettext.c: Remove use of INTDEF.
19409         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19410         * string/argz-stringify.c: Likewise.
19411         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19412         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19413         Declare hidden proto.
19414         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19415         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19416         Declare hidden proto.
19417         * include/stdio.h (__asprintf_internal): Don't declare.
19418         (__asprintf): Don't define as macro.  Declare hidden proto.
19419         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19420         (__fsetlocking): Declare hidden proto.
19421         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19422         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19423         hidden proto.
19424         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19425         (_IO_setlinebuf): Remove use of INTUSE.
19426         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19427         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19428         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19429         Remove declaration.
19430         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19431         (_IO_do_flush): Remove use of INTUSE.
19432         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19433         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19434         (_IO_adjust_column, _IO_least_wmarker)
19435         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19436         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19437         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19438         (_IO_default_doallocate, _IO_wdefault_doallocate)
19439         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19440         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19441         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19442         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19443         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19444         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19445         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19446         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19447         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19448         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19449         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19450         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19451         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19452         proto.
19453         (_IO_flush_all_internal, _IO_adjust_column_internal)
19454         (_IO_default_uflow_internal, _IO_default_finish_internal)
19455         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19456         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19457         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19458         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19459         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19460         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19461         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19462         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19463         (_IO_file_close_internal, _IO_file_close_it_internal)
19464         (_IO_file_underflow_internal, _IO_file_overflow_internal)
19465         (_IO_file_init_internal, _IO_file_attach_internal)
19466         (_IO_file_fopen_internal, _IO_file_read_internal)
19467         (_IO_file_sync_internal, _IO_file_seek_internal)
19468         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19469         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19470         (_IO_str_underflow_internal, _IO_str_overflow_internal)
19471         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19472         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19473         (_IO_list_all_internal, _IO_link_in_internal)
19474         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19475         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19476         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19477         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19478         (_IO_do_write_internal, _IO_padn_internal)
19479         (_IO_getline_info_internal, _IO_getline_internal)
19480         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19481         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19482         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19483         (_IO_vfscanf_internal, _IO_vfprintf_internal)
19484         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19485         (_IO_init_internal, _IO_un_link_internal): Don't declare.
19486         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19487         with libc_hidden_ver, remove use of INTUSE.
19488         * libio/genops.c: Likewise.
19489         * libio/freopen.c: Likewise.
19490         * libio/freopen64.c: Likewise.
19491         * libio/iofclose.c: Likewise.
19492         * libio/iofdopen.c: Likewise.
19493         * libio/iofflush.c: Likewise.
19494         * libio/iofflush_u.c: Likewise.
19495         * libio/iofgets.c: Likewise.
19496         * libio/iofgets_u.c: Likewise.
19497         * libio/iofopen.c: Likewise.
19498         * libio/iofopncook.c: Likewise.
19499         * libio/iofread.c: Likewise.
19500         * libio/iofread_u.c: Likewise.
19501         * libio/ioftell.c: Likewise.
19502         * libio/iofwrite.c: Likewise.
19503         * libio/iogetline.c: Likewise.
19504         * libio/iogets.c: Likewise.
19505         * libio/iogetwline.c: Likewise.
19506         * libio/iopadn.c: Likewise.
19507         * libio/iopopen.c: Likewise.
19508         * libio/ioseekoff.c: Likewise.
19509         * libio/ioseekpos.c: Likewise.
19510         * libio/iosetbuffer.c: Likewise.
19511         * libio/iosetvbuf.c: Likewise.
19512         * libio/ioungetc.c: Likewise.
19513         * libio/ioungetwc.c: Likewise.
19514         * libio/iovdprintf.c: Likewise.
19515         * libio/iovsprintf.c: Likewise.
19516         * libio/iovsscanf.c: Likewise.
19517         * libio/memstream.c: Likewise.
19518         * libio/obprintf.c: Likewise.
19519         * libio/oldfileops.c: Likewise.
19520         * libio/oldiofclose.c: Likewise.
19521         * libio/oldiofdopen.c: Likewise.
19522         * libio/oldiofopen.c: Likewise.
19523         * libio/oldiopopen.c: Likewise.
19524         * libio/oldstdfiles.c: Likewise.
19525         * libio/putc.c: Likewise.
19526         * libio/setbuf.c: Likewise.
19527         * libio/setlinebuf.c: Likewise.
19528         * libio/stdfiles.c: Likewise.
19529         * libio/strops.c: Likewise.
19530         * libio/vasprintf.c: Likewise.
19531         * libio/vscanf.c: Likewise.
19532         * libio/vsnprintf.c: Likewise.
19533         * libio/vswprintf.c: Likewise.
19534         * libio/wfiledoalloc.c: Likewise.
19535         * libio/wfileops.c: Likewise.
19536         * libio/wgenops.c: Likewise.
19537         * libio/wmemstream.c: Likewise.
19538         * libio/wstrops.c: Likewise.
19539         * libio/__fpurge.c: Likewise.
19540         * libio/__fsetlocking.c: Likewise.
19541         * assert/assert.c: Likewise.
19542         * debug/fgets_chk.c: Likewise.
19543         * debug/fgets_u_chk.c: Likewise.
19544         * debug/fread_chk.c: Likewise.
19545         * debug/fread_u_chk.c: Likewise.
19546         * debug/gets_chk.c: Likewise.
19547         * debug/obprintf_chk.c: Likewise.
19548         * debug/vasprintf_chk.c: Likewise.
19549         * debug/vdprintf_chk.c: Likewise.
19550         * debug/vsnprintf_chk.c: Likewise.
19551         * debug/vsprintf_chk.c: Likewise.
19552         * malloc/mtrace.c: Likewise.
19553         * misc/error.c: Likewise.
19554         * misc/syslog.c: Likewise.
19555         * stdio-common/asprintf.c: Likewise.
19556         * stdio-common/fxprintf.c: Likewise.
19557         * stdio-common/getw.c: Likewise.
19558         * stdio-common/isoc99_fscanf.c: Likewise.
19559         * stdio-common/isoc99_scanf.c: Likewise.
19560         * stdio-common/isoc99_vfscanf.c: Likewise.
19561         * stdio-common/isoc99_vscanf.c: Likewise.
19562         * stdio-common/isoc99_vsscanf.c: Likewise.
19563         * stdio-common/printf-prs.c: Likewise.
19564         * stdio-common/printf_fp.c: Likewise.
19565         * stdio-common/printf_fphex.c: Likewise.
19566         * stdio-common/printf_size.c: Likewise.
19567         * stdio-common/putw.c: Likewise.
19568         * stdio-common/scanf.c: Likewise.
19569         * stdio-common/sprintf.c: Likewise.
19570         * stdio-common/tmpfile.c: Likewise.
19571         * stdio-common/vfprintf.c: Likewise.
19572         * stdio-common/vfscanf.c: Likewise.
19573         * stdlib/strfmon_l.c: Likewise.
19574         * sunrpc/openchild.c: Likewise.
19575         * sunrpc/xdr_stdio.c: Likewise.
19576         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19577         * sysdeps/mach/hurd/tmpfile.c: Likewise.
19579 2012-05-24  Roland McGrath  <roland@hack.frob.com>
19581         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19583         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19584         in the third column, to generate for the shared library an IFUNC
19585         that uses _dl_vdso_vsym.
19586         * Makerules (COMPILE.c, compile-stdin.c): New variables.
19587         * Makeconfig (object-suffixes-noshared): New variable.
19589         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19590         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19591         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19592         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19594         [BZ #14132]
19595         * include/sys/time.h (__gettimeofday): Remove macro.
19596         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19597         * time/gettimeofday.c (__gettimeofday): Remove #undef.
19598         Remove INTDEF.
19599         (__gettimeofday): Add libc_hidden_def.
19600         (gettimeofday): Add libc_hidden_weak.
19601         * sysdeps/mach/gettimeofday.c: Likewise.
19602         * sysdeps/posix/gettimeofday.c: Likewise.
19603         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19604         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19605         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19606         (__gettimeofday_internal): Remove strong_alias.
19607         (__gettimeofday): Add libc_hidden_def.
19608         (gettimeofday): Add libc_hidden_weak.
19609         * sysdeps/unix/syscalls.list (gettimeofday):
19610         Remove __gettimeofday_internal alias.
19612 2012-05-24  Daniel Jacobowitz  <drow@false.org>
19613             H.J. Lu  <hongjiu.lu@intel.com>
19615         [BZ #12495]
19616         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19617         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19618         (largebin_index_32_big): New.
19619         (largebin_index): Use it for 16-byte alignment.
19620         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
19621         correction with front_misalign.
19623 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19627         Likewise.
19628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19629         Likewise.
19630         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19631         Likewise.
19632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19633         Likewise.
19634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19635         Likewise.
19636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19637         Likewise.
19638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19639         Likewise.
19640         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19641         Likewise.
19642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19643         Likewise.
19644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19645         Likewise.
19646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19647         Likewise.
19648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19649         Likewise.
19651         * scripts/data/c++-types-x32-linux-gnu.data: New file.
19652         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19654 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19656         [BZ #10846]
19657         [BZ #14036]
19658         * math/libm-test.inc (exp_test): Add test from bug 14036.
19659         (pow_test): Add test from bug 10846.
19661         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19662         and other flags.
19663         (special_function): Do not include flags in test name.
19664         (parse_args): Likewise.
19665         * sysdeps/i386/fpu/libm-test-ulps: Update.
19666         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19667         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19668         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19671         * math/gen-libm-test.pl (%beautify): Add entries for underflow
19672         exceptions.
19673         * math/libm-test.inc ("Philosophy"): Update comment about
19674         exception testing.
19675         (UNDERFLOW_EXCEPTION): New macro.
19676         (UNDERFLOW_EXCEPTION_OK): Likewise.
19677         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19678         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19679         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19680         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19681         (INVALID_EXCEPTION_OK): Update value.
19682         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19683         (OVERFLOW_EXCEPTION_OK): Likewise.
19684         (IGNORE_ZERO_INF_SIGN): Likewise.
19685         (test_exceptions): Handle underflow exceptions.
19686         (acos_test): Update for underflow exception expectations.
19687         (cexp_test): Likewise.
19688         (clog_test): Likewise.
19689         (clog10_test): Likewise.
19690         (csqrt_test): Likewise.
19691         (ctan_test): Likewise.
19692         (ctanh_test): Likewise.
19693         (exp_test): Likewise.
19694         (exp10_test): Likewise.
19695         (exp2_test): Likewise.
19696         (expm1_test): Likewise.
19697         (fma_test): Likewise.
19698         (j0_test): Likewise.
19699         (jn_test): Likewise.
19700         (nexttoward_test): Likewise.
19701         (pow_test): Likewise.
19702         (scalbn_test): Likewise.
19703         (scalbln_test): Likewise.
19704         (tan_test): Likewise.
19705         (y1_test): Likewise.
19706         * sysdeps/i386/fpu/libm-test-ulps: Update.
19707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19709 2012-05-23  David S. Miller  <davem@davemloft.net>
19711         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19712         (__libc_sigaction): Remove unused local variables.
19714 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19716         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19718 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
19720         mktime: avoid signed integer overflow
19721         * time/mktime.c (__mktime_internal): Do not mishandle the case
19722         where diff == INT_MIN.
19724         mktime: simplify computation of average
19725         * time/mktime.c (ranged_convert): Use new time_t_avg function
19726         instead of rolling our own (probably-slower) code.
19728         mktime: do not assume signed right shift propagates sign bit
19729         * time/mktime.c (isdst_differ): New static function.
19730         (__mktime_internal): No need to normalize tm_isdst now.
19731         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19732         tm_isdst values.
19734         mktime: merge another wrapv change from gnulib
19735         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19736         from some compilers.
19738         mktime: remove incorrect attempt at unusual arithmetics
19739         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19740         The code didn't really work on such machines anyway.
19741         (TYPE_MINIMUM): Assume two's complement.
19742         (twos_complement_arithmetic): Verify that long_int and time_t
19743         are two's complement (or unsigned, in the latter case).
19745         mktime: check signed shifts on long_int and time_t, too
19746         * time/mktime.c (SHR): Check that shifts work as desired
19747         on the types long_int and time_t too, as SHR is used on
19748         such types.
19750         mktime: do not assume 'long' is wide enough
19751         * time/mktime.c (verify): Move decl up.
19752         (long_int): New type.
19753         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19754         to remove assumption in the code that 'long' is wide enough to
19755         store year values.  This assumption is not true on x32 and on
19756         some non-glibc platforms.
19758         mktime: merge wrapv change from gnulib
19759         * time/mktime.c (WRAPV): New macro.
19760         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19761         (guess_time_tm, __mktime_internal): Do not assume that signed
19762         integer overflow wraps around; modern compilers generate code
19763         where this assumption is no longer valid.
19765 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19767         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19768         Replace "jmp L(pseudo_end)" with "ret".
19769         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19770         Likewise.
19772 2012-05-23  Andreas Jaeger  <aj@suse.de>
19774         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19775         * sysdeps/unix/sysv/linux/poll.c: Remove file.
19777 2012-05-23  Andreas Jaeger  <aj@suse.de>
19778             Maximilian Attems  <max@stro.at>
19780         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19781         New macros.
19783 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19785         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19786         code so that pseudo_end is just ret and the stack pointer is
19787         correct also for static library in error case.
19789 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
19791         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19792         move to syscalls.list.
19793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19798         * manual/install.texi (Running make install): Do not mention Linux
19799         kernel version for which pt_chown is not needed.
19800         (Linux): Do not mention problems with nscd with 2.0 kernels.
19801         * INSTALL: Regenerated.
19803 2012-05-23  Andreas Jaeger  <aj@suse.de>
19805         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19806         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19807         macro.
19808         * sysdeps/unix/sysv/linux/s390/bits/mman.h
19809         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19810         * sysdeps/unix/sysv/linux/sh/bits/mman.h
19811         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19812         * sysdeps/unix/sysv/linux/i386/bits/mman.h
19813         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19814         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19815         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19816         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19817         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19818         * sysdeps/unix/sysv/linux/bits/in.h
19819         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19821 2012-05-22  Roland McGrath  <roland@hack.frob.com>
19823         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19824         (PREPARE_VERSION): Just use assert instead, it will be elided
19825         under [NDEBUG] anyway.
19827 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19829         * sysdeps/unix/sysv/linux/Makefile: Include
19830         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19831         (sysdep_routines): Remove sysctl.
19832         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19833         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19834         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19835         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19836         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19838 2012-05-22  Andreas Jaeger  <aj@suse.de>
19840         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19841         that pseudo_end is just ret and the stack pointer is correct also
19842         for static library in error case.
19844 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19846         [BZ #14122]
19847         * nss/nsswitch.c (defconfig_entries): New variable.
19848         (__nss_database_lookup): Don't leak defconfig entries.
19849         (nss_parse_service_list): Don't leak on error paths.
19850         (free_database_entries): New function.
19851         (free_defconfig): New function.
19852         (free_mem): Move common code to free_database_entries.
19854 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19856         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19857         Add arch_prctl.
19858         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19860         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19861         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19862         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19863         New macro.
19864         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19865         (INTERNAL_SYSCALL_TYPES): Likewise.
19866         (LOAD_ARGS_TYPES_[1-6]): Likewise.
19867         (LOAD_REGS_TYPES_[1-6]): Likewise.
19868         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19869         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19871 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19873         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19874         copysignl for GLIBC_2_0.
19875         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19876         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19877         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19878         logbl for GLIBC_2_0.
19879         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19880         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19882 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19884         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19885         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19887         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19888         Use "neg %eax".
19890         * time/mktime.c: Update copyright years.
19892 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19894         mktime: merge comment-quoting-style change from gnulib
19895         * time/mktime.c: Quote 'like this' in comments.
19896         The GNU coding standards suggest that we no longer quote `like this',
19897         as "`" and "'" are typically rendered asymmetrically nowadays.
19898         The typical gnulib style is to quote 'like this' when quoting
19899         code, and "like this" when quoting English.
19901         * time/mktime.c (compile-command): Add "-I.".
19903         mktime: merge mktime-internal.h change from gnulib
19904         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19906         mktime: merge time_r change from gnulib
19907         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19909         mktime: merge DEBUG change from gnulib
19910         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19911         case system <time.h> has a #define.
19913         mktime: merge <sys/types.h> change from gnulib
19914         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19915         since <time.t> is now guaranteed to define time_t.
19917         mktime: merge HAVE_CONFIG_H change from gnulib
19918         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19920 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19923         Use "neg %eax".
19925         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19926         __rlim_t cast.
19927         (struct rusage): Use anonymous union to pad each field to
19928         __syscall_slong_t.
19930 2012-05-21  David S. Miller  <davem@davemloft.net>
19932         * Makefules (o-iterator): Remove .s cases.
19933         (compile-command.s): Delete.
19934         (COMPILE.s): Delete.
19935         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19937 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
19939         * configure.in (libc_cv_predef_stack_protector): Only consider
19940         "foobar" and "__stack_chk_fail" lines in libc_undefs.
19941         * configure: Regenerated.
19943 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19945         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19946         New macro.  Use R*LP on int and pointer.
19947         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19948         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19949         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19950         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19952         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19953         [__WORDSIZE_TIME64_COMPAT32] instead of
19954         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19955         (struct utmp): Likewise.
19956         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19957         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19958         Renamed to ...
19959         (__WORDSIZE_TIME64_COMPAT32): This.
19960         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19961         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19962         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19963         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19964         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19965         (__WORDSIZE_TIME64_COMPAT32): New macro.
19967 2012-05-21  Andreas Jaeger  <aj@suse.de>
19969         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19970         only if [SHARED]. Add prototype for __wcschr_ia32.
19972 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19974         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19975         of %rbp unmolested in the jmp_buf while mangling the low bits.
19976         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19977         unmolested high bits of %rbp while demangling the low bits.
19978         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19980 2012-05-21  Andreas Jaeger  <aj@suse.de>
19982         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19983         * sunrpc/svc_simple.c: Use it for registerrpc.
19984         * sunrpc/xcrypt.c: Use it for passwd2des.
19986         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19988 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19990         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19991         Don't define if [__SYSCALL_WORDSIZE != 32].
19992         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19993         New macro.
19995 2012-05-21  Bruno Haible  <bruno@clisp.org>
19996             Andreas Jaeger  <aj@suse.de>
19998         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19999         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20000         inptr and inend for must_buffer_ch.
20001         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20002         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20003         * stdio-common/Makefile (tests): Remove bug15.
20004         (bug15-ENV): Remove macro.
20005         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20006         anymore.
20008 2012-05-19  Andreas Jaeger  <aj@suse.de>
20009             Roland McGrath  <roland@hack.frob.com>
20011         * manual/contrib.texi: Completely rewritten. It contains now an
20012         alphabetical list of contributors and their contributions.
20014 2012-05-21  Richard Henderson  <rth@twiddle.net>
20016         * misc/getauxval.c (__getauxval): Use unsigned long int.
20017         * misc/sys/auxv.h: Include <sys/cdefs.h>.
20018         (getauxval): Use unsigned long int.
20020 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20022         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20024 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20026         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20027         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20028         __alignof__ (long double).
20030 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20034 2012-05-20  Richard Henderson  <rth@twiddle.net>
20036         * misc/getauxval.c: New file.
20037         * misc/sys/auxv.h: New file.
20038         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20039         (routines): Add getauxval.
20040         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20041         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20042         * elf/dl-sysdep.c (_dl_auxv): Remove.
20043         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20044         * elf/dl-support.c (_dl_auxv): New variable.
20045         (_dl_aux_init): Initialize it.
20046         * manual/startup.texi (Auxiliary Vector): New node.
20047         * sysdeps/generic/bits/hwcap.h: New file.
20048         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20049         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
20050         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20051         * sysdeps/sparc/sysdep.h: ... here.  Include it.
20052         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20053         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20055         Update.
20056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20059         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20063         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20065 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20069 2012-05-19  David S. Miller  <davem@davemloft.net>
20071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20073 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20075         [BZ #14123]
20076         * math/s_ccosh.c: Include <float.h>
20077         (__ccosh): Avoid internal overflow calculating sinh and cosh
20078         values before multiplying by sin and cos values.
20079         * math/s_ccoshf.c: Likewise.
20080         * math/s_ccoshl.c: Likewise.
20081         * math/s_csin.c: Likewise.
20082         * math/s_csinf.c: Likewise.
20083         * math/s_csinl.c: Likewise.
20084         * math/s_csinh.c: Likewise.
20085         * math/s_csinhf.c: Likewise.
20086         * math/s_csinhl.c: Likewise.
20087         * math/libm-test.inc (ccos_test): Add more tests.
20088         (ccosh_test): Likewise.
20089         (csin_test): Likewise.
20090         (csinh_test): Likewise.
20091         * sysdeps/i386/fpu/libm-test-ulps: Update.
20092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20094 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20096         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20097         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20099         * sysdeps/x86_64/x32/_itoa.h: Add comment.
20101 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20103         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20104         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20105         * sysdeps/powerpc/soft-fp/Versions: Likewise.
20106         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20107         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20108         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20109         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20110         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20111         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20112         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20113         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20114         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20115         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20116         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20117         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20118         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20119         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20120         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20121         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20122         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20123         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20124         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20125         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20126         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20127         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20128         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20129         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20130         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20131         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20132         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20133         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20135 2012-05-18  Andreas Jaeger  <aj@suse.de>
20137         * csu/.gitignore: Delete.
20139 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20141         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20142         (timex): Use __syscall_slong_t.
20144 2012-05-18  Andreas Jaeger  <aj@suse.de>
20145             Carlos O'Donell  <carlos_odonell@mentor.com>
20147         * manual/install.texi (Configuring and compiling): Update
20148         description about files modified in the source directory.
20149         * INSTALL: Regenerated.
20151 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20153         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20154         value.  Use "or" to set return value to -1.
20155         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20156         negate return value.
20158 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20160         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20161         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20162         failure if the compiler has Graphite support disabled.
20163         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20164         Likewise.
20165         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20166         CFLAGS-memmove.c): Likewise.
20167         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20168         Likewise.
20170 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20172         * sysdeps/x86_64/x32/_itoa.h: New file.
20174         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20175         getdents system call only if kernel and user dirents have the
20176         same d_ino and d_off.
20178         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20179         LLONG_MAX != LONG_MAX.
20180         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20181         (_fitoa_word): Likewise.
20183         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20184         years.
20185         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20186         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20187         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20189         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20190         include <bits/wordsize.h>.  Check __x86_64__ instead of
20191         __WORDSIZE.
20192         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20193         if __x86_64__ is defined.  Use anonymous union on fpstate.
20195         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20196         anonymous union.
20198 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
20200         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20201         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20202         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20203         Refer to _rtld_local_ro instead of _rtld_global_ro.
20204         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20205         Likewise.
20206         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20207         Likewise.
20208         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20209         Likewise.
20210         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20211         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20212         of _rtld_global, and rtld_progname instead of _dl_argv[0].
20214         * sysdeps/powerpc/powerpc32/dl-machine.c
20215         (__elf_machine_runtime_setup) [PROF]: Don't reference
20216         _dl_prof_resolve.
20218 2012-05-18  Andreas Jaeger  <aj@suse.de>
20220         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20221         function only available for GCCs before 3.4 since GCC 3.4
20222         introduced a builtin.
20223         (lrint): Likewise.
20224         (llrintf): Likewise.
20225         (llrint): Likewise.
20226         (fmaxf): Likewise.
20227         (fmax): Likewise.
20228         (fminf): Likewise.
20229         (fmin): Likewise.
20230         (rint): Likewise.
20231         (rintf): Likewise.
20232         (nearbyint): Likewise.
20233         (nearbyintf): Likewise.
20234         (ceil): Likewise.
20235         (ceilf): Likewise.
20236         (floor): Likewise.
20237         (floorf): Likewise.
20239 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20241         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20242         on both fields and cast pointer to __syscall_ulong_t.
20244         * bits/types.h (__fsword_t): New type.
20245         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20246         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20247         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20248         (__FSWORD_T_TYPE): Likewise.
20249         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20250         (__FSWORD_T_TYPE): Likewise.
20251         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20252         (__FSWORD_T_TYPE): Likewise.
20253         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20254         (__FSWORD_T_TYPE): Likewise.
20255         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20256         __SWORD_TYPE with __fsword_t.
20257         (statfs64): Likewise.
20259 2012-05-17  David S. Miller  <davem@davemloft.net>
20261         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20263 2012-05-17  Andreas Jaeger  <aj@suse.de>
20265         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20266         warning.
20268 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20270         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20272 2012-05-17  Andreas Jaeger  <aj@suse.de>
20274         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20275         when it is used.
20277 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20279         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20281 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20283         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20284         * sysdeps/x86_64/tst-mallocalign1.c: New file.
20286 2012-05-17  Andreas Jaeger  <aj@suse.de>
20287             Carlos O'Donell  <carlos_odonell@mentor.com>
20289         [BZ #14059]
20290         * sysdeps/x86_64/multiarch/init-arch.h
20291         (bit_YMM_Usable): Rename to...
20292         (bit_AVX_Usable): ... this.
20293         (bit_FMA4_Usable): New macro.
20294         (bit_XMM_state): New macro.
20295         (bit_YMM_state): New macro.
20296         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20297         [__ASSEMBLER__] (index_AVX_Usable): ... this.
20298         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20299         (CPUID_OSXSAVE): New macro.
20300         (CPUID_AVX): New macro.
20301         (CPUID_FMA4): New macro.
20302         (index_YMM_Usable): Rename to...
20303         (index_AVX_Usable): ... this.
20304         (HAS_AVX): Use HAS_ARCH_FEATURE.
20305         (HAS_FMA4): Likewise.
20306         (HAS_YMM_USABLE): Remove.
20307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20308         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20309         are present.
20310         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20311         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20312         * sysdeps/x86_64/multiarch/Makefile: Likewise.
20313         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20314         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20316 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20318         * math/libm-test.c: Support platforms without multiple rounding modes.
20319         * math/bug-nextafter.c: Support platforms without FP exceptions.
20320         * math/bug-nexttoward.c: Likewise.
20321         * math/test-fenv.c: Likewise.
20322         * math/test-misc.c: Likewise.
20323         * stdlib/bug-getcontext.c: Likewise.
20325 2012-05-17  Andreas Jaeger  <aj@suse.de>
20327         * manual/examples/search.c (critter_cmp): Change signature to
20328         avoid warnings.
20329         * manual/string.texi (Collation Functions): Likewise.
20331 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20333         * bits/types.h: Fold copyright years.
20334         * bits/typesizes.h: Likewise.
20335         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20336         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20337         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20338         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20339         * time/time.h: Likewise.
20341 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
20343         [BZ #208]
20344         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20345         in instead of returning them.  Return void.
20346         (__libc_mallinfo): Accumulate over all arenas.
20347         (__malloc_stats): Adjust for change in int_mallinfo interface.
20349 2012-05-16  Roland McGrath  <roland@hack.frob.com>
20351         [BZ #10375]
20352         * configure.in (NM): Add AC_CHECK_TOOL for it.
20353         (libc_extra_cflags): New substituted variable.
20354         Check for -fstack-protector being used implicitly.
20355         * configure: Regenerated.
20356         * config.make.in (config-extra-cflags): New variable,
20357         gets @libc_extra_cflags@.
20358         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20360         [BZ #10375]
20361         * configure.in: Check for _FORTIFY_SOURCE being predefined.
20362         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20363         * configure: Regenerated.
20364         * config.make.in (CPPUNDEFS): New substituted variable.
20365         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20366         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20367         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20369 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20371         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20372         (mq_attr): Use __syscall_slong_t.
20374 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20376         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20377         Check __x86_64__ instead of __WORDSIZE.
20378         (_STAT_VER_LINUX): Likewise.
20379         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
20380         __syscall_ulong_t and __syscall_slong_t.
20381         (stat64): Likewise.
20383 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20385         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20387 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20389         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20391 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20393         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20394         __syscall_ulong_t.
20396         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20397         include <bits/wordsize.h>.  Check __x86_64__ instead of
20398         __WORDSIZE.
20399         (greg_t): Use "__extension__ long long int" if __x86_64__ is
20400         defined.
20401         (mcontext_t): Replace "unsigned long" with "unsigned long long".
20403         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20404         include <bits/wordsize.h>.  Check __x86_64__ instead of
20405         __WORDSIZE.
20406         (user_regs_struct): Use "__extension__ unsigned long long"
20407         instead of "unsigned long" if __x86_64__ is defined.
20408         (user): Likewise.  Pad after pointer field if __ILP32__ is
20409         defined.
20411 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
20413         * configure.in (makeinfo): Require version 4.5 or later.  Allow
20414         versions 5 to 9.
20415         * configure: Regenerated.
20416         * manual/install.texi (texinfo): Increase version requirement to
20417         4.5 or later.
20418         * INSTALL: Regenerated.
20420         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20422 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20424         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20426         * sysdeps/x86_64/x32/ffs.c: New file.
20428         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20429         __syscall_ulong_t.
20430         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20431         defined.  Use __syscall_ulong_t.
20432         (shminfo): Use __syscall_ulong_t.
20433         (shm_info): Likewise.
20435         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20436         __syscall_ulong_t.
20438         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20439         <bits/wordsize.h>.
20440         (msgqnum_t): Use __syscall_ulong_t.
20441         (msglen_t): Likewise.
20442         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
20443         __syscall_ulong_t.
20445         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20446         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20448         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20450         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20451         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20453         * sysvipc/sys/msg.h (msgbuf): Replace long int with
20454         __syscall_slong_t.
20456         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20457         include <bits/wordsize.h>.  Check __x86_64__ instead of
20458         __WORDSIZE.
20460         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20461         "unsigned long long int" if __x86_64__ is defined.
20462         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20464         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20465         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20466         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20468         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20469         <stdint.h>.
20470         (GET_PC): Cast to uintptr_t first.
20471         (GET_FRAME): Likewise.
20472         (GET_STACK): Likewise.
20474         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20475         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20476         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20477         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20478         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20479         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20480         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20481         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20482         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20483         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20484         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20485         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20486         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20487         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20488         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20489         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20490         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20491         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20492         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20493         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20494         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20495         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20496         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20497         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20498         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20499         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20500         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20501         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20502         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20504 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
20506         * Makerules (+depfiles): Also collect depfiles from .oS in
20507         $(extra-objs).
20508         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20509         .oS, $(libnldbl-routines)).
20511         * Makerules (native-compile-mkdep-flags): Define.
20512         * sunrpc/Makefile (extra-objs): Add $(addprefix
20513         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20514         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20515         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
20516         calling $(make-target-directory).
20518 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20520         * bits/types.h (__snseconds_t): Removed.
20521         * time/time.h (struct timespec): Replace __snseconds_t with
20522         __syscall_slong_t.
20523         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20524         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20525         Likewise.
20526         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20527         (__SNSECONDS_T_TYPE): Likewise.
20528         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20529         (__SNSECONDS_T_TYPE): Likewise.
20530         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20531         (__SNSECONDS_T_TYPE): Likewise.
20533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20535         * sysdeps/mach/hurd/bits/typesizes.h
20536         (__SYSCALL_SLONG_TYPE): New macro.
20537         (__SYSCALL_ULONG_TYPE): Likewise.
20539 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20541         * bits/types.h (__syscall_slong_t): New type.
20542         (__syscall_ulong_t): Likewise.
20544         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20545         (__SYSCALL_ULONG_TYPE): Likewise.
20546         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20547         (__SYSCALL_SLONG_TYPE): Likewise.
20548         (__SYSCALL_ULONG_TYPE): Likewise.
20549         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20550         (__SYSCALL_SLONG_TYPE): Likewise.
20551         (__SYSCALL_ULONG_TYPE): Likewise.
20552         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20553         (__SYSCALL_SLONG_TYPE): Likewise.
20554         (__SYSCALL_ULONG_TYPE): Likewise.
20556 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20558         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20559         Add sigaltstack-offsets.sym.
20560         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20561         <sigaltstack-offsets.h>.
20562         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
20563         longjmp_msg pointer.
20564         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
20565         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20566         signal stack.
20567         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20569 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20571         * elf/stackguard-macros.h: Remove file.
20572         * sysdeps/generic/stackguard-macros.h: New file.
20573         * sysdeps/i386/stackguard-macros.h: Likewise.
20574         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20575         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20576         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20577         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20578         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20579         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20580         * sysdeps/x86_64/stackguard-macros.h: Likewise.
20581         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20582         <elf/stackguard-macros.h>.
20584         [BZ #14109]
20585         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20586         __aligned__ in attribute.
20587         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20588         (gregset_t): Likewise.
20590 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20592         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20593         * sysdeps/x86_64/64/Implies-after: Here.  New file.
20594         * sysdeps/x86_64/x32/Implies-after: New file.
20596 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20598         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20599         and access return value for _dl_profile_fixup.  Use R10_LP to
20600         load frame size.
20602 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20604         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20606 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20608         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20609         * sysdeps/x86_64/x32/sysdep.h: New file.
20611 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20613         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20614         * sysdeps/x86_64/setjmp.S: Likewise.
20616 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20618         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20619         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20620         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20621         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20622         remove unused global constant.
20624 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
20626         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20627         include of <not-cancel.h>.
20629 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20631         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20633 2012-05-15  Jeff Law  <law@redhat.com>
20634             Andreas Jaeger  <aj@suse.de>
20636         [BZ #13594]
20637         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20638         out from...
20639         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20640         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20641         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20642         code changing __hst_map_handle.map.
20644 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20646         * configure.in (sysnames): Look for Implies-before and Implies-after
20647         files.
20648         * configure: Regenerated.
20650 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20652         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20653         8-byte data alignment with LP_SIZE alignment.
20655 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20657         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20658         into R10_LP.
20660 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20662         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20664 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20666         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20667         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20668         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20669         Likewise.
20670         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20672 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20674         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20675         (stackinfo_sub_sp): Likewise.
20677 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20679         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20680         RAX_LP.
20682 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20684         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20685         into R*_LP.
20687 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20689         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20690         sizes into R*_LP.
20692 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20694         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20698         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20699         into R11_LP and load __x86_64_shared_cache_size_half into
20700         R8_LP.
20702 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20704         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20705         R8_LP.
20707 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20709         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20710         logb for POWER7.
20711         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20712         logbf for POWER7.
20713         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20714         logbl for POWER7.
20715         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20716         powerpc32/power7/fpu/s_logb.c via #include.
20717         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20718         powerpc32/power7/fpu/s_logbf.c via #include.
20719         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20720         powerpc32/power7/fpu/s_logbl.c via #include.
20722 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20724         * README.libm: Remove file.
20726 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20728         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20729         count for x32.  Use R*_LP and omit operand-size suffix.
20731 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20733         * shlib-versions: Move x86_64-.*-linux.* entries to ...
20734         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
20735         * sysdeps/x86_64/x32/shlib-versions: New file.
20737 2012-05-14  Roland McGrath  <roland@hack.frob.com>
20739         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20740         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20741         Use _dl_fatal_printf instead.
20743 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20745         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20746         set if not set by the user.  Do not allow for being unset.
20747         * sysdeps/unix/sysv/linux/configure: Regenerated.
20749 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20751         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20752         the `q' suffix from lea and replace .quad with ASM_ADDR.
20754 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20756         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20757         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
20758         instead of $17.
20759         (PTR_DEMANGLE): Likewise.
20761 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20763         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20764         (LP_OP): Likewise.
20765         (ASM_ADDR): Likewise.
20766         (RAX_LP): Likewise.
20767         (RBP_LP): Likewise.
20768         (RBX_LP): Likewise.
20769         (RCX_LP): Likewise.
20770         (RDI_LP): Likewise.
20771         (RSI_LP): Likewise.
20772         (RSP_LP): Likewise.
20773         (R8_LP): Likewise.
20774         (R9_LP): Likewise.
20775         (R10_LP): Likewise.
20776         (R10_LP): Likewise.
20777         (R11_LP): Likewise.
20778         (R12_LP): Likewise.
20779         (R13_LP): Likewise.
20780         (R14_LP): Likewise.
20781         (R15_LP): Likewise.
20783 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20785         * sysdeps/x86_64/x32/dl-machine.h: New file.
20787 2012-05-14  Andreas Jaeger  <aj@suse.de>
20789         * manual/Makefile (subdir): Remove export of subdir.
20790         (all): Remove target.
20791         (.PHONY): Remove all from list.
20792         (mkinstalldirs): Remove.
20793         (.PHONY): Remove installdirs from list.
20794         ($(inst_infodir)/libc.info): Use make-target-directory.
20795         (installdirs): Remove.
20796         (subdir_%): Remove.
20797         (glibc-targets): Remove.
20798         (lib): Remove.
20799         (stubs): Remove.
20800         ($(objpfx)stubs ../po/manual.pot): Remove.
20801         ($(objpfx)stamp%): Remove.
20802         (make-target-directory): Remove.
20803         (subdir_install): Remove.
20804         (routines): Remove.
20805         (aux): Remove.
20806         (sources): Remove.
20807         (objects): Remove.
20808         (headers): Remove.
20810         [BZ #13750]
20811         * manual/.gitignore: Remove, it's not needed anymore.
20812         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20813         all files in it.
20814         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20815         directory.
20816         (texis): Renamed to $(objpfx)texis.
20817         (texis-path): New, contains path to generated files.
20818         (chapters.%): Use texis-path for complete path, add extra argument
20819         libc-texinfo.sh.
20820         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20821         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20822         (summary,texi, stamp-summary): Use complete path of
20823         files. Generate files in build dir.
20824         (dir-add.texi): Build in build dir.
20825         (libm-err.texi,stamp-libm-err): Likewise.
20826         (version.texi, stamp-version): Likewise.
20827         (.%c.texi): Likewise.
20828         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20829         (mostlyclean): Remove target.
20830         (realclean): Remove target.
20831         (generated): Add new variable with contents from mostlyclean and
20832         realclean, remove entries duplicated in common-mostlyclean, add
20833         stamp-libm-err and stamp-version.
20834         (generated-dirs): Add libc directory.
20835         ($(inst_infodir)/libc.info): Install files from build dir.
20837         * manual/install.texi (Configuring and compiling): Adjust since
20838         the info files are not part of the tar ball anymore.
20840 2012-05-14  Andreas Jaeger  <aj@suse.de>
20842         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20843         variable.
20845 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20847         [BZ #13717]
20848         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20849         to 2.2.0 where earlier.
20850         * sysdeps/unix/sysv/linux/configure: Regenerated.
20851         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20852         Remove conditional code.
20853         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20854         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20855         Remove conditional code.
20856         [!__NR_lchown]: Likewise.
20857         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20858         [__NR_lchown]: Likewise.
20859         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20860         comment referencing __ASSUME_LCHOWN_SYSCALL.
20861         * sysdeps/unix/sysv/linux/i386/sigaction.c
20862         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20863         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20864         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20865         Remove conditional code.
20866         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20867         (__protocol_available): Remove #if 0 code.
20868         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20869         conditional code.
20870         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20871         * sysdeps/unix/sysv/linux/kernel-features.h
20872         (__ASSUME_GETCWD_SYSCALL): Don't define.
20873         (__ASSUME_REALTIME_SIGNALS): Likewise.
20874         (__ASSUME_PREAD_SYSCALL): Likewise.
20875         (__ASSUME_PWRITE_SYSCALL): Likewise.
20876         (__ASSUME_POLL_SYSCALL): Likewise.
20877         (__ASSUME_LCHOWN_SYSCALL): Likewise.
20878         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20879         non-SPARC.
20880         (__ASSUME_SIOCGIFNAME): Don't define.
20881         (__ASSUME_MSG_NOSIGNAL): Likewise.
20882         (__ASSUME_SENDFILE): Define unconditionally.
20883         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20884         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20885         conditional code.
20886         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20887         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20888         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20889         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20890         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20891         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20892         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20894         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20895         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20897         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20898         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20900         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20901         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20903         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20904         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20906         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20907         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20909         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20910         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20912         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20913         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20915         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20916         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20917         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20918         Remove conditional code.
20919         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20920         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20921         Remove conditional code.
20922         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20923         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20924         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20925         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20926         Remove conditional code.
20927         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20928         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20929         Remove conditional code.
20930         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20931         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20932         Remove conditional code.
20933         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20934         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20935         Remove conditional code.
20936         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20937         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20938         Remove conditional code.
20939         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20940         * sysdeps/unix/sysv/linux/sh/pwrite64.c
20941         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20942         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20943         * sysdeps/unix/sysv/linux/sigaction.c
20944         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20945         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20946         * sysdeps/unix/sysv/linux/sigpending.c
20947         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20948         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20949         * sysdeps/unix/sysv/linux/sigprocmask.c
20950         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20951         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20952         * sysdeps/unix/sysv/linux/sigsuspend.c
20953         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20954         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20955         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20956         (__libc_missing_rt_sigs): Remove.
20957         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20958         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20959         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20960         Remove conditional code.
20961         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20962         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20963         return 1.
20964         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20965         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20966         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20967         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20969 2012-05-14  Andreas Jaeger  <aj@suse.de>
20971         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20972         it's not used in glibc.
20973         (__coshm1): Likewise.
20974         (__acosh1p): Likewise.
20975         (__sgn): Likewise.
20977         * manual/string.texi (Copying and Concatenation): Add missing
20978         variable in concat example.
20979         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20981 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20983         [BZ #14103]
20984         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20985         __builtin_clzl with __builtin_clzll.
20987 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20989         [BZ #14104]
20990         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20991         libc_freeres_ptr.
20993 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20995         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20996         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20997         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20998         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21000 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
21002         * NEWS: Update ia64 info.
21004 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
21006         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21007         used as bcopy.
21009 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
21011         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21012         * sysdeps/unix/syscalls.list (dup3): Likewise.
21013         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21014         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21016 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21018         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21019         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21021 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21023         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21024         thread pointer.
21025         (TLS_IE): Use mov/add instead of movq/addq to load thread
21026         pointer.
21027         (TLS_GD_PREFIX): New.
21028         (TLS_GD): Use it.
21030 2012-05-11  David S. Miller  <davem@davemloft.net>
21032         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21033         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21034         (_FPU_SETCW): Likewise.
21036 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21038         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21039         is 32-byte aligned.
21041 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
21043         [BZ #11837]
21044         * iconvdata/gb18030.c: Update tables.
21045         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
21046         characters specially.
21047         (BODY for TO_LOOP): Add encoding of missing ranges.
21049 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
21051         [BZ #13673]
21052         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21053         * sysdeps/mach/hurd/dup3.c: Likewise.
21054         * sysdeps/mach/hurd/readlinkat.c: Likewise.
21055         * sysdeps/powerpc/memmove.c:: Likewise.
21057 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21059         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21060         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21062 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21064         * elf/elf.h (R_X86_64_RELATIVE64): New.
21065         (R_X86_64_NUM): Updated.
21066         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21067         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
21068         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21069         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21070         tst-quad1pie tst-quad2pie
21071         (modules-names): Add tst-quadmod1 tst-quadmod2.
21072         ($(objpfx)tst-quad1): New dependency.
21073         ($(objpfx)tst-quad2): Likewise.
21074         ($(objpfx)tst-quad1pie): Likewise.
21075         ($(objpfx)tst-quad2pie): Likewise.
21076         * sysdeps/x86_64/tst-quad1.c: New file.
21077         * sysdeps/x86_64/tst-quad1pie.c: New file.
21078         * sysdeps/x86_64/tst-quad2.c: Likewise.
21079         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21080         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21081         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21082         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21083         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21085 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21087         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21088         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21089         * streams/stropts.h (t_scalar_t): Define type.
21091         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21092         (_PATH_PRESERVE): Set to "/var/lib".
21093         (_PATH_RWHODIR): Set to "/var/spool/rwho".
21095         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21096         instead of int.
21098         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21099         if __dir_mkfile succeeded.
21101         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21102         checking for _hurd_dtablesize.  Unlock it right after having
21103         finished _hurd_dtable allocation.
21105 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21107         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21108         * sysdeps/mach/hurd/configure: Regenerated.
21109         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21110         special-casing to...
21111         * sysdeps/gnu/configure.in: ... this new file.
21112         * sysdeps/unix/sysv/linux/configure: Regenerated.
21113         * sysdeps/gnu/configure: New generated file.
21115         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21116         for Linux: use nsec instead of usec, as well as:
21117         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21118         members of type struct timespec.
21119         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21120         New macros.
21121         (struct stat64): Likewise.
21122         (_STATBUF_ST_NSEC): New macro.
21123         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21125         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21126         __strtoul_internal rather than strtoul.
21128 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21130         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21131         and reject them.
21133 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21135         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21136         which preserves existing values.
21137         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21139 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21141         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21142         TIMEOUT values.  Return EINVAL for NFDS values either negative or
21143         greater than FD_SETSIZE.
21145 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21147         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21148         allocated, call __vm_protect to finish enabling the existing space, and
21149         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21150         allocate the remainder.
21152 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21154         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21155         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
21157 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21159         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21160         sysdeps/mach/hurd/readlink.c.
21162         * posix/tst-sysconf.c (posix_options): Only use
21163         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21164         _POSIX_SYNCHRONIZED_IO when they are defined
21165         * sysdeps/mach/hurd/bits/posix_opt.h:
21166         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21167         (_XOPEN_REALTIME): Undefine macro.
21168         (_XOPEN_REALTIME_THREADS): Undefine macro.
21169         (_XOPEN_SHM): Undefine macro.
21170         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21171         macro to -1.
21172         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21173         macro to -1.
21174         (_POSIX_ASYNC_IO): Undefine macro.
21175         (_POSIX_PRIORITIZED_IO): Undefine macro.
21176         (_POSIX_SPIN_LOCKS): Define macro to -1.
21178         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21179         SA_NODEFER, SA_RESETHAND.
21180         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21181         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21182         F_DUPFD_CLOEXEC.
21184 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21186         * elf/Makefile (pldd-modules): Define unconditionally.
21188 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21190         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21192 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21194         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21195         Return ENOENT when name is empty.
21196         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21198 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21200         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21202         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21204 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21206         Fix mlock in all cases except non-readable pages.
21207         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21208         instead of VM_PROT_ALL as parameter to __vm_wire function.
21210         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21211         (__mkdir): When path is `/', just fail with EEXIST.
21212         * sysdeps/mach/hurd/mkdirat.c: Likewise.
21214 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21216         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21217         <sys/uio.h> (for writev).
21218         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21219         and <sys/param.h> (for MIN).
21221 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21223         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21224         REQUESTED_TIME.  Properly set the remaining time and return EINTR
21225         if interrupted.
21227 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21229         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21230         Depend on against $(link-rpcuserlibs).
21232 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21234         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21235         (__libc_stack_end): Do not use attribute_relro.
21236         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21237         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21238         to libthread-provided value.
21239         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21240         attribute_relro.
21242 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21244         [BZ #3748]
21245         * bits/libc-lock.h (__libc_once_get): New macro.
21246         * sysdeps/mach/bits/libc-lock.h: Likewise.
21247         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21248         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21249         instead of using implementation details.
21251         * libio/fileops.c: Unconditionally include <kernel-features.h>.
21252         * libio/freopen.c: Likewise.
21253         * libio/freopen64.c: Likewise.
21254         * misc/syslog.c: Likewise.
21255         * nscd/connections.c: Likewise.
21256         * nscd/netgroupcache.c: Likewise.
21257         * sysdeps/posix/getcwd.c: Likewise.
21259 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21261         * math/w_ilogbf.c: Add #include <limits.h>.
21263 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21265         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21266         path instead of returning without unlocking.
21268         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21269         immediate-write ioctls.
21270         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21272 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21274         * sysdeps/mach/hurd/i386/init-first.c (init): Use
21275         __builtin_frame_address instead of making assumptions about the
21276         location of the return address relative to DATA.  Force early load of
21277         the return address.
21278         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21279         __builtin_frame_address.
21281         dup3 for GNU Hurd.
21282         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21283         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
21284         implement dup3 and do some further code clean-ups.
21285         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21286         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21288 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21290         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21292         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21293         HURD_CRITICAL_END around holding _hurd_dtable_lock.
21294         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21295         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21296         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21297         d->port.lock.
21299         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21300         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
21301         when handler == SIG_ERR, not when handler != SIG_ERR.
21303 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21305         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21306         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21307         definitions.
21309         accept4 for GNU Hurd.
21310         * include/sys/socket.h (__libc_accept4): New prototype.
21311         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
21312         to implement __libc_accept4.
21313         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21314         __libc_accept4.
21315         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21317         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21318         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21319         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21320         signal-defines.sym.
21322 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21324         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21326 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21328         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21329         assertion on O_CLOEXEC flag.
21330         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21331         * hurd/intern-fd.c: Likewise.
21332         * hurd/port2fd.c: Likewise.
21334 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21336         [BZ #3906]
21337         * bits/in.h (IPV6_PKTINFO): Define new macro.
21338         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21340 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21342         [BZ #13954]
21343         [BZ #13955]
21344         [BZ #13956]
21345         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21346         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21347         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21348         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21349         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21350         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21351         * math/libm-test.inc (logb_test) : Additional logb tests.
21353 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
21354             Andreas Jaeger  <aj@suse.de>
21356         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21357         * configure: Regenerated.
21358         * config.h.in (LINK_OBSOLETE_RPC): New macro.
21359         * config.make.in (link-obsolete-rpc): New substituted variable.
21360         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21361         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21362         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21363         (shared-only-routines): Don't set it under [link-obsolete-rpc],
21364         so that libc.a contains the symbols.
21365         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21366         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21367         * sunrpc/auth_none.c: Likewise.
21368         * sunrpc/auth_unix.c: Likewise.
21369         * sunrpc/authdes_prot.c: Likewise.
21370         * sunrpc/authuxprot.c: Likewise.
21371         * sunrpc/clnt_gen.c: Likewise.
21372         * sunrpc/clnt_perr.c: Likewise.
21373         * sunrpc/clnt_raw.c: Likewise.
21374         * sunrpc/clnt_simp.c: Likewise.
21375         * sunrpc/clnt_tcp.c: Likewise.
21376         * sunrpc/clnt_udp.c: Likewise.
21377         * sunrpc/clnt_unix.c: Likewise.
21378         * sunrpc/des_crypt.c: Likewise.
21379         * sunrpc/des_soft.c: Likewise.
21380         * sunrpc/get_myaddr.c: Likewise.
21381         * sunrpc/key_call.c: Likewise.
21382         * sunrpc/key_prot.c: Likewise.
21383         * sunrpc/netname.c: Likewise.
21384         * sunrpc/pm_getmaps.c: Likewise.
21385         * sunrpc/pm_getport.c: Likewise.
21386         * sunrpc/pmap_clnt.c: Likewise.
21387         * sunrpc/pmap_prot.c: Likewise.
21388         * sunrpc/pmap_prot2.c: Likewise.
21389         * sunrpc/pmap_rmt.c: Likewise.
21390         * sunrpc/publickey.c: Likewise.
21391         * sunrpc/rpc_cmsg.c: Likewise.
21392         * sunrpc/rpc_common.c: Likewise.
21393         * sunrpc/rpc_dtable.c: Likewise.
21394         * sunrpc/rpc_prot.c: Likewise.
21395         * sunrpc/rpc_thread.c: Likewise.
21396         * sunrpc/rtime.c: Likewise.
21397         * sunrpc/svc.c: Likewise.
21398         * sunrpc/svc_auth.c: Likewise.
21399         * sunrpc/svc_raw.c: Likewise.
21400         * sunrpc/svc_run.c: Likewise.
21401         * sunrpc/svc_tcp.c: Likewise.
21402         * sunrpc/svc_udp.c: Likewise.
21403         * sunrpc/svc_unix.c: Likewise.
21404         * sunrpc/svcauth_des.c: Likewise.
21405         * sunrpc/xcrypt.c: Likewise.
21406         * sunrpc/xdr.c: Likewise.
21407         * sunrpc/xdr_array.c: Likewise.
21408         * sunrpc/xdr_float.c: Likewise.
21409         * sunrpc/xdr_intXX_t.c: Likewise.
21410         * sunrpc/xdr_mem.c: Likewise.
21411         * sunrpc/xdr_rec.c: Likewise.
21412         * sunrpc/xdr_ref.c: Likewise.
21413         * sunrpc/xdr_sizeof.c: Likewise.
21414         * sunrpc/xdr_stdio.c: Likewise.
21416 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21418         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21419         change.  Update copyright years.
21421 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21423         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21425 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
21426             Joseph Myers  <joseph@codesourcery.com>
21427             Paul Pluzhnikov  <ppluzhnikov@google.com>
21429         [BZ #14012]
21430         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21431         requiring rpcgen.
21432         [cross-compiling] (extra-libs): Likewise.
21433         [cross-compiling] (extra-libs-others): Likewise.
21434         [cross-compiling] (librpcsvc-routines): Likewise.
21435         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21436         [cross-compiling] (omit-deps): Likewise.
21437         (sunrpc-CPPFLAGS): New variable.
21438         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21439         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21440         (cross-rpcgen-objs): New variable.
21441         (extra-objs): Append $(cross-rpcgen-objs).
21442         ($(cross-rpcgen-objs)): New rule.
21443         ($(objpfx)cross-rpcgen): Likewise.
21444         (rpcgen-cmd): Define to use $(built-program-file).  Expand
21445         comment.
21446         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21447         ($(objpfx)x%.stmp): Likewise.
21448         * sunrpc/proto.h [IS_IN_build] (_): Define.
21449         [IS_IN_build] (_libc_intl_domainname): Likewise.
21451 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21453         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21454         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21455         and R_X86_64_TPOFF64.
21457 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21459         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21460         sysdeps/unix/sysv/syscalls.list.
21461         (stime): Likewise.
21462         (utime): Likewise.
21463         * sysdeps/unix/sysv/syscalls.list: Remove file.
21465 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
21467         [BZ #3440]
21468         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21469         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21470         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21471         (__LC_IDENTIFICATION): Make these macros useful in #if
21472         expressions, as required by C99.
21474 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
21476         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21477         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
21478         after this.
21480 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
21482         * stdlib/longlong.h: Updated from GCC.
21484 2012-05-09  Andreas Jaeger  <aj@suse.de>
21486         * nscd/nscd.c (run_modes): Make named enum, reorder so that
21487         default is first entry.
21488         (run_mode): Set type.
21489         (main): Remove informal message about syslog.
21490         (options): Fix typo.
21492         [BZ #14053]
21493         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21494         to asm.
21495         (lrint): Likewise.
21496         (llrintf): Likewise.
21497         (llrint): Likewise.
21498         (rint): Likewise.
21499         (rintf): Likewise.
21500         (nearbyint): Likewise.
21501         (nearbyintf): Likewise.
21503 2012-05-09  Andreas Jaeger  <aj@suse.de>
21504             Pedro Alves  <palves@redhat.com>
21506         * nscd/nscd.c (run_mode): Use enum.
21507         (main): Cleanup coding style issue.
21509 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
21510             Andreas Jaeger  <aj@suse.de>
21512         * nscd/nscd.c (go_background): Replaced with...
21513         (run_mode): ... this.
21514         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21515         (options): Add -F --foreground.
21516         (main): Implement it.
21517         (parse_opt): Parse it.
21519 2012-05-09  Andreas Jaeger  <aj@suse.de>
21521         [BZ #14083]
21522         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21523         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21524         -Wconversion warning.
21525         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21526         Likewise.
21528 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
21530         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
21531         == 0.
21532         (LC_ALL): Use macro-int-constant.
21533         (LC_COLLATE): Likewise.
21534         (LC_CTYPE): Likewise.
21535         (LC_MESSAGES): Likewise.
21536         (LC_MONETARY): Likewise.
21537         (LC_NUMERIC): Likewise.
21538         (LC_TIME): Likewise.
21539         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21540         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21541         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21542         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21543         Specify type.
21544         [C99-based standards] (float_t): Expect type.
21545         [C99-based standards] (double_t): Expect type.
21546         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
21547         type.
21548         [C99-based standards] (HUGE_VALL): Likewise.
21549         [C99-based standards] (INFINITY): Likewise.
21550         [C99-based standards] (NAN): Likewise.
21551         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21552         [C99-based standards] (FP_NAN): Likewise.
21553         [C99-based standards] (FP_NORMAL): Likewise.
21554         [C99-based standards] (FP_SUBNORMAL): Likewise.
21555         [C99-based standards] (FP_ZERO): Likewise.
21556         [C99-based standards] (FP_FAST_FMA): Use
21557         optional-macro-int-constant.  Specify type.  Require == 1.
21558         [C99-based standards] (FP_FAST_FMAF): Likewise.
21559         [C99-based standards] (FP_FAST_FMAL): Likewise.
21560         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21561         [C99-based standards] (FP_ILOGBNAN): Likewise.
21562         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21563         Specify type.
21564         [C99-based standards] (MATH_ERREXCEPT): Likewise.
21565         [C99-based standards] (math_errhandling): Specify type.
21566         [ISO99 || ISO11] (signgam): Do not allow.
21567         [non-C99-based standards] (copysignf): Do not allow.
21568         [non-C99-based standards] (exp2f): Likewise.
21569         [non-C99-based standards] (log2f): Likewise.
21570         [non-C99-based standards] (modff): Allow.
21571         [non-C99-based standards] (erff): Do not allow.
21572         [non-C99-based standards] (erfcf): Likewise.
21573         [non-C99-based standards] (gammaf): Likewise.
21574         [non-C99-based standards] (hypotf): Likewise.
21575         [non-C99-based standards] (j0f): Likewise.
21576         [non-C99-based standards] (j1f): Likewise.
21577         [non-C99-based standards] (jnf): Likewise.
21578         [non-C99-based standards] (lgammaf): Likewise.
21579         [non-C99-based standards] (tgammaf): Likewise.
21580         [non-C99-based standards] (y0f): Likewise.
21581         [non-C99-based standards] (y1f): Likewise.
21582         [non-C99-based standards] (ynf): Likewise.
21583         [non-C99-based standards] (isnanf): Likewise.
21584         [non-C99-based standards] (acoshf): Likewise.
21585         [non-C99-based standards] (asinhf): Likewise.
21586         [non-C99-based standards] (atanhf): Likewise.
21587         [non-C99-based standards] (cbrtf): Likewise.
21588         [non-C99-based standards] (expm1f): Likewise.
21589         [non-C99-based standards] (ilogbf): Likewise.
21590         [non-C99-based standards] (log1pf): Likewise.
21591         [non-C99-based standards] (logbf): Likewise.
21592         [non-C99-based standards] (nextafterf): Likewise.
21593         [non-C99-based standards] (remainderf): Likewise.
21594         [non-C99-based standards] (rintf): Likewise.
21595         [non-C99-based standards] (scalbf): Likewise.
21596         [non-C99-based standards] (copysignl): Likewise.
21597         [non-C99-based standards] (exp2l): Likewise.
21598         [non-C99-based standards] (log2l): Likewise.
21599         [non-C99-based standards] (modfl): Allow.
21600         [non-C99-based standards] (erfl): Do not allow.
21601         [non-C99-based standards] (erfcl): Likewise.
21602         [non-C99-based standards] (gammal): Likewise.
21603         [non-C99-based standards] (hypotl): Likewise.
21604         [non-C99-based standards] (j0l): Likewise.
21605         [non-C99-based standards] (j1l): Likewise.
21606         [non-C99-based standards] (jnl): Likewise.
21607         [non-C99-based standards] (lgammal): Likewise.
21608         [non-C99-based standards] (tgammal): Likewise.
21609         [non-C99-based standards] (y0l): Likewise.
21610         [non-C99-based standards] (y1l): Likewise.
21611         [non-C99-based standards] (ynl): Likewise.
21612         [non-C99-based standards] (isnanl): Likewise.
21613         [non-C99-based standards] (acoshl): Likewise.
21614         [non-C99-based standards] (asinhl): Likewise.
21615         [non-C99-based standards] (atanhl): Likewise.
21616         [non-C99-based standards] (cbrtl): Likewise.
21617         [non-C99-based standards] (expm1l): Likewise.
21618         [non-C99-based standards] (ilogbl): Likewise.
21619         [non-C99-based standards] (log1pl): Likewise.
21620         [non-C99-based standards] (logbl): Likewise.
21621         [non-C99-based standards] (nextafterl): Likewise.
21622         [non-C99-based standards] (remainderl): Likewise.
21623         [non-C99-based standards] (rintl): Likewise.
21624         [non-C99-based standards] (scalbl): Likewise.
21625         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21626         [non-C99-based standards] (FP_*): Do not allow.
21627         [C99-based standards] (FP_*): Change to
21628         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21629         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21630         allow.
21631         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21632         (SIG_ERR): Likewise.
21633         [X/Open-based standards] (SIG_HOLD): Likewise.
21634         (SIG_IGN): Likewise.
21635         (SIGABRT): Use macro-int-constant.  Specify type.  Require
21636         positive value.
21637         (SIGFPE): Likewise.
21638         (SIGILL): Likewise.
21639         (SIGINT): Likewise.
21640         (SIGSEGV): Likewise.
21641         (SIGTER): Likewise.
21642         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21643         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21644         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21645         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21646         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21647         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21648         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21649         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21650         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21651         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21652         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21653         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21654         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21655         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21656         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21657         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21658         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21659         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21660         [X/Open-based standards] (SIGTRAP): Likewise.
21661         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21662         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21663         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21664         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21665         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21666         allow.
21668 2012-05-08  Ian Wienand  <ianw@vmware.com>
21670         [BZ #14080]
21671         * time/tzset.c (__tzset_parse_tz): Update default rules for
21672         daylight time changes in the Energy Policy Act of 2005.
21674 2012-05-09  Andreas Jaeger  <aj@suse.de>
21676         [BZ #13983]
21677         * elf/ldconfig.c (parse_conf): Change string to make clear that
21678         ldconfig only issued a warning if ld.so.conf does not exist.
21680 2012-05-08  David S. Miller  <davem@davemloft.net>
21682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21683         movxtod instead of popping the value on the stack.
21685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21687 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
21689         * config.h.in: Add HAVE_ARM_PCS_VFP.
21691 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
21693         [BZ #13979]
21694         * include/features.h: Warn if user requests __FORTIFY_SOURCE
21695         checking but the checks are disabled for any reason.
21697 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
21699         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21700         and ELF64_R_TYPE with ELFW(R_TYPE).
21702 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
21704         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21705         (ulimit): Likewise.
21707         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21708         (settimeofday): Likewise.
21710 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
21712         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
21713         a struct th_u2 inside the union, and move tu_block/tu_code into
21714         a new th_u3 union of tu_block/tu_code inside of that.  Move
21715         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
21716         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
21717         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21718         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21719         (th_stuff): Change to th_u1.tu_stuff.
21720         (th_data): Define.
21721         (th_msg): Change to th_u1.th_u2.tu_data.
21723 2012-05-07  David S. Miller  <davem@davemloft.net>
21725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21727         [BZ #14074]
21728         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21729         (SETUP_PIC_REG): Use it.
21730         (SETUP_PIC_REG_LEAF): Use it.
21732 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
21734         [BZ #13885]
21735         [BZ #13923]
21736         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21737         USE_AS_EXPM1L.
21738         (EXPL_FINITE): Likewise.
21739         (FLDLOG): Likewise.
21740         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21741         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21742         e_expl.S.
21743         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21744         USE_AS_EXPM1L.
21745         (EXPL_FINITE): Likewise.
21746         (FLDLOG): Likewise.
21747         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21748         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21749         e_expl.S.
21750         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
21751         test of -max_value argument for long double.
21752         * sysdeps/i386/fpu/libm-test-ulps: Update.
21753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21755 2012-05-06  David S. Miller  <davem@davemloft.net>
21757         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21758         quad soft-float symbols whose references which are compiler
21759         generated.
21760         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21762 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
21764         [BZ #13884]
21765         [BZ #13914]
21766         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21767         USE_AS_EXP10L.
21768         (EXPL_FINITE): Likewise.
21769         (FLDLOG): Likewise.
21770         (c0): Likewise.
21771         (c1): Likewise.
21772         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21773         Adjust comments for base varying.
21774         (__expl_finite): Change alias to EXPL_FINITE.
21775         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21776         e_expl.S.
21777         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21778         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21779         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21780         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21781         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21782         USE_AS_EXP10L.
21783         (EXPL_FINITE): Likewise.
21784         (FLDLOG): Likewise.
21785         (c0): Likewise.
21786         (c1): Likewise.
21787         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21788         Adjust comments for base varying.
21789         (__expl_finite): Change alias to EXPL_FINITE.
21790         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
21791         tests for bugs.
21792         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21794         [BZ #14064]
21795         * math/libm-test.inc (check_float_internal): Correct ulp
21796         calculation for subnormal expected results.
21798 2012-05-06  Andreas Jaeger  <aj@suse.de>
21800         * Makeconfig (+math-flags): New, set to -frounding-math.
21801         (+cflags): Add +math-flags so that all of glibc gets compiled with
21802         it.
21804         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21806 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
21808         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21809         Disable one test.
21811         [BZ #13787]
21812         [BZ #13922]
21813         [BZ #14036]
21814         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21815         (__ieee754_expl): Allow for and saturate large arguments.
21816         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21817         (u_threshold): Likewise.
21818         (__exp): Call __ieee754_exp before checking for overflow and
21819         underflow.
21820         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21821         (u_threshold): Likewise.
21822         (__expf): Call __ieee754_expf before checking for overflow and
21823         underflow.
21824         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21825         (u_threshold): Likewise.
21826         (__expl): Call __ieee754_expl before checking for overflow and
21827         underflow.
21828         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21829         (__ieee754_expl): Allow for and saturate large arguments.
21830         * math/libm-test.inc (exp_test): Add another test.  Do not allow
21831         missing overflow exception on overflow.
21832         (expm1_test): Do not allow missing overflow exception on overflow.
21834         * sysdeps/i386/fpu/e_expl.c: Move to ...
21835         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
21836         rather than using inline asm.
21837         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21838         * sysdeps/x86_64/fpu/e_expl.S: Copy from
21839         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21841         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21842         (nice): Likewise.
21843         (poll): Likewise.
21844         (signal): Likewise.
21845         (time): Likewise.
21846         (times): Likewise.
21848 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21850         * sysdeps/unix/syscalls.list (adjtime): Add entry from
21851         sysdeps/unix/common/syscalls.list.
21852         (fchmod): Likewise.
21853         (fchown): Likewise.
21854         (ftruncate): Likewise.
21855         (getrusage): Likewise.
21856         (gettimeofday): Likewise.
21857         (setpgid): Likewise.
21858         (setregid): Likewise.
21859         (setreuid): Likewise.
21860         (sigaction): Likewise.
21861         (truncate): Likewise.
21862         (vhangup): Likewise.
21863         * sysdeps/unix/common/syscalls.list: Remove file.
21864         * sysdeps/unix/bsd/Implies: Don't include unix/common.
21865         * sysdeps/unix/sysv/linux/Implies: Likewise.
21867 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
21869         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21871         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21872         Moved to ...
21873         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21874         Here.
21875         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21876         to ...
21877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21878         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21879         to ...
21880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21881         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21882         to ...
21883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21884         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21885         to ...
21886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21887         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21888         to ...
21889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21890         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21891         to ...
21892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21893         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21894         to ...
21895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21896         Here.
21897         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21898         to ...
21899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21900         Here.
21901         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21902         to ...
21903         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21904         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21905         Moved to ...
21906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21907         Here.
21908         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21909         to ...
21910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21912 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21914         * sysdeps/unix/common/bits/dirent.h: Remove file.
21915         * sysdeps/unix/common/bits/fcntl.h: Likewise.
21917         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21918         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21919         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21920         * sysdeps/unix/bsd/isatty.c: Likewise.
21921         * sysdeps/unix/bsd/tcdrain.c: Likewise.
21922         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21923         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21925 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21927         [BZ #13563]
21928         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21929         long double comparison inaccuracies.
21930         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21933 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
21935         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21936         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21938 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21940         [BZ #14049]
21941         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21942         nonzero digits before rounding a hex value.
21943         * stdlib/tst-strtod.c (tests): Add another test.
21945 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21947         * sysdeps/s390/fpu/libm-test-ulps: Update.
21949 2012-05-03  Andreas Jaeger  <aj@suse.de>
21951         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21952         does not get optimized out.
21953         (malloc_opt_barrier): New.
21955 2012-05-03  Andreas Jaeger  <aj@suse.de>
21956             Roland McGrath  <roland@hack.frob.com>
21958         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21959         intermediate file deletion.
21960         (generated): Add .symlist files.
21962 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
21964         [BZ #13775]
21965         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21966         Redirect under this condition.
21967         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21968         [__USE_GNU] (__dprintf_chk): Not under this condition.
21969         [__USE_GNU] (__vdprintf_chk): Likewise.
21970         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21971         under this condition.
21972         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21973         [__USE_XOPEN2K8] (dprintf): Define under this condition.
21974         [__USE_XOPEN2K8] (vdprintf): Likewise.
21975         [__USE_GNU] (__dprintf_chk): Not under this condition.
21976         [__USE_GNU] (__vdprintf_chk): Likewise.
21977         [__USE_GNU] (dprintf): Likewise.
21978         [__USE_GNU] (vdprintf): Likewise.
21980 2012-05-03  Roland McGrath  <roland@hack.frob.com>
21982         * elf/Makefile (common-generated): Set this instead of generated for
21983         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
21984         $(all-built-dso)-derived lists.
21986 2012-05-03  Andreas Jaeger  <aj@suse.de>
21988         * sysdeps/i386/fpu/libm-test-ulps: Update.
21990         * FAQ: Removed.
21991         * FAQ.in: Likewise.
21992         * scripts/gen-FAQ.pl: Likewise.
21993         * manual/install.texi (Installation): Point to online location of
21994         FAQ.
21995         * Makefile (files-for-dist): Remove FAQ.
21996         (FAQ): Remove.
21998 2012-05-02  Allan McRae  <allan@archlinux.org>
22000         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22001         (LDFLAGS-reldepmod5.so): Likewise.
22002         (LDFLAGS-reldep6mod1.so): Likewise.
22003         (LDFLAGS-reldep6mod4.so): Likewise.
22004         (LDFLAGS-reldep8mod3.so): Likewise.
22005         (LDFLAGS-unload4mod1.so): Likewise.
22006         (LDFLAGS-unload4mod2.so): Likewise.
22007         (LDFLAGS-tst-initorder): Likewise.
22008         (LDFLAGS-tst-initordera2.so): Likewise.
22009         (LDFLAGS-tst-initordera3.so): Likewise.
22010         (LDFLAGS-tst-initordera4.so): Likewise.
22011         (LDFLAGS-tst-initorderb2.so): Likewise.
22012         (LDFLAGS-noload): Likewise.
22013         (LDFLAGS-next): Likewise.
22014         (LDFLAGS-order2mod1.so): Likewise.
22015         (LDFLAGS-order2mod2.so): Likewise.
22016         (LDFLAGS-tst-initorder2): Likewise.
22017         (LDFLAGS-tst-initorder2a.so): Likewise.
22018         (LDFLAGS-tst-initorder2b.so): Likewise.
22019         (LDFLAGS-tst-initorder2c.so): Likewise.
22020         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22022 2012-05-02  David S. Miller  <davem@davemloft.net>
22024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22026 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22028         [BZ #14055]
22029         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22031 2012-05-02  Andreas Jaeger  <aj@suse.de>
22033         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22034         since we manipulate rounding mode.
22035         (CPPFLAGS-test-idouble.c): Likewise.
22036         (CPPFLAGS-test-ifloat.c): Likewise.
22037         (CFLAGS-test-ldouble.c): Likewise.
22038         (CFLAGS-test-double.c): Likewise.
22039         (CFLAGS-test-float.c): Likewise.
22040         (CFLAGS-test-misc.c): Likewise.
22041         (CFLAGS-test-test-fenv.c): Likewise.
22043 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22045         [BZ #2550]
22046         [BZ #2570]
22047         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22048         comparisons to determine direction to adjust input.
22050 2012-05-01  Roland McGrath  <roland@hack.frob.com>
22052         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22053         output to the target.
22055         * scripts/localplt.awk: New file.
22056         * elf/Makefile ($(objpfx)check-localplt): Target removed.
22057         (check-localplt-CFLAGS): Variable removed.
22058         ($(all-built-dso:=.jmprel)): New static pattern rule.
22059         (generated): Add those targets.
22060         (localplt-built-dso): New variable.
22061         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22063         * elf/check-localplt.c: File removed.
22065         * scripts/check-execstack.awk: New file.
22066         * elf/Makefile ($(objpfx)check-execstack): Target removed.
22067         (check-execstack-CFLAGS): Variable removed.
22068         ($(objpfx)check-execstack.h): Target removed.
22069         ($(objpfx)execstack-default): New target.
22070         (generated): Add that instead of check-execstack.h.
22071         ($(all-built-dso:=.phdr)): New static pattern rule.
22072         (generated): Add those targets.
22073         * elf/check-execstack.c: File removed.
22075         * scripts/check-textrel.awk: New file.
22076         * elf/Makefile ($(objpfx)check-textrel): Target removed.
22077         (check-textrel-CFLAGS): Variable removed.
22078         (all-built-dso): Use := to define.o
22079         ($(all-built-dso:=.dyn)): New static pattern rule.
22080         (generated): Add those targets.
22081         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22082         * config.make.in (READELF): New substituted variable.
22083         * elf/check-textrel.c: File removed.
22085 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22087         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22088         allow.
22089         * conform/data/ctype.h-data [C99-based standards] (isblank):
22090         Expect function.
22091         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22092         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22093         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22094         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22095         Specify type.  Require positive value.
22096         (EILSEQ): Likewise.
22097         (ERANGE): Likewise.
22098         [ISO || POSIX] (EILSEQ): Do not expect.
22099         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22100         Specify type.  Require positive value.
22101         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22102         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22103         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22104         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22105         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22106         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22107         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22108         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22109         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22110         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22111         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22112         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22113         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22114         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22115         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22116         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22117         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22118         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22119         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22120         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22121         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22122         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22123         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22124         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22125         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22126         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22127         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22128         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22129         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22130         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22131         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22132         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22133         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22134         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22135         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22136         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22137         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22138         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22139         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22140         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22141         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22142         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22143         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22144         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22145         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22146         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22147         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22148         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22149         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22150         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22151         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22152         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22153         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22154         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22155         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22156         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22157         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22158         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22159         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22160         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22161         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22162         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22163         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22164         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22165         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22166         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22167         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22168         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22169         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22170         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22171         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22172         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22173         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22174         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22175         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22176         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22177         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22178         Require >= 2.
22179         (FLT_ROUNDS): Expect as macro, not constant.
22180         (FLT_MANT_DIG): Use macro-int-constant.
22181         (DBL_MANT_DIG): Likewise.
22182         (LDBL_MANT_DIG): Likewise.
22183         (FLT_DIG): Likewise.
22184         (DBL_DIG): Likewise.
22185         (LDBL_DIG): Likewise.
22186         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
22187         (DBL_MIN_EXP): Likewise.
22188         (LDBL_MIN_EXP): Likewise.
22189         (FLT_MAX_EXP): Use macro-int-constant.
22190         (DBL_MAX_EXP): Likewise.
22191         (LDBL_MAX_EXP): Likewise.
22192         (FLT_MAX_10_EXP): Likewise.
22193         (DBL_MAX_10_EXP): Likewise.
22194         (LDBL_MAX_10_EXP): Likewise.
22195         (FLT_MAX): Use macro-constant.
22196         (DBL_MAX): Likewise.
22197         (LDBL_MAX): Likewise.
22198         (FLT_EPSILON): Use macro-constant.  Give upper bound.
22199         (DBL_EPSILON): Likewise.
22200         (LDBL_EPSILON): Likewise.
22201         (FLT_MIN): Likewise.
22202         (DBL_MIN): Likewise.
22203         (LDBL_MIN): Likewise.
22204         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22205         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22206         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22207         [ISO11] (FLT_HAS_SUBNORM): Likewise.
22208         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22209         [ISO11] (DBL_DECIMAL_DIG): Likewise.
22210         [ISO11] (FLT_DECIMAL_DIG): Likewise.
22211         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22212         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22213         [ISO11] (FLT_TRUE_MIN): Likewise.
22214         [ISO11] (LDBL_TRUE_MIN): Likewise.
22215         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22216         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22217         (SCHAR_MIN): Use macro-int-constant.  Specify type.
22218         (SCHAR_MAX): Likewise.
22219         (UCHAR_MAX): Likewise.
22220         (CHAR_MIN): Likewise.
22221         (CHAR_MAX): Likewise.
22222         (MB_LEN_MAX): Use macro-int-constant.
22223         (SHRT_MIN): Use macro-int-constant.  Specify type.
22224         (SHRT_MAX): Likewise.
22225         (USHRT_MAX): Likewise.
22226         (INT_MAX): Likewise.
22227         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
22228         bound negative.
22229         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22230         bound with "U".
22231         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22232         bound with "L".
22233         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
22234         bound negative.  Suffix upper bound with "L".
22235         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22236         bound with "UL".
22237         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22238         Specify type.
22239         [C99-based standards] (LLONG_MAX): Likewise.
22240         [C99-based standards] (ULLONG_MAX): Likewise.
22241         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
22242         == 0.
22243         [ISO11] (max_align_t): Require type.
22244         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22246         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22247         from $CFLAGS, without defining away __attribute__ calls.
22248         (checknamespace): Use $CFLAGS_namespace.
22250         * conform/conformtest.pl (@keywords): Only include C99 keywords
22251         for standards based on C99 or C11.
22253         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22254         Disable tests.
22255         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22256         UNIX98]: Likewise.
22258         * conform/conformtest.pl: Handle "macro-int-constant" and test for
22259         usability of symbols in #if.
22261         * conform/conformtest.pl: If macro or constant types start
22262         "promoted:", expect the symbol to be of the following type
22263         promoted by the integer promotions.
22265         * conform/conformtest.pl: Parse all "constant" and "macro" lines
22266         in one place.  Also handle "macro-constant".
22268         * conform/conformtest.pl: Only accept expected macro values with
22269         "==".  Parse all "macro" lines in one place.
22270         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22272         * conform/conformtest.pl: Handle braced types on "constant" lines
22273         instead of handling "typed-constant".
22274         * conform/data/signal.h-data: Use "constant" instead of
22275         "typed-constant".
22277         * conform/conformtest.pl: Handle "optional-" at start of lines in
22278         one place rather than duplicating several cases.  Handle each
22279         format of "macro" line with initial "optional-".
22281         * conform/conformtest.pl: Only accept expected constant or
22282         optional-constant values with "==".  Parse all "constant" lines in
22283         one place.  Parse all "optional-constant" lines in one place.
22284         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22285         * conform/data/fmtmsg.h-data: Likewise.
22286         * conform/data/netinet/in.h-data: Likewise.
22287         * conform/data/tar.h-data: Likewise.
22288         * conform/data/limits.h-data: Use "==" form on "constant" and
22289         "optional-constant" lines.
22291         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22292         Use -std=c99 for XOPEN2K.
22293         (@knownproblems): Remove.
22294         (newtoken): Don't check %isknown.
22296         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22297         Do not expect macro.
22298         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22299         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22300         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22301         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22302         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22303         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22304         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22305         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22306         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22307         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22308         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22309         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22310         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22311         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22312         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22313         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22314         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22315         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22316         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22317         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22318         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22319         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22320         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22321         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22322         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22323         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22324         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22325         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22326         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22327         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22328         [XPG3] (acosh): Likewise.
22329         [XPG3] (asinh): Likewise.
22330         [XPG3] (atanh): Likewise.
22331         [XPG3] (cbrt): Likewise.
22332         [XPG3] (expm1): Likewise.
22333         [XPG3] (ilogb): Likewise.
22334         [XPG3] (log1p): Likewise.
22335         [XPG3] (logb): Likewise.
22336         [XPG3] (nextafter): Likewise.
22337         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22338         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22339         [XPG3] (remainder): Likewise.
22340         [XPG3] (rint): Likewise.
22341         [XPG3 || XPG4 || UNIX98] (round): Likewise.
22342         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22343         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22344         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22345         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22346         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22347         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22348         [UNIX98 || XOPEN2K] (scalb): Expect.
22349         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22350         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22351         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22352         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22353         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22354         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22355         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22356         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22357         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22358         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22359         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22360         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22361         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22362         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22363         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22364         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22365         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22366         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22367         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22368         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22369         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22370         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22371         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22372         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22373         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22374         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22375         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22376         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22377         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22378         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22379         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22380         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22381         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22382         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22383         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22384         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22385         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22386         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22387         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22388         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22389         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22390         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22391         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22392         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22393         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22394         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22395         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22396         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22397         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22398         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22399         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22400         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22401         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22402         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22403         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22404         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22405         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22406         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22407         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22408         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22409         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22410         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22411         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22412         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22413         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22414         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22415         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22416         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22417         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22418         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22419         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22420         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22421         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22422         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22423         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22424         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22425         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22426         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22427         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22428         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22429         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22430         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22431         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22432         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22433         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22434         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22435         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22436         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22437         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22438         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22439         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22440         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22441         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22442         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22443         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22444         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22445         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22446         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22447         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22448         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22449         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22450         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22451         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22452         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22453         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22454         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22455         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22456         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22457         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22458         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22459         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22460         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22461         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22462         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22463         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22464         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22465         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22466         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22467         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22468         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22469         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22470         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22471         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22472         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22473         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22474         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22475         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22476         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22477         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22478         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22479         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22480         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22481         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22482         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22483         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22484         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22485         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22487         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22488         _XOPEN_SOURCE_EXTENDED for XPG4.
22490         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22492         * Makeconfig (localtime): Remove variable.
22493         (inst_localtime-file): Likewise.
22495 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22498         Update.
22499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22500         Update.
22501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22502         Update.
22503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22504         Update.
22505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22506         Update.
22507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22508         Update.
22509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22510         Update.
22511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22512         Update.
22513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22514         Update.
22516 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22518         [BZ #2550]
22519         [BZ #2570]
22520         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22521         comparisons to determine direction to adjust input.
22522         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22523         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22524         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22525         Likewise.
22526         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22527         Likewise.
22528         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22529         Likewise.
22530         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22531         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22532         Likewise.
22533         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22534         Likewise.
22535         * math/libm-test.inc (nexttoward_test): Add more tests.
22537 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22539         [BZ #14040]
22540         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22541         in version GLIBC_2.1, not GLIBC_2.0.
22542         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22543         Likewise.
22545 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
22547         [BZ #13942]
22548         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22549         (1 - x) * (1 + x).
22550         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22551         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22552         * math/libm-test.inc (acos_test): Add more tests.
22553         (asin_test): Likewise.
22554         * sysdeps/i386/fpu/libm-test-ulps: Update.
22555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22557         [BZ #14034]
22558         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22559         of square root.
22560         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22561         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22562         * math/libm-test.inc (acos_test_tonearest): New function.
22563         (acos_test_towardzero): Likewise.
22564         (acos_test_downward): Likewise.
22565         (acos_test_upward): Likewise.
22566         (asin_test_tonearest): Likewise.
22567         (asin_test_towardzero): Likewise.
22568         (asin_test_downward): Likewise.
22569         (asin_test_upward): Likewise.
22570         (main): Call the new functions.
22571         * sysdeps/i386/fpu/libm-test-ulps: Update.
22572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22574         [BZ #13884]
22575         [BZ #13924]
22576         * math/e_exp10.c: Include <float.h>.
22577         (__ieee754_exp10): Handle underflow here rather than multiplying
22578         large negative argument by M_LN10.
22579         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22580         of __ieee754_expf.
22581         * math/e_exp10l.c: Include <float.h>.
22582         (__ieee754_exp10l): Handle underflow here rather than multiplying
22583         large negative argument by M_LN10l.
22584         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
22585         spurious overflow exception on underflow.
22587 2012-04-29  Marek Polacek  <polacek@redhat.com>
22589         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22590         (__fortify_function): New macro.
22591         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22592         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22593         __extern_always_inline.
22594         * libio/bits/stdio2.h: Likewise.
22595         * libio/bits/stdio.h: Likewise.
22596         * string/string.h: Likewise.
22597         * string/bits/string3.h: Likewise.
22598         * include/stdio.h: Likewise.
22599         * stdlib/bits/stdlib.h: Likewise.
22600         * stdlib/stdlib.h: Likewise.
22601         * rt/bits/mqueue2.h: Likewise.
22602         * rt/mqueue.h: Likewise.
22603         * posix/bits/unistd.h: Likewise.
22604         * posix/unistd.h: Likewise.
22605         * io/bits/poll2.h: Likewise.
22606         * io/bits/fcntl2.h: Likewise.
22607         * io/fcntl.h: Likewise.
22608         * io/sys/poll.h: Likewise.
22609         * misc/bits/syslog.h: Likewise.
22610         * misc/bits/syslog-ldbl.h: Likewise.
22611         * misc/sys/syslog.h: Likewise.
22612         * socket/bits/socket2.h: Likewise.
22613         * socket/sys/socket.h: Likewise.
22614         * debug/tst-chk1.c: Likewise.
22615         * wcsmbs/bits/wchar2.h: Likewise.
22616         * wcsmbs/bits/wchar-ldbl.h: Likewise.
22617         * wcsmbs/wchar.h: Likewise.
22619 2012-04-29  Andreas Jaeger  <aj@suse.de>
22621         * Makerules (tests): Remove enable-check-abi protection.
22622         (check-abi-warn): Remove.
22623         (check-abi-%): Remove check-abi-warn usage.
22625         * configure.in: Remove check-abi configure option.
22626         * configure: Regenerated.
22627         * config.make.in (enable-check-abi): Remove.
22629 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
22631         [BZ #14033]
22632         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22633         double functions to double *_finite functions.
22635         [BZ #13941]
22636         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22637         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22638         LDBL_MIN_EXP.
22639         * stdio-common/Makefile (tests): Add tst-sprintf3.
22640         * stdio-common/tst-sprintf3.c: New file.
22642         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22643         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22645 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22647         * conform/conformtest.pl: Remove duplicate typed-constant
22648         handling.
22650 2012-04-28  David S. Miller  <davem@davemloft.net>
22652         * Makerules (%.abilist): Add vpath on sysdep_dirs.
22653         (check-abi-%): Remove AWK script prerequisite and explicit
22654         abilist directory.
22655         (check-abi): Rewrite to just diff the symlist with the abilist.
22656         (config-tls, config-abi-config): Delete, no longer used.
22657         (update-abi-%): Remove AWK script and explicit abilist directory.
22658         (update-abi): Rewrite to simply compare and conditionally copy the
22659         symlist and the sysdep abilist file.  Remove update-abi-config
22660         checks.
22661         * abilist/ld.abilist: Remove.
22662         * abilist/libBrokenLocale.abilist: Remove.
22663         * abilist/libanl.abilist: Remove.
22664         * abilist/libcrypt.abilist: Remove.
22665         * abilist/libdl.abilist: Remove.
22666         * abilist/librt.abilist: Remove.
22667         * abilist/libthread_db.abilist: Remove.
22668         * abilist/libutil.abilist: Remove.
22669         * scripts/extract-abilist.awk: Remove.
22670         * scripts/merge-abilist.awk: Remove.
22671         * sysdeps/generic/libcidn.abilist: New file.
22672         * sysdeps/generic/libnss_compat.abilist: New file.
22673         * sysdeps/generic/libnss_db.abilist: New file.
22674         * sysdeps/generic/libnss_dns.abilist: New file.
22675         * sysdeps/generic/libnss_files.abilist: New file.
22676         * sysdeps/generic/libnss_hesiod.abilist: New file.
22677         * sysdeps/generic/libnss_nis.abilist: New file.
22678         * sysdeps/generic/libnss_nisplus.abilist: New file.
22679         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22680         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22681         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22682         file.
22683         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22684         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22685         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22686         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22687         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22688         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22689         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22690         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22691         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22692         file.
22693         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22694         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22695         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22696         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22697         file.
22698         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22699         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22700         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22701         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22702         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22703         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22704         file.
22705         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22706         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22707         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22708         file.
22709         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22710         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22711         New file.
22712         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22713         New file.
22714         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22715         New file.
22716         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22717         New file.
22718         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22719         New file.
22720         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22721         New file.
22722         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22723         New file.
22724         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22725         New file.
22726         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22727         New file.
22728         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22729         New file.
22730         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22731         New file.
22732         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22733         New file.
22734         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22735         New file.
22736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22737         file.
22738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22739         New file.
22740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22741         New file.
22742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22743         file.
22744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22745         New file.
22746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22747         New file.
22748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22749         file.
22750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22751         New file.
22752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22753         New file.
22754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22755         New file.
22756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22757         New file.
22758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22759         New file.
22760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22761         New file.
22762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22764         file.
22765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22766         New file.
22767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22768         file.
22769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22770         file.
22771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22772         file.
22773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22774         file.
22775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22776         file.
22777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22778         New file.
22779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22780         file.
22781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22782         file.
22783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22784         New file.
22785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22786         file.
22787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22789         file.
22790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22791         New file.
22792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22793         file.
22794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22795         file.
22796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22797         file.
22798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22799         file.
22800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22801         file.
22802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22803         New file.
22804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22805         file.
22806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22807         file.
22808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22809         New file.
22810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22811         file.
22812         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22813         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22814         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22815         file.
22816         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22817         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22818         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22819         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22820         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22821         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22822         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22823         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22824         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22825         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22828         file.
22829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22830         New file.
22831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22832         file.
22833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22834         file.
22835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22836         file.
22837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22838         file.
22839         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22840         file.
22841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22842         New file.
22843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22844         New file.
22845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22846         file.
22847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22848         New file.
22849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22850         file.
22851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22853         file.
22854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22855         New file.
22856         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22857         file.
22858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22859         file.
22860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22861         file.
22862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22863         file.
22864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22865         file.
22866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22867         New file.
22868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22869         New file.
22870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22871         file.
22872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22873         New file.
22874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22875         file.
22877 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22879         * conform/conformtest.pl: Fix typo in handling typed-constant from
22880         allow-header.
22882 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22884         * README: Cut down references to pre-2.6 Linux kernels and
22885         Linuxthreads.  Update lists of configurations in libc and ports
22886         and sort alphabetically.  Say "or newer" with Linux kernel version
22887         requirements.
22889         * config.h.in [IS_IN_build]: Allow compiling without optimization.
22891 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22893         [BZ #887]
22894         * math/libm-test.inc (logb_test_downward): New test to expose
22895         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22896         rounding mode.
22898 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22900         [BZ #14027]
22901         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22902         to be done.
22903         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22904         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22906 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
22908         * sysdeps/unix/i386/brk.S: Remove file.
22909         * sysdeps/unix/i386/dl-brk.S: Likewise.
22910         * sysdeps/unix/i386/pipe.S: Likewise.
22911         * sysdeps/unix/i386/sigreturn.S: Likewise.
22912         * sysdeps/unix/i386/syscall.S: Likewise.
22913         * sysdeps/unix/i386/vfork.S: Likewise.
22914         * sysdeps/unix/i386/wait.S: Likewise.
22916         * sysdeps/unix/common/tcsendbrk.c: Move to ...
22917         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22919         * configure.in (arm*-none*): Do not allow without
22920         --enable-hacker-mode.
22921         (netbsd*): Remove case setting base_os.
22922         (386bsd*): Likewise.
22923         (freebsd*): Likewise.
22924         (bsdi*): Likewise.
22925         (osf*): Likewise.
22926         (sunos*): Likewise.
22927         (ultrix*): Likewise.
22928         (newsos*): Likewise.
22929         (dynix*): Likewise.
22930         (*bsd*): Likewise.
22931         (sysv*): Likewise.
22932         (isc*): Likewise.
22933         (esix*): Likewise.
22934         (sco*): Likewise.
22935         (minix*): Likewise.
22936         (irix4*): Likewise.
22937         (irix6*): Likewise.
22938         (solaris[2-9]*): Likewise.
22939         (none): Likewise.
22940         * configure: Regenerated.
22942 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22944         [BZ #11521]
22945         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22946         overflow or cancellation in calculating denominator.
22947         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22948         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22949         down expression to avoid unexpected rounding in newer GCCs.
22950         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22952 2012-04-26  David S. Miller  <davem@davemloft.net>
22954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22955         long-double compat symbols.
22956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22970 2012-04-25  David S. Miller  <davem@davemloft.net>
22972         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22973         HWCAP_* values only after the memory barriers have been defined.
22974         (atomic_full_barrier): Define.
22975         (atomic_read_barrier): Define.
22976         (atomic_write_barrier): Define.
22978 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22980         * shlib-versions: Add libgcc_s version information.
22981         * sysdeps/generic/libgcc_s.h: Remove.
22982         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22983         libgcc_s.h.
22984         * sysdeps/gnu/unwind-resume.c: Likewise.
22985         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22987 2012-04-25  David S. Miller  <davem@davemloft.net>
22989         * sysdeps/unix/sparc/brk.S: Delete.
22990         * sysdeps/unix/sparc/dl-brk.S: Delete.
22991         * sysdeps/unix/sparc/pipe.S: Delete.
22992         * sysdeps/unix/sparc/sysdep.S: Delete.
22993         * sysdeps/unix/sparc/sysdep.h: Delete.
22994         * sysdeps/unix/sparc/vfork.S: Delete.
22995         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22996         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22997         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22998         ret_ERRVAL, r0, r1, MOVE): Define.
22999         (JUMPTARGET): Remove.
23000         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23001         sysdeps/unix/sparc/sysdep.h
23002         (ENTRY, END): Remove.
23003         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23005 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
23007         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23008         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23009         -DIS_IN_build.
23011         * timezone/README: Update upstream location and email address for
23012         tzcode and tzdata.
23013         * timezone/zdump.c: Update from tzcode 2012b.
23014         * timezone/zic.c: Likewise.
23016         * configure.in (libc_cv_as_needed): Remove test.
23017         * configure: Regenerated.
23018         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23019         conditional definition.
23020         [$(have-as-needed) != yes] (no-as-needed): Likewise.
23021         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23022         * config.make.in (have-as-needed): Remove variable.
23024 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23025             Paul Pluzhnikov  <ppluzhnikov@google.com>
23027         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23028         strings correctly.
23030 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
23032         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23033         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23034         * sysdeps/sh/strlen.S: Likewise.
23036 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23038         * sysdeps/unix/fork.S: Remove file.
23039         * sysdeps/unix/i386/fork.S: Likewise.
23040         * sysdeps/unix/sparc/fork.S: Likewise.
23042         * sysdeps/unix/system.c: Remove file.
23043         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23045         * sysdeps/unix/getegid.S: Remove file.
23046         * sysdeps/unix/geteuid.S: Likewise.
23048 2012-04-24  Roland McGrath  <roland@hack.frob.com>
23050         * scripts/check-localplt.awk: New file.
23051         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23052         of diff.
23053         * scripts/data/localplt-generic.data: Add a comment.
23055         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23056         NODE when __dir_mkfile failed.
23057         * sysdeps/mach/hurd/symlinkat.c: Likewise.
23058         Reported by Ludovic Courtès <ludo@gnu.org>.
23060 2012-04-24  Andreas Jaeger  <aj@suse.de>
23062         * Makerules (common-clean): Also remove gen-as-const-headers
23063         files.
23065 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23067         * Makerules (native-compile): Do not change working directory for
23068         build.  Use $(OUTPUT_OPTION) in command.
23069         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23071 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23073         [BZ #13886]
23074         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23075         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23076         * math/libm-test.inc (floor_test): Add more tests.
23077         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23079 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23081         * sysdeps/unix/getdents.c: Remove file.
23082         * sysdeps/unix/sysv/getdents.c: Likewise.
23083         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23085         * sysdeps/unix/syscalls.list (madvise): Add syscall from
23086         sysdeps/unix/mman/syscalls.list.
23087         (mmap): Likewise.
23088         (mprotect): Likewise.
23089         (msync): Likewise.
23090         (munmap): Likewise.
23091         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23092         * sysdeps/unix/mman/syscalls.list: Remove.
23093         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23095         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23096         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23097         * configure: Regenerated.
23098         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23099         $(libgcc_s_suffix).
23100         * config.make.in (libgcc_s_suffix): Remove variable.
23102 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
23104         * sysdeps/unix/sysv/gethostname.c: Move to ...
23105         * sysdeps/posix/gethostname.c: ... here.
23107         * sysdeps/unix/execve.S: Remove file.
23109         * sysdeps/unix/_exit.S: Remove file.
23111 2012-04-23  Andreas Jaeger  <aj@suse.de>
23113         [BZ #13739]
23114         * manual/Makefile: Remove make dist support, there's no
23115         need for a stand-alone documentation tar ball.
23116         (TEXI2DVI): Define always, it's not in Makeconfig.
23117         (dist): Removed.
23118         (tar-it): Removed.
23119         (edition): Removed.
23120         (glibc-doc-$(edition).tar): Removed
23121         (%.Z): Removed.
23122         (%.gz): Removed.
23123         (%.uu): Removed.
23124         (ETAGS): Remove, it's in Makeconfig.
23125         (move-if-change): Remove, it's in Makeconfig.
23127 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
23129         [BZ #13970]
23130         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23131         (strtod, strtof, strtold, strtol, strtoul, strtoq)
23132         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23133         (strtod_l, strtof_l, strtold_l): Remove __wur.
23134         It is not necessarily an error to ignore strtol's return value.
23135         One can reliably look at the stored endptr to decide whether
23136         the number had valid syntax.
23138 2012-04-21  Andreas Jaeger  <aj@suse.de>
23140         [BZ #13739]
23141         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23143 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
23145         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23146         * sysdeps/unix/sysv/Versions: Remove file.
23148 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
23150         [BZ #13927]
23151         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23153 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
23155         [BZ #7064]
23156         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23157         version from __vm86.
23159 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
23161         * sysdeps/unix/common/lxstat.c: Remove file.
23162         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23164         * sysdeps/unix/sysv/Makefile: Remove file.
23166         * sysdeps/unix/sysv/direct.h: Remove file.
23168         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23169         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23170         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23171         * sysdeps/unix/sysv/bits/signum.h: Likewise.
23172         * sysdeps/unix/sysv/bits/stat.h: Likewise.
23173         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23174         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23176         * sysdeps/unix/sysv/setrlimit.c: Remove file.
23178         * sysdeps/unix/xmknod.c: Remove file.
23179         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23181         * sysdeps/unix/sysv/settimeofday.c: Remove file.
23183         * sysdeps/unix/sysv/i386/time.S: Remove file.
23185         * sysdeps/unix/fxstat.c: Remove file.
23186         * sysdeps/unix/xstat.c: Likewise.
23187         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23189         * sysdeps/unix/sysv/sigaction.c: Remove file.
23191         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23192         (sysdep_headers): Remove variable.
23193         [termio.h not in sysdep_headers] (generated): Likewise.
23194         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23195         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23196         * sysdeps/unix/sysv/tcdrain.c: Likewise.
23197         * sysdeps/unix/sysv/tcflow.c: Likewise.
23198         * sysdeps/unix/sysv/tcflush.c: Likewise.
23199         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23200         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23201         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23202         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23203         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23205         * sysdeps/unix/siglist.c: Remove file.
23207         * sysdeps/unix/getppid.S: Remove file.
23209         * sysdeps/unix/mkdir.c: Remove file.
23210         * sysdeps/unix/rmdir.c: Likewise.
23212 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
23214         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23215         ERR_MAX value.
23216         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23217         errlist-compat value.
23219 2012-04-18  David S. Miller  <davem@davemloft.net>
23221         * sysdeps/generic/memcopy.h (reg_char): Delete.
23222         * debug/strcat_chk.c: Use char, not reg_char.
23223         * debug/strcpy_chk.c: Likewise.
23224         * debug/strncat_chk.c: Likewise.
23225         * debug/strncpy_chk.c: Likewise.
23226         * string/memchr.c: Likewise.
23227         * string/memrchr.c: Likewise.
23228         * string/rawmemchr.c: Likewise.
23229         * string/strcat.c: Likewise.
23230         * string/strchr.c: Likewise.
23231         * string/strchrnul.c: Likewise.
23232         * string/strcmp.c: Likewise.
23233         * string/strcpy.c: Likewise.
23234         * string/strncat.c: Likewise.
23235         * string/strncmp.c: Likewise.
23236         * string/strncpy.c: Likewise.
23238 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23240         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23241         __builtin_memcopy is called when src and dest ranges are known to not
23242         overlap.
23244 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23246         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23247         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23248         fwd_align_merge macro call.
23249         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23250         bwd_align_merge macro call.
23251         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23253 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23255         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23256         bwd_align_merge macros.
23257         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23258         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23259         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23261 2012-04-18  David S. Miller  <davem@davemloft.net>
23263         * sysdeps/sparc/sparc64/memcopy.h: Delete.
23265 2012-04-18  Andreas Jaeger  <aj@suse.de>
23267         [BZ# 6794]
23268         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23269         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23270         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23272         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23273         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23274         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23276         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23277         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23278         Adjust for changed ldbl-128 files.
23280         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23281         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23282         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23284 2012-04-17  David S. Miller  <davem@davemloft.net>
23286         * sysdeps/sparc/sparc32/memcopy.h: Delete.
23288 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
23290         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23291         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23292         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23293         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23294         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23295         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23297 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23299         [BZ #6794]
23300         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23301         * math/libm-test.inc: Add ilogb errno and exception tests.
23302         * math/w_ilogb.c: New file: ilogb wrapper.
23303         * math/w_ilogbf.c: New file: ilogbf wrapper.
23304         * math/w_ilogbl.c: New file: ilogbl wrapper.
23305         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23306         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23307         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23308         exception being thrown with 0.0 as argument.
23309         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23310         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23311         exception being thrown with 0.0 as argument.
23312         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23313         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23314         exception being thrown with 0.0 as argument.
23315         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23316         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23317         exception being thrown with 0.0 as argument.
23318         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23319         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23320         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23321         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23322         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23323         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23324         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23325         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23326         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23328 2012-04-17  Petr Baudis  <pasky@ucw.cz>
23330         * include/sys/uio.h: Change __vector to __iovec to avoid clash
23331         with altivec.
23333 2012-04-16  Marek Polacek  <polacek@redhat.com>
23335         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23337 2012-04-16  Marek Polacek  <polacek@redhat.com>
23339         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23340         operands of fdivp instruction.
23342 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23344         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23345         * elf/tst-auditmod3b.c: Likewise.
23346         * elf/tst-auditmod4b.c: Likewise.
23347         * elf/tst-auditmod5b.c: Likewise.
23348         * elf/tst-auditmod6b.c: Likewise.
23349         * elf/tst-auditmod6c.c: Likewise.
23350         * elf/tst-auditmod7b.c: Likewise.
23351         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23352         * sysdeps/x86_64/preconfigure.in: Likewise.
23353         * sysdeps/x86_64/preconfigure: Regenerated.
23355 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23357         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23358         __ILP32__.
23360 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
23362         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23363         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23365 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
23367         [BZ #13973]
23368         * locale/iso-639.def: Fix gl language name. Spotted by
23369         Yaron Shahrabani.
23371 2012-04-12  Roland McGrath  <roland@hack.frob.com>
23373         [BZ #2074]
23374         * libio/libio.h (__io_write_fn): Update comment.
23376 2012-04-12  Petr Baudis  <pasky@ucw.cz>
23378         [BZ #2074]
23379         * stdio.texi (Hook Functions): The user provided writer function
23380         is not allowed to return -1.
23382 2012-04-11  David S. Miller  <davem@davemloft.net>
23384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23386 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
23388         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23389         Add a leading slash to rtkaio.
23391 2012-04-11  Jim Meyering  <meyering@redhat.com>
23393         [BZ #11959]
23394         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23395         It is not necessarily an error to ignore fwrite's return
23396         value.  One can reliably use ferror to test for errors after
23397         the fact.
23399 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23401         * bits/types.h (__snseconds_t): New type.
23402         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23404         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23405         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23406         (__SNSECONDS_T_TYPE): Likewise.
23407         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23408         (__SNSECONDS_T_TYPE): Likewise.
23409         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23410         (__SNSECONDS_T_TYPE): Likewise.
23412 2012-04-10  Andreas Jaeger  <aj@suse.de>
23414         [BZ #2636]
23415         * manual/time.texi (Processor Time): Return type of times is
23416         elapsed real time since an arbitrary point in the past.
23417         (CPU Time): Move CLK_TCK from here...
23418         (Processor Time): ...to here.  Correct description.
23419         * manual/conf.texi (Constants for Sysconf): Correct description of
23420         _SC_CLK_TCK.
23422 2012-04-10  David S. Miller  <davem@davemloft.net>
23424         [BZ #13967]
23425         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23426         where the is a gap between DT_REL(A) and DT_JMPREL.
23428 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23430         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23431         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23432         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23434 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23436         * elf/dl-support.c (_dl_inhibit_cache): New variable.
23437         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23438         (dl_main): Handle --inhibit-cache.
23439         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23440         _dl_inhibit_cache.
23441         * elf/dl-load.c (_dl_map_object): Use it.
23442         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23444 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23446         [BZ #13872]
23447         * sysdeps/i386/fpu/e_powl.S (p78): New object.
23448         (__ieee754_powl): Saturate large exponents rather than testing for
23449         overflow of y*log2(x).
23450         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23451         * math/libm-test.inc (pow_test): Do not permit spurious overflow
23452         exceptions.
23454         [BZ #11521]
23455         * math/s_ctan.c: Include <float.h>.
23456         (__ctan): Avoid internal overflow or cancellation in calculating
23457         denominator.
23458         * math/s_ctanf.c: Likewise.
23459         * math/s_ctanl.c: Likewise.
23460         * math/s_ctanh.c: Likewise.
23461         * math/s_ctanhf.c: Likewise.
23462         * math/s_ctanhl.c: Likewise.
23463         * math/libm-test.inc (ctan_test): Add more tests.
23464         (ctanh_test): Likewise.
23465         * sysdeps/i386/fpu/libm-test-ulps: Update.
23466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23468 2012-04-09  Andreas Jaeger  <aj@suse.de>
23470         [BZ #6894]
23471         * manual/filesys.texi (Directory Entries): Mention that d_namlen
23472         is an optional BSD extension.
23474         [BZ #10254]
23475         * manual/stdio.texi (Opening Streams): Document additional fopen
23476         parameters.
23478 2012-04-09  Roland McGrath  <roland@hack.frob.com>
23480         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23481         %eax without telling the compiler.
23483 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
23485         [BZ # 13963]
23486         * manual/install.texi: Use sourceware.org.
23488 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23490         [BZ #13873]
23491         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23492         (__ieee754_pow): Generate overflow and underflow using huge*huge
23493         and tiny*tiny rather than just returning constant infinity or zero
23494         for large exponents.
23495         * math/libm-test.inc (pow_test): Require overflow exceptions for
23496         applicable cases of large exponents.
23498         [BZ #706]
23499         * sysdeps/i386/fpu/e_pow.S (p10): New object.
23500         (__ieee754_pow): Use iterative multiplication algorithm only for
23501         integer exponents with absolute value below 1024.  Check for odd
23502         integer exponents when using algorithm for real exponents.
23503         * math/libm-test.inc (pow_test): Add more tests.
23504         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23506 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
23508         [BZ #13705]
23509         * math/libm-test.inc (exp_test): Do not allow overflow exception
23510         on underflow test.
23512 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
23514         [BZ #13705]
23515         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23516         instead of __kernel_standard_f.
23518 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
23520         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23521         * sysdeps/x86_64/memset_chk.S: Likewise.
23523 2012-04-08  Andreas Jaeger  <aj@suse.de>
23525         [BZ #10153]
23526         * manual/startup.texi (Environment Access): Describe return value
23527         for putenv and setenv.
23529         [BZ #6895]
23530         * manual/filesys.texi (Directory Entries): Add description for
23531         DT_LNK.
23533         [BZ #6890]
23534         * manual/filesys.texi (Directory Entries): Clarify that it's file
23535         system not operating system in the description of DT_UNKNOWN.
23537         [BZ #6578]
23538         * manual/syslog.texi (closelog): Fix reference, it's openlog.
23540 2012-04-08  Stephen Compall  <s11@member.fsf.org>
23542         [BZ #6649]
23543         * manual/llio.texi (Opening and Closing Files): Add cross
23544         reference to explain mode argument.
23546 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
23548         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23549         * sysdeps/x86_64/memset_chk.S: Likewise.
23551 2012-04-07  David S. Miller  <davem@davemloft.net>
23553         * elf/elf.h (R_SPARC_WDISP10): Define.
23554         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23555         R_SPARC_SIZE32.
23556         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23557         R_SPARC_SIZE64 and R_SPARC_H34.
23559 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
23561         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23562         conditions and remove no longer applicable assertion.
23564 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23566         * bits/byteswap.h: Include <features.h>.
23567         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23568         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23570 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23572         * bits/byteswap.h (__bswap_16): Removed.
23573         Include <bits/byteswap-16.h> to get __bswap_16.
23574         * sysdeps/i386/bits/byteswap.h: Likewise.
23575         * sysdeps/s390/bits/byteswap.h: Likewise.
23576         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23577         * bits/byteswap-16.h: New file.
23578         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23579         * sysdeps/s390/bits/byteswap-16.h: Likewise.
23580         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23581         * string/Makefile (headers): Add bits/byteswap-16.h.
23583 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23585         [BZ #13895]
23586         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23587         extra indirection.
23588         * nss/Makefile (tests-static, tests): Add tst-nss-static.
23589         * nss/tst-nss-static.c: New.
23591 2012-04-06  Robert Millan  <rmh@gnu.org>
23593         [BZ #6486]
23594         * manual/llio.texi (File Position Primitive): lseek
23595         refers to WHENCE when it really means OFFSET.
23597 2012-04-06  Andreas Jaeger  <aj@suse.de>
23599         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23600         strncmp declarations.
23602         * abilist/libc.abilist: Add __poll and __ppoll.
23604 2012-04-05  David S. Miller  <davem@davemloft.net>
23606         * scripts/check-local-headers.sh: Accept a host triplet in the
23607         path matched by the exclude regexp.
23609         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23610         definition.
23611         * sysdeps/powerpc/powerpc32/dl-machine.h
23612         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23613         * sysdeps/s390/s390-32/dl-machine.h
23614         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23615         * sysdeps/sparc/sparc32/dl-machine.h
23616         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23617         * sysdeps/sparc/sparc64/dl-machine.h
23618         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23620         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23621         lazy binding.
23622         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23623         undefined symbol errors.
23625         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23626         DT_NEEDED entries.
23628 2012-04-05  Michael Matz  <matz@suse.de>
23630         [BZ #13592]
23631         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23633 2012-04-05  Andreas Jaeger  <aj@suse.de>
23635         [BZ #13908]
23636         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23637         comment.
23639 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23641         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23642         which ROUND is no valid rounding mode.
23644 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23646         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23647         read again.
23648         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23650 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23652         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23653         an exception using FPU order intentionally.
23655 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23657         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23658         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23659         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23660         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23662 2012-04-05  Simon Josefsson  <simon@josefsson.org>
23664         [BZ #12340]
23665         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23666         EINVAL when BUFLEN is too smal.
23668 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23670         [BZ #13553]
23671         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23672         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23674 2012-04-03  Andreas Jaeger  <aj@suse.de>
23676         [BZ #13938]
23677         * manual/setjmp.texi (System V contexts): Fix sentence.
23679         [BZ #13926]
23680         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23681         New macro for this case.
23682         [!__GNUC__] (__bswap_64): New inline function for this case.
23683         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23684         * bits/byteswap.h: Likewise.
23685         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23686         ull, guard with __GLIBC_HAVE_LONG_LONG.
23688         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23689         __GLIBC_HAVE_LONG_LONG.
23691         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23692         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23694 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23696         [BZ #13691]
23697         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23698         inptr and inend, rather than using last_ch.
23700 2012-04-02  David S. Miller  <davem@davemloft.net>
23702         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23703         * stdio-common/printf-parse.h (read_int): Change return type to
23704         'int', return -1 on INT_MAX overflow.
23705         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23706         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
23707         overflows INT_MAX.  Check for overflow of in-format-string precision
23708         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
23709         SIZE_MAX not INT_MAX for integer overflow test.
23710         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23711         skip the construct in the format string but do not record anything.
23712         * stdio-common/bug22.c: Adjust to test both width/prevision
23713         INT_MAX overflow as well as total length INT_MAX overflow.  Check
23714         explicitly for proper errno values.
23716 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23718         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23719         CHAR_MAX.
23720         * string/test-strcmp.c [! WIDE]: Likewise.
23721         * time/tst-mktime2.c: Likewise for INT_MAX.
23722         * string/test-string.h: #include <sys/param.h> for MIN.
23724         * csu/init-first.c (__libc_init_first): Call __ctype_init.
23725         * sysdeps/i386/init-first.c (init): Likewise.
23726         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23727         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23728         * sysdeps/sh/init-first.c (init): Likewise.
23730 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
23732         * po/ru.po: Update from translation team.
23733         * po/vi.po: Likewise.
23735 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23737         * resolv/nss_dns/dns-host.c: Merge copyright years.
23739 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23741         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23742         Optimize memcpy with prefetch if
23743         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
23744         src, dst pointers have unequal 16 byte alignments.
23746 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23748         [BZ #13928]
23749         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23750         from a CNAME entry and return the minimum ttl for the query.
23751         (gaih_getanswer_slice): Likewise.
23753 2012-03-30  Jeff Law  <law@redhat.com>
23755         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23756         due to long keys.
23757         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23758         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23760         * resolv/nss_dns/dns-host.c: Update copyright year.
23762 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
23764         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23765         requests to save a system call.  Fix check that all bytes are sent.
23767         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23768         comments for sendmmsg.
23770 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23772         [BZ #13691]
23773         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23774         with only 1 character between 0x0041 and 0x01b0.
23775         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23776         * wcsmbs/tst-mbsnrtowcs.c: New file.
23778 2012-03-29  David S. Miller  <davem@davemloft.net>
23780         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23781         small copies by hand.
23783 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23785         [BZ #13761]
23786         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23787         _nss_compat_initgroups_dyn): Fall back to malloc/free
23788         for large group memberships.
23790 2012-03-28  David S. Miller  <davem@davemloft.net>
23792         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23793         that branches into memcpy.
23794         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23795         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23796         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23797         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23798         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23799         bits.
23800         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23801         implementation too.
23802         * sysdeps/sparc/mempcpy.S: New file.
23804         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23805         the IFUNC routine in the libc case.
23806         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23808         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23809         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23810         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23811         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23812         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23813         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23814         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23815         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23817         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23818         loop to 256 bytes instead of 64 bytes and fix test signedness.
23820         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23821         * sysdeps/sparc/sparc32/Makefile: rather than here...
23822         * sysdeps/sparc/sparc64/Makefile: and here.
23824 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
23826         * malloc/mallocbug.c: Avoid warnings about unused variables.
23828 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23830         [BZ #13760]
23831         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23832         in the right place. Discard and retry query if response is
23833         larger than input buffer size.
23835 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
23837         [BZ #369]
23838         [BZ #2678]
23839         [BZ #3866]
23840         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23841         x for large integer exponent.
23842         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23843         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
23844         sign of result as needed afterwards.
23845         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23846         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23847         result for underflowing pow the same as for overflow.
23848         (__kernel_standard_l): Handle powl overflow and underflow here
23849         rather than calling __kernel_standard.
23850         * math/libm-test.inc (pow_test): Add more tests.
23852         [BZ #3868]
23853         [BZ #13879]
23854         [BZ #13910]
23855         [BZ #13911]
23856         [BZ #13912]
23857         [BZ #13913]
23858         [BZ #13915]
23859         [BZ #13916]
23860         [BZ #13917]
23861         [BZ #13918]
23862         [BZ #13919]
23863         [BZ #13920]
23864         [BZ #13921]
23865         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23866         * sysdeps/ieee754/k_standard.c: Include <float.h>.
23867         (__kernel_standard_l): New function.
23868         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23869         __kernel_standard.
23870         * math/w_acosl.c (__acosl): Likewise.
23871         * math/w_asinl.c (__asinl): Likewise.
23872         * math/w_atan2l.c (__atan2l): Likewise.
23873         * math/w_atanhl.c (__atanhl): Likewise.
23874         * math/w_coshl.c (__coshl): Likewise.
23875         * math/w_exp10l.c (__exp10l): Likewise.
23876         * math/w_exp2l.c (__exp2l): Likewise.
23877         * math/w_fmodl.c (__fmodl): Likewise.
23878         * math/w_hypotl.c (__hypotl): Likewise.
23879         * math/w_j0l.c (__j0l, __y0l): Likewise.
23880         * math/w_j1l.c (__j1l, __y1l): Likewise.
23881         * math/w_jnl.c (__jnl, __ynl): Likewise.
23882         * math/w_lgammal.c (__lgammal): Likewise.
23883         * math/w_log10l.c (__log10l): Likewise.
23884         * math/w_log2l.c (__log2l): Likewise.
23885         * math/w_logl.c (__logl): Likewise.
23886         * math/w_powl.c (__powl): Likewise.
23887         * math/w_remainderl.c (__remainderl): Likewise.
23888         * math/w_scalbl.c (sysv_scalbl): Likewise.
23889         * math/w_sinhl.c (__sinhl): Likewise.
23890         * math/w_sqrtl.c (__sqrtl): Likewise.
23891         * math/w_tgammal.c (__tgammal): Likewise.
23892         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23893         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23894         * math/libm-test.inc (acos_test): Add more tests.
23895         (acosh_test): Likewise.
23896         (asin_test): Likewise.
23897         (atanh_test): Likewise.
23898         (exp_test): Likewise.
23899         (exp10_test): Likewise.
23900         (exp2_test): Likewise.
23901         (expm1_test): Likewise.
23902         (lgamma_test): Likewise.
23903         (log_test): Likewise.
23904         (log10_test): Likewise.
23905         (log1p_test): Likewise.
23906         (log2_test): Likewise.
23907         (pow_test): Do not allow some spurious overflow exceptions.
23908         (sqrt_test): Add more tests.
23909         (tgamma_test): Likewise.
23910         (y0_test): Likewise.
23911         (y1_test): Likewise.
23912         (yn_test): Likewise.
23914 2012-03-27  Anton Blanchard  <anton@samba.org>
23916         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23917         MAP_HUGETLB.
23918         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23919         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23920         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23922 2012-03-27  David S. Miller  <davem@davemloft.net>
23924         * conform/Makefile: Run run-conformtest.sh using $(BASH).
23926         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23927         have-as-vis3 check.
23929 2012-03-27  Andreas Jaeger  <aj@suse.de>
23931         * sysdeps/x86_64/elf/configure.in: Moved to ...
23932         * sysdeps/x86_64/configure.in: ... here.
23933         * sysdeps/x86_64/elf/start.S: Moved to ...
23934         * sysdeps/x86_64/start.S: ... here.
23935         * sysdeps/x86_64/elf/configure: Delete.
23937         * sysdeps/x86_64/configure.in: Merge contents from
23938         sysdeps/i386/configure.in (without i686 check).
23940         * sysdeps/i386/elf/Versions: Merge into ...
23941         * sysdeps/i386/Versions: ... this.
23942         * sysdeps/i386/elf/Versions: Delete file.
23943         * sysdeps/i386/elf/start.S: Moved to ...
23944         * sysdeps/i386/start.S: ...here.
23945         * sysdeps/i386/elf/configure.in: Merge into...
23946         * sysdeps/i386/configure.in: ...here.
23947         * sysdeps/i386/elf/configure.in: Delete file.
23948         * sysdeps/i386/elf/configure: Delete file.
23950         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23951         * debug/backtracesyms.c: ... here.
23952         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23953         * debug/backtracesymsfd.c: ... here.
23954         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23955         * sysdeps/generic/ifunc-sel.h: ... here.
23957         * sysdeps/unix/i386/start.c: Delete file.
23958         * sysdeps/unix/sparc/start.c: Delete file.
23959         * sysdeps/unix/start.c: Delete file.
23961         * sysdeps/sh/elf/configure.in: Moved to ...
23962         * sysdeps/sh/configure.in: ... here.
23963         * sysdeps/sh/elf/start.S: Moved to ...
23964         * sysdeps/sh/start.S: ... here.
23965         * sysdeps/sh/elf/configure: Delete file.
23967         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23968         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23969         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23970         * sysdeps/powerpc/powerpc64/entry.h: ... here.
23971         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23972         * sysdeps/powerpc/powerpc64/start.S: here.
23973         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23974         * sysdeps/powerpc/powerpc64/Makefile: ... this.
23975         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23976         * sysdeps/powerpc/powerpc64/configure.in: ... this.
23977         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23979         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23980         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23981         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23982         * sysdeps/powerpc/powerpc32/start.S: ... here.
23983         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23984         * sysdeps/powerpc/powerpc32/configure.in: ... this.
23985         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23987         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23988         * sysdeps/powerpc/ifunc-sel.h: ... here.
23989         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23990         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23992         * sysdeps/sparc/elf/configure.in: Moved to ...
23993         * sysdeps/sparc/configure.in: ... here.
23994         * sysdeps/sparc/elf/configure: Delete file.
23995         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23996         * sysdeps/sparc/sparc32/start.S: ... here.
23997         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23998         * sysdeps/sparc/sparc64/start.S: ... here.
23999         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24000         * sysdeps/sparc/sparc32/Makefile: ... this.
24001         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24002         * sysdeps/sparc/sparc64/Makefile: ... this.
24004         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24005         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24006         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24007         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24008         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24009         * sysdeps/s390/s390-32/setjmp.S: ... here.
24010         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24011         * sysdeps/s390/s390-32/configure.in: ... here.
24012         * sysdeps/s390/s390-32/elf/configure: Delete file.
24013         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24014         * sysdeps/s390/s390-32/start.S: ... here.
24016         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24017         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24018         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24019         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24020         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24021         * sysdeps/s390/s390-64/setjmp.S: ... here.
24022         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24023         * sysdeps/s390/s390-64/configure.in: ... here
24024         * sysdeps/s390/s390-64/elf/configure: Delete file.
24025         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24026         * sysdeps/s390/s390-64/start.S: ... here.
24027         * sysdeps/s390/s390-64/elf/configure: Delete.
24029         * configure.in: Remove support for elf directories in sysdeps.
24031         * configure: Regenerated.
24032         * sysdeps/i386/configure: Regenerated.
24033         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24034         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24035         * sysdeps/s390/s390-32/configure: Regenerated.
24036         * sysdeps/s390/s390-64/configure: Regenerated.
24037         * sysdeps/sh/configure: Regenerated.
24038         * sysdeps/sparc/configure: Regenerated.
24039         * sysdeps/x86_64/configure: Regenerated.
24041 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
24043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24045         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24046         denormal result into account.
24048 2012-03-25  Roland McGrath  <roland@hack.frob.com>
24050         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24051         Reported by Allan McRae <allan@archlinux.org>.
24053 2012-03-23  Jeff Law  <law@redhat.com>
24055         * nss/getnssent.c (__nss_getent): Fix typo.
24057 2012-03-23  David S. Miller  <davem@davemloft.net>
24059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24061 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
24063         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24064         to pad to uint64_t for each field.
24065         (dl_tls_index): Replace unsigned long with uint64_t.
24067 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
24068         Paul Pluzhnikov  <ppluzhnikov@google.com>
24070         [BZ #6528]
24071         * grp/Makefile (otherlibs): Don't set it.
24072         * inet/Makefile (otherlibs): Likewise.
24073         * login/Makefile (otherlibs): Likewise.
24074         * nscd/Makefile (otherlibs): Likewise.
24075         * posix/Makefile (otherlibs): Likewise.
24076         * pwd/Makefile (otherlibs): Likewise.
24077         * rt/Makefile (otherlibs): Likewise.
24078         * sunrpc/Makefile (otherlibs): Likewise.
24079         * nss/Makefile (otherlibs): Likewise.
24080         Add libnss_files to routines and static-only-routines.
24081         ($(objpfx)getent): Remove rule.
24082         * resolv/Makefile: Add libnss_dns and libresolv to routines and
24083         static-only-routines.
24085 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24087         [BZ #13892]
24088         * math/s_cexp.c: Include <float.h>.
24089         (__cexp): Handle exp result overflowing not necessarily
24090         overflowing both real and imaginary parts of result.
24091         * math/s_cexpf.c: Likewise.
24092         * math/s_cexpl.c: Likewise.
24093         * math/libm-test.inc (cexp_test): Add more tests.
24094         * sysdeps/i386/fpu/libm-test-ulps: Update.
24095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24097 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24099         * include/link.h (ELFW): New macro.
24100         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24101         Replace ELF64_R_TYPE with ELFW(R_TYPE).
24103 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24105         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24106         with uint64_t.
24108 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24110         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24111         declaration.
24112         (struct La_x32_retval): Likewise.
24114 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24116         * sysdeps/x86_64/preconfigure.in: New file.
24117         * sysdeps/x86_64/preconfigure: New generated file.
24119 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24121         [BZ #13824]
24122         * math/e_exp2l.c: Include <float.h>.
24123         (__ieee754_exp2l): Handle overflow and underflow cases
24124         separately.  Only pass fractional part of argument to
24125         __ieee754_expl.
24126         * math/libm-test.inc (exp2_test): Add more tests.
24128         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24129         negating x to take absolute value.
24130         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24131         Likewise.
24132         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24133         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24134         Likewise.
24135         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24136         computing low part if x was negated.
24137         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24139 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24141         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24142         la_x32_gnu_pltexit.
24143         (pltexit): Cast int_retval to ptrdiff_t.
24144         * elf/tst-auditmod3b.c: Likewise.
24145         * elf/tst-auditmod4b.c: Likewise.
24146         * elf/tst-auditmod5b.c: Likewise.
24147         * elf/tst-auditmod6b.c: Likewise.
24148         * elf/tst-auditmod6c.c: Likewise.
24149         * elf/tst-auditmod7b.c: Likewise.
24151         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24152         and x32_gnu_pltexit.
24154         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24155         __ELF_NATIVE_CLASS.
24156         (La_x32_regs): New macro.
24157         (La_x32_retval): Likewise.
24158         (la_x32_gnu_pltenter): New function prototype.
24159         (la_x32_gnu_pltexit): Likewise.
24161 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
24163         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24164         exponent.
24166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24168         * configure.in (libc_cv_cc_nofma): Check for option to disable
24169         generation of FMA instructions.
24170         * configure: Regenerate.
24171         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24172         * sysdeps/ieee754/dbl-64/Makefile: New file.
24173         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24174         Remove brandred-fma4.
24175         (CFLAGS-brandred-fma4.c): Remove.
24176         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24177         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24178         define.
24179         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24180         define.
24182 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24184         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24185         LLONG_MAX != LONG_MAX.
24186         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24187         (_fitoa_word): Likewise.
24188         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24189         LLONG_MAX != LONG_MAX.
24190         * stdio-common/_itowa.h: Include <_itoa.h>.
24191         (_itowa_word): Use _ITOA_WORD_TYPE on value.
24192         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
24193         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
24194         only if not defined.
24195         (_ITOA_WORD_TYPE): Likewise.
24196         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24197         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24199 2012-03-21  David S. Miller  <davem@davemloft.net>
24201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24203 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24205         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24206         of x86_64 when setting libc_cv_slibdir, libdir and
24207         libc_cv_localedir.
24208         * sysdeps/unix/sysv/linux/configure: Regenerated.
24210 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24212         * manual/lang.texi (Old Varargs): Remove section.
24213         (How Variadic): Update menu.
24214         (va_start): Do not mention varargs.h.
24216 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24217             Joseph Myers  <joseph@codesourcery.com>
24219         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24220         link test.
24221         * configure: Regenerated.
24223 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24225         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24226         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24227         conformtest.pl
24229 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24231         * NOTES: Remove.
24232         * Makefile (files-for-dist): Remove NOTES.
24233         (NOTES): Remove rule.
24234         * README: Don't refer to NOTES.
24235         * manual/creature.texi: Don't include macros.texi.
24236         * manual/intro.texi (creature.texi): Remove comment referring to
24237         NOTES.
24239         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24240         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24241         * configure: Regenerated.
24242         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24243         LIBC_TRY_CC_OPTION.
24244         (libc_cv_as_i686): Likewise.
24245         (libc_cv_cc_avx): Likewise.
24246         (libc_cv_cc_sse2avx): Likewise.
24247         (libc_cv_cc_fma4): Likewise.
24248         (libc_cv_cc_novzeroupper): Likewise.
24249         * sysdeps/i386/configure: Regenerated.
24251         [BZ #13883]
24252         * sysdeps/i386/fpu/s_cexp.S: Remove.
24253         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24254         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24255         * math/libm-test.inc (cexp_test): Add more tests.
24256         * sysdeps/i386/fpu/libm-test-ulps: Update.
24257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24259 2012-03-21  Allan McRae  <allan@archlinux.org>
24261         * timezone/Makefile: Do not install iso3166.tab and zone.tab
24263 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24265         [BZ #13871]
24266         * math/w_exp2.c: Do not include <float.h>.
24267         (o_threshold, u_threshold): Remove.
24268         (__exp2): Calculate result before checking finiteness and calling
24269         __kernel_standard.
24270         * math/w_exp2f.c: Likewise.
24271         * math/w_exp2l.c: Likewise.
24272         * math/libm-test.inc (exp2_test): Require overflow exception for
24273         1e6 input.
24275         [BZ #3866]
24276         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24277         range of signed 64-bit integers before using fistpll.  Remove
24278         checks for whether integers fit in mantissa bits.
24279         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24280         the range of signed 32-bit integers before using fistpl.  Remove
24281         checks for whether integers fit in mantissa bits.
24282         * sysdeps/i386/fpu/e_powl.S (p64): New object.
24283         (__ieee754_powl): Test for y outside the range of signed 64-bit
24284         integers before using fistpll.  Reduce 64-bit values to 63-bit
24285         ones as needed.
24286         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24287         divide-by-zero is raised for zero to large negative powers.
24288         * sysdeps/x86_64/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         * math/libm-test.inc (pow_test): Add more tests.
24294 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24296         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24297         <stdio-common/_itoa.h>.
24298         * debug/segfault.c: Likewise.
24299         * elf/dl-cache.c: Likewise.
24300         * elf/dl-minimal.c: Likewise.
24301         * elf/dl-misc.c: Likewise.
24302         * elf/dl-sysdep.c: Likewise.
24303         * elf/dl-version.c: Likewise.
24304         * elf/rtld.c: Likewise.
24305         * hurd/hurdsock.c: Likewise.
24306         * hurd/lookup-retry.c: Likewise.
24307         * malloc/malloc.c: Likewise.
24308         * malloc/mtrace.c: Likewise.
24309         * nscd/nscd_getgr_r.c: Likewise.
24310         * nscd/nscd_getpw_r.c: Likewise.
24311         * nscd/nscd_getserv_r.c: Likewise.
24312         * posix/getopt_init.c: Likewise.
24313         * posix/wordexp.c: Likewise.
24314         * stdio-common/_itoa.c: Likewise.
24315         * stdio-common/printf_fphex.c: Likewise.
24316         * stdio-common/vfprintf.c: Likewise.
24317         * string/_strerror.c: Likewise.
24318         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24319         * sysdeps/i386/i686/hp-timing.h: Likewise.
24320         * sysdeps/mach/_strerror.c: Likewise.
24321         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24322         * sysdeps/mach/hurd/sethostid.c: Likewise.
24323         * sysdeps/mach/hurd/xmknodat.c: Likewise.
24324         * sysdeps/mach/xpg-strerror.c: Likewise.
24325         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24326         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24327         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24328         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24329         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24330         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24331         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24332         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24333         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24334         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24335         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24336         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24337         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24338         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24339         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24340         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24341         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24342         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24343         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24344         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24345         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24347         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24349         * stdio-common/_itoa.h: Moved to ...
24350         * sysdeps/generic/_itoa.h: Here.
24352         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24354         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24355         instead of "_itoa.h" and "_itowa.h".
24356         * stdio-common/vfprintf.: Likewise.
24358 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24360         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24361         <bits/wordsize.h>.
24362         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24363         (__signbit): Likwise.
24364         (llrintf): Likwise.
24365         (llrint): Likwise.
24367 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24369         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24370         __WORDSIZE != 64.
24372 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
24374         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24375         OVERFLOW_EXCEPTION_OK.
24376         * math/libm-test.inc ("Philosophy"): Update comment about
24377         exception testing.
24378         (OVERFLOW_EXCEPTION): Define.
24379         (OVERFLOW_EXCEPTION_OK): Likewise.
24380         (INVALID_EXCEPTION_OK): Renumber.
24381         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24382         (IGNORE_ZERO_INF_SIGN): Likewise.
24383         (test_exceptions): Handle FE_OVERFLOW.
24384         (exp10_test): Expect overflow exceptions.
24385         (exp2_test): Likewise.
24386         (expm1_test): Likewise.
24387         (nextafter_test): Likewise.
24388         (pow_test): Likewise.
24389         (scalbn_test): Likewise.
24390         (scalbln_test): Likewise.
24392 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24394         * sysdeps/x86_64/bits/atomic.h
24395         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24396         64bit integer.
24397         (atomic_exchange_acq): Likewise.
24398         (__arch_exchange_and_add_body): Likewise.
24399         (__arch_add_body): Likewise.
24400         (atomic_add_negative): Likewise.
24401         (atomic_add_zero): Likewise.
24403 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24405         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24406         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24408 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24410         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24411         Check __x86_64__ instead of __WORDSIZE.
24413 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24415         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24417 2012-03-19  David S. Miller  <davem@davemloft.net>
24419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24421         * sysdeps/sparc/fpu/fenv_private.h: New file.
24422         * sysdeps/sparc/fpu/math_private.h: Use it.
24423         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24424         Remove.
24425         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24426         (libc_feholdexcept_setroundl): Remove.
24427         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24428         Remove.
24429         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24430         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24432 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24434         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24435         int64_t instead of long int.
24436         (INSERT_WORDS64): Likwise.
24438 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24440         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24441         _Unwind_GetCFA return to _Unwind_Ptr first.
24443 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
24445         [BZ #13629]
24446         * math/s_clog.c: Include <float.h>.
24447         (__clog): Scale large or subnormal inputs.
24448         * math/s_clogf.c: Likewise.
24449         * math/s_clogl.c: Likewise.
24450         * math/s_clog10.c: Include <float.h>.
24451         (M_LOG10_2): Define.
24452         (__clog10): Scale large or subnormal inputs.
24453         * math/s_clog10f.c: Likewise.
24454         * math/s_clog10l.c: Likewise.
24455         * math/libm-test.inc (clog_test): Add more tests.
24456         (clog10_test): Likewise.
24457         * sysdeps/i386/fpu/libm-test-ulps: Update.
24458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24460         [BZ #11451]
24461         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24462         x and y.
24463         * math/libm-test.inc (atan2_test): Add another test.
24465         * Makerules (common-objdir-compile): Remove.
24466         * sysdeps/unix/Makefile (config-generated): Do not add
24467         $(unix-generated) to variable.
24468         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24469         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24470         Remove rule.
24471         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24472         Likewise.
24473         [generic bits/local_lim.h] (before-compile): Do not append to
24474         variable.
24475         [generic bits/local_lim.h] (common-generated): Likewise.
24476         [generic sys/param.h] (before-compile): Do not append to variable.
24477         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24478         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24479         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24480         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24481         include.
24482         [generic sys/param.h] (sys/param.h-includes): Remove variable.
24483         [generic sys/param.h] (sys/param.h-includes): Remove rule.
24484         [generic sys/param.h] ($(addprefix
24485         $(common-objpfx),$(sys/param.h-includes))): Likewise.
24486         [generic sys/param.h] (common-generated): Do not append to
24487         variable.
24488         [generic sys/param.h] (sysdep_headers): Likewise.
24489         [generic bits/errno.h] (before-compile): Do not append to
24490         variable.
24491         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24492         rule.
24493         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24494         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24495         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24496         [generic bits/errno.h] (common-generated): Do not append to
24497         variable.
24498         [generic bits/ioctls.h] (before-compile): Do not append to
24499         variable.
24500         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24501         rule.
24502         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24503         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24504         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24505         rule.
24506         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24507         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24508         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24509         [generic bits/ioctls.h] (common-generated): Do not append to
24510         variable.
24511         [generic sys/syscall.h] (syscall.h): Remove variable.
24512         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24513         rule.
24514         [generic sys/syscall.h] (before-compile): Do not append to
24515         variable.
24516         [generic sys/syscall.h] (common-generated): Likewise.
24517         * sysdeps/unix/errnos-tmpl.c: Remove file.
24518         * sysdeps/unix/errnos.awk: Likewise.
24519         * sysdeps/unix/ioctls-tmpl.c: Likewise.
24520         * sysdeps/unix/ioctls.awk: Likewise.
24521         * sysdeps/unix/mk-local_lim.c: Likewise.
24522         * sysdeps/unix/snarf-ioctls: Likewise.
24524 2012-03-19  Richard Henderson  <rth@twiddle.net>
24526         * sysdeps/i386/fpu/fenv_private.h: New file.
24527         * sysdeps/i386/fpu/math_private.h: Use it.
24528         (math_opt_barrier, math_force_eval): Remove.
24529         (libc_feholdexcept_setround_53bit): Remove.
24530         (libc_feupdateenv_53bit): Remove.
24531         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24532         (math_opt_barrier, math_force_eval): Remove.
24533         (libc_feholdexcept): Remove.
24534         (libc_feholdexcept_setround): Remove.
24535         (libc_fetestexcept, libc_fesetenv): Remove.
24536         (libc_feupdateenv_test): Remove.
24537         (libc_feupdateenv, libc_feholdsetround): Remove.
24538         (libc_feresetround): Remove.
24540         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24541         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24543         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24544         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24545         (libc_feupdateenv_testl): New.
24546         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24547         (libc_feupdateenv_testf): New.
24548         (libc_feupdateenv): Use libc_feupdateenv_test.
24549         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24550         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24552         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24553         (libc_feholdsetroundf, libc_feholdsetroundl): New.
24554         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24555         (libc_feresetround_noex): New.
24556         (libc_feresetround_noexf): New.
24557         (libc_feresetround_noexl): New.
24558         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24559         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24560         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24561         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24562         SET_RESTORE_ROUND.
24563         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24564         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24565         (__cos): Likewise.
24566         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24567         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24568         SET_RESTORE_ROUND_NOEX.
24569         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24570         SET_RESTORE_ROUND_NOEXF.
24571         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24572         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24573         (libc_feholdsetroundf): New.
24574         (libc_feresetround, libc_feresetroundf): New.
24576         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24577         (libc_feholdexcept_setround_53bit): Convert from macro to function.
24578         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
24580         * sysdeps/generic/math_private.h: Include <fenv.h>.
24581         (default_libc_feholdexcept): New.
24582         (default_libc_feholdexcept_setround): New.
24583         (default_libc_fesetenv, default_libc_feupdateenv): New.
24584         (libc_feholdexcept): Only define if undefined.
24585         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24586         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24587         (libc_feholdexcept_setroundl): Likewise.
24588         (libc_feholdexcept_setround_53bit): Likewise.
24589         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24590         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24591         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24592         (libc_feupdateenv_53bit): Likewise.
24593         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24594         (libc_feholdexcept): Convert from macro to inline function.
24595         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24596         (libc_fesetenv, libc_feupdateenv): Likewise.
24598         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24599         not previously defined.
24600         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24601         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24602         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24603         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24604         * sysdeps/ieee754/flt-32/math_private.h: New file.
24605         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24606         math_private.h below SET_FLOAT_WORD.
24607         (__isnan, __isinf_ns, __finite): Remove.
24608         (__isnanf, __isinf_nsf, __finitef): Remove.
24610 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
24612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24614 2012-03-17  David S. Miller  <davem@davemloft.net>
24616         [BZ #6471]
24617         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24618         for 2.16.
24620 2012-03-16  David S. Miller  <davem@davemloft.net>
24622         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24623         warnings.
24625         [BZ #6471]
24626         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24627         properly.
24628         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24629         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24630         sysdep_routines when subdir is sysvipc.
24631         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24632         __getshmlba helper.
24634         * sysdeps/sparc/fpu/libm-test/ulps: Update.
24636 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24638         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24639         [__LP64__].
24641 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24643         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24644         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24645         (__lround): Renamed to ...
24646         (__llround): This.  Replace long int with long long int.
24647         Define lround functions as aliases of llround functions.
24648         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24650 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24652         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24653         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
24654         adresses to uintptr_t.  Replace "long int" and "unsigned long
24655         int" with "greg_t" on va_arg.
24657 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24659         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24660         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24662         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24663         Move e_machine check before EI_CLASS check.  Handle x32
24664         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24665         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24666         SKIP_EM_IA_64 and include
24667         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24669         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24670         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24671         (add_system_dir): New macro.
24673         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24674         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24676 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24678         [BZ #2551]
24679         [BZ #2552]
24680         [BZ #2553]
24681         [BZ #2554]
24682         [BZ #2562]
24683         [BZ #2563]
24684         [BZ #2565]
24685         [BZ #2566]
24686         [BZ #2576]
24687         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24688         (y0): Likewise.
24689         * math/w_j0f.c (j0f): Likewise.
24690         (y0f): Likewise.
24691         * math/w_j0l.c (__j0l): Likewise.
24692         (__y0l): Likewise.
24693         * math/w_j1.c (j1): Likewise.
24694         (y1): Likewise.
24695         * math/w_j1f.c (j1f): Likewise.
24696         (y1f): Likewise.
24697         * math/w_j1l.c (__j1l): Likewise.
24698         (__y1l): Likewise.
24699         * math/w_jn.c (jn): Likewise.
24700         (yn): Likewise.
24701         * math/w_jnf.c (jnf): Likewise.
24702         (ynf): Likewise.
24703         * math/w_jnl.c (__jnl): Likewise.
24704         (__ynl): Likewise.
24705         * math/libm-test.inc (j0_test): Add more tests.
24706         (j1_test): Likewise.
24707         (jn_test): Likewise.  Add trailing semicolon to existing test.
24708         (y0_test): Likewise.
24709         (y1_test): Likewise.
24710         * sysdeps/i386/fpu/libm-test-ulps: Update.
24711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24713         [BZ #13851]
24714         [BZ #13854]
24715         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24716         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24717         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24718         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24719         (__tanl): Set errno for infinite argument.
24720         * sysdeps/i386/fpu/mptan.c: Remove.
24721         * sysdeps/i386/fpu/s_tan.S: Likewise.
24722         * sysdeps/i386/fpu/s_tanl.S: Likewise.
24723         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24724         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24725         * math/libm-test.inc (tan_test): Add more tests and enable more
24726         tests for double and long double.
24727         * sysdeps/i386/fpu/libm-test-ulps: Update.
24728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24730 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
24732         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24733         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24735 2012-03-16  Roland McGrath  <roland@hack.frob.com>
24737         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24738         * configure.in: Use it for both main tree and add-ons.
24739         * configure: Regenerated.
24741 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24743         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24745 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24747         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24748         in comment.
24750         [BZ #13851]
24751         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24752         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24753         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24754         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24755         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24756         infinite argument.
24757         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24758         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24759         != 0 for prec == 2.
24760         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24761         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24762         * sysdeps/i386/fpu/s_cosl.S: Likewise.
24763         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24764         * sysdeps/i386/fpu/s_sinl.S: Likewise.
24765         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24766         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24767         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24768         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24769         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24770         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24771         * math/libm-test.inc (cos_test): Add more tests and enable more
24772         tests for long double.
24773         (sin_test): Likewise.
24774         (sincos_test): Likewise.
24775         * sysdeps/i386/fpu/libm-test-ulps: Update.
24776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24778 2012-03-16  David S. Miller  <davem@davemloft.net>
24780         * sysdeps/sparc/fpu/math_private.h: New file.
24782 2012-03-15  David S. Miller  <davem@davemloft.net>
24784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24785         file.
24786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24788         file.
24789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24790         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24791         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24792         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24793         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24794         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24795         sysdep routines.
24796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24798         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24799         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24801         * sysdeps/sparc/sparc-ifunc.h: New file.
24802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24803         sparc-ifunc.h
24804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24806         Likewise.
24807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24808         Likewise.
24809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24813         Likewise.
24814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24819         Likewise.
24820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24821         Likewise.
24822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24826         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24827         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24828         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24829         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24830         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24831         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24832         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24833         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24834         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24835         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24836         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24837         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24838         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24839         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24840         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24841         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24842         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24843         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24844         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24845         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24847 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24849         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24850         scaling.
24851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24853 2012-03-15  Andreas Jaeger  <aj@suse.de>
24855         [BZ #13852]
24856         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24857         ieee754/flt-32 implementation for sin, cos and sincos.
24858         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24859         * sysdeps/i386/fpu/s_cosf.S: Likewise.
24860         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24861         * sysdeps/i386/fpu/s_sinf.S: Likewise.
24862         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24863         ieee754/flt-32 implementation for tan.
24865         * math/libm-test.inc (cos_test): Enable some large input tests for
24866         float as well
24867         (sin_test): Likewise.
24868         (sincos_test): Likewise.
24869         (tan_test): Add tests for large input.
24871         * sysdeps/i386/fpu/libm-test-ulps: Update.
24873 2012-03-15  Andreas Jaeger  <aj@suse.de>
24875         [BZ #13658]
24876         * math/libm-test.inc (cos_test): Add more test cases.
24877         (sin_test): Likewise.
24878         (sincos_test): Likewise.
24880 2012-03-15  Andreas Jaeger  <aj@suse.de>
24882         [BZ #13837]
24883         * math/libm-test.inc (cos_test): Add a test case for large input
24884         value.
24885         (sin_test): Likewise.
24886         (sincos_test): Likewise.
24888 2012-03-15  Andreas Jaeger  <aj@suse.de>,
24889         Joseph Myers  <joseph@codesourcery.com>
24891         [BZ #13658]
24892         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24893         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24894         * sysdeps/i386/fpu/branred.c: Likewise.
24895         * sysdeps/i386/fpu/dosincos.c: Likewise.
24896         * sysdeps/i386/fpu/mpa.c: Likewise.
24897         * sysdeps/i386/fpu/s_cos.S: Likewise.
24898         * sysdeps/i386/fpu/s_sin.S: Likewise.
24899         * sysdeps/i386/fpu/s_sincos.S: Likewise.
24900         * sysdeps/i386/fpu/sincos32.c: Likewise.
24902         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24903         Define.
24904         (libc_feupdateenv_53bit): Define.
24905         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24906         Define.
24907         (libc_feupdateenv_53bit): Define.
24909         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24910         53 bit (without extend i386 double precision).
24912         * math/libm-test.inc (sincos_test): Add tests for large input.
24913         (sin): Likewise.
24914         (cos): Likewise.
24916         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24918 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24922 2012-03-15  David S. Miller  <davem@davemloft.net>
24924         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24925         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24926         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24927         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24932         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24933         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24934         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24935         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24936         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24937         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24938         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24940         file.
24941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24943         file.
24944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24946         file.
24947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24949         file.
24950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24951         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24952         fmin/fmax sysdep routines.
24953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24955 2012-03-14  David S. Miller  <davem@davemloft.net>
24957         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24958         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24959         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24960         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24961         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24962         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24963         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24964         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24965         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24966         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24967         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24968         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24969         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24970         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24971         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24972         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24973         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24974         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24975         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24976         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24977         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24978         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24979         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24980         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24981         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24982         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24983         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24984         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24985         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24986         routines.
24987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24988         file.
24989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24991         file.
24992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24994         file.
24995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24997         file.
24998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25000         file.
25001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25003         file.
25004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25005         file.
25006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25007         file.
25008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25009         file.
25010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25011         New file.
25012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25013         file.
25014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25015         file.
25016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25018         file.
25019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25021         file.
25022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25024         file.
25025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25027         VIS3 routines.
25029         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25030         New file.
25032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25034         * sysdeps/sparc/configure.in: New file.
25035         * sysdeps/sparc/configure: Generate.
25036         * configure.in (libc_cv_sparc_as_vis3): Substitute.
25037         * configure: Regenerate.
25038         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25039         * config.make.in (have-as-vis3): New.
25040         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25041         available use -Av9d instead of -Av9a.
25042         * sysdeps/sparc/sparc64/Makefile: Likewise.
25043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25045         New file.
25046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25047         file.
25048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25049         New file.
25050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25051         file.
25052         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25053         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25054         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25055         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25056         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25058         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25059         fzeros/fnegs to load 0x80000000 into a float register instead of
25060         using the stack.
25061         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25063 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25065         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25066         bits/syscall.h.
25067         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25068         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25069         ($(inst_includedir)/bits/syscall.h): Remove rule.
25070         ($(objpfx)bits/syscall.d): Include instead of
25071         $(objpfx)syscall-list.d.
25072         (generated): Change syscall-list.h and syscall-list.d to
25073         bits/syscall.h and bits/syscall.d.
25075 2012-03-14  Roland McGrath  <roland@hack.frob.com>
25077         [BZ #13846]
25078         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25080 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25082         [BZ #13841]
25083         * math/s_csqrt.c: Include <float.h>.
25084         (__csqrt): Scale large or subnormal inputs.
25085         * math/s_csqrtf.c: Likewise.
25086         * math/s_csqrtl.c: Likewise.
25087         * math/libm-test.inc (csqrt_test): Add more tests.
25088         * sysdeps/i386/fpu/libm-test-ulps: Update.
25089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25091         [BZ #13840]
25092         * math/libm-test.inc (hypot_test): Add more tests.
25094 2012-03-13  David S. Miller  <davem@davemloft.net>
25096         [BZ #13840]
25097         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25098         double-precision for the calculation instead of scaling.
25100 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
25102         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25103         manipulate bits before adding and subtracting TWO52[sx].
25104         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25105         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25106         Likewise.
25107         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25109 2012-03-13  David S. Miller  <davem@davemloft.net>
25111         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25112         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25113         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25114         rtld-global-offsets.h
25115         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25117         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25118         large parameters.
25120         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25122         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25123         'err' in the ifdef scope in which it is actually used.
25125         * nss/nss_db/db-init.c: Include string.h
25127 2012-03-12  David S. Miller  <davem@davemloft.net>
25129         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25130         masking out of the most significant byte of random value used.
25131         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25132         Fix coding style in previous change.
25134         * sysdeps/unix/sysv/linux/kernel-features.h
25135         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25136         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25137         expression.
25138         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25139         later.
25141 2012-03-11  David S. Miller  <davem@davemloft.net>
25143         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25144         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25145         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25146         for 'resultvar' otherwise things get truncated on 64-bit.
25148         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25149         Fix masking out of the most significant byte of random value used.
25151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25153 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
25155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25157 2012-03-09  David S. Miller  <davem@davemloft.net>
25159         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25160         variables with appropriate CPP guards.
25161         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25162         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
25163         on resulting framesize and the management of the outregs buffer for pltexit.
25164         Preserve floating point return values across _dl_call_pltexit call.
25165         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25166         framesize and the management of the outregs buffer for pltexit.
25167         Preserve floating point return values across _dl_call_pltexit
25168         call.
25169         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25170         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25171         (print_exit): Fix format string for return register value.
25173 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
25175         * sunrpc/Makefile (others): Add rpcgen.
25176         ($(objpfx)rpcgen): Remove special build rule and dependency on
25177         libc.
25178         * sunrpc/rpcgen.c: New file.
25180 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
25182         [BZ #13673]
25183         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25184         * stdio-common/bug-vfprintf-nargs.c: Likewise.
25185         * sysdeps/i386/crti.S: Likewise.
25186         * sysdeps/i386/crtn.S: Likewise.
25187         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25188         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25189         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25190         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25191         * sysdeps/sh/crti.S: Likewise.
25192         * sysdeps/sh/crtn.S: Likewise.
25193         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25195         [BZ #13673]
25196         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25197         with URL.
25198         * locale/programs/locfile-kw.gperf: Likewise.
25199         * locale/programs/charmap-kw.h: Regenerated.
25200         * locale/programs/locfile-kw.h: Likewise.
25202         [BZ #13673]
25203         * intl/plural.y: Replace FSF snail mail address with URL.
25204         * intl/plural.c: Regenerated.
25206 2012-03-09  Richard Henderson  <rth@twiddle.net>
25208         * include/math_private.h: Remove file.
25209         * math/math_private.h: Move file ...
25210         * sysdeps/generic/math_private.h: ... here.
25212         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25213         * sysdeps/powerpc/fpu/math_private.h: Likewise.
25214         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25216         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25217         and <math_private.h>.
25218         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25219         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25220         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25221         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25222         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25223         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25224         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25225         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25226         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25227         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25228         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25229         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25230         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25231         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25232         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25233         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25234         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25235         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25236         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25237         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25238         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25239         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25240         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25241         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25242         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25243         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25244         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25245         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25246         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25247         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25248         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25249         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25250         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25251         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25252         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25253         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25254         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25255         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25256         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25257         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25258         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25259         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25260         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25261         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25262         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25263         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25264         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25265         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25266         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25267         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25268         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25269         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25270         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25271         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25272         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25273         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25274         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25275         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25276         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25277         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25278         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25279         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25280         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25281         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25282         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25283         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25284         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25285         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25286         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25287         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25288         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25289         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25290         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25291         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25292         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25293         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25294         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25295         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25296         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25297         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25298         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25299         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25300         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25301         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25302         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25303         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25304         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25305         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25306         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25307         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25308         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25309         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25310         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25311         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25312         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25313         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25314         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25315         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25316         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25317         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25318         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25319         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25320         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25321         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25322         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25323         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25324         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25325         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25326         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25327         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25328         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25329         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25330         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25331         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25332         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25333         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25334         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25335         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25336         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25337         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25338         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25339         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25340         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25341         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25342         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25343         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25344         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25345         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25346         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25347         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25348         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25349         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25350         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25351         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25352         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25353         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25354         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25355         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25356         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25357         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25358         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25359         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25360         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25361         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25362         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25363         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25364         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25365         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25366         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25367         * sysdeps/ieee754/k_standard.c: Likewise.
25368         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25369         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25370         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25371         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25372         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25373         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25374         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25375         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25376         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25377         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25378         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25379         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25380         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25381         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25382         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25383         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25384         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25385         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25386         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25387         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25388         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25389         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25390         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25391         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25392         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25393         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25394         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25395         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25396         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25397         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25398         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25399         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25400         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25401         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25402         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25403         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25404         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25405         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25406         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25407         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25408         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25409         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25410         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25411         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25412         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25413         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25414         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25415         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25416         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25417         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25418         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25419         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25420         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25421         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25422         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25423         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25424         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25425         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25426         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25427         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25428         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25429         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25430         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25431         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25432         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25433         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25434         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25435         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25436         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25437         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25438         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25439         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25440         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25441         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25442         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25443         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25444         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25445         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25446         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25447         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25448         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25449         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25450         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25451         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25452         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25453         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25454         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25455         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25456         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25457         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25458         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25459         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25460         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25461         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25462         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25463         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25464         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25465         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25466         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25467         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25468         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25469         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25470         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25471         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25472         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25473         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25474         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25475         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25476         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25477         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25478         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25479         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25480         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25481         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25482         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25483         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25484         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25485         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25486         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25487         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25488         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25489         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25490         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25491         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25492         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25493         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25494         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25495         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25496         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25497         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25498         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25499         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25500         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25501         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25502         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25503         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25504         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25505         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25506         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25507         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25508         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25509         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25510         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25511         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25512         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25513         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25514         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25515         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25516         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25517         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25518         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25519         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25520         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25521         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25522         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25523         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25524         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25525         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25526         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25527         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25528         * sysdeps/ieee754/s_lib_version.c: Likewise.
25529         * sysdeps/ieee754/s_matherr.c: Likewise.
25530         * sysdeps/ieee754/s_signgam.c: Likewise.
25531         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25532         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25533         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25534         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25535         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25536         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25537         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25538         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25539         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25540         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25541         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25542         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25543         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25544         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25545         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25546         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25547         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25548         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25549         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25550         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25551         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25553 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25555         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25556         * sunrpc/rpc_main.c: Likewise.
25557         * sunrpc/rpc_svcout.c: Likewise.
25559 2012-03-09  David S. Miller  <davem@davemloft.net>
25561         * include/math_private.h: New file.
25563 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25565         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25566         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25567         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25568         from <bits/socket_type.h>.
25569         (enum __socket_type): Don't define here.
25570         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25571         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25572         bits/socket_type.h.
25574         [BZ #13566]
25575         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25576         checking __USE_GNU.
25578         * Makerules ($(inst_includedir)/%.h): New rule.
25579         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25580         (install-others): Remove variable setting.
25581         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25583 2012-03-08  Richard Henderson  <rth@twiddle.net>
25585         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25586         from macro to inline function; merge with the
25587         !__LIBC_INTERNAL_MATH_INLINES version.
25588         (__ieee754_sqrtf): Likewise.
25590         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25591         to inline function.
25592         (__rintf, __floor, __floorf): Likewise.
25594         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25595         macro to inline function.
25596         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25598         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25599         not <math/math_private.h>.
25601 2012-03-08  David S. Miller  <davem@davemloft.net>
25603         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25604         copyright year.
25605         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25607 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
25609         * resolv/gai_misc.c (handle_requests): Fix struct timespec
25610         normalization.
25611         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25612         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25614 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
25616         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
25617         be defined individually, they must be defined as a block.  Define
25618         S for printing a string instead of hidint the different by using a
25619         macro for adding the 'l'.
25620         * stdio-common/tst-fphex-wide.c: Adjust.
25622 2012-03-07  Marek Polacek  <polacek@redhat.com>
25624         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25626 2012-03-08  Marek Polacek  <polacek@redhat.com>
25628         [BZ #13806]
25629         * stdio-common/Makefile (tests): Add tst-fphex-wide.
25630         * stdio-common/tst-fphex.c: Define a few macros to make the
25631         test reusable.  Use them.
25632         * stdio-common/tst-fphex-wide.c: New file.
25634 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
25636         [BZ #6911]
25637         * manual/macros.texi (gnusystems): New macro.
25638         (nongnusystems): Likewise.
25639         (gnulinuxhurdsystems): Likewise.
25640         (gnuhurdsystems): Likewise..
25641         (gnulinuxsystems): Likewise.
25642         * manual/charset.texi: Use new macros or @theglibc{} to refer to
25643         variants of the GNU system, not "GNU system".
25644         * manual/conf.texi: Likewise.
25645         * manual/errno.texi: Likewise.  Update example of errno macro
25646         expansion.
25647         * manual/filesys.texi: Likewise.
25648         (getumask): Document as specific to GNU/Hurd.
25649         * manual/install.texi: Likewise.  Reword some references to
25650         GNU/Linux.
25651         * manual/intro.texi: Likewise.
25652         * manual/io.texi: Likewise.
25653         (File Name Portability): Detail which constraints are inapplicable
25654         to all GNU systems and which are only inapplicable to GNU/Hurd.
25655         * manual/job.texi: Likewise.
25656         * manual/llio.texi: Likewise.
25657         (O_NOCTTY): Document as present on GNU/Linux.
25658         * manual/maint.texi: Likewise.
25659         * manual/memory.texi: Likewise.
25660         * manual/pattern.texi: Likewise.
25661         * manual/pipe.texi: Likewise.
25662         * manual/process.texi: Likewise.
25663         * manual/resource.texi: Likewise.
25664         (RUSAGE_CHILDREN): Remove statement about specifying a particular
25665         child on GNU/Hurd.
25666         * manual/setjmp.texi: Likewise.
25667         * manual/signal.texi: Likewise.
25668         * manual/startup.texi: Likewise.
25669         * manual/stdio.texi: Likewise.
25670         * manual/terminal.texi: Likewise.
25671         (ONLCR): Document as POSIX.
25672         (OXTABS): Document availability on GNU/Linux as XTABS.
25673         (ONOEOT): Document availability separately from other bits.
25674         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25675         * manual/time.texi: Likewise.
25676         * manual/users.texi: Likewise.
25677         * INSTALL: Regenerated.
25678         * sysdeps/gnu/errlist.c: Regenerated.
25680         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25681         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25682         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
25683         puts.
25684         * configure: Regenerated.
25686 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
25688         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25689         default includes instead of AC_HEADER_CHECK.
25690         * sysdeps/i386/configure: Regenerated.
25692         [BZ #10716]
25693         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25694         * math/s_cacoshf.c (__cacoshf): Likewise.
25695         * math/s_cacoshl.c (__cacoshl): Likewise.
25696         * math/s_casinh.c (__casinh): Set signs of result from argument.
25697         * math/s_casinhf.c (__casinhf): Likewise.
25698         * math/s_casinhl.c (__casinhl): Likewise.
25699         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25700         (casinh_test): Add more tests.
25701         * sysdeps/i386/fpu/libm-test-ulps: Update.
25702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25704 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
25706         * po/zh_TW.po: Update from translation team.
25708         * login/Makefile (distribute): Remove variable.
25709         * catgets/Makefile: Likewise.
25710         * mach/Makefile: Likewise.
25711         * malloc/Makefile: Likewise.
25712         * misc/Makefile: Likewise.
25713         * iconv/Makefile: Likewise.
25714         * nscd/Makefile: Likewise.
25715         * hurd/Makefile: Likewise.
25716         * manual/Makefile: Likewise.
25717         * locale/Makefile: Likewise.
25718         * intl/Makefile: Likewise.
25719         * conform/Makefile: Likewise.
25720         * nss/Makefile: Likewise.
25721         * time/Makefile: Likewise.
25722         * soft-fp/Makefile: Likewise.
25723         * dirent/Makefile: Likewise.
25724         * gmon/Makefile: Likewise.
25725         * po/Makefile: Likewise.
25726         * rt/Makefile: Likewise.
25727         * socket/Makefile: Likewise.
25728         * math/Makefile: Likewise.
25729         * signal/Makefile: Likewise.
25730         * debug/Makefile: Likewise.
25731         * elf/Makefile: Likewise.
25732         * timezone/Makefile: Likewise.
25733         * stdlib/Makefile: Likewise.
25734         * iconvdata/Makefile: Likewise.
25735         * sunrpc/Makefile: Likewise.
25736         * io/Makefile: Likewise.
25737         * argp/Makefile: Likewise.
25738         * inet/Makefile: Likewise.
25739         * hesiod/Makefile: Likewise.
25740         * grp/Makefile: Likewise.
25741         * csu/Makefile: Likewise.
25742         * wctype/Makefile: Likewise.
25743         * crypt/Makefile: Likewise.
25744         * libio/Makefile: Likewise.
25745         * string/Makefile: Likewise.
25746         * nis/Makefile: Likewise.
25747         * resolv/Makefile: Likewise.
25748         * stdio-common/Makefile: Likewise.
25749         * wcsmbs/Makefile: Likewise.
25750         * dlfcn/Makefile: Likewise.
25751         * posix/Makefile: Likewise.
25753         [BZ #6959]
25754         * timezone/Makefile: Don't install timezone files, just the programs
25755         and scripts.
25757 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
25759         * nss/databases.def: Add missing gshadow entry.
25761         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
25763 2012-03-06  Marek Polacek  <polacek@redhat.com>
25765         [BZ #13726]
25766         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25767         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25768         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25769         * stdio-common/tst-long-dbl-fphex.c: New file.
25771 2012-03-06  David S. Miller  <davem@davemloft.net>
25773         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25774         (set_obp_int): New function.
25775         (get_obp_int): New function.
25776         (__get_clockfreq_via_dev_openprom): Likewise.
25777         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25778         Avoid unused variable warnings on 'val' and use builtin_expect.
25779         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25780         __builtin_expect.
25781         (INLINE_CLONE_SYSCALL): Likewise.
25783 2012-03-05  David S. Miller  <davem@davemloft.net>
25785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25787 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
25789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25791         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25792         only for |x| >= 40.
25793         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25795 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25797         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25798         Replace gettimeofday with __vdso_gettimeofday.
25800         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25801         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25802         __vdso_clock_gettime and __vdso_getcpu.
25804         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25805         time with __vdso_time.
25807 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25809         * manual/lang.texi (size_t): Note types to which size_t may be
25810         equivalent with the GNU C Library, but do not describe when
25811         differences between them are significant.
25813 2012-03-05  Andreas Jaeger  <aj@suse.de>
25815         * sysdeps/i386/fpu/libm-test-ulps: Update.
25817 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25819         [BZ #3976]
25820         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25821         (__ieee754_pow): Save and restore rounding mode and use
25822         round-to-nearest for main computations.
25823         * math/libm-test.inc (pow_test_tonearest): New function.
25824         (pow_test_towardzero): Likewise.
25825         (pow_test_downward): Likewise.
25826         (pow_test_upward): Likewise.
25827         (main): Call the new functions.
25828         * sysdeps/i386/fpu/libm-test-ulps: Update.
25829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25831         [BZ #3976]
25832         * math/libm-test.inc (cosh_test_tonearest): New function.
25833         (cosh_test_towardzero): Likewise.
25834         (cosh_test_downward): Likewise.
25835         (cosh_test_upward): Likewise.
25836         (sinh_test_tonearest): Likewise.
25837         (sinh_test_towardzero): Likewise.
25838         (sinh_test_downward): Likewise.
25839         (sinh_test_upward): Likewise.
25840         (main): Call the new functions.
25841         * sysdeps/i386/fpu/libm-test-ulps: Update.
25842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25844 2012-03-05  Tom de Vries  <tom@codesourcery.com>
25846         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25847         default stack guard is set in last bytes.
25848         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25850 2012-03-05  Kees Cook  <keescook@chromium.org>
25852         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25854         [BZ #13656]
25855         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25856         possibly allocate from heap instead of stack.
25857         * stdio-common/bug-vfprintf-nargs.c: New file.
25858         * stdio-common/Makefile (tests): Add nargs overflow test.
25860 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
25862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25864 2012-03-03  Marek Polacek  <polacek@redhat.com>
25866         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25867         * math/math_private.h: Likewise.
25868         * stdlib/tst-strtod.c: Likewise.
25869         * sysdeps/i386/i486/bits/atomic.h: Likewise.
25870         * sysdeps/x86_64/bits/atomic.h: Likewise.
25872 2012-03-02  David S. Miller  <davem@davemloft.net>
25874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25878         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25879         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25880         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25881         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25883 2012-03-02  Roland McGrath  <roland@hack.frob.com>
25885         [BZ #13792]
25886         * manual/examples/README: New file, says the example source files
25887         can be used under GPL>=2.
25888         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25889         line containing just "*/".
25890         * manual/examples/add.c: Add copyright header (GPL>=2).
25891         * manual/examples/argp-ex1.c: Likewise.
25892         * manual/examples/argp-ex2.c: Likewise.
25893         * manual/examples/argp-ex3.c: Likewise.
25894         * manual/examples/argp-ex4.c: Likewise.
25895         * manual/examples/atexit.c: Likewise.
25896         * manual/examples/db.c: Likewise.
25897         * manual/examples/dir.c: Likewise.
25898         * manual/examples/dir2.c: Likewise.
25899         * manual/examples/execinfo.c: Likewise.
25900         * manual/examples/filecli.c: Likewise.
25901         * manual/examples/filesrv.c: Likewise.
25902         * manual/examples/fmtmsgexpl.c: Likewise.
25903         * manual/examples/genpass.c: Likewise.
25904         * manual/examples/inetcli.c: Likewise.
25905         * manual/examples/inetsrv.c: Likewise.
25906         * manual/examples/isockad.c: Likewise.
25907         * manual/examples/longopt.c: Likewise.
25908         * manual/examples/memopen.c: Likewise.
25909         * manual/examples/memstrm.c: Likewise.
25910         * manual/examples/mkfsock.c: Likewise.
25911         * manual/examples/mkisock.c: Likewise.
25912         * manual/examples/mygetpass.c: Likewise.
25913         * manual/examples/pipe.c: Likewise.
25914         * manual/examples/popen.c: Likewise.
25915         * manual/examples/rprintf.c: Likewise.
25916         * manual/examples/search.c: Likewise.
25917         * manual/examples/select.c: Likewise.
25918         * manual/examples/setjmp.c: Likewise.
25919         * manual/examples/sigh1.c: Likewise.
25920         * manual/examples/sigusr.c: Likewise.
25921         * manual/examples/stpcpy.c: Likewise.
25922         * manual/examples/strdupa.c: Likewise.
25923         * manual/examples/strftim.c: Likewise.
25924         * manual/examples/strncat.c: Likewise.
25925         * manual/examples/subopt.c: Likewise.
25926         * manual/examples/swapcontext.c: Likewise.
25927         * manual/examples/termios.c: Likewise.
25928         * manual/examples/testopt.c: Likewise.
25929         * manual/examples/testpass.c: Likewise.
25930         * manual/examples/timeval_subtract.c: Likewise.
25932         [BZ #13792]
25933         * manual/time.texi (Elapsed Time): Move timeval_subtract example
25934         function to ...
25935         * manual/timeval_subtract.c.texi: ... here, new file.
25937 2012-03-02  David S. Miller  <davem@davemloft.net>
25939         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25941 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
25943         [BZ #3976]
25944         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25945         (__sin): Save and restore rounding mode and use round-to-nearest
25946         for all computations.
25947         (__cos): Save and restore rounding mode and use round-to-nearest
25948         for all computations.
25949         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25950         <fenv.h>.
25951         (tan): Save and restore rounding mode and use round-to-nearest for
25952         all computations.
25953         * math/libm-test.inc (cos_test_tonearest): New function.
25954         (cos_test_towardzero): Likewise.
25955         (cos_test_downward): Likewise.
25956         (cos_test_upward): Likewise.
25957         (sin_test_tonearest): Likewise.
25958         (sin_test_towardzero): Likewise.
25959         (sin_test_downward): Likewise.
25960         (sin_test_upward): Likewise.
25961         (tan_test_tonearest): Likewise.
25962         (tan_test_towardzero): Likewise.
25963         (tan_test_downward): Likewise.
25964         (tan_test_upward): Likewise.
25965         (main): Call the new functions.
25966         * sysdeps/i386/fpu/libm-test-ulps: Update.
25967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25969         [BZ #10135]
25970         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25971         small n, then large n, before computing and testing k+n.
25972         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25973         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25974         Likewise.
25975         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25976         Likewise.
25977         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25978         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25979         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25980         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25981         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25982         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25983         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25984         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25985         * math/libm-test.inc (scalbn_test): Add more tests.
25986         (scalbln_test): Likewise.
25988         * manual/filesys.texi (mode_t): Describe constraints on size and
25989         signedness, not exact equivalence to a particular type.
25990         (ino_t): Likewise.
25991         (ino64_t): Likewise.
25992         (dev_t): Likewise.
25993         (nlink_t): Likewise.
25994         (blkcnt_t): Likewise.
25995         (blkcnt64_t): Likewise.
25996         * manual/llio.texi (off_t): Likewise.
25998         [BZ #3976]
25999         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26000         (__ieee754_exp): Save and restore rounding mode and use
26001         round-to-nearest for all computations.
26002         * math/libm-test.inc (exp_test_tonearest): New function.
26003         (exp_test_towardzero): Likewise.
26004         (exp_test_downward): Likewise.
26005         (exp_test_upward): Likewise.
26006         (main): Call the new functions.
26007         * sysdeps/i386/fpu/libm-test-ulps: Update.
26008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26010 2012-03-01  Chris Demetriou  <cgd@google.com>
26012         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26013         have predictable order.
26015 2012-03-01  David S. Miller  <davem@davemloft.net>
26017         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26019         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26020         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26021         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26022         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26024         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26025         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26026         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26028         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26029         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26030         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26031         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26032         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26036         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26037         * sysdeps/sparc/fpu/libm-test-ulps: to here.
26038         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26040         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26041         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26042         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26043         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26044         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26045         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26046         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26047         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26048         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26049         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26050         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26051         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26052         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26053         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26054         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26055         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26056         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26057         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26058         * sysdeps/sparc/elf/configure: Regenerated.
26060 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
26062         * configure.in (AS, LD): Require binutils 2.20 or later.
26063         * configure: Regenerated.
26064         * manual/install.texi (Tools for Compilation): Give binutils 2.20
26065         as required minimum version.
26066         * INSTALL: Regenerated.
26068         [BZ #2541]
26069         [BZ #4108]
26070         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26071         before squaring exponent.
26072         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26073         bottom long double and 27 bits of top long double before squaring
26074         exponent.
26075         * math/libm-test.inc (erfc_test): Add more tests.
26076         * sysdeps/i386/fpu/libm-test-ulps: Update.
26077         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26080 2012-03-01  Kai Tietz  <ktietz@redhat.com>
26082         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26083         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26084         containing bit-fields.
26085         * soft-fp/extended.h (_FP_UNION_E): Likewise.
26086         * soft-fp/single.h (_FP_UNION_S): Likewise.
26087         * soft-fp/double.h (_FP_UNION_D): Likewise.
26089 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26091         [BZ #13786]
26092         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26093         not include ../strcmp.S.
26094         [USE_AS_STRNCASECMP_L]: Likewise.
26095         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26096         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26097         * sysdeps/i386/i686/multiarch/strncase_l-c.c
26098         (__strncasecmp_l_ia32): Define as alias to
26099         __strncasecmp_l_nonascii.
26101         [BZ #5794]
26102         * math/libm-test.inc (expm1_test): Add test for bug 5794.
26103         * sysdeps/i386/fpu/libm-test-ulps: Update.
26104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26106         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26109 2012-02-29  Jeff Law  <law@redhat.com>
26111         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26112         out of bounds read.
26114 2012-02-29  Marek Polacek  <polacek@redhat.com>
26116         [BZ #13706]
26117         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26118         * elf/Makefile: Add rules to run tst-unused-dep.out.
26120 2012-02-28  David S. Miller  <davem@davemloft.net>
26122         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26123         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26124         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26125         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26126         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26127         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26129 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26131         * math/libm-test.inc (llround_test): Move one test from
26132         lround_test.  Use TEST_f_L in moved test.
26133         (lround_test): Move misplaced test to llround_test.  Add testcase
26134         from bug 2561.
26136 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
26138         * sysdeps/x86_64/fpu/e_expf.S: New file.
26139         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26141 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
26143         [BZ #13637]
26144         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26145         of remain_len that may cause incomplete multi-byte character and
26146         false match.
26147         * posix/bug-regex33.c: New file.
26148         * posix/Makefile (tests): Add bug-regex33.
26150 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
26152         * manual/macros.texi: New file.
26153         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26154         * manual/libc.texinfo: Include macros.texi.
26155         * manual/creatute.texi: Likewise.
26156         * manual/install.texi: Likewise.
26157         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26158         @glibcadj{} in references to the GNU C Library.
26159         * manual/charset.texi: Likewise.
26160         * manual/conf.texi: Likewise.
26161         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
26162         when not using those macros.
26163         * manual/creature.texi: Likewise.
26164         * manual/crypt.texi: Likewise.
26165         * manual/errno.texi: Likewise.
26166         * manual/filesys.texi: Likewise.
26167         * manual/header.texi: Likewise.
26168         * manual/install.texi: Likewise.
26169         * manual/intro.texi: Likewise.
26170         * manual/io.texi: Likewise.
26171         * manual/job.texi: Likewise.
26172         * manual/lang.texi: Likewise.
26173         * manual/libc.texiinfo: Likewise.
26174         * manual/llio.texi: Likewise.
26175         * manual/locale.texi: Likewise.
26176         * manual/maint.texi: Likewise.
26177         * manual/math.texi: Likewise.
26178         * manual/memory.texi: Likewise.
26179         * manual/message.texi: Likewise.
26180         * manual/nss.texi: Likewise.
26181         * manual/pattern.texi: Likewise.
26182         * manual/process.texi: Likewise.
26183         * manual/resource.texi: Likewise.
26184         * manual/search.texi: Likewise.
26185         * manual/setjmp.texi: Likewise.
26186         * manual/signal.texi: Likewise.
26187         * manual/socket.texi: Likewise.
26188         * manual/startup.texi: Likewise.
26189         * manual/stdio.texi: Likewise.
26190         * manual/string.texi: Likewise.
26191         * manual/sysinfo.texi: Likewise.
26192         * manual/syslog.texi: Likewise.
26193         * manual/terminal.texi: Likewise.
26194         * manual/time.texi: Likewise.
26195         * manual/users.texi: Likewise.
26196         * INSTALL: Regenerated.
26197         * NOTES: Regenerated.
26198         * sysdeps/gnu/errlist.c: Regenerated.
26200 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
26202         * include/dirent.h: Include <dirstream.h> before
26203         <dirent/dirent.h>.
26205 2012-02-28  David S. Miller  <davem@davemloft.net>
26207         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26208         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26209         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26210         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26212 2012-02-27  David S. Miller  <davem@davemloft.net>
26214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26216         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26217         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26220         frame pointer instead of stack pointer relative arg slot.
26221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26222         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26223         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26225 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
26227         [BZ #3992]
26228         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26230 2012-02-27  David S. Miller  <davem@davemloft.net>
26232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26236         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26237         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26238         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26239         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26241 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26243         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26244         later.  Allow versions 5-9.
26245         * configure: Regenerated.
26246         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26247         required minimum version and 4.6 as recommended version.  Do not
26248         mention bugs in GCC 2.7 and 2.8.
26249         * INSTALL: Regenerated.
26251 2012-02-27  David S. Miller  <davem@davemloft.net>
26253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26257         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26258         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26259         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26260         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26262         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26263         manipulate bits before adding and subtracting TWO112[sx].
26264         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26266 2012-02-27  Roland McGrath  <roland@hack.frob.com>
26268         [BZ #13775]
26269         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26270         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26271         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26272         being in POSIX, because they are in 1003.1-2008.
26274         * rt/tst-aio.c: Include <fcntl.h>.
26275         * rt/tst-aio7.c: Likewise.
26276         * rt/tst-aio64.c: Likewise.
26278         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26280 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26282         * manual/install.texi (--with-headers): Describe headers as
26283         interface headers, not private headers.
26284         (Specific advice for GNU/Linux systems): Describe use of headers
26285         from "make headers_install", not private headers from older
26286         kernels.
26287         * INSTALL: Regenerated.
26288         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26289         Change to 2.6.19.
26290         * sysdeps/unix/sysv/linux/configure: Regenerated.
26292         * manual/llio.texi (fclean): Remove documentation.
26294         * manual/Makefile (libc-texi-generated): New variable.  Include
26295         version.texi.
26296         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26297         $(libc-texi-generated), not duplicated list of files.
26298         (version.texi, stamp-version): New rules.
26299         (realclean): Remove $(libc-texi-generated), not individual files
26300         from that list.  Do not remove dir-add.texinfo.
26301         * manual/libc.texinfo: Comment out uses of edition numbers and
26302         references to printed manual.  Remove last-updated dates.
26303         (EDITION): Comment out.
26304         (ISBN): Likewise.
26305         (VERSION, UPDATED): Remove.
26306         (version.texi): Include.
26308 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
26310         * sysdeps/posix/spawni.c: Include <signal.h>.
26311         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26312         * sysdeps/pthread/aio_fsync.c: Likewise.
26314 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
26316         * conform/Makefile (tests): Run only when not cross-compiling and
26317         when fast-check is not defined.
26319         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26320         * conform/data/limits.h-data: Fixes for POSIX2008.
26321         * conform/run-conformtest.sh: Run all tests.
26322         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26323         headers.
26324         * include/bits/dlfcn.h: Likewise.
26325         * include/langinfo.h: Likewise.
26326         * include/monetary.h: Likewise.
26327         * include/sys/poll.h: Likewise.
26329         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26330         for __USE_GNU.
26331         * posix/spawn.h: Define __need_sigset_t.
26332         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26333         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26334         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
26335         to get sigevent_t only.
26336         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26337         only for __USE_GNU.
26338         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26339         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26340         process_vm_writev only for __USE_GNU.
26341         * termios/termios.h: Declare tcgetsid also for POSIX2008.
26343         * conform/Makefile: For now ignore errors from run-conformtest.
26344         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
26345         POSIX to avoid namespace pollution.  Don't prepend headers.
26346         * conform/data/aio.h-data: Fixes for POSIX testing.
26347         * conform/data/fcntl.h-data: Likewise.
26348         * conform/data/glob.h-data: Likewise.
26349         * conform/data/grp.h-data: Likewise.
26350         * conform/data/pthread.h-data: Likewise.
26351         * conform/data/pwd.h-data: Likewise.
26352         * conform/data/signal.h-data: Likewise.
26353         * conform/data/spawn.h-data: Likewise.
26354         * conform/data/stdio.h-data: Likewise.
26355         * conform/data/stdlib.h-data: Likewise.
26356         * conform/data/stropts.h-data: Likewise.
26357         * conform/data/sys/mman.h-data: Likewise.
26358         * conform/data/sys/stat.h-data: Likewise.
26359         * conform/data/sys/types.h-data: Likewise.
26360         * conform/data/sys/wait.h-data: Likewise.
26361         * conform/data/time.h-data: Likewise.
26362         * conform/data/unistd.h-data: Likewise.
26363         * conform/data/utime.h-data: Likewise.
26365         * io/sys/stat.h: fchmod was always in POSIX.
26366         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26367         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26368         * rt/aio.h: Define __need_timespec before including <time.h>.
26369         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26370         struct.  Add forward declaration of pthread_attr_t and use it in
26371         sigevent.
26372         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26373         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26374         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26375         always remove CLK_TCK definition.
26377 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
26379         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26381 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
26383         * conform/run-conformtest.sh: New file.
26384         * conform/Makefile: Run run-conformtest for tests.
26385         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
26386         support.
26388         * conform/data/uchar.h-data: New file.
26389         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26390         * conform/data/arpa/inet.h-data: Likewise.
26391         * conform/data/assert.h-data: Likewise.
26392         * conform/data/complex.h-data: Likewise.
26393         * conform/data/cpio.h-data: Likewise.
26394         * conform/data/ctype.h-data: Likewise.
26395         * conform/data/dirent.h-data: Likewise.
26396         * conform/data/dlfcn.h-data: Likewise.
26397         * conform/data/errno.h-data: Likewise.
26398         * conform/data/fcntl.h-data: Likewise.
26399         * conform/data/float.h-data: Likewise.
26400         * conform/data/fmtmsg.h-data: Likewise.
26401         * conform/data/fnmatch.h-data: Likewise.
26402         * conform/data/ftw.h-data: Likewise.
26403         * conform/data/glob.h-data: Likewise.
26404         * conform/data/grp.h-data: Likewise.
26405         * conform/data/iconv.h-data: Likewise.
26406         * conform/data/inttypes.h-data: Likewise.
26407         * conform/data/langinfo.h-data: Likewise.
26408         * conform/data/libgen.h-data: Likewise.
26409         * conform/data/limits.h-data: Likewise.
26410         * conform/data/locale.h-data: Likewise.
26411         * conform/data/math.h-data: Likewise.
26412         * conform/data/monetary.h-data: Likewise.
26413         * conform/data/mqueue.h-data: Likewise.
26414         * conform/data/ndbm.h-data: Likewise.
26415         * conform/data/net/if.h-data: Likewise.
26416         * conform/data/netdb.h-data: Likewise.
26417         * conform/data/netinet/in.h-data: Likewise.
26418         * conform/data/nl_types.h-data: Likewise.
26419         * conform/data/poll.h-data: Likewise.
26420         * conform/data/pthread.h-data: Likewise.
26421         * conform/data/pwd.h-data: Likewise.
26422         * conform/data/regex.h-data: Likewise.
26423         * conform/data/sched.h-data: Likewise.
26424         * conform/data/search.h-data: Likewise.
26425         * conform/data/semaphore.h-data: Likewise.
26426         * conform/data/setjmp.h-data: Likewise.
26427         * conform/data/signal.h-data: Likewise.
26428         * conform/data/spawn.h-data: Likewise.
26429         * conform/data/stdarg.h-data: Likewise.
26430         * conform/data/stdio.h-data: Likewise.
26431         * conform/data/stdlib.h-data: Likewise.
26432         * conform/data/string.h-data: Likewise.
26433         * conform/data/strings.h-data: Likewise.
26434         * conform/data/stropts.h-data: Likewise.
26435         * conform/data/sys/ipc.h-data: Likewise.
26436         * conform/data/sys/mman.h-data: Likewise.
26437         * conform/data/sys/msg.h-data: Likewise.
26438         * conform/data/sys/resource.h-data: Likewise.
26439         * conform/data/sys/select.h-data: Likewise.
26440         * conform/data/sys/sem.h-data: Likewise.
26441         * conform/data/sys/shm.h-data: Likewise.
26442         * conform/data/sys/socket.h-data: Likewise.
26443         * conform/data/sys/stat.h-data: Likewise.
26444         * conform/data/sys/statvfs.h-data: Likewise.
26445         * conform/data/sys/time.h-data: Likewise.
26446         * conform/data/sys/timeb.h-data: Likewise.
26447         * conform/data/sys/times.h-data: Likewise.
26448         * conform/data/sys/types.h-data: Likewise.
26449         * conform/data/sys/uio.h-data: Likewise.
26450         * conform/data/sys/un.h-data: Likewise.
26451         * conform/data/sys/utsname.h-data: Likewise.
26452         * conform/data/sys/wait.h-data: Likewise.
26453         * conform/data/syslog.h-data: Likewise.
26454         * conform/data/tar.h-data: Likewise.
26455         * conform/data/termios.h-data: Likewise.
26456         * conform/data/utime.h-data: Likewise.
26457         * conform/data/utmpx.h-data: Likewise.
26458         * conform/data/varargs.h-data: Likewise.
26459         * conform/data/wchar.h-data: Likewise.
26460         * conform/data/wctype.h-data: Likewise.
26461         * conform/data/wordexp.h-data: Likewise.
26463         * include/stropts.h: New file.
26464         * include/uchar.h: New file.
26465         * include/aio.h: Changes to allow conformtest.pl to use the headers.
26466         * include/assert.h: Likewise.
26467         * include/ctype.h: Likewise.
26468         * include/dirent.h: Likewise.
26469         * include/dlfcn.h: Likewise.
26470         * include/fcntl.h: Likewise.
26471         * include/fnmatch.h: Likewise.
26472         * include/glob.h: Likewise.
26473         * include/grp.h: Likewise.
26474         * include/libio.h: Likewise.
26475         * include/locale.h: Likewise.
26476         * include/math.h: Likewise.
26477         * include/net/if.h: Likewise.
26478         * include/netdb.h: Likewise.
26479         * include/netinet/in.h: Likewise.
26480         * include/pthread.h: Likewise.
26481         * include/pwd.h: Likewise.
26482         * include/regex.h: Likewise.
26483         * include/sched.h: Likewise.
26484         * include/search.h: Likewise.
26485         * include/setjmp.h: Likewise.
26486         * include/signal.h: Likewise.
26487         * include/stdio.h: Likewise.
26488         * include/stdlib.h: Likewise.
26489         * include/string.h: Likewise.
26490         * include/sys/cdefs.h: Likewise.
26491         * include/sys/mman.h: Likewise.
26492         * include/sys/msg.h: Likewise.
26493         * include/sys/resource.h: Likewise.
26494         * include/sys/select.h: Likewise.
26495         * include/sys/socket.h: Likewise.
26496         * include/sys/stat.h: Likewise.
26497         * include/sys/statvfs.h: Likewise.
26498         * include/sys/time.h: Likewise.
26499         * include/sys/times.h: Likewise.
26500         * include/sys/uio.h: Likewise.
26501         * include/sys/utsname.h: Likewise.
26502         * include/sys/wait.h: Likewise.
26503         * include/termios.h: Likewise.
26504         * include/time.h: Likewise.
26505         * include/ulimit.h: Likewise.
26506         * include/unistd.h: Likewise.
26507         * include/utime.h: Likewise.
26508         * include/wchar.h: Likewise.
26509         * include/wctype.h: Likewise.
26510         * include/wordexp.h: Likewise.
26512         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26514         * time/time.h: TIME_UTC must be a macro.
26515         Make timespec_get available for ISO C11 only as well.
26517 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
26519         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26520         Reported by Peng Haitao <penght@cn.fujitsu.com>.
26522 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26524         * configure.in: Use -o not -a in test for unsupported multi-arch.
26526 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26528         * manual/texinfo.tex: Update to version 2012-01-19.16.
26530 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26532         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26534 2012-02-24  Roland McGrath  <roland@hack.frob.com>
26536         [BZ #13738]
26537         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26538         * manual/fdl-1.3.texi: New file.
26539         * manual/fdl-1.1.texi: File removed.
26541         [BZ #13738]
26542         * manual/libc.texinfo (FDL_VERSION): New @set.
26543         Use it for mention of FDL in cover text.
26544         (Documentation License): Use it in @include file name.
26546 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26547             Roland McGrath  <roland@hack.frob.com>
26549         [BZ #5461]
26550         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26551         not LONG_LONG_MAX and LONG_LONG_MIN.
26552         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26553         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
26554         name.
26555         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26557 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26559         [BZ #2547]
26560         [BZ #11365]
26561         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26562         manipulate bits before adding and subtracting TWO23[sx].
26563         * math/libm-test.inc (nearbyint_test): Add more tests.
26565 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26567         [BZ #2548]
26568         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26569         bits before adding and subtracting TWO23[sx].
26570         * math/libm-test.inc (rint_test): Add more tests.
26571         (rint_test_tonearest): Likewise.
26572         (rint_test_towardzero): Likewise.
26573         (rint_test_downward): Likewise.
26574         (rint_test_upward: Likewise.
26576 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26578         [BZ #10110]
26579         * include/stdc-predef.h: New file.  Extracted from features.h.
26580         * include/features.h: Include stdc-predef.h.
26581         * Makefile (headers): Add stdc-predef.h.
26582         * CONFORMANCE (Compiler limitations): Update.
26584 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26586         * manual/libc.texinfo (VERSION, UPDATED): Revert.
26588 2012-02-21  David S. Miller  <davem@davemloft.net>
26590         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26591         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26593 2012-02-20  David S. Miller  <davem@davemloft.net>
26595         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26596         using a normal save/restore sequence, rather than allocating a
26597         dummy stack frame just to store a frame pointer and restore.
26598         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26600 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26602         * manual/install.texi: Fix stray word in line-wrapped comment.
26604 2012-02-20  David S. Miller  <davem@davemloft.net>
26606         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26607         both binutils and gcc support GOTDATA.
26609         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26610         "rd %pc" in the PIC register setup sequences.
26612         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26613         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26614         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26615         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26616         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26617         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26618         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26619         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26620         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26621         (SYSCALL_ERROR_HANDLER): Likewise.
26622         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26623         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26624         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26625         (SYSCALL_ERROR_HANDLER): Likewise.
26627         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26628         (HAVE_GCC_GOTDATA): New.
26629         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26630         relocation support in both binutils and gcc.
26631         * sysdeps/sparc/elf/configure: Regenerate.
26633         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26634         * sysdeps/sparc/sparc32/elf/configure: Delete.
26635         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26636         * sysdeps/sparc/sparc64/elf/configure: Delete.
26637         * sysdeps/sparc/elf/configure.in: New file.
26638         * sysdeps/sparc/elf/configure: Generate.
26640         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26641         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26642         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26643         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26644         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26646 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26648         * manual/install.texi: Do not mention specific glibc version
26649         numbers.
26650         * manual/libc.texinfo (VERSION, UPDATED): Update.
26651         (@copying): Use @copyright{} and range of years.
26653 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26655         [BZ #13695]
26656         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26657         [crti.S not in sysdirs] (generated): Do not append.
26658         [crti.S not in sysdirs] (omit-deps): Likewise.
26659         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26660         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26661         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26662         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26663         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26664         Likewise.
26665         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26666         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26667         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26668         * csu/defs.awk: Remove file.
26669         * sysdeps/generic/initfini.c: Likewise.
26670         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26671         variable.
26672         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26673         Likewise.
26675 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26677         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26678         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26679         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26680         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26681         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26682         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26683         <bits/epoll.h>.
26684         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26685         (__EPOLL_PACKED): Define to empty if not defined by
26686         <bits/epoll.h>.
26687         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26688         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26689         bits/epoll.h.
26691 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26693         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26694         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26695         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26696         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26697         <bits/timerfd.h>.
26698         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26699         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26700         bits/timerfd.h.
26702 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26704         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26705         in C locale.
26706         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26707         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26708         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26711 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
26713         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26714         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26716 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
26718         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26719         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26720         defined.
26721         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26722         Likewise.
26723         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26724         entry for 2.16.
26726 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
26728         * math/w_acos.c: Use non-signaling floating-point comparisons.
26729         * math/w_acosf.c: Likewise.
26730         * math/w_acosh.c: Likewise.
26731         * math/w_acoshf.c: Likewise.
26732         * math/w_acoshl.c: Likewise.
26733         * math/w_acosl.c: Likewise.
26734         * math/w_asin.c: Likewise.
26735         * math/w_asinf.c: Likewise.
26736         * math/w_asinl.c: Likewise.
26737         * math/w_atanh.c: Likewise.
26738         * math/w_atanhf.c: Likewise.
26739         * math/w_atanhl.c: Likewise.
26740         * math/w_exp2.c: Likewise.
26741         * math/w_exp2f.c: Likewise.
26742         * math/w_exp2l.c: Likewise.
26743         * math/w_j0.c: Likewise.
26744         * math/w_j0f.c: Likewise.
26745         * math/w_j0l.c: Likewise.
26746         * math/w_j1.c: Likewise.
26747         * math/w_j1f.c: Likewise.
26748         * math/w_j1l.c: Likewise.
26749         * math/w_jn.c: Likewise.
26750         * math/w_jnf.c: Likewise.
26751         * math/w_log.c: Likewise.
26752         * math/w_log10.c: Likewise.
26753         * math/w_log10f.c: Likewise.
26754         * math/w_log10l.c: Likewise.
26755         * math/w_log2.c: Likewise.
26756         * math/w_log2f.c: Likewise.
26757         * math/w_log2l.c: Likewise.
26758         * math/w_logf.c: Likewise.
26759         * math/w_logl.c: Likewise.
26760         * math/w_sqrt.c: Likewise.
26761         * math/w_sqrtf.c: Likewise.
26762         * math/w_sqrtl.c: Likewise.
26763         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26764         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26765         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26766         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26767         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26769 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26771         [BZ #9739]
26772         * manual/string.texi (strnlen): Use correct parameter name in
26773         equivalent expression.
26775 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26777         [BZ #11174]
26778         * manual/users.texi (seteuid): Consistently use neweuid for
26779         argument name.
26781 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26783         [BZ #13704]
26784         * manual/nss.texi (Services in the NSS configuration): Correct
26785         list of services in example configuration file.
26787 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
26789         [BZ #11322]
26790         * manual/arith.texi: Remove statements about negative zero
26791         behaving identically to zero.
26793 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26795         [BZ #5993]
26796         * manual/install.texi: Do not document upgrading from libc5.
26798 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26800         [BZ #4596]
26801         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26803 2012-02-18  David S. Miller  <davem@davemloft.net>
26805         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26806         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26807         %o7 across the call.
26808         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26809         instead.
26810         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26811         SETUP_PIC_REG_LEAF.
26812         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26813         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26814         * sysdeps/sparc/crtn.S: Likewise.
26816 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
26818         * aout/Makefile: Remove.
26820 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
26822         [BZ #13058]
26823         * manual/examples/argp-ex1.c (main): Format definition in GNU
26824         style.
26825         * manual/examples/argp-ex2.c (main): Likewise.
26826         * manual/examples/argp-ex3.c (main): Likewise.
26827         * manual/examples/argp-ex4.c (main): Likewise.
26828         * manual/examples/longopt.c (main): Use new-style prototype
26829         definition.
26830         * manual/examples/strncat.c (main): Specify return type and use
26831         (void) for arguments.
26832         * manual/examples/subopt.c (main): Use char **argv argument.
26834 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26836         [BZ #5077]
26837         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26838         rounding modes.
26840 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
26842         [BZ #6907]
26843         * manual/string.texi (strchr): Change when strchrnul is
26844         recommended.
26846 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
26848         [BZ #174]
26849         * manual/locale.texi (setlocale): Document LOCPATH.
26851 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26853         [BZ #10210]
26854         * manual/process.texi (execle): Move @dots{} before last argument.
26856 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
26858         [BZ #12047]
26859         * manual/charset.texi (Generic Charset Conversion): Fix typo
26860         (LC_TYPE -> LC_CTYPE).
26862 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
26864         [BZ #5805]
26865         * manual/arith.texi (scalbn): Use @var{} on parameter names.
26866         (scalbnf): Likewise.
26867         (scalbnl): Likewise.
26868         (scalbln): Likewise.
26869         (scalblnf): Likewise.
26870         (scalblnl): Likewise.
26871         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26872         (vwarnx): Likewise.
26873         (verr): Likewise.
26874         (verrx): Likewise.
26875         * manual/filesys.texi (telldir): Use braces around return type.
26876         * manual/llio.texi (mmap): Add space after comma.
26877         (mmap64): Likewise.
26878         * manual/math.texi (jn): Use @var{} on parameter names.
26879         (jnf): Likewise.
26880         (jnl): Likewise.
26881         (yn): Likewise.
26882         (ynf): Likewise.
26883         (ynl): Likewise.
26884         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26885         line.
26886         * manual/resource.texi (ulimit): Use @dots{} instead of literal
26887         "...".
26888         (sched_get_priority_min): Remove semicolon on @deftypefun line.
26889         (sched_get_priority_max): Likewise.
26890         * manual/signal.texi (sigvec): Add space after comma.
26891         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26892         names.
26893         (if_indextoname): Likewise.
26894         (if_freenameindex): Likewise.
26895         (sendto): Use ',' instead of '.' in prototype.
26896         * manual/startup.texi (syscall): Use @dots{} instead of literal
26897         "...".
26898         * manual/stdio.texi (__fpending): Separate initial words of
26899         paragraph from @deftypefun line.
26900         * manual/syslog.texi (syslog): Use @dots{} instead of literal
26901         "...".
26902         (vsyslog): Use @var{} on parameter names.
26903         * manual/terminal.texi (stty): Use @var{} on parameter names.
26904         * manual/users.texi (getutmp): Use @var{} on parameter names.
26905         (getutmpx): Likewise.
26907 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26909         [BZ #6884]
26910         * manual/stdio.texi (fopen): Fix typos in description of
26911         ",ccs=STRING".
26913 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
26915         [BZ #4026]
26916         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26917         get clock_id definition.
26919 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
26921         [BZ #4822]
26922         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26923         (madvise): Cast every argument to void on its own.
26925 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26927         [BZ #9902]
26928         * manual/startup.texi (Exit Status): Fix typo.
26930 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26932         [BZ #10140]
26933         * manual/examples/argp-ex1.c: Include <stdlib.h>.
26934         * manual/examples/argp-ex2.c: Likewise.
26935         * manual/examples/argp-ex3.c: Likewise.
26937 2012-02-16  Richard Henderson  <rth@redhat.com>
26939         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26940         * sysdeps/s390/s390-32/initfini.c: Remove.
26941         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26942         * sysdeps/s390/s390-64/initfini.c: Remove.
26944 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26946         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26947         compiler output for sysdeps/generic/initfini.c.
26948         * sysdeps/sh/elf/initfini.c: Remove file.
26950 2012-02-16  David S. Miller  <davem@davemloft.net>
26952         [BZ #11494]
26953         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26955         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26956         * sysdeps/sparc/crti.S: New file.
26957         * sysdeps/sparc/crtn.S: New file.
26958         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26959         * sysdeps/sparc/sparc64/Makefile: Likewise.
26961 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
26963         [BZ #3335]
26964         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26966 2012-02-15  Roland McGrath  <roland@hack.frob.com>
26968         [BZ #4822]
26969         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26971         * mach/devstream.c (cookie_io_functions_t): Macro removed.
26972         (write, read, close): Likewise.
26973         Patch by Aurelien Jarno <aurelien@aurel32.net>.
26975 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
26977         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26978         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26979         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26980         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26981         <bits/signalfd.h>.
26982         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26983         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26984         bits/signalfd.h.
26986 2012-02-14  Marek Polacek  <polacek@redhat.com>
26988         * sysdeps/x86_64/crti.S: New file.
26989         * sysdeps/x86_64/crtn.S: New file.
26990         * sysdeps/x86_64/elf/initfini.c: Remove file.
26992 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26994         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26995         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26996         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26997         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26998         <bits/inotify.h>.
26999         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27000         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27001         bits/inotify.h.
27003 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27005         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27006         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27007         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27008         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27009         <bits/eventfd.h>.
27010         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27011         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27012         bits/eventfd.h.
27014 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
27016         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27017         __feraiseexcept instead of feraiseexcept.
27019         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27020         nanosleep invocations.
27021         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27022         strings, and add error checking for a nanosleep invocations.
27024 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
27026         Replace FSF snail mail address with URLs, as per GNU coding standards.
27027         Most of the snail mail addresses were wrong anyway, and omitting
27028         them makes the source code easier to maintain.  Almost all of the
27029         changes are to license notices and to locale LC_IDENTIFICATION
27030         addresses, except for this one:
27031         * manual/libc.texinfo: In "Published by", give the FSF's URL,
27032         not its snail mail address.
27034 2012-02-09  Richard Henderson  <rth@twiddle.net>
27036         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27037         of kernel-features.h.
27039         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27041 2012-02-08  Marek Polacek  <polacek@redhat.com>
27043         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27044         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27045         * sysdeps/gnu/_G_config.h: Likewise.
27046         * sysdeps/generic/_G_config.h: Likewise.
27048 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
27050         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27051         tests.
27052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27054         * sysdeps/powerpc/powerpc32/crti.S: New file.
27055         * sysdeps/powerpc/powerpc32/crtn.S: New file.
27056         * sysdeps/powerpc/powerpc64/crti.S: New file.
27057         * sysdeps/powerpc/powerpc64/crtn.S: New file.
27059         * Makeconfig (have-initfini): Don't set.
27060         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27061         * configure.in (nopic_initfini): Don't substitute.
27062         * config.h.in (HAVE_INITFINI): Don't #undef.
27063         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27064         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27066 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
27068         Support crti.S and crtn.S provided directly by architectures.
27069         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27070         [crti.S in sysdirs] (omit-deps): Likewise.
27071         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27072         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27073         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27074         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27075         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27076         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27077         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27078         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27079         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27080         compiler output for sysdeps/generic/initfini.c.
27081         * sysdeps/i386/elf/Makefile: Remove file.
27082         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27084 2012-02-07  Marek Polacek  <polacek@redhat.com>
27086         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27087         * sysdeps/gnu/_G_config.h: Likewise.
27088         * sysdeps/mach/hurd/_G_config.h: Likewise.
27090 2012-02-07  Marek Polacek  <polacek@redhat.com>
27092         * math/Makefile (tests): Add tst-CMPLX2.
27093         * math/tst-CMPLX2.c: New file.
27095 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
27097         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27099         * math/libm-test.inc (jn_test): Add missing L suffix.
27101 2012-02-06  Marek Polacek  <polacek@redhat.com>
27103         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27104         * sysdeps/i386/fpu/e_powf.S: Likewise.
27105         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27106         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27107         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27108         * sysdeps/i386/fpu/e_pow.S: Likewise.
27109         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27110         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27111         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27112         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27113         * sysdeps/i386/fpu/e_log2.S: Likewise.
27114         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27115         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27116         * sysdeps/i386/fpu/e_powl.S: Likewise.
27117         * sysdeps/i386/fpu/s_log1p.S: Likewise.
27118         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27119         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27120         * sysdeps/i386/fpu/e_logl.S: Likewise.
27121         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27122         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27123         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27124         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27125         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27126         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27127         * sysdeps/i386/fpu/e_log.S: Likewise.
27128         * sysdeps/i386/fpu/s_cexp.S: Likewise.
27129         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27130         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27131         * sysdeps/i386/fpu/e_logf.S: Likewise.
27132         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27133         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27134         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27135         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27136         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27137         * sysdeps/i386/fpu/e_log10.S: Likewise.
27138         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27139         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27140         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27141         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27142         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27143         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27144         * sysdeps/i386/asm-syntax.h: Likewise.
27145         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27146         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27147         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27148         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27149         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27150         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27151         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27152         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27153         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27154         * sysdeps/powerpc/sysdep.h: Likewise.
27155         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27156         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27158 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27160         [BZ #411]
27161         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27163 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27165         * sysdeps/i386/sysdep.h: Include <features.h>.
27166         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27167         version.
27169 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
27171         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27172         Define.
27173         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27174         LOAD_PIC_REG_STR.
27176 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27178         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27179         (SETUP_PIC_REG): Use GET_PC_THUNK.
27180         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27181         macro.
27183 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27185         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27186         for non-PIC compilation.
27187         (SETUP_PIC_REG): Add .p2align directive.
27188         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27189         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27190         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27191         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27192         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27193         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27194         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27195         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27196         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27197         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27198         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27199         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27200         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27201         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27202         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27203         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27204         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27205         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27206         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27207         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27208         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27209         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27210         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27211         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27212         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27213         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27214         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27215         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27216         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27217         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27218         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27219         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27220         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27221         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27222         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27223         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27224         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27225         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27226         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27227         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27228         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27230 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27232         * math/tst-CMPLX.c: Include <stdio.h>.
27234 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
27236         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27237         float.
27238         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27239         * sysdeps/sparc/bits/mathdef.h: Likewise.
27241 2012-01-31  Marek Polacek  <polacek@redhat.com>
27243         * libio/libio.h: Don't define _PARAMS.
27244         * locale/programs/config.h: Don't define PARAMS.
27245         * stdlib/strtol_l.c: Likewise.
27246         (__strtol_l): Remove PARAMS from the prototype.
27248 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
27250         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
27251         names.  Just use the correct names.  Remove unnecessary wrapper
27252         functions.
27253         * malloc/arena.c: Likewise.
27254         * malloc/hooks.c: Likewise.
27256         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27257         ARENA_TEST says not to.  Simplify test for creation of a new arena.
27258         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27260 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
27262         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27263         into tail calls.
27264         (update_get_addr): New function.
27265         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27266         GET_ADDR_MODULE parameter.
27268 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27270         * crypt/cert.c: Remove __STDC__ conditionals.
27271         * crypt/crypt-entry.c: Likewise.
27272         * crypt/crypt_util.c: Likewise.
27273         * libio/filedoalloc.c: Likewise.
27274         * libio/fileops.c: Likewise.
27275         * libio/genops.c: Likewise.
27276         * libio/iofclose.c: Likewise.
27277         * libio/iofdopen.c: Likewise.
27278         * libio/iofopen.c: Likewise.
27279         * libio/iofopen64.c: Likewise.
27280         * libio/iogetdelim.c: Likewise.
27281         * libio/iopopen.c: Likewise.
27282         * libio/obprintf.c: Likewise.
27283         * libio/oldfileops.c: Likewise.
27284         * libio/oldiofclose.c: Likewise.
27285         * libio/oldiofdopen.c: Likewise.
27286         * libio/oldiofopen.c: Likewise.
27287         * libio/oldiopopen.c: Likewise.
27288         * libio/wfiledoalloc.c: Likewise.
27289         * libio/wgenops.c: Likewise.
27290         * locale/programs/xmalloc.c: Likewise.
27291         * misc/syslog.c: Likewise.
27292         * stdio-common/xbug.c: Likewise.
27293         * string/memchr.c: Likewise.
27294         * string/memcmp.c: Likewise.
27295         * string/memrchr.c: Likewise.
27296         * string/rawmemchr.c: Likewise.
27297         * sysdeps/posix/getcwd.c: Likewise.
27298         * time/strftime_l.c: Likewise.
27300 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27302         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27303         * config.make.in (config-cflags-sse2avx): Define.
27304         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27305         Fix typo.
27307 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
27309         * scripts/config.guess: Update from upstream config git repository.
27310         * scripts/config.sub: Likewise.
27312 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
27314         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27315         (EM_NUM): Update.
27316         (R_TILEPRO_*, R_TILEGX_*): New macros.
27318         * scripts/firstversions.awk: Fix bug in version range handling.
27320         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27322         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27324         * include/sys/epoll.h: New file.
27325         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27326         libc_hidden_def.
27328 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
27330         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27331         Avoid unnecessary __WORDSIZE == 64 test.
27332         (fmaxf): Use VEX format if possible.
27333         (fmax): Likewise.
27334         (fminf): Likewise.
27335         (fmin): Likewise.
27337         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27338         * math/math_private.h: Remove libc_fegetround* and
27339         libc_fesetround*.
27340         * sysdeps/i386/configure.in: Check for -msse2avx.
27341         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27342         also if SSE2AVX is defined.
27343         Remove libc_fegetround* and libc_fesetround*.
27344         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27345         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
27346         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27347         of HAS_YMM_USABLE.
27348         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27349         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27350         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27351         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27352         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27354         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27356 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27358         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27359         size is not set.
27360         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27362 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
27364         [BZ #13618]
27365         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27366         relocation.
27367         * Makeconfig (libm): Define.
27368         * elf/Makefile: Add rules to build and run tst-relsort1.
27369         * elf/tst-relsort1.c: New file.
27370         * elf/tst-relsort1mod1.c: New file.
27371         * elf/tst-relsort1mod2.c: New file.
27373 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
27375         * math/s_ldexp.c: Remove __STDC__ conditionals.
27376         * math/s_ldexpf.c: Likewise.
27377         * math/s_ldexpl.c: Likewise.
27378         * math/s_nextafter.c: Likewise.
27379         * math/s_nexttowardf.c: Likewise.
27380         * math/s_significand.c: Likewise.
27381         * math/s_significandf.c: Likewise.
27382         * math/s_significandl.c: Likewise.
27383         * math/w_jnl.c: Likewise.
27384         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27385         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27386         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27387         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27388         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27389         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27390         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27391         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27392         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27393         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27394         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27395         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27396         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27397         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27398         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27399         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27400         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27401         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27402         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27403         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27404         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27405         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27406         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27407         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27408         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27409         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27410         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27411         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27412         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27413         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27414         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27415         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27416         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27417         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27418         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27419         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27420         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27421         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27422         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27423         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27424         * sysdeps/ieee754/k_standard.c: Likewise.
27425         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27426         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27427         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27428         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27429         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27430         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27431         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27432         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27433         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27434         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27435         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27436         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27437         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27438         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27439         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27440         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27441         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27442         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27443         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27444         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27445         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27446         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27447         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27448         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27449         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27450         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27451         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27452         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27453         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27454         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27455         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27456         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27457         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27458         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27459         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27460         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27461         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27462         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27463         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27464         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27465         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27466         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27467         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27468         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27469         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27470         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27471         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27472         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27473         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27474         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27475         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27476         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27477         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27478         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27479         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27480         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27481         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27482         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27483         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27484         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27485         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27486         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27487         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27488         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27489         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27490         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27491         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27492         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27493         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27494         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27495         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27496         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27497         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27498         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27499         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27500         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27501         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27502         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27503         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27504         * sysdeps/ieee754/s_matherr.c: Likewise.
27505         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27506         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27507         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27508         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27510 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27512         * crypt/md5.h: Remove __STDC__ conditionals.
27513         * libio/libioP.h: Likewise.
27514         * locale/programs/config.h: Likewise.
27515         * sysdeps/generic/sysdep.h: Likewise.
27516         * sysdeps/i386/asm-syntax.h: Likewise.
27517         * sysdeps/s390/asm-syntax.h: Likewise.
27518         * sysdeps/unix/sysdep.h: Likewise.
27519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27522 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27524         * libio/libio.h: Remove __STDC__ conditionals.
27525         * malloc/obstack.h: Likewise.
27526         * math/complex.h: Likewise.
27527         * math/math.h: Likewise.
27528         * sysdeps/generic/_G_config.h: Likewise.
27529         * sysdeps/gnu/_G_config.h: Likewise.
27530         * sysdeps/mach/hurd/_G_config.h: Likewise.
27531         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27532         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27533         * sysdeps/sparc/bits/mathdef.h: Likewise.
27535 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
27537         [BZ #13583]
27538         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27539         Clean up HAS_* macros.
27540         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27541         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27542         possible.
27543         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27544         HAS_AVX.
27545         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27546         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27547         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27548         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27549         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27551 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
27553         * elf/tst-unique3.cc (gets): Remove declaration.
27554         * elf/tst-unique3lib.cc (gets): Likewise.
27555         * elf/tst-unique3lib2.cc (gets): Likewise.
27556         * elf/tst-unique4.cc (gets): Likewise.
27558 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
27560         * include/stdio.h: Add C++ protection.  Add gets declarations and
27561         definitions.
27562         * debug/tst-chk1.c: Don't declare gets here.
27563         * stdio-common/tst-gets.c: Likewise.
27565 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27567         * posix/glob: Remove directory.
27569 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27571         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27573 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
27575         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27576         of the non-standard EPFNOSUPPORT.
27578 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27580         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27581         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27582         ANYWHERE set to 1 only on KERN_NO_SPACE error.
27584 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
27586         * wcsmbs/uchar.h: Test __STDC_VERSION__.
27588 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
27590         * nscd/aicache.c (addhstaiX): Do not cache negative results of
27591         transient errors.
27592         * nscd/grpcache.c (cache_addgr): Likewise.
27593         * nscd/hstcache.c (cache_addhst): Likewise.
27594         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27595         * nscd/pwdcache.c (cache_addpw): Likewise.
27596         * nscd/servicescache.c (cache_addserv): Likewise.
27598 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
27600         * malloc/malloc.c: Various cleanups.
27601         * malloc/hooks.c: Likewise.
27603         * stdlib/Makefile (tests): Add bug-fmtmsg1.
27604         * stdlib/bug-fmtmsg1.c: New file.
27606         * stdlib/fmtmsg.c (init): Add missing unlock.
27607         Patch by Peng Haitao <penght@cn.fujitsu.com>.
27609 2012-01-12  Marek Polacek  <polacek@redhat.com>
27611         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27612         and _GNU_SOURCE.
27614 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27616         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27617         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27618         macro to ensure uniqueness of label name.
27619         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27620         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27622 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
27624         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27626         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27627         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27628         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27629         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27631 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
27633         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27635         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27636         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27637         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27639         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27641         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27642         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27643         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27644         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27646         * math/bits/math-finite.h: Add ldexp support.
27648 2012-01-10  Marek Polacek  <polacek@redhat.com>
27650         * locale/programs/localedef.h (show_archive_content): Add noreturn
27651         attribute.
27653 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
27655         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27657 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27659         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27661         * io/Makefile (headers): Add bits/poll2.h.
27663 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
27665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27666         typo #include statement.
27668 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27670         * include/sys/cdefs.h: Define __attribute_alloc_size.
27671         * catgets/gencat.c: Add alloc_size attribute and apply consistently
27672         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27673         * elf/pldd.c: Likewise.
27674         * iconv/iconv_charmap.c: Likewise.
27675         * iconv/iconvconfig.c: Likewise.
27676         * iconv/strtab.c: Likewise.
27677         * locale/programs/locale.c: Likewise.
27678         * locale/programs/localedef.h: Likewise.
27679         * locale/programs/simple-hash.c: Likewise.
27680         * nscd/nscd.h: Likewise.
27681         * nss/makedb.c: Likewise.
27682         * sysdeps/generic/ldconfig.h: Likewise.
27683         * locale/programs/localedef.c: Remove xmalloc prototype.
27684         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27686 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27688         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27689         appropriate.
27691 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27693         * math/Makefile (tests): Add tst-CMPLX.
27694         * math/tst-CMPLX.c: New file.
27696         * math/complex.h (CMPLXL): Fix typo.
27698         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27699         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27700         GLIBC_2.16.
27701         * debug/tst-chk1.c: Add poll and ppoll tests.
27702         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27703         * include/sys/poll.h: Add hidden proto for ppoll.
27704         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27705         * sysdeps/mach/hurd/ppoll.c: Likewise.
27706         * io/ppoll.c: Likewise.
27707         * debug/poll_chk.c: New file.
27708         * debug/ppoll_chk.c: New file.
27709         * include/bits/poll2.h: New file.
27710         * io/bits/poll2.h: New file.
27712         [BZ #1350]
27713         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27715         * configure.in: static is always set to yes.  Remove.
27716         * config.make.in: Don't set build-static.
27717         * Makeconfig: Remove use of build-static.
27718         * dlfcn/Makefile: Likewise.
27719         * elf/Makefile: Likewise.
27720         * math/Makefile: Likewise.
27721         * misc/Makefile: Likewise.
27722         * nptl/Makefile: Likewise.
27723         * sysdeps/mach/hurd/Makefile: Likewise.
27725         * configure.in: PWD_P is not used anymore.
27726         * config.make.in: Remove PWD_P entry.
27728         * configure.in: Remove last remnants of RANLIB.
27729         No need to check for signed size_t anymore.
27730         Don't set libc_commonpagesize and libc_relro_required here for Alpha
27731         and IA-64.
27732         Remove __builtin_expect test because we require at least gcc 3.4.
27733         * aclocal.m4: Likewise.
27735         * wcsmbs/mbrtoc16.c: Implement using towc function.
27736         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27737         * wcsmbs/wcsmbsload.c: Likewise.
27738         * iconv/gconv_simple.c: Likewise.
27739         * iconv/gconv_int.h: Likewise.
27740         * iconv/gconv_builtin.h: Likewise.
27741         * iconv/iconv_prog.c: Remove CHAR16 handling.
27743         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27745         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27747         * configure.in: Remove --with-elf and --enable-bounded options.
27748         Dont set base_machine for ia64.  More non-ELF conditions removed.
27749         Remove testing and setting of leading underscore information.
27750         * config.make.in (build-bounded): Set to no.
27751         * config.h.in: Remove NO_UNDERSCORES entry.
27752         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
27753         them.
27754         * csu/start.c: Remove !NO_UNDERSCORE code.
27755         * locale/localeinfo.h: Likewise.
27756         * sysdeps/generic/machine-gmon.h: Likewise.
27757         * sysdeps/generic/sysdep.h: Likewise.
27758         * sysdeps/i386/sysdep.h: Likewise.
27759         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27760         * sysdeps/mach/sysdep.h: Likewise.
27761         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27762         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27763         * sysdeps/sh/sysdep.h: Likewise.
27764         * sysdeps/sparc/sparc32/alloca.S: Likewise.
27765         * sysdeps/unix/i386/sysdep.S: Likewise.
27766         * sysdeps/unix/sparc/start.c: Likewise.
27767         * sysdeps/unix/sparc/sysdep.S: Likewise.
27768         * sysdeps/unix/sparc/sysdep.h: Likewise.
27769         * sysdeps/unix/start.c: Likewise.
27770         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27771         * sysdeps/x86_64/sysdep.h: Likewise.
27773 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
27775         [BZ #13553]
27776         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27777         for non-gcc.
27778         * argp/argp-fmtstream.h: Use const instead __const.
27779         * argp/argp.h: Likewise.
27780         * assert/assert.h: Likewise.
27781         * bits/fenv.h: Likewise.
27782         * bits/sched.h: Likewise.
27783         * bits/sigset.h: Likewise.
27784         * bits/sigthread.h: Likewise.
27785         * catgets/nl_types.h: Likewise.
27786         * conform/data/pthread.h-data: Likewise.
27787         * crypt/crypt-private.h: Likewise.
27788         * crypt/crypt.h: Likewise.
27789         * crypt/crypt_util.c: Likewise.
27790         * ctype/ctype.h: Likewise.
27791         * debug/execinfo.h: Likewise.
27792         * debug/mbsnrtowcs_chk.c: Likewise.
27793         * debug/mbsrtowcs_chk.c: Likewise.
27794         * debug/wcsnrtombs_chk.c: Likewise.
27795         * debug/wcsrtombs_chk.c: Likewise.
27796         * debug/wcstombs_chk.c: Likewise.
27797         * dirent/dirent.h: Likewise.
27798         * dlfcn/dlfcn.h: Likewise.
27799         * elf/neededtest4.c: Likewise.
27800         * grp/grp.h: Likewise.
27801         * gshadow/gshadow.h: Likewise.
27802         * iconv/gconv.h: Likewise.
27803         * iconv/gconv_int.h: Likewise.
27804         * iconv/gconv_simple.c: Likewise.
27805         * iconv/iconv.h: Likewise.
27806         * iconv/loop.c: Likewise.
27807         * iconv/skeleton.c: Likewise.
27808         * include/aio.h: Likewise.
27809         * include/aliases.h: Likewise.
27810         * include/argz.h: Likewise.
27811         * include/arpa/inet.h: Likewise.
27812         * include/assert.h: Likewise.
27813         * include/dirent.h: Likewise.
27814         * include/dlfcn.h: Likewise.
27815         * include/execinfo.h: Likewise.
27816         * include/fcntl.h: Likewise.
27817         * include/fenv.h: Likewise.
27818         * include/glob.h: Likewise.
27819         * include/grp.h: Likewise.
27820         * include/libintl.h: Likewise.
27821         * include/mntent.h: Likewise.
27822         * include/netdb.h: Likewise.
27823         * include/pwd.h: Likewise.
27824         * include/rpc/netdb.h: Likewise.
27825         * include/sched.h: Likewise.
27826         * include/search.h: Likewise.
27827         * include/shadow.h: Likewise.
27828         * include/signal.h: Likewise.
27829         * include/stdio.h: Likewise.
27830         * include/stdlib.h: Likewise.
27831         * include/string.h: Likewise.
27832         * include/sys/socket.h: Likewise.
27833         * include/sys/stat.h: Likewise.
27834         * include/sys/statfs.h: Likewise.
27835         * include/sys/statvfs.h: Likewise.
27836         * include/sys/syslog.h: Likewise.
27837         * include/sys/time.h: Likewise.
27838         * include/sys/uio.h: Likewise.
27839         * include/time.h: Likewise.
27840         * include/unistd.h: Likewise.
27841         * include/utmp.h: Likewise.
27842         * include/wchar.h: Likewise.
27843         * include/wctype.h: Likewise.
27844         * inet/aliases.h: Likewise.
27845         * inet/arpa/inet.h: Likewise.
27846         * inet/netinet/ether.h: Likewise.
27847         * inet/netinet/in.h: Likewise.
27848         * intl/libintl.h: Likewise.
27849         * io/bits/fcntl2.h: Likewise.
27850         * io/fcntl.h: Likewise.
27851         * io/ftw.h: Likewise.
27852         * io/sys/poll.h: Likewise.
27853         * io/sys/stat.h: Likewise.
27854         * io/sys/statfs.h: Likewise.
27855         * io/sys/statvfs.h: Likewise.
27856         * io/utime.h: Likewise.
27857         * libio/bits/stdio.h: Likewise.
27858         * libio/bits/stdio2.h: Likewise.
27859         * libio/libio.h: Likewise.
27860         * libio/libioP.h: Likewise.
27861         * libio/stdio.h: Likewise.
27862         * locale/lc-ctype.c: Likewise.
27863         * locale/locale.h: Likewise.
27864         * login/utmp.h: Likewise.
27865         * malloc/arena.c: Likewise.
27866         * malloc/malloc.c: Likewise.
27867         * malloc/malloc.h: Likewise.
27868         * malloc/mcheck.c: Likewise.
27869         * malloc/mtrace.c: Likewise.
27870         * math/bits/mathcalls.h: Likewise.
27871         * math/fenv.h: Likewise.
27872         * math/math_private.h: Likewise.
27873         * misc/bits/error.h: Likewise.
27874         * misc/bits/syslog.h: Likewise.
27875         * misc/err.h: Likewise.
27876         * misc/error.h: Likewise.
27877         * misc/fstab.h: Likewise.
27878         * misc/mntent.h: Likewise.
27879         * misc/regexp.h: Likewise.
27880         * misc/search.h: Likewise.
27881         * misc/sgtty.h: Likewise.
27882         * misc/sys/mman.h: Likewise.
27883         * misc/sys/syslog.h: Likewise.
27884         * misc/sys/uio.h: Likewise.
27885         * misc/sys/xattr.h: Likewise.
27886         * misc/ttyent.h: Likewise.
27887         * nis/rpcsvc/ypclnt.h: Likewise.
27888         * nss/nss.h: Likewise.
27889         * posix/bits/unistd.h: Likewise.
27890         * posix/fnmatch.h: Likewise.
27891         * posix/glob.h: Likewise.
27892         * posix/sched.h: Likewise.
27893         * posix/spawn.h: Likewise.
27894         * posix/sys/wait.h: Likewise.
27895         * posix/unistd.h: Likewise.
27896         * posix/wordexp.h: Likewise.
27897         * pwd/pwd.h: Likewise.
27898         * resolv/netdb.h: Likewise.
27899         * resource/sys/resource.h: Likewise.
27900         * rt/aio.h: Likewise.
27901         * rt/bits/mqueue2.h: Likewise.
27902         * rt/mqueue.h: Likewise.
27903         * shadow/shadow.h: Likewise.
27904         * signal/signal.h: Likewise.
27905         * socket/send.c: Likewise.
27906         * socket/sendto.c: Likewise.
27907         * socket/sys/socket.h: Likewise.
27908         * stdio-common/printf.h: Likewise.
27909         * stdlib/bits/stdlib.h: Likewise.
27910         * stdlib/fmtmsg.h: Likewise.
27911         * stdlib/monetary.h: Likewise.
27912         * stdlib/stdlib.h: Likewise.
27913         * stdlib/ucontext.h: Likewise.
27914         * streams/stropts.h: Likewise.
27915         * string/argz.h: Likewise.
27916         * string/bits/string2.h: Likewise.
27917         * string/string.h: Likewise.
27918         * string/strings.h: Likewise.
27919         * sunrpc/rpc/auth.h: Likewise.
27920         * sunrpc/rpc/auth_des.h: Likewise.
27921         * sunrpc/rpc/clnt.h: Likewise.
27922         * sunrpc/rpc/netdb.h: Likewise.
27923         * sunrpc/rpc/pmap_clnt.h: Likewise.
27924         * sunrpc/rpc/xdr.h: Likewise.
27925         * sysdeps/generic/inttypes.h: Likewise.
27926         * sysdeps/generic/net/if.h: Likewise.
27927         * sysdeps/generic/sys/swap.h: Likewise.
27928         * sysdeps/gnu/net/if.h: Likewise.
27929         * sysdeps/gnu/utmpx.h: Likewise.
27930         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27931         * sysdeps/i386/i486/bits/string.h: Likewise.
27932         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27933         * sysdeps/s390/bits/string.h: Likewise.
27934         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27935         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27936         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27937         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27938         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27939         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27940         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27941         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27942         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27943         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27944         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27945         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27946         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27947         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27948         * sysdeps/unix/sysv/linux/readv.c: Likewise.
27949         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27950         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27951         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27952         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27953         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27954         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27955         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27956         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27957         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27958         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27959         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27960         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27961         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27962         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27963         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27964         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27965         * sysvipc/sys/ipc.h: Likewise.
27966         * sysvipc/sys/msg.h: Likewise.
27967         * sysvipc/sys/sem.h: Likewise.
27968         * sysvipc/sys/shm.h: Likewise.
27969         * termios/termios.h: Likewise.
27970         * time/sys/time.h: Likewise.
27971         * time/time.h: Likewise.
27972         * wcsmbs/bits/wchar2.h: Likewise.
27973         * wcsmbs/uchar.h: Likewise.
27974         * wcsmbs/wchar.h: Likewise.
27975         * wctype/wctype.h: Likewise.
27977         [BZ #13551]
27978         * Makeconfig: Remove all but ELF support including AIX support.
27979         * Makerules: Likewise.
27980         * config.h.in: Likewise.
27981         * config.make.in: Likewise.
27982         * configure: Likewise.
27983         * configure.in: Likewise.
27984         * csu/Makefile: Likewise.
27985         * csu/version.c: Likewise.
27986         * debug/Makefile: Likewise.
27987         * dlfcn/Makefile: Likewise.
27988         * elf/Makefile: Likewise.
27989         * extra-lib.mk: Likewise.
27990         * iconv/Makefile: Likewise.
27991         * include/libc-symbols.h: Likewise.
27992         * include/shlib-compat.h: Likewise.
27993         * resolv/Makefile: Likewise.
27994         * resolv/res_libc.c: Likewise.
27995         * rt/Makefile: Likewise.
27996         * sysdeps/i386/asm-syntax.h: Likewise.
27997         * sysdeps/i386/sysdep.h: Likewise.
27998         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27999         * sysdeps/mach/sysdep.h: Likewise.
28000         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28001         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28002         * sysdeps/s390/asm-syntax.h: Likewise.
28003         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28004         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28005         * sysdeps/sh/sysdep.h: Likewise.
28006         * sysdeps/unix/sparc/sysdep.h: Likewise.
28007         * sysdeps/wordsize-32/divdi3.c: Likewise.
28008         * sysdeps/x86_64/sysdep.h: Likewise.
28010         * argp/Versions: Remove _argp_unlock_xxx.
28012         [BZ #13559]
28013         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
28014         * abilist/libBrokenLocale.abilist: Likewise.
28015         * abilist/libanl.abilist: Likewise.
28016         * abilist/libc.abilist: Likewise.
28017         * abilist/libcrypt.abilist: Likewise.
28018         * abilist/libdl.abilist: Likewise.
28019         * abilist/libm.abilist: Likewise.
28020         * abilist/libnsl.abilist: Likewise.
28021         * abilist/libpthread.abilist: Likewise.
28022         * abilist/libresolv.abilist: Likewise.
28023         * abilist/librt.abilist: Likewise.
28024         * abilist/libthread_db.abilist: Likewise.
28025         * abilist/libutil.abilist: Likewise.
28026         * abilist/libnss_db.abilist: New file.
28028         * scripts/abilist.awk: Add support for indirect functions.
28030         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28032         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28034         * shlib-versions: Remove entries for ports architectures.
28036         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
28037         files in ports.
28038         * elf/stackguard-macros.h: Remove support for IA-64.
28039         * elf/tst-auditmod1.c: Likewise.
28040         * sysdeps/generic/ldsodefs.h: Likewise.
28042         * sysdeps/unix/sysv/linux/configure.in: Ports should define
28043         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28044         configure files.
28046         [BZ #13552]
28047         * configure.in: Remove --enable-omitfp support.
28048         * FAQ.in: Adjust.
28049         * config.make.in: Likewise.
28050         * Makeconfig: Likewise.
28051         * manual/install.texi: Likewise.
28053         In case anyone cares, the IA-64 architecture could move to ports.
28054         * sysdeps/ia64/*: Removed.
28055         * sysdeps/unix/sysv/linux/ia64/*: Removed.
28056         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28058         [BZ #13555]
28059         * configure.in: Remove entries for unsupported architectures.
28061         [BZ #13533]
28062         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28063         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
28064         routines.
28065         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28066         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28067         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
28068         fall back to using wcrtomb.
28069         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28070         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
28071         renaming.
28072         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28073         * wcsmbs/tst-c16c32-1.c: New file.
28075         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28076         local variable.
28078         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28080         * elf/tst-unique3.cc: Add explicit declaration of gets.
28081         * elf/tst-unique3lib.cc: Likewise.
28082         * elf/tst-unique3lib2.cc: Likewise.
28083         * elf/tst-unique4.cc: Likewise.
28085         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28087 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
28089         [BZ #13566]
28090         * assert/assert.h (static_assert): Don't define for C++.
28091         * libio/stdio.h (gets): Do declare for C++ <= C++11.
28092         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28094 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
28096         * iconv/loop.c (single loop): Fix assertion in storing of
28097         remaining bytes.
28099         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28101 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
28103         * posix/getconf.c: Update copyright year.
28104         * nss/getent.c: Likewise.
28105         * nss/makedb.c: Likewise.
28106         * iconv/iconvconfig.c: Likewise.
28107         * iconv/iconv_prog.c: Likewise.
28108         * elf/ldconfig.c: Likewise.
28109         * elf/pldd.c: Likewise.
28110         * elf/sotruss.ksh: Likewise.
28111         * catgets/gencat.c: Likewise.
28112         * csu/version.c: Likewise.
28113         * elf/ldd.bash.in: Likewise.
28114         * elf/sprof.c (print_version): Likewise.
28115         * locale/programs/locale.c: Likewise.
28116         * locale/programs/localedef.c: Likewise.
28117         * login/programs/pt_chown.c: Likewise.
28118         * nscd/nscd.c (print_version): Likewise.
28119         * debug/xtrace.sh: Likewise.
28120         * malloc/memusage.sh: Likewise.
28121         * malloc/mtrace.pl: Likewise.
28122         * debug/catchsegv.sh: Likewise.
28124 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
28126         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28127         pure attribute.
28129 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
28131         [BZ #13533]
28132         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28133         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28134         transformations.
28135         * iconv/gconv_int.h: Likewise.
28136         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28137         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28138         from libc for GLIBC_2.16.
28139         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28140         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28141         * wcsmbs/uchar.h: Really define mbstate_t.
28142         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28143         * wcsmbs/c16rtomb.c: New file.
28144         * wcsmbs/mbrtoc16.c: New file.
28145         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28146         for C/POSIX locale.
28147         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28148         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28150         * wcsmbs/wchar.h: Add missing __restrict.
28152 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28154         [BZ #13532]
28155         * time/Makefile (routines): Add timespec_get.
28156         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28157         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
28158         timespec for ISO C11.
28159         * time/timespec_get.c: New file.
28160         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28161         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28163         [BZ #13531]
28164         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28165         * stdlib/stdlib.h: Declare aligned_alloc.
28166         * Versions.def: Add GLIBC_2.16 for libc.
28167         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28169         [BZ 13527]
28170         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28171         ISO C11.
28173         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28174         code.
28176         [BZ #13528]
28177         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28179         [BZ #13529]
28180         * assert/assert.h (static_assert): Define.
28182         * version.h: Update for 2.16 development version.
28184         [BZ #13526]
28185         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28186         _ISOC11_SOURCE.
28188         * version.h (RELEASE): Bump for 2.15 release.
28189         * include/features.h (__GLIBC_MINOR__): Bump to 15.
28191         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28192         Patch by Marek Polacek <mpolacek@redhat.com>.
28194         * bits/byteswap.h: Protect long long constants with __extension__.
28195         * sysdeps/i386/bits/byteswap.h: Likewise.
28196         * sysdeps/ia64/bits/byteswap.h: Likewise.
28197         * sysdeps/s390/bits/byteswap.h: Likewise.
28198         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28200 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28202         [BZ #13540]
28203         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28204         destination buffer.
28205         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28207 2011-12-23  Marek Polacek  <polacek@redhat.com>
28209         * elf/dl-addr.c (determine_info): Add inline keyword.
28210         * elf/tst-auditmod4b.c (check_avx): Likewise.
28211         * elf/tst-auditmod6b.c (check_avx): Likewise.
28212         * elf/tst-auditmod6c.c (check_avx): Likewise.
28213         * elf/tst-auditmod7b.c (check_avx): Likewise.
28215 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28217         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28218         !__SSE_MATH__.
28220 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28222         [BZ #13540]
28223         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28224         processing for last bytes.
28226 2011-08-06  Bruno Haible  <bruno@clisp.org>
28228         [BZ #13061]
28229         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28230         U+0385, not to U+1FEE.
28232         [BZ #13062]
28233         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28234         entry for U+00A5 U+0301.
28236 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28238         [BZ #13166]
28239         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28240         buffer for the output is too small.
28242         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28243         optimization.
28245         [BZ #13185]
28246         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28247         SSE flags if possible.
28249 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28251         [BZ #13540]
28252         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28253         processing for last bytes.
28255 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
28257         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28258         (syscall-list-default-options, syscall-list-default-condition)
28259         (syscall-list-includes): Define.
28260         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28261         list of ABIs and options and #if conditions for each ABI.  Do not
28262         handle common syscalls between ABIs specially.
28263         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28264         Remove.
28265         (syscall-list-variants, syscall-list-32bit-options)
28266         (syscall-list-32bit-condition, syscall-list-64bit-options)
28267         (syscall-list-64bit-condition): Define.
28268         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28269         (syscall-list-variants, syscall-list-32bit-options)
28270         (syscall-list-32bit-condition, syscall-list-64bit-options)
28271         (syscall-list-64bit-condition): Define.
28272         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28273         Remove.
28274         (syscall-list-variants, syscall-list-32bit-options)
28275         (syscall-list-32bit-condition, syscall-list-64bit-options)
28276         (syscall-list-64bit-condition): Define.
28277         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28278         Remove.
28279         (syscall-list-variants, syscall-list-32bit-options)
28280         (syscall-list-32bit-condition, syscall-list-64bit-options)
28281         (syscall-list-64bit-condition): Define.
28283 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28285         * locale/iso-639.def: Add brx entry.
28287         [BZ #13328]
28288         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28289         Proposed by Mariusz_Cukr <marcukr@op.pl>.
28291         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28292         __feraiseexcept_renamed.
28294 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28296         [BZ #13538]
28297         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28298         EPOLLET with unsigned values.
28299         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28300         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28302         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28303         to large cancellation.
28304         * math/s_cacoshf.c: Likewise.
28305         * math/s_cacoshl.c: Likewise.
28307 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
28309         [BZ #13305]
28310         [BZ #12786]
28311         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28312         * math/s_cacoshf.c: Likewise.
28313         * math/s_cacoshl.c: Likewise.
28315 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28317         [BZ #13439]
28318         * iconv/gconv.h: Define __GCONV_SWAP.
28319         * iconvdata/unicode.c: The swap bit must be stored in __flags.
28320         * iconvdata/utf-16.c: Likewise.
28321         * iconvdata/utf-32.c: Likewise.
28323 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28325         [BZ #13524]
28326         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28327         numerator after shifting it by one limb.
28329 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
28331         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28332         under [__USE_EXTERN_INLINES].
28334 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28336         [BZ #13446]
28337         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28339 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28341         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28342         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28343         optimized code.
28344         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28345         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28346         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28347         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28348         for strncasecmp/strncasecmp_l compilation.
28349         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28350         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28352 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
28354         [BZ #13484]
28355         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28356         of __asm__.
28358 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28360         [BZ #13506]
28361         * time/tzfile.c (__tzfile_read): Check values from file header.
28363 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28365         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28366         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28367         * powerpc/powerpc32/dl-start.S: Likewise.
28368         * powerpc/powerpc32/elf/start.S: Likewise.
28369         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28370         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28371         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28372         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28373         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28374         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28375         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28376         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28377         * powerpc/powerpc32/fpu/s_round.S: Likewise.
28378         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28379         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28380         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28381         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28382         * powerpc/powerpc32/memset.S: Likewise.
28383         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28384         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28385         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28386         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28387         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28388         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28389         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28390         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28391         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28392         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28393         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28394         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28395         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28397 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28399         * math/libm-test.inc: Added more nearbyint tests.
28400         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28401         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28402         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28403         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28405 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
28407         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28408         FD_CLOEXEC.
28410 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28412         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28413         Add wcscpy-ssse3 wcscpy-c.
28414         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28415         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28416         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28417         * sysdeps/x86_64/wcschr.S: New file.
28418         * sysdeps/x86_64/wcsrchr.S: New file.
28419         * string/test-strcmp.c: Remove checking of wcscmp function for
28420         wrong alignments.
28421         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28422         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28423         wcsrchr-sse2 wcsrchr-c.
28424         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28425         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28426         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28427         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28428         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28429         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28430         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28431         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28432         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28433         * wcsmbc/wcschr.c (WCSCHR): New macro.
28435 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28437         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28438         * wcsmbs/test-wcsrchr.c: New file.
28439         * string/test-strrchr.c: Add wcsrchr support.
28440         (WIDE): New macro.
28441         * wcsmbs/test-wcscpy.c: New file.
28442         * string/test-strcpy.c: Add wcscpy support.
28443         (WIDE): New macro.
28445 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
28447         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28448         the inner loop.
28450 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
28452         [BZ #13472]
28453         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28455 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
28457         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28458         Minor optimizations.
28460         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28461         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28462         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28464 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
28466         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28467         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28468         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28469         for gcc to avoid warnings.
28470         * inet/Makefile (tests): Add tst-checks.
28471         * inet/tst-checks.c: New file.
28473         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28474         warning.
28476         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28477         __wmemcmp_sse2.
28479         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28480         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28482         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28484 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
28486         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28487         problem.
28489         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28491 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
28493         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28494         conditional on GCC version.
28495         (__arch_compare_and_exchange_val_8_acq)
28496         (__arch_compare_and_exchange_val_16_acq)
28497         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28498         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28499         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28501 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
28503         * sysdeps/sh/backtrace.c: New file.
28505 2011-12-02  Andreas Schwab  <schwab@redhat.com>
28507         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
28508         parenthesis.
28510 2011-12-01  Andreas Schwab  <schwab@redhat.com>
28512         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28513         falling back to utime.
28515 2011-11-30  Andreas Schwab  <schwab@redhat.com>
28517         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28518         expectations for float.
28520 2011-11-29  Andreas Schwab  <schwab@redhat.com>
28522         * locale/weight.h (findidx): Add parameter len.
28523         * locale/weightwc.h (findidx): Likewise.
28524         * posix/fnmatch_loop.c (FCT): Adjust caller.
28525         * posix/regcomp.c (build_equiv_class): Likewise.
28526         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28527         * posix/regexec.c (check_node_accept_bytes): Likewise.
28528         * string/strcoll_l.c (STRCOLL): Likewise.
28529         * string/strxfrm_l.c (STRXFRM): Likewise.
28531 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
28533         * Makefile.in: Remove CVSOPT handling.
28534         * configure.in: Remove use of AC_REVISION.
28535         * iconvdata/Makefile (distribute): No need to filter out CVS.
28536         * scripts/list-sources.sh: Remove CVS, subversion and monotone
28537         handling.
28539 2011-11-16  Andreas Schwab  <schwab@redhat.com>
28541         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28542         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28543         [USE_AS_STRNCASECMP_L]: Likewise.
28544         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28545         NO_TLS_DIRECT_SEG_REFS.
28546         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28547         Fix argument offsets for non-PIC.
28548         [USE_AS_STRNCASECMP_L]: Likewise.
28549         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28550         NO_TLS_DIRECT_SEG_REFS.
28552 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28554         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28555         O_CLOEXEC.
28556         * locale/loadlocale.c (_nl_load_locale): Likewise.
28558 2011-11-15  Andreas Schwab  <schwab@redhat.com>
28560         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28561         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28562         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28563         (SYSCALL_GETTIME): Set errno on error.
28565         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28566         count references to noai6ai_cached.
28568 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28570         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28572         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28573         FD_CLOEXEC for /proc/self/maps.
28575         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28576         FD_CLOEXEC for /proc/meminfo.
28578         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28579         gai.conf.
28581         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
28582         FD_CLOEXEC for given file.
28584         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28586         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28587         FD_CLOEXEC for /etc/hosts.
28588         (_gethtent): Likewise.
28590         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28592         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28593         cancellation and set FD_CLOEXEC for /etc/netgroup.
28595         * nss/nss_files/files-key.c (search): Don't allow cancellation when
28596         reading /etc/publickey.
28598         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28599         allow cancellation when reading /etc/group.
28601         * nss/nss_files/files-alias.c (internal_setent): Don't allow
28602         cancellation.
28603         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
28605         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28606         when using data file.
28608         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28610         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28611         (write_nis_obj): Use "c" and "e" in fopen.
28613         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28615         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28617         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28619         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28621         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28622         locale.alias.
28624         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28626         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28628         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28630         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28631         file parsing and set FD_CLOEXEC.
28633 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28635         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28637 2011-11-14  Andreas Schwab  <schwab@redhat.com>
28639         * malloc/arena.c (arena_get2): Don't call reused_arena when
28640         _int_new_arena failed.
28642 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28644         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28645         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28646         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28647         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28648         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28649         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28650         to compile strcasecmp and strncasecmp.
28651         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28652         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28654         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28656 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
28658         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28659         locale-defines.sym to gen-as-const-headers.
28660         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28661         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28662         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28663         to compile strcasecmp and strncasecmp.
28664         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28665         strcasecmp_l and strncasecmp_l.
28666         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28667         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28668         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28669         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28670         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28671         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28672         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28673         * sysdeps/i386/i686/multiarch/strncase.S: New file.
28674         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28675         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28676         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28678 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
28680         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28681         result of SYSDEP_GETTIME_CPU to retval.
28682         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28683         parameter list to macro.  Remove trailing semicolon.  Adjust users.
28685         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28686         variable.
28688         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28689         mantissa words.
28690         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28692         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28693         from unused variable.
28695         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28696         DWARF definitions.
28697         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28698         for assembling.
28700         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28701         over namespaces.
28703         * sunrpc/rpc_prot.c (rejected): Fix case value.
28705         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28706         unsigned long long int to avoid warnings in shift.
28708         * posix/regex_internal.c (re_string_reconstruct): Actually use result
28709         of use of trans.
28710         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28711         variable tmp.
28713         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28714         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28715         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28717         * nis/nis_table.c (nis_list): Use variable of correct type for
28718         result of __follow_path call.
28720 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28722         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28723         of math functions ceil, trunc, floor, round, and sqrt, when
28724         avaliable on the platform.
28725         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28726         name clash.
28727         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28728         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28729         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28731 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
28733         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28734         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28736 2011-11-11  Roland McGrath  <roland@hack.frob.com>
28738         * include/unistd.h: Fix __readlink return type.
28739         Reported by Chris Metcalf <cmetcalf@tilera.com>.
28741 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
28743         * stdlib/ucontext.h: Undo last change for makecontext.
28745 2011-11-11  Andreas Schwab  <schwab@redhat.com>
28747         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28749         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28750         * setjmp/setjmp.h: Mark functions as non-leaf.
28751         * setjmp/bits/setjmp2.h: Likewise.
28752         * stdlib/ucontext.h: Likewise.
28754 2011-11-10  Andreas Schwab  <schwab@redhat.com>
28756         * malloc/arena.c (_int_new_arena): Don't increment narenas.
28757         (reused_arena): Don't check arena limit.
28758         (arena_get2): Atomically check arena limit.
28760 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
28762         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28763         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28765         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28766         instructions.
28768 2011-11-07  Andreas Schwab  <schwab@redhat.com>
28770         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28771         handler when locking.
28773         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28774         Fix size of allocated buffer.
28776 2011-11-04  Andreas Schwab  <schwab@redhat.com>
28778         [BZ #10103]
28779         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28780         declarations for long double functions.
28781         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28783         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28785 2011-11-03  Andreas Schwab  <schwab@redhat.com>
28787         * nscd/nscd.c (main): Don't start AVC thread until credentials are
28788         installed.
28790         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28791         is disabled.
28793 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28795         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28797 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28799         * include/alloca.h (stackinfo_alloca_round): Define.
28800         (extend_alloca): Use it.
28801         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28802         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28803         here.
28805         * scripts/check-local-headers.sh: Ignore libaudit.h.
28807         * nscd/Makefile (extra-objs): Make recursively expanded.
28809 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
28811         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28812         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28814         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28815         * posix/tst-rfc3484-2.c: Likewise.
28816         * posix/tst-rfc3484-3.c: Likewise.
28818         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28819         process_vm_writev.
28820         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28821         process_vm_writev.
28822         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28823         process_vm_writev from libc using GLIBC_2.15 version.
28825         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28827 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
28829         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28830         stack usage.
28832 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
28834         [BZ #13367]
28835         * nss/getent.c (initgroups_keys): Show error message in case no group
28836         names are given.
28838         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28839         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28840         __bump_nl_timestamp.
28841         * nscd/connections (nscd_init): When host database is served open
28842         netlink socket and request notification about configuration changes.
28843         (main_loop_poll): Track netlink file descriptor and bump timestamp
28844         in case data becomes available.
28845         (main_loop_epoll): Likewise.
28846         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28847         (database_pers_head): Add extra_data fileds.
28848         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28849         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28850         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28851         Adjust caller.
28852         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28853         in6ai data, call __free_in6ai.
28854         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28855         Add -DHAVE_NETLINK.
28856         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
28857         interface information.  Reuse previous data if netlink timestamp
28858         is not changed.
28859         (__bump_nl_timestamp): New function.
28860         (__free_in6ai): New function.
28862 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
28864         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28865         close_not_cancel_no_status here.
28866         (__check_pf): Reorganize code a bit to not call close twice if OOM.
28868 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28870         [BZ #13276]
28871         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28872         return value.
28874         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28875         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28876         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28878 2011-07-03  Andreas Jaeger  <aj@suse.de>
28880         [BZ #10709]
28881         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28882         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28883         * math/libm-test.inc (sin_test): Add test case.
28885 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28887         [BZ #13337]
28888         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28889         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28891         * elf/chroot_canon.c (chroot_canon): Cleanups.
28893         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28895         [BZ #13335]
28896         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28897         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28899         * string/test-strchr.c: Make usable for strchrnul testing.
28900         * string/test-strchrnul.c: New file.
28901         * string/Makefile (strop-tests): Add strchrnul.
28903         * po/it.po: Update from translation team.
28904         * po/es.po: Likewise.
28906 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
28908         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28909         the three constants needed as parameters.  Drop the others.
28910         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28911         __m128i_strloadu_tolower.
28912         Create and initialize variable zero and use it in all the places
28913         where _mm_setzero_si128 was used.
28915         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28916         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28917         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28918         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28919         anymore.
28920         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28921         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28922         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28923         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28924         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28925         __mpranred, __mptan.
28926         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28927         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28928         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28929         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28930         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28931         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28932         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28933         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28934         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28936 2011-10-28  Andreas Schwab  <schwab@redhat.com>
28938         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28939         redefine if SHARED.
28940         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28942         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28943         wide char related routines to wcsmbs subdir.
28945 2011-10-27  Andreas Schwab  <schwab@redhat.com>
28947         [BZ #13344]
28948         * misc/sys/cdefs.h (__THROWNL): Define.
28949         * posix/unistd.h: Use __THREADNL instead of __THREAD
28950         for memory synchronization functions.
28952 2011-10-26  Roland McGrath  <roland@hack.frob.com>
28954         [BZ #13349]
28955         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28956         doesn't exist.
28957         * manual/stdio.texi (Obstack Streams): Node removed.
28959 2011-10-26  Andreas Schwab  <schwab@redhat.com>
28961         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28962         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28963         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28965         * math/math_private.h (math_force_eval): Allow non-addressable
28966         arguments.
28967         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28969 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28971         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28972         file is not needed.
28974         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28975         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28976         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28977         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28978         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28979         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28980         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28981         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28982         Add AVX variants.
28983         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28984         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28985         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28986         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28987         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28988         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28989         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28990         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28991         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28992         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28993         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28994         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28995         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28996         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28997         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28998         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28999         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29000         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29001         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29003         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29004         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
29006         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29007         place.  Use VEX encoding when compiling for AVX.
29009 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29011         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29012         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29014         * string/test-strchr.c (do_test): Don't generate NUL bytes.
29016 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29018         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29019         useless if() expression.
29020         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29021         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29022         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29023         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29024         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29025         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29026         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29027         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29028         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29029         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29030         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29031         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29032         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29033         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29034         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29035         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29036         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29037         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29038         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29040         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29042 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29044         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29045         condition.
29046         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29048 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29050         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29051         .text section.  Avoid duplicate constants.
29052         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29053         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29054         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29055         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29056         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29057         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29058         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29059         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29060         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29061         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29062         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29063         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29064         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29065         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29066         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29067         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29068         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29069         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29070         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29071         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29072         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29073         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29074         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29075         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29076         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29077         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29078         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29079         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29080         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29081         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29082         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29083         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29084         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29085         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29086         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29087         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29088         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29089         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29090         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29091         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29092         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29093         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29094         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29095         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29096         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29098 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
29100         * sysdeps/x86_64/dla.h: Move to ...
29101         * sysdeps/x86_64/fpu/dla.h: ...here.
29102         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29103         situations.  Use __builtin_fma only for gcc 4.6 and up.
29105         * config.make.in: Add have-mfma4 entry.
29106         * configure.in: Substitute libc_cv_cc_fma4.
29107         * math/Makefile (dbl-only-routines): Add sincostab.
29108         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29109         Use __sincostab not sincos.
29110         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29111         name is a macro.
29112         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29113         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29114         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29115         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
29116         using __copysign.
29117         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
29118         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
29119         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29120         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29121         and __inv.
29122         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29123         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29124         __copysign.
29125         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
29126         define aliases when function name is a macro.
29127         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29128         sysdeps/ieee754/dbl-64/sincos.tbl.
29129         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29130         fma4-enabled routines.
29131         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29132         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29133         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29134         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29135         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29136         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29137         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29138         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29139         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29140         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29141         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29142         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29143         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29144         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29145         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29146         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29147         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29148         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29149         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29150         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29151         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29152         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29153         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29154         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29155         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29156         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29157         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29158         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29159         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29160         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29162         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29163         rename.
29164         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29165         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29166         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29167         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29168         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29169         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29170         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29171         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29173 2011-10-24  Andreas Schwab  <schwab@redhat.com>
29175         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29177 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29179         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29181         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29182         prediction.
29183         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29185         * string/strnlen.c: Don't define STRNLEN, reverse logic.
29186         Remove unused variable magic_bits.
29187         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29189         * string/strnlen.c: Define and use STRNLEN macro.
29190         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29191         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29192         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29193         * wcsmbs/wcslen.c: Define and use WCSLEN.
29194         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29195         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29196         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29197         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29198         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29199         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29200         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29202 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29204         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29205         strnlen-sse2-no-bsf.
29206         Rename strlen-no-bsf to strlen-sse2-no-bsf.
29207         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29208         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29209         Add strnlen support.
29210         (USE_AS_STRNLEN): New macro.
29211         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29212         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29213         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29214         * sysdeps/x86_64/wcslen.S: New file.
29216 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
29218         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29219         XMM-moves are used for copying on small sizes.
29221 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29223         * wcsmbs/Makefile (strop-tests): Add wcschr.
29224         * wcsmbs/test-wcschr.c: New file.
29225         * string/test-strchr.c: Update.
29226         Add wcschr support.
29227         (WIDE): New macro.
29229 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29231         * wcsmbs/Makefile (strop-tests): Add wcslen.
29232         * wcsmbs/test-wcslen.c: New file.
29233         * string/test-strlen.c: Update.
29234         Add wcslen support.
29235         (WIDE): New macro.
29237 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29239         * po/it.po: Update from translation team.
29241 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29243         * sysdeps/x86_64/wcscmp.S: Update.
29244         Fix wrong comparison semantics.
29245         wcscmp shall use signed comparison not unsigned.
29246         Don't use substraction to avoid overflow bug.
29247         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29248         * wcsmbc/wcscmp.c: Likewise.
29249         * string/test-strcmp.c: Likewise.
29250         Add new tests to check cases with negative values.
29252 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29254         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29255         * sysdeps/x86_64/dla.h: ...here.  New file.
29256         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29257         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29258         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29259         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29260         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29261         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29262         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29263         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29264         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29266 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
29268         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29269         __ynl_finite aliases.
29271 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29273         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29275         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29276         define DLA_FMA.
29277         [DLA_FMA] (EMULV): Use DLA_FMA.
29278         [DLA_FMA] (MUL12): Use EMULV.
29279         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29280         that are not needed.
29281         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29282         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29283         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29284         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29285         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29286         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29287         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29289 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
29291         * math/s_nan.c: Undef __nan.
29292         * math/s_nanf.c: Undef __nanf.
29293         * math/s_nanl.c: Undef __nanl.
29294         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29295         "math_private.h".
29297 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29299         * math/s_catan.c: Add branch predictions.
29300         * math/s_catanf.c: Likewise.
29301         * math/s_catanh.c: Likewise.
29302         * math/s_catanhf.c: Likewise.
29303         * math/s_catanhl.c: Likewise.
29304         * math/s_catanl.c: Likewise.
29305         * math/s_cexp.c: Likewise.
29306         * math/s_cexpf.c: Likewise.
29307         * math/s_cexpl.c: Likewise.
29308         * math/s_clog.c: Likewise.
29309         * math/s_clog10.c: Likewise.
29310         * math/s_clog10f.c: Likewise.
29311         * math/s_clog10l.c: Likewise.
29312         * math/s_clogf.c: Likewise.
29313         * math/s_clogl.c: Likewise.
29314         * math/s_csqrt.c: Likewise.
29315         * math/s_csqrtf.c: Likewise.
29316         * math/s_csqrtl.c: Likewise.
29317         * math/s_ctanf.c: Likewise.
29318         * math/s_ctanh.c: Likewise.
29319         * math/s_ctanhf.c: Likewise.
29320         * math/s_ctanhl.c: Likewise.
29321         * math/s_ctanl.c: Likewise.
29323         * math/math_private.h: Define __nan, __nanf, __nanl.
29324         * math/s_cacosh.c: Include <math_private.h>.
29325         * math/s_cacoshl.c: Likewise.
29326         * math/s_casinh.c: Likewise.
29327         * math/s_casinhf.c: Likewise.
29328         * math/s_casinhl.c: Likewise.
29329         * math/s_ccos.c: Rely entire on ccosh.
29330         * math/s_ccosf.c: Rely entire on ccoshf.
29331         * math/s_ccosl.c: Rely entirely on ccoshl.
29332         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
29333         Remove tests for FE_INVALID.
29334         * math/s_ccoshf.c: Likewise.
29335         * math/s_ccoshl.c: Likewise.
29336         * math/s_csin.c: Likewise.
29337         * math/s_csinf.c: Likewise.
29338         * math/s_csinh.c Likewise.
29339         * math/s_csinhf.c: Likewise.
29340         * math/s_csinhl.c: Likewise.
29341         * math/s_csinl.c: Likewise.
29342         * math/s_ctan.c: Likewise.
29343         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29344         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29345         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29347 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
29349         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29350         compilation problems.
29352         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29353         __builtin_expect.
29355 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
29357         * sysdeps/i386/configure.in: Test for -mfma4 option.
29358         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29359         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29360         COMMON_CPUID_INDEX_80000001.
29361         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29362         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29363         use it if FMA3 is not supported.
29364         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29366         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29367         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29369 2011-10-20  Andreas Schwab  <schwab@redhat.com>
29371         [BZ #12892]
29372         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29373         it would create a cycle with a link time dependency.
29375 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
29377         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29378         instruction.
29379         * string/Makefile (strop-tests): Add rawmemchr.
29380         * string/test-rawmemchr.c: New file.
29382         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29383         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
29384         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
29385         when compiling str{,n}casecmp and when AVX is available.  Hook up
29386         new optimized code in initializers.
29388 2011-10-19  Andreas Schwab  <schwab@redhat.com>
29390         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29391         __feraiseexcept instead of feraiseexcept.
29393 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
29395         * math/math_private.h: Define defaults for libc_fetestexcept and
29396         libc_feupdateenv.
29397         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29398         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29399         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29400         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29401         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29402         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29403         libc_fetestexcept and libc_feupdateenv.
29405         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29406         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29407         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29408         * sysdeps/x86_64/fpu/math_private.h: Define special version of
29409         libc_feholdexcept_setround.
29411         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29412         Add s_nearbyint-c and s_nearbyintf-c.
29413         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29414         nearbyintf inlines.
29415         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29416         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29417         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29418         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29420         * math/math_private.h: Define defaults for libc_fegetround,
29421         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29422         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29423         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29424         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29425         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29426         standard functions.
29427         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29428         Remove comments and hacks for old compiler versions.
29429         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29430         libc_fegetround, libc_fesetround, libc_feholdexcept, and
29431         libc_feholdexceptl.
29433 2011-10-18  Andreas Schwab  <schwab@redhat.com>
29435         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29436         (__feraiseexcept_renamed): Add __NTH.
29437         (feraiseexcept): Add __NTH.  Rename local variables to fix
29438         namespace violations.
29440 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
29442         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29444         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29446         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29447         recently added interfaces.
29448         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29450         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29451         about macro parameter expansion.
29453         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29454         __NO_MATH_INLINES is defined.  Cleanups.
29456         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29457         and __floorf is target has SSE4.1.
29458         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29459         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29460         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29461         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29463         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29464         name.
29465         (floorf): Likewise.
29467         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29469 2011-10-17  Andreas Schwab  <schwab@redhat.com>
29471         * misc/sys/cdefs.h: Fix last change.
29473         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29474         database lookup.
29476 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
29478         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29480         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29481         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29482         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29483         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29484         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29485         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29486         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29487         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29488         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29489         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29490         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29491         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29492         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29493         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29494         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29495         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29496         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29497         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29498         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29499         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29500         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29501         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29503         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29504         ceil, ceilf, floor, floorf.
29506         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29507         Perform IRELATIVE relocations last.
29509         * elf/do-rel.h: Add another parameter nrelative, replacing the
29510         local variable with the same name.  Change name of the function
29511         to end in Rel or Rela (uppercase).
29512         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29513         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
29514         elf_dynamic_do_##reloc function.
29516 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29518         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29519         is sufficient, at least on modern CPUs.
29521         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29523         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29524         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29526         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29527         __expl_finite.
29528         * math/bits/math-finite.h: Add entries for exp.
29529         * math/e_expl.c: Add __*_finite alias.
29530         * sysdeps/i386/fpu/e_exp.S: Likewise.
29531         * sysdeps/i386/fpu/e_expf.S: Likewise.
29532         * sysdeps/i386/fpu/e_expl.c: Likewise.
29533         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29534         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29535         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29536         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29537         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29538         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29539         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29541         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29542         is sufficient, at least on modern CPUs.
29544         * ctype/ctype-info.c (__ctype_init): Define.
29545         * include/ctype.h (__ctype_init): Declare.
29546         (__ctype_b_loc): The variable is always initialized.
29547         (__ctype_toupper_loc): Likewise.
29548         (__ctype_tolower_loc): Likewise.
29549         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29550         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29552 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
29554         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29556         * configure.in: Also look in $cxxmachine/include for C++ system
29557         headers.
29559 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29561         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29562         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29563         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29564         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
29565         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29566         (USE_AS_WMEMCMP): New macro.
29567         Fixing indents.
29568         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29569         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29570         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29571         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29572         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29573         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29574         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29575         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29576         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29577         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29578         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29579         (USE_AS_WMEMCMP): New macro.
29580         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29581         * sysdeps/string/test-memcmp.c: Update.
29582         Fix simple_wmemcmp.
29583         Add new tests.
29584         * wcsmbs/wmemcmp.c: Update.
29585         (WMEMCMP): New macro.
29586         Fix overflow bug.
29588 2011-10-12  Andreas Jaeger  <aj@suse.de>
29590         [BZ #13268]
29591         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29593 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29595         * libio/iofwide.c (do_length): Avoid warning.
29597         * ctype/ctype.h (__isctype_f): Add missing __THROW.
29599 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
29601         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29603         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29604         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29605         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29606         * sysdeps/i386/i686/fpu/e_log.S: New file.
29607         * sysdeps/i386/i686/fpu/e_logf.S: New file.
29608         * sysdeps/i386/i686/fpu/e_logl.S: New file.
29610         * ctype/ctype.h: Add support for inlined isXXX functions when
29611         compiling C++ code.
29613 2011-10-14  Andreas Schwab  <schwab@redhat.com>
29615         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29617         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29619 2011-10-13  Roland McGrath  <roland@hack.frob.com>
29621         [BZ #13291]
29622         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29624 2011-10-13  Andreas Schwab  <schwab@redhat.com>
29626         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29627         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29628         feraiseexcept.
29630         * sysdeps/x86_64/memrchr.S: Check for zero size.
29632         * string/stratcliff.c: Add memrchr tests.
29634 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29636         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29637         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29638         rawmemchr-sse2 rawmemchr-sse2-bsf.
29639         * sysdeps/i386/i686/multiarch/memchr.S: New file.
29640         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29641         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29642         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29643         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29644         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29645         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29646         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29647         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29648         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29649         * string/memrchr.c (MEMRCHR): New macro.
29651 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
29653         Add integration with gcc's -ffinite-math-only and optimize wrapper
29654         functions in libm.
29655         * Versions.def: Define GLIBC_2.15 version for libm.
29656         * math/Makefile (headers): Add bits/math-finite.h.
29657         * math/bits/math-finite.h: New file.
29658         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29659         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29660         * math/e_acoshl.c: Add __*_finite alias.
29661         * math/e_acosl.c: Likewise.
29662         * math/e_asinl.c: Likewise.
29663         * math/e_atan2l.c: Likewise.
29664         * math/e_atanhl.c: Likewise.
29665         * math/e_coshl.c: Likewise.
29666         * math/e_exp10.c: Likewise.
29667         * math/e_exp10f.c: Likewise.
29668         * math/e_exp10l.c: Likewise.
29669         * math/e_exp2l.c: Likewise.
29670         * math/e_fmodl.c: Likewise.
29671         * math/e_gammal_r.c: Likewise.
29672         * math/e_hypotl.c: Likewise.
29673         * math/e_j0l.c: Likewise.
29674         * math/e_j1l.c: Likewise.
29675         * math/e_jnl.c: Likewise.
29676         * math/e_lgammal_r.c: Likewise.
29677         * math/e_log10l.c: Likewise.
29678         * math/e_log2l.c: Likewise.
29679         * math/e_logl.c: Likewise.
29680         * math/e_powl.c: Likewise.
29681         * math/e_sinhl.c: Likewise.
29682         * math/e_sqrtl.c: Likewise.
29683         * math/e_scalb.c: Completely rewritten and optimized.
29684         * math/e_scalbf.c: Likewise.
29685         * math/e_scalbl.c: Likewise.
29686         * math/w_acos.c: Likewise.
29687         * math/w_acosf.c: Likewise.
29688         * math/w_acosl.c: Likewise.
29689         * math/w_acosh.c: Likewise.
29690         * math/w_acoshf.c: Likewise.
29691         * math/w_acoshl.c: Likewise.
29692         * math/w_asin.c: Likewise.
29693         * math/w_asinf.c: Likewise.
29694         * math/w_asinl.c: Likewise.
29695         * math/w_atan2.c: Likewise.
29696         * math/w_atan2f.c: Likewise.
29697         * math/w_atan2l.c: Likewise.
29698         * math/w_atanh.c: Likewise.
29699         * math/w_atanhf.c: Likewise.
29700         * math/w_atanhl.c: Likewise.
29701         * math/w_exp10.c: Likewise.
29702         * math/w_exp10f.c: Likewise.
29703         * math/w_exp10l.c: Likewise.
29704         * math/w_fmod.c: Likewise.
29705         * math/w_fmodf.c: Likewise.
29706         * math/w_fmodl.c: Likewise.
29707         * math/w_j0.c: Likewise.
29708         * math/w_j0f.c: Likewise.
29709         * math/w_j0l.c: Likewise.
29710         * math/w_j1.c: Likewise.
29711         * math/w_j1f.c: Likewise.
29712         * math/w_j1l.c: Likewise.
29713         * math/w_jn.c: Likewise.
29714         * math/w_jnf.c: Likewise.
29715         * math/w_log.c: Likewise.
29716         * math/w_logf.c: Likewise.
29717         * math/w_logl.c: Likewise.
29718         * math/w_log10.c: Likewise.
29719         * math/w_log10f.c: Likewise.
29720         * math/w_log10l.c: Likewise.
29721         * math/w_log2.c: Likewise.
29722         * math/w_log2f.c: Likewise.
29723         * math/w_log2l.c: Likewise.
29724         * math/w_pow.c: Likewise.
29725         * math/w_powf.c: Likewise.
29726         * math/w_powl.c: Likewise.
29727         * math/w_remainder.c: Likewise.
29728         * math/w_remainderf.c: Likewise.
29729         * math/w_remainderl.c: Likewise.
29730         * math/w_scalb.c: Likewise.
29731         * math/w_scalbf.c: Likewise.
29732         * math/w_scalbl.c: Likewise.
29733         * math/w_sqrt.c: Likewise.
29734         * math/w_sqrtf.c: Likewise.
29735         * math/w_sqrtl.c: Likewise.
29736         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29737         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
29738         used.
29739         * math/math_private.h: Declare __kernel_standard_f.
29740         * math/w_cosh.c: Remove cruft and optimize a bit.
29741         * math/w_coshf.c: Likewise.
29742         * math/w_coshl.c: Likewise.
29743         * math/w_exp2.c: Likewise.
29744         * math/w_exp2f.c: Likewise.
29745         * math/w_exp2l.c: Likewise.
29746         * math/w_hypot.c: Likewise.
29747         * math/w_hypotf.c: Likewise.
29748         * math/w_hypotl.c: Likewise.
29749         * math/w_lgamma.c: Likewise.
29750         * math/w_lgamma_r.c: Likewise.
29751         * math/w_lgammaf.c: Likewise.
29752         * math/w_lgammaf_r.c: Likewise.
29753         * math/w_lgammal.c: Likewise.
29754         * math/w_lgammal_r.c: Likewise.
29755         * math/w_sinh.c: Likewise.
29756         * math/w_sinhf.c: Likewise.
29757         * math/w_sinhl.c: Likewise.
29758         * math/w_tgamma.c: Likewise.
29759         * math/w_tgammaf.c: Likewise.
29760         * math/w_tgammal.c: Likewise.
29761         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29762         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29763         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29764         Minor optimizations.  Pretty printing.  Remove cruft.
29765         * sysdeps/i386/fpu/e_acosf.S: Likewise.
29766         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29767         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29768         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29769         * sysdeps/i386/fpu/e_acosl.c: Likewise.
29770         * sysdeps/i386/fpu/e_asin.S: Likewise.
29771         * sysdeps/i386/fpu/e_asinf.S: Likewise.
29772         * sysdeps/i386/fpu/e_atan2.S: Likewise.
29773         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29774         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29775         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29776         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29777         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29778         * sysdeps/i386/fpu/e_exp10.S: Likewise.
29779         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29780         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29781         * sysdeps/i386/fpu/e_exp2.S: Likewise.
29782         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29783         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29784         * sysdeps/i386/fpu/e_fmod.S: Likewise.
29785         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29786         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29787         * sysdeps/i386/fpu/e_hypot.S: Likewise.
29788         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29789         * sysdeps/i386/fpu/e_log.S: Likewise.
29790         * sysdeps/i386/fpu/e_log10.S: Likewise.
29791         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29792         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29793         * sysdeps/i386/fpu/e_log2.S: Likewise.
29794         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29795         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29796         * sysdeps/i386/fpu/e_logf.S: Likewise.
29797         * sysdeps/i386/fpu/e_logl.S: Likewise.
29798         * sysdeps/i386/fpu/e_pow.S: Likewise.
29799         * sysdeps/i386/fpu/e_powf.S: Likewise.
29800         * sysdeps/i386/fpu/e_powl.S: Likewise.
29801         * sysdeps/i386/fpu/e_remainder.S: Likewise.
29802         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29803         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29804         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29805         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29806         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29807         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29808         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29809         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29810         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29811         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29812         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29813         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29814         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29815         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29816         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29817         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29818         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29819         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29820         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29821         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29822         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29823         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29824         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29825         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29826         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29827         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29828         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29829         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29830         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29831         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29832         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29833         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29834         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29835         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29836         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29837         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29838         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29839         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29840         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29841         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29842         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29843         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29844         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29845         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29846         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29847         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29848         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29849         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29850         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29851         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29852         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29853         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29854         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29855         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29856         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29857         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29858         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29859         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29860         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29861         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29862         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29863         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29864         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29865         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29866         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29867         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29868         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29869         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29870         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29871         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29872         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29873         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29874         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29875         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29876         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29877         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29878         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29879         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29880         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29881         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29882         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29883         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29884         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29885         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29886         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29887         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29888         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29889         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29890         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29891         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29892         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29893         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29894         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29895         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29896         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29897         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29898         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29899         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29900         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29901         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29902         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29903         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29904         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29905         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29906         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29907         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29908         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29909         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29910         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29911         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29912         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29913         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29914         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29915         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29916         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29917         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29918         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29919         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29920         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
29921         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29922         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29923         (__isnanf): Likewise.
29924         (__isinf_ns): Likewise.
29925         (__isinf_nsf): Likewise.
29926         (__finite): Likewise.
29927         (__finitef): Likewise.
29928         (__ieee754_sqrt): Define as macro.
29929         (__ieee754_sqrtf): Define as macro.
29930         (__ieee754_sqrtl): Define as macro.
29931         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29932         inlined copy.
29933         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29934         __FINITE_MATH_ONLY__ consistent.
29935         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29937 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
29939         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29940         of rawmemchr.
29942         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29944 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
29946         * po/ja.po: Update from translation team.
29948 2011-10-08  Roland McGrath  <roland@hack.frob.com>
29950         * locale/programs/locarchive.c (prepare_address_space): New function.
29951         (create_archive, enlarge_archive, open_archive): Use it.
29953         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29954         inside [SHARED], where it is used.
29956         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29958         * nss/getent.c (netgroup_keys): Remove unused variable.
29959         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29961 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
29963         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29964         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29965         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29966         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29967         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29968         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29969         * math/Makefile (libm-calls): Add s_isinf_ns.
29970         * math/divtc3.c: Use __isinf_nsl instead of isinf.
29971         * math/multc3.c: Likewise.
29972         * math/s_casin.c: Likewise.
29973         * math/s_casinf.c: Likewise.
29974         * math/s_casinl.c: Likewise.
29975         * math/s_ccos.c: Likewise.
29976         * math/s_ccosf.c: Likewise.
29977         * math/s_ccosl.c: Likewise.
29978         * math/s_ctan.c: Likewise.
29979         * math/s_ctanf.c: Likewise.
29980         * math/s_ctanh.c: Likewise.
29981         * math/s_ctanhf.c: Likewise.
29982         * math/s_ctanhl.c: Likewise.
29983         * math/s_ctanl.c: Likewise.
29984         * math/w_fmod.c: Likewise.
29985         * math/w_fmodf.c: Likewise.
29986         * math/w_fmodl.c: Likewise.
29987         * math/w_remainder.c: Likewise.
29988         * math/w_remainderf.c: Likewise.
29989         * math/w_remainderl.c: Likewise.
29990         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29991         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29992         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29993         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29994         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29995         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29996         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29997         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29999         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30000         of the number.
30001         * stdio-common/printf_fphex.c: Likewise.
30002         * stdio-common/printf_size.c: Likewise.
30004         * math/e_exp10.c: Include math_private.h using <...> not "...".
30005         * math/e_exp10f.c: Likewise.
30006         * math/e_exp10l.c: Likewise.
30007         * math/e_exp2l.c: Likewise.
30008         * math/e_j0l.c: Likewise.
30009         * math/e_j1l.c: Likewise.
30010         * math/e_jnl.c: Likewise.
30011         * math/e_lgammal_r.c: Likewise.
30012         * math/e_rem_pio2l.c: Likewise.
30013         * math/e_scalb.c: Likewise.
30014         * math/e_scalbf.c: Likewise.
30015         * math/e_scalbl.c: Likewise.
30016         * math/k_cosl.c: Likewise.
30017         * math/k_sinl.c: Likewise.
30018         * math/k_tanl.c: Likewise.
30019         * math/s_cacoshf.c: Likewise.
30020         * math/s_catan.c: Likewise.
30021         * math/s_catanf.c: Likewise.
30022         * math/s_catanh.c: Likewise.
30023         * math/s_catanhf.c: Likewise.
30024         * math/s_catanhl.c: Likewise.
30025         * math/s_catanl.c: Likewise.
30026         * math/s_ccosh.c: Likewise.
30027         * math/s_ccoshf.c: Likewise.
30028         * math/s_ccoshl.c: Likewise.
30029         * math/s_cexp.c: Likewise.
30030         * math/s_cexpf.c: Likewise.
30031         * math/s_cexpl.c: Likewise.
30032         * math/s_clog.c: Likewise.
30033         * math/s_clog10.c: Likewise.
30034         * math/s_clog10f.c: Likewise.
30035         * math/s_clog10l.c: Likewise.
30036         * math/s_clogf.c: Likewise.
30037         * math/s_clogl.c: Likewise.
30038         * math/s_csin.c: Likewise.
30039         * math/s_csinf.c: Likewise.
30040         * math/s_csinh.c: Likewise.
30041         * math/s_csinhf.c: Likewise.
30042         * math/s_csinhl.c: Likewise.
30043         * math/s_csinl.c: Likewise.
30044         * math/s_csqrt.c: Likewise.
30045         * math/s_csqrtf.c: Likewise.
30046         * math/s_csqrtl.c: Likewise.
30047         * math/s_ctan.c: Likewise.
30048         * math/s_ctanf.c: Likewise.
30049         * math/s_ctanh.c: Likewise.
30050         * math/s_ctanhf.c: Likewise.
30051         * math/s_ctanhl.c: Likewise.
30052         * math/s_ctanl.c: Likewise.
30053         * math/s_ldexp.c: Likewise.
30054         * math/s_ldexpf.c: Likewise.
30055         * math/s_ldexpl.c: Likewise.
30056         * math/s_significand.c: Likewise.
30057         * math/s_significandf.c: Likewise.
30058         * math/s_significandl.c: Likewise.
30059         * math/w_acos.c: Likewise.
30060         * math/w_acosf.c: Likewise.
30061         * math/w_acosh.c: Likewise.
30062         * math/w_acoshf.c: Likewise.
30063         * math/w_acoshl.c: Likewise.
30064         * math/w_acosl.c: Likewise.
30065         * math/w_asin.c: Likewise.
30066         * math/w_asinf.c: Likewise.
30067         * math/w_asinl.c: Likewise.
30068         * math/w_atan2.c: Likewise.
30069         * math/w_atan2f.c: Likewise.
30070         * math/w_atan2l.c: Likewise.
30071         * math/w_atanh.c: Likewise.
30072         * math/w_atanhf.c: Likewise.
30073         * math/w_atanhl.c: Likewise.
30074         * math/w_cosh.c: Likewise.
30075         * math/w_coshf.c: Likewise.
30076         * math/w_coshl.c: Likewise.
30077         * math/w_dremf.c: Likewise.
30078         * math/w_exp10.c: Likewise.
30079         * math/w_exp10f.c: Likewise.
30080         * math/w_exp10l.c: Likewise.
30081         * math/w_exp2.c: Likewise.
30082         * math/w_exp2f.c: Likewise.
30083         * math/w_fmod.c: Likewise.
30084         * math/w_fmodf.c: Likewise.
30085         * math/w_fmodl.c: Likewise.
30086         * math/w_hypot.c: Likewise.
30087         * math/w_hypotf.c: Likewise.
30088         * math/w_hypotl.c: Likewise.
30089         * math/w_j0.c: Likewise.
30090         * math/w_j0f.c: Likewise.
30091         * math/w_j0l.c: Likewise.
30092         * math/w_j1.c: Likewise.
30093         * math/w_j1f.c: Likewise.
30094         * math/w_j1l.c: Likewise.
30095         * math/w_jn.c: Likewise.
30096         * math/w_jnf.c: Likewise.
30097         * math/w_jnl.c: Likewise.
30098         * math/w_lgamma.c: Likewise.
30099         * math/w_lgamma_r.c: Likewise.
30100         * math/w_lgammaf.c: Likewise.
30101         * math/w_lgammaf_r.c: Likewise.
30102         * math/w_lgammal.c: Likewise.
30103         * math/w_lgammal_r.c: Likewise.
30104         * math/w_log.c: Likewise.
30105         * math/w_log10.c: Likewise.
30106         * math/w_log10f.c: Likewise.
30107         * math/w_log10l.c: Likewise.
30108         * math/w_log2.c: Likewise.
30109         * math/w_log2f.c: Likewise.
30110         * math/w_log2l.c: Likewise.
30111         * math/w_logf.c: Likewise.
30112         * math/w_logl.c: Likewise.
30113         * math/w_pow.c: Likewise.
30114         * math/w_powf.c: Likewise.
30115         * math/w_powl.c: Likewise.
30116         * math/w_remainder.c: Likewise.
30117         * math/w_remainderf.c: Likewise.
30118         * math/w_remainderl.c: Likewise.
30119         * math/w_scalb.c: Likewise.
30120         * math/w_scalbf.c: Likewise.
30121         * math/w_scalbl.c: Likewise.
30122         * math/w_sinh.c: Likewise.
30123         * math/w_sinhf.c: Likewise.
30124         * math/w_sinhl.c: Likewise.
30125         * math/w_sqrt.c: Likewise.
30126         * math/w_sqrtf.c: Likewise.
30127         * math/w_sqrtl.c: Likewise.
30128         * math/w_tgamma.c: Likewise.
30129         * math/w_tgammaf.c: Likewise.
30130         * math/w_tgammal.c: Likewise.
30132         * po/ja.po: Update from translation team.
30134 2011-09-29  Andreas Jaeger  <aj@suse.de>
30136         [BZ #13179]
30137         * sunrpc/netname.c (netname2host): Fix logic.
30139         [BZ #6779]
30140         [BZ #6783]
30141         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30142         correctly.
30143         * math/w_remainder.c (__remainder): Likewise.
30144         * math/w_remainderf.c (__remainderf): Likewise.
30145         * math/libm-test.inc (remainder_test): Add test cases.
30147 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30149         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
30150         sdiv_qrnnd.
30152 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30154         * string/test-memcmp.c: Avoid unncessary #defines.
30155         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30157 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30159         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30160         Use new sse2 version for core i3 - i7 as it's faster
30161         than sse42 version.
30162         (bit_Prefer_PMINUB_for_stringop): New.
30163         * sysdeps/x86_64/rawmemchr.S: Update.
30164         Replace with faster SSE2 version.
30165         * sysdeps/x86_64/memrchr.S: New file.
30166         * sysdeps/x86_64/memchr.S: Update.
30167         Replace with faster SSE2 version.
30169 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
30171         * elf/dl-load.c (lose): Add cast to avoid warning.
30173 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30175         * po/ca.po: Update from translation team.
30177         * inet/getnetgrent_r.c: Hook up nscd.
30178         * nscd/Makefile (routines): Add nscd_netgroup.
30179         (nscd-modules): Add netgroupcache.
30180         (CFLAGS-netgroupcache.c): Define.
30181         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30182         (cache_search): Add const to second parameter.
30183         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30184         INNETGR.
30185         (dbs): Add netgrdb entry.
30186         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30187         (verify_persistent_db): Handle netgrdb.
30188         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30189         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30190         GETFDNETGR.
30191         (netgroup_response_header): Define.
30192         (innetgroup_response_header): Define.
30193         (datahead): Add netgroup_response_header and innetgroup_response_header
30194         elements.
30195         * nscd/nscd.conf: Add entries for netgroup cache.
30196         * nscd/nscd.h (dbtype): Add netgrdb.
30197         (_PATH_NSCD_NETGROUP_DB): Define.
30198         (netgroup_iov_disabled): Declare.
30199         (xmalloc, xcalloc, xrealloc): Move declarations here.
30200         (cache_search): Adjust prototype.
30201         Add netgroup-related prototypes.
30202         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30203         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30204         (__nscd_innetgr): Declare.
30205         * nscd/selinux.c (perms): Use access_vector_t as element type and
30206         add netgroup-related initializers.
30207         * nscd/netgroupcache.c: New file.
30208         * nscd/nscd_netgroup.c: New file.
30209         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30210         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30211         For four parameters use innetgr.
30212         * nss/nss_files/files-init.c: Add definition and callback for netgr.
30213         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30214         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30215         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30217         * nscd/connections.c (register_traced_file): Don't register file
30218         for disabled databases.
30220 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
30222         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30224         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30225         from tree and freeing node.
30227 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
30229         * nss/nsswitch.c (__nss_database_lookup): Handle
30230         nss_parse_service_list out of memory case.
30232 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
30234         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30235         out of memory case.
30237 2011-10-04  Andreas Schwab  <schwab@redhat.com>
30239         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30240         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30241         pass it down.
30242         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30243         elf_machine_rela, elf_machine_lazy_rel.
30244         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30245         (ELF_DYNAMIC_DO_REL): Likewise.
30246         (ELF_DYNAMIC_DO_RELA): Likewise.
30247         (ELF_DYNAMIC_RELOCATE): Likewise.
30248         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30249         to ELF_DYNAMIC_DO_REL.
30250         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30251         (dl_main): In trace mode always set __RTLD_NOIFUNC.
30252         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30253         elf_machine_rela.
30254         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30255         skip_ifunc, don't call ifunc function if non-zero.
30256         (elf_machine_rela): Likewise.
30257         (elf_machine_lazy_rel): Likewise.
30258         (elf_machine_lazy_rela): Likewise.
30259         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30260         (elf_machine_lazy_rel): Likewise.
30261         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30262         Likewise.
30263         (elf_machine_lazy_rel): Likewise.
30264         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30265         Likewise.
30266         (elf_machine_lazy_rel): Likewise.
30267         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30268         (elf_machine_lazy_rel): Likewise.
30269         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30270         (elf_machine_lazy_rel): Likewise.
30271         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30272         (elf_machine_lazy_rel): Likewise.
30273         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30274         (elf_machine_lazy_rel): Likewise.
30275         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30276         (elf_machine_lazy_rel): Likewise.
30277         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30278         (elf_machine_lazy_rel): Likewise.
30280 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
30282         * nss/nss_files/files-init.c (_nss_files_init): Use static
30283         initialization for all the *_traced_file variables.
30285 2011-09-28  Andreas Schwab  <schwab@redhat.com>
30287         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30289 2011-09-27  Roland McGrath  <roland@hack.frob.com>
30291         [BZ #13226]
30292         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30294 2011-09-27  Andreas Schwab  <schwab@redhat.com>
30296         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30297         Reread the line before reparsing it.
30299 2011-09-26  Andreas Schwab  <schwab@redhat.com>
30301         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30303 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
30304             Maxim Kuvyrkov  <maxim@codesourcery.com>
30305             Joseph Myers  <joseph@codesourcery.com>
30307         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30308         if needed for __stack_chk_guard.
30310 2011-09-19  Roland McGrath  <roland@hack.frob.com>
30312         * sysdeps/posix/spawni.c (script_execute): Always define it.
30313         It will be optimized away if unused.
30314         (maybe_script_execute): New function.
30315         (__spawni): Call it.
30317         * Makerules: Don't include tls.make.
30318         (config-tls): Always set to thread.
30319         * tls.make.c: File removed.
30321 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
30323         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30324         * config.make.in (CPPFLAGS-config): New substituted variable.
30326 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30328         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30330         [BZ #13192]
30331         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30332         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30334 2011-09-15  Roland McGrath  <roland@hack.frob.com>
30336         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30337         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30338         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30339         (CALL_FAIL): Likewise.
30340         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30341         (CALL_FAIL): Macro removed.
30342         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30344 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30346         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30347         for __FINITE_MATH_ONLY__ == 1.
30349 2011-09-15  Andreas Schwab  <schwab@redhat.com>
30351         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30352         __ieee754_sqrt instead of sqrt.
30353         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30354         __ieee754_sqrtf instead of sqrtf.
30355         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30356         __floorf instead of floorf.
30357         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30358         __floorf, __truncf instead of floorf, truncf.
30360 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
30362         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30364         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30365         __extern_always_inline.
30366         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30367         32-bit.
30369 2011-09-14  Andreas Schwab  <schwab@redhat.com>
30371         * elf/rtld.c (dl_main): Also relocate in dependency order when
30372         doing symbol dependency testing.
30374 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
30376         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30377         Always define `refsym'.
30379 2011-09-13  Andreas Schwab  <schwab@redhat.com>
30381         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30382         (__FD_ELT): Renamed from __FDELT.
30383         * misc/bits/select2.h (__FD_ELT): Likewise.
30384         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30385         __FD_MASK instead of __FDELT, __FDMASK.
30386         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30387         Likewise.
30388         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30389         Likewise.
30391         * elf/Makefile (gen-ldd): Fix pattern.
30393         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30394         (init_tls): Likewise.
30396 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
30398         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30400 2011-09-12  Andreas Schwab  <schwab@redhat.com>
30402         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30403         `struct cmsghdr *' instead of `void *'.
30404         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30405         Likewise.
30407 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
30409         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30410         if non-absolute.
30411         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30412         ldd_rewrite_script.
30414 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
30416         * configure.in: Remove --with-tls option.
30417         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30418         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30419         out in case it is missing.
30420         * sysdeps/ia64/elf/configure.in: Likewise.
30421         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30422         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30423         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30424         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30425         * sysdeps/sh/elf/configure.in: Likewise.
30426         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30427         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30428         * sysdeps/x86_64/elf/configure.in: Likewise.
30429         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30430         * sysdeps/mach/hurd/tls.h: Likewise.
30432         [BZ #13067]
30433         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30435         [BZ #13090]
30436         * configure.in: Fix use of AC_INIT.
30438         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30440 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
30442         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30443         __set_errno.
30444         * malloc/hooks.c: Likewise.
30446         [BZ #11929]
30447         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
30448         variables statically.
30449         (narenas): Initialize.
30450         (list_lock): Initialize.
30451         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
30452         initializtion of main_arena and list_lock.  Small cleanups.
30453         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30454         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
30455         Add initializers to main_arena and mp_.
30456         (malloc_state): Remove pagesize member.  Change all users to use
30457         GLRO(dl_pagesize).
30459         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30460         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
30461         is always initialized.
30463         * malloc/malloc.c: Removed unused configurations and dead code.
30464         * malloc/arena.c: Likewise.
30465         * malloc/hooks.c: Likewise.
30466         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30468         * include/tls.h: Removed.  USE___THREAD must always be defined.
30469         * bits/libc-tsd.h: Don't handle !USE___THREAD.
30470         * elf/dl-libc.c: Likewise.
30471         * elf/dl-tsd.c: Likewise.
30472         * include/errno.h: Likewise.
30473         * include/netdb.h: Likewise.
30474         * include/resolv.h: Likewise.
30475         * inet/herrno-loc.c: Likewise.
30476         * inet/herrno.c: Likewise.
30477         * malloc/arena.c: Likewise.
30478         * malloc/hooks.c: Likewise.
30479         * malloc/malloc.c: Likewise.
30480         * resolv/res-state.c: Likewise.
30481         * resolv/res_libc.c: Likewise.
30482         * sysdeps/i386/dl-machine.h: Likewise.
30483         * sysdeps/ia64/dl-machine.h: Likewise.
30484         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30485         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30486         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30487         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30488         * sysdeps/sh/dl-machine.h: Likewise.
30489         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30490         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30491         * sysdeps/unix/i386/sysdep.S: Likewise.
30492         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30493         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30494         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30495         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30496         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30497         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30498         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30499         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30500         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30501         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30502         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30503         * sysdeps/x86_64/dl-machine.h: Likewise.
30504         * tls.make.c: Likewise.
30506         * configure.in: Remove --with-__thread option.  Make tests for
30507         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30508         tls_model attribute fail if no support is available.  Remove
30509         USE_IN_LIBIO.
30510         * Makeconfig: Adjust for dropped configure option.  All features are
30511         now mandatory.
30512         * Makerules: Likewise.
30513         * Versions.def: Likewise.
30514         * argp/argp-fmtstream.c: Likewise.
30515         * argp/argp-fmtstream.h: Likewise.
30516         * argp/argp-help.c: Likewise.
30517         * assert/assert.c: Likewise.
30518         * config.h.in: Likewise.
30519         * config.make.in: Likewise.
30520         * configure: Likewise.
30521         * configure.in: Likewise.
30522         * csu/Versions: Likewise.
30523         * csu/init.c: Likewise.
30524         * elf/tst-audit2.c: Likewise.
30525         * elf/tst-tls10.c: Likewise.
30526         * elf/tst-tls10.h: Likewise.
30527         * elf/tst-tls11.c: Likewise.
30528         * elf/tst-tls12.c: Likewise.
30529         * elf/tst-tls14.c: Likewise.
30530         * elf/tst-tlsmod11.c: Likewise.
30531         * elf/tst-tlsmod12.c: Likewise.
30532         * elf/tst-tlsmod13.c: Likewise.
30533         * elf/tst-tlsmod13a.c: Likewise.
30534         * elf/tst-tlsmod14a.c: Likewise.
30535         * elf/tst-tlsmod15b.c: Likewise.
30536         * elf/tst-tlsmod16a.c: Likewise.
30537         * elf/tst-tlsmod16b.c: Likewise.
30538         * elf/tst-tlsmod7.c: Likewise.
30539         * elf/tst-tlsmod8.c: Likewise.
30540         * elf/tst-tlsmod9.c: Likewise.
30541         * gmon/gmon.c: Likewise.
30542         * grp/fgetgrent_r.c: Likewise.
30543         * grp/putgrent.c: Likewise.
30544         * hurd/fopenport.c: Likewise.
30545         * include/libc-symbols.h: Likewise.
30546         * include/tls.h: Likewise.
30547         * intl/gettextP.h: Likewise.
30548         * intl/loadinfo.h: Likewise.
30549         * locale/global-locale.c: Likewise.
30550         * locale/localeinfo.h: Likewise.
30551         * mach/devstream.c: Likewise.
30552         * malloc/arena.c: Likewise.
30553         * malloc/set-freeres.c: Likewise.
30554         * misc/err.c: Likewise.
30555         * misc/getttyent.c: Likewise.
30556         * misc/mntent_r.c: Likewise.
30557         * posix/getopt.c: Likewise.
30558         * posix/wordexp.c: Likewise.
30559         * pwd/fgetpwent_r.c: Likewise.
30560         * resolv/Versions: Likewise.
30561         * resolv/res_hconf.c: Likewise.
30562         * shadow/fgetspent_r.c: Likewise.
30563         * shadow/putspent.c: Likewise.
30564         * stdio-common/printf_fphex.c: Likewise.
30565         * stdio-common/tmpfile.c: Likewise.
30566         * stdlib/abort.c: Likewise.
30567         * stdlib/fmtmsg.c: Likewise.
30568         * sunrpc/auth_unix.c: Likewise.
30569         * sunrpc/clnt_perr.c: Likewise.
30570         * sunrpc/clnt_tcp.c: Likewise.
30571         * sunrpc/clnt_udp.c: Likewise.
30572         * sunrpc/clnt_unix.c: Likewise.
30573         * sunrpc/openchild.c: Likewise.
30574         * sunrpc/svc_simple.c: Likewise.
30575         * sunrpc/svc_tcp.c: Likewise.
30576         * sunrpc/svc_udp.c: Likewise.
30577         * sunrpc/svc_unix.c: Likewise.
30578         * sunrpc/xdr.c: Likewise.
30579         * sunrpc/xdr_array.c: Likewise.
30580         * sunrpc/xdr_rec.c: Likewise.
30581         * sunrpc/xdr_ref.c: Likewise.
30582         * sunrpc/xdr_stdio.c: Likewise.
30584 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30586         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30588 2011-07-03  Andreas Jaeger  <aj@suse.de>
30590         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30591         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30592         regenerate with gen-libm-tests.pl.
30594 2010-05-12  Petr Baudis  <pasky@suse.cz>
30596         [BZ #11589]
30597         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30598         around j0() zero points by switching to j1().
30599         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30600         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30601         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30602         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30604 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30606         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30607         instead of 0.
30608         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30609         instead of 0.
30610         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30611         Patch in part by Pavel Roskin <proski@gnu.org>.
30613         [BZ #13138]
30614         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30615         realloc.
30616         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
30617         Free memory block if necessary.
30619         [BZ #12847]
30620         * libio/genops.c (INTDEF): For string streams the _lock pointer can
30621         be NULL.  Don't lock in this case.
30623 2011-09-09  Roland McGrath  <roland@hack.frob.com>
30625         * elf/elf.h (ELFOSABI_GNU): New macro.
30626         (ELFOSABI_LINUX): Define to that.
30628 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
30630         * string/strncat.c (strncat): Undef the symbol in case it has been
30631         defined in bits/string.h.
30633 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30635         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30637         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30638         link map.
30640 2011-08-17  Andreas Jaeger  <aj@suse.de>
30642         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30644 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
30645             Ian Lance Taylor  <iant@google.com>
30647         * math/libm-test.inc (lround_test): New testcase.
30648         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30650 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
30652         * Makefile: Remove support for automatic cvs check-ins.
30653         * Makerules: Likewise.
30654         * config.make.in: Likewise.
30655         * configure.in: Likewise.
30656         * intl/Makefile: Likewise.
30657         * locale/Makefile: Likewise.
30658         * po/Makefile: Likewise.
30659         * posix/Makefile: Likewise.
30660         * sysdeps/gnu/Makefile: Likewise.
30661         * sysdeps/mach/hurd/Makefile: Likewise.
30662         * sysdeps/sparc/sparc32/Makefile: Likewise.
30664         [BZ #13118]
30665         * posix/Makefile (bug-regex32-ENV): Define.
30666         Patch by John Stanley <jpsinthemix@verizon.net>.
30668         * misc/Makefile (headers): Add bits/select2.h.
30669         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30670         * misc/bits/select2.h: New file.
30671         * include/bits/select2.h: New file.
30672         * debug/Makefile (routines): Add fdelt_chk.
30673         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30674         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30675         FD_ISSET.
30676         * debug/fdelt_chk.c: New file.
30678         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
30679         * wcsmbs/test-wmemcmp.c: Likewise.
30680         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30681         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30683 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30685         * string/Makefile (strop-tests): Add memcmp.
30686         * string/test-wmemcmp.c: New file.
30687         * string/test-memcmp.c: Add wmemcmp support.
30689 2011-09-08  Roland McGrath  <roland@hack.frob.com>
30691         [BZ #13153]
30692         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30693         2011-07-19 change.
30695         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30696         garbage value in a __mach_port_mod_refs call in the cases of the
30697         task-self and thread-self ports.
30699 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30701         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30703 2011-09-08  Andreas Schwab  <schwab@redhat.com>
30705         * elf/dl-load.c (lose): Check for non-null L.
30707 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30709         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30711         * elf/dl-libc.c (dlerror_run): Pass back error code from
30712         dl_catch_error.
30714         [BZ #13123]
30715         * elf/dl-load.c (lose): Free l_origin if it is valid.
30717         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30718         names.
30719         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30720         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30721         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30722         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30723         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30724         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30726 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30728         * sysdeps/powerpc/fpu/e_hypot.c: New file.
30729         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30730         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30731         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30732         * sysdeps/powerpc/fpu/k_cosf.c: New file.
30733         * sysdeps/powerpc/fpu/k_sinf.c: New file.
30734         * sysdeps/powerpc/fpu/s_cosf.c: New file.
30735         * sysdeps/powerpc/fpu/s_sinf.c: New file.
30736         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30737         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30739 2011-08-15  Alan Modra  <amodra@gmail.com>
30741         [BZ #13092]
30742         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30743         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30744         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
30745         ppc_mcount to static-only-routines.
30746         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30747         __mcount_internal.
30748         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30749         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
30751 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
30753         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30754         for finite and infinity parameters.
30756 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30758         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30759         and add nop instructions for throughput optimization.
30760         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30762 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
30764         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30765         aligned copy for power7 with vector-scalar instructions.
30766         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30768 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
30770         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30771         AVX check.
30773 2011-09-07  Andreas Schwab  <schwab@redhat.com>
30775         [BZ #13144]
30776         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30777         last change.
30779 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30781         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30782         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30783         syscall wrapper around clock_gettime in __vdso_clock_gettime.
30784         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30785         clock_gettime.
30787 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30789         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30790         Forgot to demangle the pointer.
30792         * sysdeps/i386/sysdep.h: Define atom_text_section.
30793         * sysdeps/x86_64/sysdep.h: Likewise.
30794         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30795         section with atom_text_section.
30796         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30797         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30798         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30799         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30800         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30802         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30803         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30804         already be defined.  Change to take two parameters and don't assign
30805         result to variable.  Adjust all users.
30806         Define INTERNAL_GETTIME if not already defined.
30807         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30808         call.
30809         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30810         HAVE_CLOCK_GETTIME_VSYSCALL.
30811         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30813         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30814         gettimeofday vsyscall, just use time.
30816 2011-09-06  Andreas Schwab  <schwab@redhat.com>
30818         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30819         <errno.h>.
30821 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30823         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30824         syscall on x86-64.
30825         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30826         syscall.
30827         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30828         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30829         syscall if possible.
30831 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30833         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30834         e_ident.  Don't pass to find_mapsXX.
30835         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30837 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30839         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30840         strchr-sse2-no-bsf strrchr-sse2-no-bsf
30841         * sysdeps/x86_64/multiarch/strchr.S: Update.
30842         Check bit_slow_BSF bit.
30843         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30844         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30845         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30847 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30849         [BZ #13134]
30850         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30851         before glibc 2.15.
30852         (tryshell): Define.
30853         (__spawni): Change last parameter to be flag.  Test
30854         SPAWN_XFLAGS_USE_PATH flag to use path or not.
30855         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30856         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30857         * posix/spawni.c: Likewise.
30858         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30859         * posix/spawnp.c: Likewise.  Change normal version to use
30860         SPAWN_XFLAGS_USE_PATH.
30861         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30862         SPAWN_XFLAGS_TRY_SHELL.
30864         [BZ #13150]
30865         * posix/glob.h: Remove gcc 1.x support.
30867         [BZ #13068]
30868         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30870 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30872         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30873         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30874         strrchr-sse2-bsf
30875         * sysdeps/i386/i686/multiarch/strchr.S: New file.
30876         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30877         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30878         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30879         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30880         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30882 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30884         * sysdeps/x86_64/wcscmp.S: New file.
30886         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30887         wcscmp-c wcscmp-sse2
30888         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30889         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30890         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30891         * wcsmbs/wcscmp.c: Allow renaming.
30893 2011-09-05  David S. Miller  <davem@davemloft.net>
30895         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30896         stack slot, rather than the struct return pointer slot.
30897         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30898         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30900         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30902 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30904         * po/ja.po: Update from translation team.
30906         [BZ #13144]
30907         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30908         kernel in 64-bit binaries.
30910 2011-09-01  David S. Miller  <davem@davemloft.net>
30912         * elf/elf.h (HWCAP_SPARC_*): Move to..
30913         * sysdeps/sparc/sysdep.h: this new file and add new values.
30914         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30915         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30916         _DL_HWCAP_COUNT to 24.
30917         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30918         entries.
30919         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30920         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30921         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30922         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30923         instead of magic constants.
30924         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30926 2011-08-31  David S. Miller  <davem@davemloft.net>
30928         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30929         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30930         Reimplement to do errno handling inline.
30931         (SYSCALL_ERROR_HANDLER): New macro.
30932         (__SYSCALL_STRING): Do not do errno handling in asm.
30933         (__CLONE_SYSCALL_STRING): Delete.
30934         (__INTERNAL_SYSCALL_STRING): Delete.
30935         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30936         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30937         (PSEUDO): Reimplement to do errno handling inline.
30938         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30939         (SYSCALL_ERROR_HANDLER): New macro.
30940         (__SYSCALL_STRING): Do not do errno handling in asm.
30941         (__CLONE_SYSCALL_STRING): Delete.
30942         (__INTERNAL_SYSCALL_STRING): Delete.
30943         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30944         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30945         i386.
30946         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30947         (inline_syscall*): Add 'err' argument.
30948         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30949         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30950         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30951         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30953         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30954         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30956 2011-08-30  Andreas Schwab  <schwab@redhat.com>
30958         * elf/rtld.c (dl_main): Relocate objects in dependency order.
30960 2011-08-29  Jiri Olsa <jolsa@redhat.com>
30962         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30963         directive.
30965 2011-08-24  David S. Miller  <davem@davemloft.net>
30967         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30969 2011-08-24  Andreas Schwab  <schwab@redhat.com>
30971         * elf/Makefile: Add rules to build and run unload8 test.
30972         * elf/unload8.c: New file.
30973         * elf/unload8mod1.c: New file.
30974         * elf/unload8mod1x.c: New file.
30975         * elf/unload8mod2.c: New file.
30976         * elf/unload8mod3.c: New file.
30978         * elf/dl-close.c (_dl_close_worker): Reset private search list if
30979         it wasn't used.
30981 2011-08-23  David S. Miller  <davem@davemloft.net>
30983         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30984         subtract stack bias.
30985         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30986         %sp not %fp in calculations.
30987         (_JMPBUF_UNWINDS_ADJ): Likewise.
30989         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30990         (aio_suspend): Call it to force an exception region around the
30991         AIO_MISC_WAIT() invocation.
30993 2011-08-23  Andreas Schwab  <schwab@redhat.com>
30995         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30996         backslash.
30998 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
31000         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31001         protection macro.
31002         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31003         and <dl-machine.h>.
31004         (Elf64_FuncDesc): Remove.
31006 2011-08-22  David S. Miller  <davem@davemloft.net>
31008         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31009         sigaltstack check, add missing cfi directives.
31010         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31011         missing cfi directives, and sigaltstack handling.
31013 2011-08-16  Andreas Schwab  <schwab@redhat.com>
31015         [BZ #11724]
31016         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31017         object is seen twice.
31018         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31020         * elf/Makefile (distribute): Add tst-initorder2.c.
31021         (tests): Add tst-initorder2.
31022         (modules-names): Add tst-initorder2a tst-initorder2b
31023         tst-initorder2c tst-initorder2d.  Add rules to build them.
31024         ($(objpfx)tst-initorder2.out): New rule.
31025         * elf/tst-initorder2.c: New file.
31026         * elf/tst-initorder2.exp: New file.
31028 2011-08-22  Andreas Schwab  <schwab@redhat.com>
31030         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31032         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31033         dependencies back to end of function.
31035         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31036         $(elfobjdir)/ld.so.
31038 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
31040         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31041         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31042         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31043         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31044         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31045         of __vdso_gettimeofday.
31046         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31047         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
31048         attribute_hidden.
31049         (_libc_vdso_platform_setup): Remove initialization of
31050         __vdso_gettimeofday and __vdso_time.
31052 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31054         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31055         and fgetc_unlocked.
31056         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31057         getc_unlocked.
31059         * elf/dl-open.c (add_to_global): Report additions to the global scope
31060         for LD_DEBUG=scopes.
31061         (dl_open_worker): Also print scope of newly loaded dependencies.
31062         (_dl_show_scope): Indicate if there is no scope.
31064         [BZ #13114]
31065         * stdio-common/Makefile (tests): Add bug24.
31066         * stdio-common/bug24.c: New file.
31068 2011-08-19  Andreas Jaeger  <aj@suse.de>
31070         [BZ #13114]
31071         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31072         non-existant file when using close-on-exec mode.
31074 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31076         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31077         the very first instruction.
31079         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31080         the CFI state in the end.
31081         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31082         inclusion of dl-trampoline.h.
31083         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31085 2011-08-19  Andreas Schwab  <schwab@redhat.com>
31087         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31088         expectations for long double.
31090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31091         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31093 2011-08-14  David S. Miller  <davem@davemloft.net>
31095         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31096         artificual limit depends upon the system page size.
31098 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31100         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31101         * resolv/Makefile: Define CFLAGS-libresolv.
31103 2011-08-17  Andreas Schwab  <schwab@redhat.com>
31105         * nss/makedb.c (compute_tables): Make variables used in nested
31106         function static.
31108 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31110         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31111         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31112         if buffer was too small.
31114         * elf/pldd.c (main): Attach to all threads in the process.
31115         Rewrite /proc handling to use *at functions.
31117 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
31119         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31120         specifies first scope to show.
31121         (dl_open_worker): Update callers.  Move printing scope of new
31122         object to before the relocation.
31123         * elf/rtld.c (dl_main): Update _dl_show_scope call.
31124         * sysdeps/generic/ldsodefs.h: Update declaration.
31126         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31127         string for the scope number.
31129 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
31131         * nscd/servicescache.c (cache_addserv): Make sure written is always
31132         initialized.
31134 2011-08-14  Roland McGrath  <roland@hack.frob.com>
31136         * sysdeps/i386/i486/bits/atomic.h
31137         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31138         statement expression, so as to suppress "set but not used" warning.
31139         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31141         * string/strncat.c (STRNCAT): Use prototype definition.
31143         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31144         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31145         -Iprograms here.
31146         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31147         (localedef-modules): Add localedef.
31148         (locale-modules): Add locale.
31150         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31151         * elf/rtld.c (dl_main): Invert order of assignment in last change,
31152         to avoid a warning.
31154 2011-08-14  David S. Miller  <davem@davemloft.net>
31156         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31157         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31159 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
31161         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31162         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31163         * elf/rtld.c (dl_main): Set l_name of vDSO.
31164         Call _dl_show_scope when DL_DEBUG_SCOPES.
31165         (process_dl_debug): Recognize scopes flag and also set it for all.
31166         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31167         Declare _dl_show_scope.
31169         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31170         (do_dlopen): Pass caller_dlopen to dl_open.
31171         (__libc_dlopen_mode): Initialize caller_dlopen.
31173         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31174         of libc.  Make tolower call locale-independent.  Optimize a bit by
31175         using isdigit instead of isalnum.
31176         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31178 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
31180         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31181         was a dependency or dynamically loaded.
31183 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
31185         * intl/l10nflist.c: Allow architecture-specific pop function.
31186         * sysdeps/x86_64/l10nflist.c: New file.
31188         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31189         classification.
31191 2011-08-10  Andreas Schwab  <schwab@redhat.com>
31193         * include/dirent.h: Add libc_hidden_proto for scandirat and
31194         scandirat64.  Don't declare __scandirat64.
31195         * dirent/scandirat.c: Add libc_hidden_def.
31196         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31197         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31199 2011-08-10  David S. Miller  <davem@davemloft.net>
31201         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31202         enum.
31203         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31204         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31205         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31207 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
31209         * Versions.def [libc]: Add GLIBC_2.15.
31210         * dirent/Makefile (routines): Add scandirat and scandirat64.
31211         * dirent/Versions [libc]: Export scandirat and scandirat64 for
31212         GLIBC_2.15.
31213         * dirent/dirent.h: Declare scandirat and scandirat64.
31214         * dirent/scandirat.c: New file.
31215         * dirent/scandirat64.c: New file.
31216         * sysdeps/wordsize-64/scandirat.c: New file.
31217         * sysdeps/wordsize-64/scandirat64.c: New file.
31218         * dirent/opendir.c: Define opendirat.
31219         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
31220         using scandirat.
31221         * dirent/scandir64.c: Adjust for scandir.c change.
31222         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
31223         __scandirat64, and __scandir_cancel_handler.
31224         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
31225         additional parameter and use openat instead of open (outside of ld.so).
31226         Add new __opendir as wrapper around __opendirat.
31227         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31228         here without requiring old scandirat implementation.
31230 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
31232         * dirent/scandir.c (cancel_handler): Renamed to
31233         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
31234         defined.  Adjust users.
31235         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31236         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31238 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
31240         * string/test-string.h (IMPL): Use __STRING to expand name and then
31241         stringify it.
31243         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
31244         of cleanups.
31246 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31248         * string/Makefile: Update.
31249         (strop-tests): Append strncat.
31250         * string/test-wcscmp.c: New file.
31251         New comprehensive test for wcscmp.
31252         * string/test-strcmp.c: Update.
31253         (WIDE): New define.
31255 2011-07-22  Andreas Schwab  <schwab@redhat.com>
31257         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31258         line.
31260 2011-07-26  Andreas Schwab  <schwab@redhat.com>
31262         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31263         encoding to ACE if AI_IDN.
31265 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
31267         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31268         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31270 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31272         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31273         Fix overflow bug in strncat.
31274         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31276         * string/test-strncat.c: Update.
31277         Add new tests for checking overflow bugs.
31279 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31281         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31282         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31283         * sysdeps/i386/i686/multiarch/strcat.S: New file.
31284         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31285         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31286         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31287         * sysdeps/i386/i686/multiarch/strncat.S: New file.
31288         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31289         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31291         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31292         (USE_AS_STRCAT): Define.
31293         Add strcat and strncat support.
31294         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31296 2011-07-25  Andreas Schwab  <schwab@redhat.com>
31298         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31299         __n bigger than INT_MAX+1.
31300         (__strncmp_g): Likewise.
31302 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
31304         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31305         * libio/stido.h: Likewise.
31307         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31308         (AF_NFC): Define.
31309         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31310         (AF_NFC): Define.
31312         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31313         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31314         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31315         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31316         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31318         [BZ #13021]
31319         * scripts/test-installation.pl: Don't expect libnss_test1 to be
31320         installed.
31322         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31323         typo.
31324         (_dl_x86_64_save_sse): Likewise.
31326 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
31328         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31329         OSXSAVE.
31330         (_dl_x86_64_save_sse): Likewise.
31332         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31334         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31336 2011-07-21  Andreas Schwab  <schwab@redhat.com>
31338         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31339         change.
31340         (_dl_x86_64_save_sse): Use correct AVX check.
31342 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31344         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31345         bug in strncpy/strncat.
31346         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31348 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
31350         * string/tester.c (test_strcat): Add tests for different alignments
31351         of source and destination.
31352         (test_strncat): Likewise.
31354 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31356         [BZ #12852]
31357         * posix/glob.c (glob): Check passed in values before using them in
31358         expressions to avoid some overflows.
31359         (glob_in_dir): Likewise.
31361         [BZ #13007]
31362         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31363         check for AVX enablement so that we don't crash with old kernels and
31364         new hardware.
31365         * elf/tst-audit4.c: Add same checks here.
31366         * elf/tst-audit6.c: Likewise.
31368         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31370 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
31372         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31374 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31376         * po/cs.po: Update from translation team.
31377         * po/bg.po: Likewise.
31379 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
31381         * misc/sys/cdefs.h: Add support for const attribute.
31382         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31383         to gnu_dev_{major,minor,makedev} functions.
31385 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
31387         * intl/dcigettext.c (get_output_charset): Add missing bracket.
31389 2011-07-20  Andreas Schwab  <schwab@redhat.com>
31391         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31392         strlen results.
31394 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31396         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31397         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31398         register in order to avoid conflicts with the soft frame pointer
31399         being held in r11 when necessary.
31400         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31401         (INTERNAL_VSYSCALL_NCS): Likewise.
31403 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
31405         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31406         * elf/dl-fini.c (_dl_fini): Adjust caller.
31407         * elf/dl-close.c (_dl_close_worker): Likewise.
31408         * sysdeps/generic/ldsodefs.h: Adjust declaration.
31410 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31412         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31413         "aux_cache->nlibs < 0".
31415         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31416         in the reload-count case.
31418 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31420         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31421         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31422         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31423         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31424         * sysdeps/x86_64/multiarch/strcat.S: New file.
31425         * sysdeps/x86_64/multiarch/strncat.S: New file.
31426         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31427         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31428         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31429         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31430         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31431         (USE_AS_STRCAT): Define.
31432         Add strcat and strncat support.
31433         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31434         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31435         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31436         * string/strncat.c: Update.
31437         (USE_AS_STRNCAT): Define.
31438         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31439         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31440         and i7.
31441         * sysdeps/x86_64/multiarch/init-arch.h
31442         (bit_Prefer_PMINUB_for_stringop): New.
31443         (index_Prefer_PMINUB_for_stringop): Likewise.
31444         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31445         bit_Prefer_PMINUB_for_stringop.
31447 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31449         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31450         buffer64.
31451         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31452         of casting of buffer.
31453         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31454         buffer32 and buffer64.
31455         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31456         writes instead of casting of buffer.
31457         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31458         buffer32.
31459         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31460         casting of buffer.
31462 2011-07-19  Andreas Schwab  <schwab@redhat.com>
31464         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31466 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31468         * nscd/nscd.c (termination_handler): Don't do anything for a database
31469         if it has not yet been initialized.
31471 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31473         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31475 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31477         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31479 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31481         * po/nl.po: Update from translation team.
31482         * po/sv.po: Likewise.
31484 2011-07-16  Roland McGrath  <roland@hack.frob.com>
31486         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31487         now disallowed by GCC.
31489         * configure.in (use-default-link): Default to yes if a test -shared
31490         link meets our qualifications.
31491         * configure: Regenerated.
31493         * config.make.in (output-format): New variable.
31494         * configure.in: Check for ld --print-output-format support.
31495         * configure: Regenerated.
31496         * Makerules ($(common-objpfx)format.lds)
31497         [$(output-format) != unknown]: Just use $(output-format),
31498         instead of the linker-script munging.
31500 2011-07-14  Roland McGrath  <roland@hack.frob.com>
31502         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31503         of $(common-objpfx)shlib.lds.
31504         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31506         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31507         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31509         * configure.in (-z relro check): Adjust test code to add a large
31510         writable data section after it.
31511         * configure: Regenerated.
31513 2011-07-11  Roland McGrath  <roland@hack.frob.com>
31515         * configure.in (-z relro check): Fix test code to make the variable
31516         truly const.
31517         * configure: Regenerated.
31519 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
31521         * nscd/nscd.h (struct traced_file): Define.
31522         (struct database_dyn): Remove inotify_descr, reset_res, and filename
31523         elements.  Add traced_files.
31524         (inotify_fd): Declare.
31525         (register_traced_file): Declare.
31526         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31527         (inotify_fd): Export.
31528         (resolv_conf_descr): Remove.
31529         (nscd_init): Move inotify descriptor creation to main.
31530         Don't register files for notification here.
31531         (register_traced_file): New function.
31532         (invalidate_cache): Don't use reset_res to determine whether to call
31533         res_init, go through the list of registered files.
31534         (main_loop_poll): The inotify descriptors are now stored in the
31535         structures for the traced files.
31536         (main_loop_epoll): Likewise
31537         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
31538         to __nss_disable_nscd.
31539         * nscd/cache.c (prune_cache): There is no single inotify descriptor
31540         for a database anymore.  Check the records for all the registered
31541         files instead.
31542         * nss/Makefile (libnss_files-routines): Add files-init.
31543         (libnss_db-routines): Add db-init.
31544         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31545         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31546         * nss/nss_db/db-init.c: New file.
31547         * nss/nss_files/files-init.c: New file.
31548         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
31549         __nss_lookup_function.
31550         (__nss_lookup_function): Call nss_load_library.
31551         (nss_load_all_libraries): New function.
31552         (__nss_disable_nscd): Take parameter with callback function for files
31553         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
31554         used for the cached services.
31555         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31556         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31557         options for features to all the files in nscd.
31559         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31561 2011-07-10  Roland McGrath  <roland@hack.frob.com>
31563         * csu/elf-init.c (__libc_csu_init): Comment typo.
31565 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
31567         * po/pl.po: Update from translation team.
31568         * po/ja.po: Likewise.
31569         * po/ru.po: Likewise.
31570         * po/ko.po: Likewise.
31571         * po/fr.po: Likewise.
31573 2011-07-09  Roland McGrath  <roland@hack.frob.com>
31575         * configure.in (.ctors/.dtors header and trailer check):
31576         Use an empirical test on a built program.
31577         * configure: Regenerated.
31579         * configure.in (-z relro check): Use an empirical test on a built DSO.
31580         Detect, but do not require, on ia64.
31581         * configure: Regenerated.
31583         * configure.in (READELF): Find it with AC_CHECK_TOOL.
31584         Update tests that use readelf to use $READELF instead.
31585         * configure: Regenerated.
31587 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
31589         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31590         if the result is not used.
31592 2011-07-05  Andreas Jaeger  <aj@suse.de>
31594         [BZ#9696]
31595         * stdlib/tst-strtod.c: Add testcase.
31597 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
31599         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31600         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31601         The latter has a higher limit.  Take additional parameter to pass to
31602         the new function.
31603         (__pathconf): Pass file to __statfs_link_max.
31604         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31605         __statfs_link_max.
31606         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31607         __statfs_link_max.
31609         [BZ #12868]
31610         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31611         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31612         Handle Lustre.
31613         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31614         (__statfs_filesize_max): Likewise.
31615         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31617 2011-07-05  Andreas Jaeger  <aj@suse.de>
31619         * resolv/res_comp.c (dn_skipname): Remove unused variable.
31621 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
31623         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31624         `status' variable.
31625         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31626         Likewise.
31628 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
31630         * Makefile (strop-tests): Add strncat.
31631         * string/test-strncat.c: New file.
31633 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
31635         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31637 2011-06-21  Andreas Jaeger  <aj@suse.de>
31639         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31640         Copy rule from iconvdata/Makefile.
31642 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31644         [BZ #12922]
31645         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31646         but no long options are defined, just return 'W'.
31648 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
31650         [BZ #9696]
31651         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31653 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31655         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31656         netgroups to read.
31657         (innetgr): Likewise.
31659 2011-07-05  Roland McGrath  <roland@hack.frob.com>
31661         * config.make.in (install_root): Default to $(DESTDIR).
31663 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
31665         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31667 2011-07-02  Roland McGrath  <roland@hack.frob.com>
31669         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31671         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31672         containing directory rather than embedding absolute directory names.
31674         * scripts/check-local-headers.sh: Rewritten using awk.
31675         Match by word, not by line.  Print error messages for matches.
31676         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31678         * Makerules [shlib-lds-flags empty]:
31679         ($(common-objpfx)libc_pic.opts): New target.
31680         ($(common-objpfx)libc_pic.os.clean): New target.
31681         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31683         * config.make.in (OBJCOPY): New variable.
31684         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31685         * configure: Regenerated.
31687         * config.make.in (use-default-link): New variable.
31688         * configure.in (use_default_link): Grok --with-default-link to set it.
31689         * configure: Regenerated.
31690         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31691         (shlib-lds, shlib-lds-flags): Define to empty.
31693         * Makerules (shlib-lds): New variable.
31694         (shlib-lds-flags): New variable.
31695         (build-shlib, build-moduile, build-module-asneeded): Use it.
31696         ($(common-objpfx)libc.so): Use $(shlib-lds).
31697         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31698         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31700         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31701         DT_FLAGS/DT_FLAGS_1 with zero flags.
31703         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31704         linker script munging.
31706 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
31708         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31709         as 128-bit value.
31710         * crypt/sha512.c (sha512_process_block): Perform total addition using
31711         128-bit if possible.
31712         (__sha512_finish_ctx): Likewise.
31713         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31714         as 64-bit value.
31715         * crypt/sha256.c (SWAP64): Define.
31716         (sha256_process_block): Perform total addition using 64-bit if
31717         possible.
31718         (__sha256_finish_ctx): Likewise.
31720 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
31722         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
31723         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31724         * nscd/hstcache.c (cache_addhst): Likewise.
31725         * nscd/grpcache.c (cache_addgr): Likewise.
31726         * nscd/aicache.c (addhstaiX): Likewise
31727         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31729 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
31731         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31732         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31733         * nscd/hstcache.c (cache_addhst): Likewise.
31734         * nscd/grpcache.c (cache_addgr): Likewise.
31735         * nscd/aicache.c (addhstaiX): Likewise
31737 2011-07-01  Andreas Schwab  <schwab@redhat.com>
31739         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31740         domain only when needed.
31742 2011-06-30  Andreas Schwab  <schwab@redhat.com>
31744         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31745         is always restored.
31747 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
31749         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31750         are re-adding the entry.
31751         * nscd/servicescache.c (cache_addserv): Likewise.
31753 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
31755         * sysdeps/generic/dl-irel.h: fix protection against multiple
31756         inclusions.
31757         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31759 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
31761         [BZ #12935]
31762         * malloc/memusage.sh: Fix quoting in message.
31763         * debug/xtrace.sh: Likewise.
31765         * configure.in: Remove support for --experimental-malloc option, make
31766         it the default.
31767         * config.make.in: Likewise.
31768         * malloc/Makefile: Likewise.
31770 2011-06-27  Andreas Schwab  <schwab@redhat.com>
31772         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31773         two-byte characters.
31775 2011-06-27  Roland McGrath  <roland@hack.frob.com>
31777         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31778         AC_CACHE_CHECK invocation.
31779         * configure: Regenerated.
31781         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31783 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
31785         [BZ #12350]
31786         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
31787         bit from old_res_options.
31789         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31791         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31792         value type for setfct.
31794 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
31796         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31797         __gettimeofday instead of gettimeofday.
31799 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
31801         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31803 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31805         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31807         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31808         info.
31810 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31813         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31814         strcpy-sse2-unaligned strncpy-sse2-unaligned
31815         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31816         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31817         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31818         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31819         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31820         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31821         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31822         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31823         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31824         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31825         (STRCPY): Support SSE2 and SSSE3 versions.
31827 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
31829         [BZ #12874]
31830         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31831         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31832         kernels which artificially limit size of requests.
31834 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31836         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31837         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31838         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31839         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31840         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31841         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31842         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31843         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31844         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31845         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31846         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31847         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31848         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31849         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31850         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31851         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31852         Enable unaligned load optimization for Intel Core i3, i5 and i7
31853         processors.
31854         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31855         Define.
31856         (index_Fast_Unaligned_Load): Define.
31857         (HAS_FAST_UNALIGNED_LOAD): Define.
31859 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
31861         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31863 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31865         [BZ #12907]
31866         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31867         until it is clear that the information is realy needed.
31868         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31870 2011-06-22  Andreas Schwab  <schwab@redhat.com>
31872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31874 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31876         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31877         /sys/devices/system/cpu/online if it is usable.
31879         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31880         reading the information from the /proc filesystem to once a second.
31882 2011-06-21  Andreas Jaeger  <aj@suse.de>
31884         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31885         NULL after inclusion of kernel headers.
31887 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
31889         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31890         calls to internal_setent.
31892         [BZ #12885]
31893         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31894         addresses using gethostbyname4_r ignore IPv4 addresses.
31896         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31897         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
31899         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31901 2011-06-20  David S. Miller  <davem@davemloft.net>
31903         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31904         inclusions.
31905         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31907         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31908         (elf_irel): Use it.
31909         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31910         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31911         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31912         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31913         * sysdeps/x86_64/dl-irel.h: Likewise.
31915         * elf/dl-runtime.c: Use elf_ifunc_invoke.
31916         * elf/dl-sym.c: Likewise.
31918 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31920         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
31921         need to dereference resplen2.
31923 2011-06-14  Andreas Schwab  <schwab@redhat.com>
31925         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31927 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31929         * Makeconfig: Define vardbdir and inst_vardbdir.
31930         * nss/Makefile: Add rules to install db-Makefile.
31932         * nss/nss_db/db-XXX.c: Cleanup.
31934         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31935         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31936         GLIBC_PRIVATE.
31937         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31938         * nss/makedb.c: Implement -g option to specify that value strings
31939         are generated and should not be added to table iterated over for
31940         get*ent calls.
31941         * nss/nss_db/db-initgroups.c: New file.
31943         * nss/getent.c: Add support for initgroups lookups through getgrouplist
31944         interface.
31946         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31947         (internal_getgrouplist): Adjust to name change.
31948         Update use_initgroups_entry if this is not the first call.
31949         * nss/databases.def: Add initgroups entry.
31951         * nss/makedb.c (compute_tables): Check result of multiple hash table
31952         sizes to minimize maximum chain length.
31954 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
31956         * Versions.def: Add entry for libnss_db.
31957         * shlib-versions: Likewise.
31958         * nss/Makefile: Add rules to build libnss_db.
31959         * nss/Versions: Add libnss_db information.  Organize libnss_files
31960         entries better.
31961         * nss/db-Makefile: Add gshadow support.  Change rules for the new
31962         makedb progra.  Some minor improvements to generate smaller files.
31963         * nss/nss_db/nss_db.h: Move NSS database header data structures to
31964         here from...
31965         * nss/makedb.c: ...here.
31966         Improve database format to be smaller and require less memory at
31967         runtime.
31968         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
31969         db anymore.
31970         * nss/nss_db/db-netgrp.c: Likewise.
31971         * nss/nss_db/db-open.c: Likewise.
31972         * nss/nss_files/flies-XXX.x: Adjust comments.
31973         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31974         * nss/nss_files/files-grp.c: Likewise.
31975         * nss/nss_files/files-hosts.c: Likewise.
31976         * nss/nss_files/files-network.c: Likewise.
31977         * nss/nss_files/files-proto.c: Likewise.
31978         * nss/nss_files/files-pwd.c: Likewise.
31979         * nss/nss_files/files-rpc.c: Likewise.
31980         * nss/nss_files/files-service.c: Likewise.
31981         * nss/nss_files/files-sgrp.c: Likewise.
31982         * nss/nss_files/files-spwd.c: Likewise.
31983         * nss/nss_db/db-alias.c: Removed.
31984         * nss/nss_db/dummy-db.h: Removed.
31986 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
31988         * nss/makedb.c: Rewritten to not use database library.
31989         * nss/Makefile: Update to build new makedb program.
31991 2011-06-14  Andreas Jaeger  <aj@suse.de>
31993         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31994         memset declaration.
31996 2011-06-10  Andreas Schwab  <schwab@redhat.com>
31998         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31999         tmpbuf.
32001 2011-06-10  Roland McGrath  <roland@hack.frob.com>
32003         * Makerules (shlib.lds): Fail if the linker script comes out empty.
32004         * elf/Makefile ($(objpfx)ld.so): Likewise.
32006         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32007         Don't list ld.so twice in dependencies.
32009         * posix/bug-regex31.c: Include <stdlib.h>.
32011         * nscd/hstcache.c (cache_addhst): Remove unused variable.
32013         * nis/nss_compat/compat-spwd.c
32014         (getspent_next_nss_netgr): Remove unused variable.
32015         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32017         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32018         nonmembers" output to use the right array.
32020         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32022         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32024         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32025         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32026         * catgets/gencat.c (read_input_file): Likewise.
32027         * locale/programs/locarchive.c (enlarge_archive): Likewise.
32029         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32030         variable definition inside #if's controlling its use.
32032         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32034         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32036         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32038         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32039         unreachable code.
32041         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32043         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32044         * configure: Regenerated.
32046         * Makerules: Revert last change.
32047         * elf/Makefile: Likewise.
32049 2011-06-09  Roland McGrath  <roland@hack.frob.com>
32051         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32052         * elf/Makefile ($(objpfx)librtld.os): Likewise.
32053         (reloc-link): Likewise.
32055 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
32057         * elf/Makefile: Add rules to build pldd.
32058         * elf/pldd.c: New file.
32059         * elf/pldd-xx.c: New file.
32061 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
32063         * version.h: Update for 2.15 development version.
32065 2011-06-07  David S. Miller  <davem@davemloft.net>
32067         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32068         ifuncs.
32069         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32070         elf_machine_lazy_rel): Likewise.
32071         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32072         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32073         elf_machine_lazy_rel): Likewise.
32074         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32075         dl_hwcap via passed in argument.
32076         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32077         Likewise.
32079 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32081         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
32083 2011-06-06  Roland McGrath  <roland@hack.frob.com>
32085         [BZ #12849]
32086         * manual/fdl-1.1.texi: New file, verbatim from:
32087         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32088         * manual/lgpl-2.1.texi: New file, verbatim from:
32089         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32090         * manual/Makefile (licenses): New variable, list those new file names.
32091         (texis): Use it.
32092         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32094         * manual/fdl.texi: File removed.
32095         * manual/lesser.texi: File removed.
32096         * manual/libc.texinfo (Copying, Documentation License):
32097         Use new @include file names, put @appendix directive before @include.
32099 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
32101         [BZ #12841]
32102         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32103         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32104         (mq_open): Add __NTH.
32106 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
32108         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32109         Assume Intel Core i3/i5/i7 processor if AVX is available.
32111 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32113         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32114         typo.
32116 2011-05-31  Andreas Schwab  <schwab@redhat.com>
32118         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32119         memory.  Use alloca_account.  Fix memory leak when retrying.
32121 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32123         * version.h (RELEASE): Bump for 2.14 release.
32124         * include/features.h (__GLIBC_MINOR__): Bump to 14.
32126         * config.make.in (RANLIB): Remove entry.
32128 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
32130         * po/Makefile (po-sed-cmd): Add ksh to extensions.
32131         (libc.pot): Work around missing support for .ksh extension in xgettext.
32133         [BZ #12684]
32134         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32135         if both request failed.
32136         (send_dg): In case of server errors clear resplen or *resplen2.
32138         [BZ #12454]
32139         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32140         when there are multiple maps.
32141         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32142         (_dl_fini): Remove test here.
32144         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32146 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
32148         [BZ #12350]
32149         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32150         bit from old_res_options.
32151         (gaih_inet): Likewise.
32153         [BZ #11099]
32154         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32155         as signed.
32157         * resolv/res_init.c (res_setoptions): Make the code more compact.
32159         [BZ #11558]
32160         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32161         set RES_USEVC.
32163         [BZ #11634]
32164         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32166         * malloc/malloc.h: Mark malloc hook variables as deprecated.
32168         [BZ #11781]
32169         * malloc/malloc.h: Declare malloc hook variables as volatile.
32171         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32172         in last patch.
32174         [BZ #11799]
32175         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32176         raise in the comment.
32177         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32178         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32179         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32181 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
32183         [BZ #12811]
32184         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32185         grow the buffers more if it already has to be sufficient.
32186         (build_wcs_upper_buffer): Likewise.
32187         * posix/regexec.c (check_matching): Likewise.
32188         (clean_state_log_if_needed): Likewise.
32189         (extend_buffers): Don't enlarge buffers beyond size of the input
32190         buffer.
32191         Patches mostly by Emil Wojak <emil@wojak.eu>.
32192         * posix/bug-regex32.c: New file.
32193         * posix/Makefile (tests): Add bug-regex32.
32195         * locale/findlocale.c (_nl_find_locale): Return right away if
32196         _nl_explode_name failed.
32197         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32199         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32201         * debug/xtrace.sh: Unify messages.
32202         * malloc/memusage.sh: Likewise.
32204         [BZ #12813]
32205         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32206         time symbol from vDSO.  Substitute with vsyscall if not available.
32207         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32208         __vdso_time.
32210         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32211         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32212         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32213         Add sendmmsg and internal_sendmmsg.
32214         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32215         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32216         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32218         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32219         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32220         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32222 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
32224         [BZ #12813]
32225         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32226         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
32227         available.
32228         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32229         __vdso_getcpu.
32231         [BZ #12814]
32232         * iconvdata/Makefile (tests): Add bug-iconv9.
32233         * iconvdata/bug-iconv9.c: New file.
32235 2011-05-27  Andreas Schwab  <schwab@redhat.com>
32237         [BZ #12814]
32238         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32240 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
32242         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32243         (struct user_regs_struct): Change intcs field back to cs.
32245 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
32247         * po/ja.po: Update from translation team.
32249 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
32251         [BZ #12795]
32252         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32253         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32255 2011-05-20  Andreas Schwab  <schwab@redhat.com>
32257         * stdlib/longlong.h: Update from GCC.
32259 2011-05-23  Andreas Schwab  <schwab@redhat.com>
32261         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32262         parameter name.
32263         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32264         Add parameter name.
32265         (__sysconf): Pass it down.
32267 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
32269         [BZ #12671]
32270         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32271         some situations.
32272         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32273         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32274         add in in __libc_use_alloca calls.  Adjust callers.
32275         (glob): Use malloc in some situations.
32277         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32278         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32279         pltexit.
32281 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
32283         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32284         and CLOCK_BOOTTIME_ALARM.
32286         [BZ #12782]
32287         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32288         is returned.
32290         * string/_strerror.c (__strerror_r): Print negative errors as signed
32291         numbers.
32293         [BZ #12777]
32294         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32295         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32296         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32298         * configure.in: Fix typo in redirection and correct removal of test
32299         files in two cases.
32301         [BZ #12788]
32302         * locale/setlocale.c (new_composite_name): Fix test to check for
32303         identical name of all categories.
32305         [BZ #12792]
32306         * libio/filedoalloc.c (local_isatty): New function.
32307         (_IO_file_doallocate): Use local_isatty.
32308         * stdio-common/perror.c (perror): In case a new stream is used
32309         forward the stream error.
32310         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32311         error flag.
32313 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
32315         [BZ #11869]
32316         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32317         alloca.
32318         * include/alloca.h (extend_alloca_account): Define.
32320         [BZ #11857]
32321         * posix/regex.h: Fix comments with documentation of user-accessible
32322         fields after compilation and describe correct free'ing of pattern
32323         after re_compile_pattern.
32324         Patch by Reuben Thomas <rrt@sc3d.org>.
32326 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
32328         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32329         and -mno-altivec to prevent the compiler from using Altivec and/or
32330         VSX instructions when the corresponding registers are not available.
32332 2011-05-19  Andreas Schwab  <schwab@redhat.com>
32334         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32336 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
32338         * libio/freopen.c (freopen): Use __dup2, not dup2.
32339         * libio/freopen64.c (freopen64): Likewise.
32341 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32343         [BZ #12775]
32344         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32345         * math/Makefile (tests): Add test-powl.
32346         (CFLAGS-test-powl.c): Define.
32347         * math/test-powl.c: New file.
32349 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32351         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32353 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
32355         [BZ #11837]
32356         * iconvdata/gb18030.c: Update to GB18020-2005.
32358 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
32360         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32361         RE_SYNTAX_POSIX_AWK): Update to match recent development.
32362         Patch by Aharon Robbins <arnold@skeeve.com>.
32364         [BZ #11892]
32365         * stdlib/putenv.c (putenv): Don't always create copy of the variable
32366         on the stack.
32368         [BZ #11895]
32369         * misc/pselect.c (__pselect): Handle timeout value errors hidden
32370         through underflows.
32372         [BZ #12766]
32373         * misc/error.c (error_at_line): Ensure file_name and old_file_name
32374         point to strings before performing equality test for error_one_per_line
32375         mode.
32377         [BZ #11697]
32378         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32380         [BZ #11820]
32381         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32382         (struct user_fpregs_struct): Avoid __uint*_t types.
32384         [BZ #6420]
32385         * malloc/mtrace.c (tr_where): Add additional parameter to point to
32386         symbol info.  Use it instead of calling _dl_addr locally.
32387         (lock_and_info): New function.
32388         (tr_freehook): Call lock_and_info and pass symbol info as additional
32389         parameter to tr_where.
32390         (tr_mallochook): Likewise.
32391         (tr_reallochook): Likewise.
32392         (tr_memalignhook): Likewise.
32394         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
32395         used and couldn't be at all thread-safe.
32397 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
32399         * libio/freopen.c (freopen): Don't close old file descriptor
32400         before the new one is opened.  Instead dup the new file descriptor
32401         to the old one after the new stream is created.
32402         * libio/freopen64.c (freopen64): Likewise.
32403         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32404         * libio/fileops.c (_IO_new_file_close_it): Handle new
32405         _IO_FLAGS2_NOCLOSE flag.
32406         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32407         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32408         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32409         _IO_FLAGS2_NOCLOSE flag.
32410         * include/unistd.h: Add hidden_proto for dup3.
32411         Define __have_dup3.
32412         * io/dup3.c: Define hidden symbol.
32413         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32415         [BZ #7101]
32416         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32417         when an incomplete long option is used.
32418         * posix/tst-getopt_long1.c: New file.
32419         * posix/Makefile (tests): Add tst-getopt_long1.
32421         [BZ #10138]
32422         * scripts/config.guess: Update from autoconf-2.68.
32423         * scripts/config.sub: Likewise.
32425         [BZ #10157]
32426         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32427         tests into ...
32428         (has_cpuclock): ...this.  New function.
32429         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32430         macro here based on has_cpuclock code.
32432         [BZ #10149]
32433         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32434         First byte (not low byte) is now always NUL.
32435         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32437         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32438         Use non-cancelable interfaces.
32440         [BZ #9809]
32441         * locale/iso-639.def: Add entry for Sorani.
32443         [BZ #11901]
32444         * include/stdlib.h: Move include protection to the right place.
32445         Define abort_msg_s.  Declare __abort_msg with it.
32446         * stdlib/abort.c (__abort_msg): Adjust type.
32447         * assert/assert.c (__assert_fail_base): New function.  Majority
32448         of code from __assert_fail.  Allocate memory for __abort_msg with
32449         mmap.
32450         (__assert_fail): Now call __assert_fail_base.
32451         * assert/assert-perr.c: Remove bulk of implementation.  Use
32452         __assert_fail_base.
32453         * include/assert.hL Declare __assert_fail_base.
32454         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32455         mmap.
32456         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32458 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
32460         [BZ #11952]
32461         [BZ #12453]
32462         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32463         until all modules are registered in the DTV.
32464         * elf/Makefile: Add rules to build and run tst-tls19.
32465         * elf/tst-tls19.c: New file.
32466         * elf/tst-tls19mod1.c: New file.
32467         * elf/tst-tls19mod2.c: New file.
32468         * elf/tst-tls19mod3.c: New file.
32469         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32471         [BZ #12083]
32472         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32473         correctly.
32475         [BZ #12601]
32476         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32477         two-byte sequence errors.
32478         * iconvdata/Makefile (tests): Add bug-iconv8.
32479         * iconvdata/bug-iconv8.c: New file.
32481         [BZ #12626]
32482         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32483         buf2 definition.
32485         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32487         [BZ #12432]
32488         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32489         (dummy_getcfa): New function.
32490         (init): Get _Unwind_GetCFA address, use dummy if not found.
32491         (backtrace_helper): In recursion check, also check whether CFA changes.
32492         (__backtrace): Completely initialize arg.
32494         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32495         storing incomplete byte sequence in state object.  Avoid testing for
32496         guaranteed too small input if we know there is enough data available.
32498 2011-05-11  Andreas Schwab  <schwab@redhat.com>
32500         * Makeconfig (+link-pie): Indent.
32501         * Rules (binaries-pie): Define if $(have-fpie) and
32502         $(build-shared).
32503         (binaries-shared): Also filter out $(binaries-pie).
32504         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32505         * nscd/Makefile (others-pie): Add nscd.
32506         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32507         ($(objpfx)nscd): Remove command override.
32508         * login/Makefile (others-pie): Add pt_chown.
32509         ($(objpfx)pt_chown): Remove command override.
32510         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32511         remove command overrides.
32513 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
32515         * libio/tst_putwc.c: Fix error messages.
32517         [BZ #12724]
32518         * libio/fileops.c (_IO_new_file_close_it): Always flush when
32519         currently writing and seek to current position when not.
32520         * libio/Makefile (tests): Add bug-fclose1.
32521         * libio/bug-fclose1.c: New file.
32523 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
32525         [BZ #12511]
32526         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32527         don't set DF_1_NODELETE here.
32528         (do_lookup_x): When entering new entry test for copy relocation
32529         and if necessary set DF_1_NODELETE flag.
32530         * elf/tst-unique4.cc: New file.
32531         * elf/tst-unique4.h: New file.
32532         * elf/tst-unique4lib.cc: New file.
32533         * elf/Makefile: Add rules to build and run tst-unique4.
32534         Patch by Piotr Bury <pbury@goahead.com>.
32536 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
32538         [BZ #12052]
32539         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32541         [BZ #12625]
32542         * misc/mntent_r.c (addmntent): Flush the stream after the output
32544         [BZ #12393]
32545         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32546         (is_trusted_path_normalize): Skip initial colon.  Append slash
32547         to empty buffer.  Duplicate is_trusted_path code but allow
32548         constructed patch to be prefix.
32549         (is_dst): Allow $ORIGIN followed by /.
32550         (_dl_dst_substitute): Correct clearing of check_for_trusted.
32551         Correct testing of result of is_trusted_path_normalize
32552         (decompose_rpath): Fix warning.
32554 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
32556         [BZ #11257]
32557         * grp/initgroups.c (internal_getgrouplist): When we found the service
32558         list through the initgroups entry in nsswitch.conf do not always
32559         continue on a successful lookup.  Don't always use the
32560         __nss_group_database value if it is set.
32561         * nss/nsswitch.conf (initgroups): Change action for successful db
32562         lookup to continue for compatibility.
32564 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
32566         [BZ #11532]
32567         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32568         and CP774 modules.
32569         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32570         and CP774 modules.
32571         * iconvdata/tst-tables.sh: Likewise.
32572         * iconvdata/cp770.c: New file.
32573         * iconvdata/cp771.c: New file.
32574         * iconvdata/cp772.c: New file.
32575         * iconvdata/cp773.c: New file.
32576         * iconvdata/cp774.c: New file.
32577         * iconvdata/testdata/CP770: New file.
32578         * iconvdata/testdata/CP770..UTF8: New file.
32579         * iconvdata/testdata/CP771: New file.
32580         * iconvdata/testdata/CP771..UTF8: New file.
32581         * iconvdata/testdata/CP772: New file.
32582         * iconvdata/testdata/CP772..UTF8: New file.
32583         * iconvdata/testdata/CP773: New file.
32584         * iconvdata/testdata/CP773..UTF8: New file.
32585         * iconvdata/testdata/CP774: New file.
32586         * iconvdata/testdata/CP774..UTF8: New file.
32588         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32589         END CHARMAP line.
32590         * iconvdata/gen-8bit-gap.sh: Likewise.
32591         * iconvdata/gen-8bit.sh: Likewise.
32593         * locale/iso-639.def: Add ary entry.
32595         [BZ #11258]
32596         * locale/C-translit.h.in: Add U20A1 transliteration.
32598         [BZ #12178]
32599         * locale/iso-639.def: Add wae entry.
32600         Patch by Kevin Bortis <bortis@translate-wae.ch>.
32602         [BZ #12545]
32603         * locale/programs/localedef.c (construct_output_path): Use ssize_t
32604         for n.
32606         [BZ #12711]
32607         * locale/C-translit.h.in: Add entry for U20B9.
32608         Patch by pravin.d.s@gmail.com.
32610 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
32612         [BZ #12713]
32613         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32614         ENAMETOOLONG use generic getcwd.
32615         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
32616         in rtld.  Use *stat64.
32617         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32618         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32619         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32620         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32621         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32622         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32623         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32624         __fstatat64 macros.
32625         * include/dirent.h: Add libc_hidden_proto for rewinddir.
32626         * dirent/rewinddir.c: Add libc_hidden_def.
32627         * sysdeps/mach/hurd/rewinddir.c: Likewise.
32628         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
32630         * include/dirent.h (__alloc_dir): Add flags parameter.
32631         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32632         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32633         __alloc_dir.
32634         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
32635         from fdopendir if O_CLOEXEC is already set.
32637 2011-03-15  Alan Modra  <amodra@gmail.com>
32639         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32640         l_tls_firstbyte_offset non-zero.  Save padding offset in
32641         l_tls_firstbyte_offset for later use.
32642         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32643         freeing static tls block.
32645 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
32647         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32648         where #ifdef was intended.  The intent is to prevent ARG_MAX from
32649         being defined by the kernel headers.
32651 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
32653         [BZ #12734]
32654         * resolv/resolv.h: Define RES_NOTLDQUERY.
32655         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32656         no-tld-query and set RES_NOTLDQUERY.
32657         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32658         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32659         modern BIND to search name as TLD unless forbidden.
32661 2011-05-07  Petr Baudis  <pasky@suse.cz>
32662             Ulrich Drepper  <drepper@gmail.com>
32664         [BZ #12393]
32665         * elf/dl-load.c (fillin_rpath): Move trusted path check...
32666         (is_trusted_path): ...to here.
32667         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32668         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32669         using is_trusted_path_normalize() in setuid scripts.
32671 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32673         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32674         __BEGIN/__END_DECLS.
32676 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
32678         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32679         NSS_STATUS_NOTFOUND if no record was found.
32681 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32683         * sunrpc/Makefile (headers): Add rpc/netdb.h.
32684         (headers-not-in-tirpc): Remove rpc/netdb.h
32685         * resolv/netdb.h: Revert last change.
32687 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32689         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32690         circular dependency between libgcc.a and libc.a.
32692 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32694         * resolv/netdb.h: Don't include <rpc/netdb.h>.
32695         * nis/Makefile: Don't install rpcsvc/*.
32696         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32697         instead of <rpc/types.h>.
32698         (MAXHOSTNAMELEN): Define.
32700 2011-05-03  Andreas Schwab  <schwab@redhat.com>
32702         * elf/ldconfig.c (add_dir): Don't crash on empty path.
32704 2011-04-28  Maciej Babinski  <mbabinski@google.com>
32706         [BZ #12714]
32707         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32708         gethostbyname4_r when IPv6 results are possible.
32710 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
32712         [BZ #12723]
32713         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32714         _PC_PIPE_BUF handling.
32716 2011-04-30  Bruno Haible  <bruno@clisp.org>
32718         [BZ #12717]
32719         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32720         * resolv/netdb.h (getnameinfo): Change type of flags parameter
32721         to 'int'.
32722         * inet/getnameinfo.c (getnameinfo): Likewise.
32724 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
32726         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32727         to groups setting in database lookup.
32728         * nss/nsswitch.conf: Add initgroups entry.
32730 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
32732         [BZ #12685]
32733         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32734         mode string.
32735         Patch by Eric Blake <eblake@redhat.com>.
32737 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
32739         * sunrpc/Makefile (need-export-routines): Add svc_run.
32740         (routines): Remove svc_run.
32741         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32742         * sunrpc/clnt_perr.c (clnt_perrno): Export.
32743         * sunrpc/svc_run.c (svc_run): Likewise.
32744         * sunrpc/svc_udp.c (svcudp_create): Likewise.
32746 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
32748         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32749         problem in reallocation in last patch.
32751 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
32753         * sunrpc/Makefile: Move inclusion of Rules.
32755 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32757         * nss/nss_files/files-initgroups.c: New file.
32758         * nss/Makefile (libnss_files-routines): Add files-initgroups.
32759         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32760         _nss_files_initgroups_dyn.
32762 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
32764         * elf/elf.h (R_ARM_IRELATIVE): Define.
32766 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32768         * po/ru.po: Update from translation team.
32770 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32772         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32773         dependencies.
32775 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
32777         [BZ #12653]
32778         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32779         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32780         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32781         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32782         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32784 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
32786         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32787         differing bytes.
32788         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32789         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32790         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32792 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32794         [BZ #12420]
32795         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32796         storing it.
32797         * stdlib/bug-getcontext.c: New file.
32798         * stdlib/Makefile: Add rules to build and run bug-getcontext.
32800 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32802         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32803         instructions into .machine "z9-109".
32804         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32805         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32807 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32809         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32810         between environment variables and auxiliary vector.
32812 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
32814         * Makefile: Add rules to build linkobj/libc.so.
32815         * include/libc-symbols.h: Define libc_hidden_nolink.
32816         * include/rpc/auth.h: Mark functions which are to be hidden.
32817         * include/rpc/auth_des.h: Likewise.
32818         * include/rpc/auth_unix.h: Likewise.
32819         * include/rpc/clnt.h: Likewise.
32820         * include/rpc/des_crypt.h: Likewise.
32821         * include/rpc/key_prot.h: Likewise.
32822         * include/rpc/pmap_clnt.h: Likewise.
32823         * include/rpc/pmap_prot.h: Likewise.
32824         * include/rpc/pmap_rmt.h: Likewise.
32825         * include/rpc/rpc_msg.h: Likewise.
32826         * include/rpc/svc.h: Likewise.
32827         * include/rpc/svc_auth.h: Likewise.
32828         * include/rpc/xdr.h: Likewise.
32829         * nis/Makefile: Link all DSOs against linkobj/libc.so.
32830         * nss/Makefile: Likewise.
32831         * sunrpc/Makefile: Don't install headers.  Build library with normal
32832         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
32833         * sunrpc/auth_des.c: Hide exported symbols by default, export some
32834         for the compat linking library.  Remove use of INTDEF/INTUSE.
32835         * sunrpc/auth_none.c: Likewise.
32836         * sunrpc/auth_unix.c: Likewise.
32837         * sunrpc/authdes_prot.c: Likewise.
32838         * sunrpc/authuxprot.c: Likewise.
32839         * sunrpc/clnt_gen.c: Likewise.
32840         * sunrpc/clnt_perr.c: Likewise.
32841         * sunrpc/clnt_raw.c: Likewise.
32842         * sunrpc/clnt_simp.c: Likewise.
32843         * sunrpc/clnt_tcp.c: Likewise.
32844         * sunrpc/clnt_udp.c: Likewise.
32845         * sunrpc/clnt_unix.c: Likewise.
32846         * sunrpc/des_crypt.c: Likewise.
32847         * sunrpc/des_soft.c: Likewise.
32848         * sunrpc/get_myaddr.c: Likewise.
32849         * sunrpc/key_call.c: Likewise.
32850         * sunrpc/key_prot.c: Likewise.
32851         * sunrpc/netname.c: Likewise.
32852         * sunrpc/pm_getmaps.c: Likewise.
32853         * sunrpc/pm_getport.c: Likewise.
32854         * sunrpc/pmap_clnt.c: Likewise.
32855         * sunrpc/pmap_prot.c: Likewise.
32856         * sunrpc/pmap_prot2.c: Likewise.
32857         * sunrpc/pmap_rmt.c: Likewise.
32858         * sunrpc/publickey.c: Likewise.
32859         * sunrpc/rpc_cmsg.c: Likewise.
32860         * sunrpc/rpc_common.c: Likewise.
32861         * sunrpc/rpc_dtable.c: Likewise.
32862         * sunrpc/rpc_prot.c: Likewise.
32863         * sunrpc/rpc_thread.c: Likewise.
32864         * sunrpc/rtime.c: Likewise.
32865         * sunrpc/svc.c: Likewise.
32866         * sunrpc/svc_auth.c: Likewise.
32867         * sunrpc/svc_authux.c: Likewise.
32868         * sunrpc/svc_raw.c: Likewise.
32869         * sunrpc/svc_run.c: Likewise.
32870         * sunrpc/svc_simple.c: Likewise.
32871         * sunrpc/svc_tcp.c: Likewise.
32872         * sunrpc/svc_udp.c: Likewise.
32873         * sunrpc/svc_unix.c: Likewise.
32874         * sunrpc/svcauth_des.c: Likewise.
32875         * sunrpc/xcrypt.c: Likewise.
32876         * sunrpc/xdr.c: Likewise.
32877         * sunrpc/xdr_array.c: Likewise.
32878         * sunrpc/xdr_float.c: Likewise.
32879         * sunrpc/xdr_intXX_t.c: Likewise.
32880         * sunrpc/xdr_mem.c: Likewise.
32881         * sunrpc/xdr_rec.c: Likewise.
32882         * sunrpc/xdr_ref.c: Likewise.
32883         * sunrpc/xdr_sizeof.c: Likewise.
32884         * sunrpc/xdr_stdio.c: Likewise.
32886 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
32888         [BZ #12650]
32889         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32890         * sysdeps/ia64/dl-tls.h: Likewise.
32891         * sysdeps/powerpc/dl-tls.h: Likewise.
32892         * sysdeps/s390/dl-tls.h: Likewise.
32893         * sysdeps/sh/dl-tls.h: Likewise.
32894         * sysdeps/sparc/dl-tls.h: Likewise.
32895         * sysdeps/x86_64/dl-tls.h: Likewise.
32896         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32898 2011-03-14  Andreas Schwab  <schwab@redhat.com>
32900         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32901         rpath element also skip the following colon.
32902         (expand_dynamic_string_token): Add is_path parameter and pass
32903         down to DL_DST_REQUIRED and _dl_dst_substitute.
32904         (decompose_rpath): Call expand_dynamic_string_token with
32905         non-zero is_path.  Ignore empty rpaths.
32906         (_dl_map_object_from_fd): Call expand_dynamic_string_token
32907         with zero is_path.
32909 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
32911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32912         Make cancelable.
32914 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
32916         [BZ #12655]
32917         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32918         Patch by Filipe David Manana <fdmanana@apache.org>.
32920 2011-04-07  Andreas Schwab  <schwab@redhat.com>
32922         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32923         Maintain aligned stack.
32924         (CHECK_RSP): Remove unused macro.
32926 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
32928         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32929         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32931 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
32933         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32935         * include/features.h: Mention __USE_XOPEN2K8 in comment.
32937 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
32939         [BZ #12518]
32940         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32941         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32942         * sysdeps/x86_64/memmove.c: New file.
32943         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32944         (memcpy): Renamed to ...
32945         (__new_memcpy): This.
32946         (memcpy): Provide GLIBC_2_14 memcpy.
32947         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32948         (memcpy): Provide GLIBC_2_2_5 memcpy.
32950 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32952         [BZ #12631]
32953         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32955 2011-03-30  Andreas Schwab  <schwab@redhat.com>
32957         * misc/syncfs.c: New file.
32958         * misc/Makefile (routines): Add syncfs.
32959         * posix/unistd.h: Declare syncfs.
32960         * sysdeps/unix/syscalls.list: Add syncfs.
32962 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32964         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32965         open_by_handle_at.
32966         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32967         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32968         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32969         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32970         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32971         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32972         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32974 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32976         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32977         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32978         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32979         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32980         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32981         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32982         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32984         * io/Makefile: Compile fallocate.c, fallocate64.c, and
32985         sync_file_range.c with -fexceptions.
32986         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32987         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32988         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32989         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32990         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32991         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32992         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32993         sync_file_range as cancellation point
32994         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
32995         now a wrapper around __call_sync_file_range with cancellation handling.
32996         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32997         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
32998         function name to __call_sync_file_range.
32999         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33000         Add call_sync_file_range.
33002 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33004         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33005         bits/timex.h.
33007 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33009         * iconv/iconv.h: Fix typo in comment.
33010         * io/fcntl.h: Likewise.
33011         * libio/stdio.h: Likewise.
33012         * posix/spawn.h: Likewise.
33013         * posix/unistd.h: Likewise.
33014         * stdlib/stdlib.h: Likewise.
33015         * time/time.h: Likewise.
33016         * wcsmbs/wchar.h: Likewise.
33018         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33019         open_by_handle): Add.
33020         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33021         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
33022         Augment a few comments.
33023         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33024         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33025         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33026         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33027         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33028         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33029         open_by_handle.
33031         * io/fcntl.h (AT_EMPTY_PATH): Define.
33033 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
33035         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33036         * sysdeps/unix/sysv/linux/bits/time.h: New file.
33037         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33038         to...
33039         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
33040         * Versions.def: Add GLIBC_2.14.
33041         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33042         Export.
33044 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
33046         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33047         round counter.
33048         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33050 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33052         [BZ #12597]
33053         * string/test-strncmp.c (do_page_test): New function.
33054         (check2): Likewise.
33055         (test_main): Call check2.
33056         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33058 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
33060         [BZ #12587]
33061         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33062         Handle cache information in CPU leaf 4.
33063         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33065 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
33067         [BZ #12583]
33068         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33069         character representation.
33070         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33072 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
33074         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33075         END(__isnan) to END(__isnanf) to match function entry point/label
33076         EALIGN(__isnanf,...).
33078 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
33080         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33082 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
33084         [BZ #12510]
33085         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33086         copy from the symbol referenced in the relocation to initialize the
33087         used variable.
33088         Patch by Piotr Bury <pbury@goahead.com>.
33089         * elf/Makefile: Add rules to build and tst-unique3.
33090         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33091         * elf/tst-unique3.cc: New file.
33092         * elf/tst-unique3.h: New file.
33093         * elf/tst-unique3lib.cc: New file.
33094         * elf/tst-unique3lib2.cc: New file.
33096         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33098 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
33100         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33101         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
33102         to _start.
33104 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
33106         * elf/dl-load.c (_dl_map_object): If we are looking for the first
33107         to-be-loaded object along a path to loader is ld.so.
33109 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33110             Ulrich Drepper  <drepper@gmail.com>
33112         * sysdeps/x86_64/memset.S: After aligning destination, code
33113         branches to different locations depending on the value of
33114         misalignment, when multiarch is enabled. Fix this.
33116 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33118         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33119         Set _x86_64_preferred_memory_instruction for AMD processsors.
33120         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33121         Set bit_Prefer_SSE_for_memop for AMD processors.
33123 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
33125         * libio/fmemopen.c (fmemopen): Optimize a bit.
33127 2011-03-03  Andreas Schwab  <schwab@redhat.com>
33129         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33131 2011-03-03  Roland McGrath  <roland@redhat.com>
33133         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33135 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
33137         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33138         __bzero_ultra1 instead of __memset_ultra1.
33140 2011-02-23  Andreas Schwab  <schwab@redhat.com>
33141             Ulrich Drepper  <drepper@gmail.com>
33143         [BZ #12509]
33144         * include/link.h (struct link_map): Add l_orig_initfini.
33145         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33146         returning unsuccessfully.
33147         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33148         close of a file loaded at startup, restore the original l_initfini
33149         list.
33150         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33151         list, store the pointer.
33152         * elf/Makefile ($(objpfx)noload-mem): New rule.
33153         (noload-ENV): Define.
33154         (tests): Add $(objpfx)noload-mem.
33155         * elf/noload.c: Include <memcheck.h>.
33156         (main): Call mtrace.  Close all opened handles.
33158 2011-02-17  Andreas Schwab  <schwab@redhat.com>
33160         [BZ #12454]
33161         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33162         dependencies are missing.
33164 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33166         Fix __if_freereq crash: Unlike the generic version which uses free,
33167         Hurd needs munmap.
33168         * sysdeps/mach/hurd/ifreq.h: New file.
33170 2011-01-27  Petr Baudis  <pasky@suse.cz>
33171             Ulrich Drepper  <drepper@gmail.com>
33173         [BZ 12445]#
33174         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33175         to extend_alloca().
33176         * stdio-common/bug23.c: New file.
33177         * stdio-common/Makefile (tests): Add bug23.
33179 2010-09-28  Andreas Schwab  <schwab@redhat.com>
33180             Ulrich Drepper  <drepper@gmail.com>
33182         [BZ #12489]
33183         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33184         before performing relro protection.  At old place add assertion
33185         to make sure nothing changed.
33187 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
33188             Glauber de Oliveira Costa  <glommer@gmail.com>
33190         * elf/elf.h: Add new ARM TLS relocs.
33192 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
33194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33195         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33196         cast from r3.
33197         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
33198         'tests' variable.
33199         * sysdeps/wordsize-64/tst-writev.c: New file.
33201 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
33203         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33204         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33205         insns in _dl_start to prevent a TOC reference before relocs are
33206         resolved.
33208 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
33210         [BZ #12469]
33211         * Makeconfig: Remove RANLIB definition.
33212         * Makerules: Don't use RANLIB.
33213         * aclocal.m4: Remove ranlib test.
33214         * configure.in: No need to check for ranlib.
33215         * elf/rtld-Rules: Don't use RANLIB.
33217 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33219         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33220         protection macro.
33221         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33222         inclusion protection macro.
33224         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33225         SIGRTMIN and SIGRTMAX and print information in that case only when
33226         SIGRTMIN is defined.
33228 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
33230         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33231         arginfo fn returning -1.
33233         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33234         and thousands string is zero terminated.
33236 2011-02-03  Andreas Schwab  <schwab@redhat.com>
33238         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33239         sysdeps/unix/sysv/linux/bits/socket.h.
33241 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33243         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33244         (__CPU_COUNT): Remove old macros.
33245         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33246         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33247         (__CPU_ALLOC, __CPU_FREE): Add macros.
33248         (__sched_cpualloc, __sched_cpufree): Add declarations.
33250 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
33252         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33253         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33254         * nscd/aicache.c (addhstaiX): Return timeout of added value.
33255         (readdhstai): Return value of addhstaiX call.
33256         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33257         (addgrbyX): Return value returned by cache_addgr.
33258         (readdgrbyname): Return value returned by addgrbyX.
33259         (readdgrbygid): Likewise.
33260         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33261         (addpwbyX): Return value returned by cache_addpw.
33262         (readdpwbyname): Return value returned by addhstbyX.
33263         (readdpwbyuid): Likewise.
33264         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33265         (addservbyX): Return value returned by cache_addserv.
33266         (readdservbyname): Return value returned by addservbyX:
33267         (readdservbyport): Likewise.
33268         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33269         (addhstbyX): Return value returned by cache_addhst.
33270         (readdhstbyname): Return value returned by addhstbyX.
33271         (readdhstbyaddr): Likewise.
33272         (readdhstbynamev6): Likewise.
33273         (readdhstbyaddrv6): Likewise.
33274         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33275         (readdinitgroups): Return value returned by addinitgroupsX.
33276         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33277         (prune_cache): Keep track of timeout value of re-added entries.
33278         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33279         * nscd/nscd.h: Adjust prototypes of readd* functions.
33281 2011-02-04  Roland McGrath  <roland@redhat.com>
33283         * nis/nis_server.c (nis_servstate): Use the right name for 0.
33284         (nis_stats): Likewise.
33285         * nis/nis_modify.c (nis_modify): Likewise.
33286         * nis/nis_remove.c (nis_remove): Likewise.
33287         * nis/nis_add.c (nis_add): Likewise.
33289         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33291         * posix/fnmatch_loop.c: Add some consts.
33293         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33295 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
33297         [BZ #12460]
33298         * config.make.in (config-cflags-novzeroupper): Define.
33299         * configure.in: Substitute libc_cv_cc_novzeroupper.
33300         * elf/Makefile (AVX-CFLAGS): Define.
33301         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33302         (CFLAGS-tst-auditmod4a.c): Likewise.
33303         (CFLAGS-tst-auditmod4b.c): Likewise.
33304         (CFLAGS-tst-auditmod6b.c): Likewise.
33305         (CFLAGS-tst-auditmod6c.c): Likewise.
33306         (CFLAGS-tst-auditmod7b.c): Likewise.
33307         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33309 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
33311         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33312         function to the callback.
33313         Patch partly by Jiri Olsa <jolsa@redhat.com>.
33315 2011-02-02  Andreas Schwab  <schwab@redhat.com>
33317         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33318         of errno.
33320 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
33322         [BZ #11724]
33323         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33324         of constructors.
33325         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33326         of destructors.
33327         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33329         [BZ #11724]
33330         * elf/Makefile: Add rules to build and run new test.
33331         * elf/tst-initorder.c: New file.
33332         * elf/tst-initorder.exp: New file.
33333         * elf/tst-initordera1.c: New file.
33334         * elf/tst-initordera2.c: New file.
33335         * elf/tst-initordera3.c: New file.
33336         * elf/tst-initordera4.c: New file.
33337         * elf/tst-initorderb1.c: New file.
33338         * elf/tst-initorderb2.c: New file.
33339         * elf/tst-order-a1.c: New file.
33340         * elf/tst-order-a2.c: New file.
33341         * elf/tst-order-a3.c: New file.
33342         * elf/tst-order-a4.c: New file.
33343         * elf/tst-order-b1.c: New file.
33344         * elf/tst-order-b2.c: New file.
33345         * elf/tst-order-main.c: New file.
33346         New test case by George Gensure <werkt0@gmail.com>.
33348 2010-10-01  Andreas Schwab  <schwab@redhat.com>
33350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33351         decoding ACE if AI_CANONIDN.
33353 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
33355         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33357 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
33359         * version.h (RELEASE): Bump for 2.13 release.
33360         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33362         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33364         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33365         MADV_NOHUGEPAGE.
33366         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33367         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33368         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33369         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33370         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33371         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33373         * posix/getconf.c: Update copyright year.
33374         * catgets/gencat.c: Likewise.
33375         * csu/version.c: Likewise.
33376         * debug/catchsegv.sh: Likewise.
33377         * debug/xtrace.sh: Likewise.
33378         * elf/ldconfig.c: Likewise.
33379         * elf/ldd.bash.in: Likewise.
33380         * elf/sprof.c (print_version): Likewise.
33381         * iconv/iconv_prog.c: Likewise.
33382         * iconv/iconvconfig.c: Likewise.
33383         * locale/programs/locale.c: Likewise.
33384         * locale/programs/localedef.c: Likewise.
33385         * malloc/memusage.sh: Likewise.
33386         * malloc/mtrace.pl: Likewise.
33387         * nscd/nscd.c (print_version): Likewise.
33388         * nss/getent.c: Likewise.
33390         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33391         PF_CAIF, and PF_ALG.
33392         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33394 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
33396         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33397         (modules-names): Use them.
33398         (ifunc-test-modules, ifunc-pie-tests): Define.
33399         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33400         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33401         (test-extras): Likewise.
33402         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33403         $(compile-command.c).
33404         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33405         (all-built-dso): Define.
33406         (check-textrel.out, check-execstack.out): Depend on it.
33408         * configure.in: Don't override --enable-multi-arch.
33410 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
33412         [BZ #6812]
33413         * nscd/hstcache.c (tryagain): Define.
33414         (cache_addhst): Return tryagain not notfound for temporary errors.
33415         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33416         failed.
33418 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
33420         [BZ #10563]
33421         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33422         to make the syscall.
33423         * sysdeps/unix/sysv/linux/setgroups.c: New file.
33425         [BZ #12378]
33426         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33427         and fall back to matching as normal character if the string ends before
33428         the matching ']' is found.  This is what POSIX requires.
33429         * posix/testfnm.c: Adjust test result.
33430         * posix/globtest.sh: Adjust test result.  Add new test.
33431         * posix/tst-fnmatch.input: Likewise.
33432         * posix/tst-fnmatch2.c: Add new test.
33434 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
33436         * elf/Makefile (check-execstack): Revert last change.  Depend on
33437         check-execstack.h.
33438         (check-execstack.h): New target.
33439         (generated): Add check-execstack.h.
33440         * elf/check-execstack.c: Include "check-execstack.h".
33441         (main): Revert last change.
33442         (handle_file): Return zero if GNU_STACK is absent and
33443         DEFAULT_STACK_PERMS doesn't include PF_X.
33445 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
33447         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33448         in child fails because the descriptor is already closed.
33449         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33450         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33451         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33453         [BZ #12397]
33454         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33455         syscall.
33457         [BZ #10484]
33458         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33459         temporary buffer used to handle multi lookups locally.
33460         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33462 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33464         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33465         loader is ld.so.
33467 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
33469         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33470         alignment for SSE2.
33472 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33474         [BZ #12394]
33475         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33476         characters.  When rounding increased number of integer digits recompute
33477         number of groups.
33478         * stdio-common/tst-grouping.c: New file.
33479         * stdio-common/Makefile: Add rules to build and run tst-grouping.
33481 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
33483         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33484         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
33486         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33487         void.
33488         * bits/select.h: Likewise.
33490 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
33492         * po/ja.po: Update from translation team.
33494 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
33496         [BZ #11155]
33497         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33498         implementation just like for lxstat, fxstatat, et al.
33500 2010-12-27  Jim Meyering  <meyering@redhat.com>
33502         [BZ #12348]
33503         * posix/regexec.c (build_trtable): Return failure indication upon
33504         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
33506 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
33508         [BZ #12201]
33509         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33510         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33511         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33512         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33514         [BZ #12207]
33515         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33517         [BZ #12204]
33518         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33519         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33521 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
33523         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33524         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33525         script has SORT_BY_INIT_PRIORITY.
33526         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33527         NO_CTORS_DTORS_SECTIONS is defined.
33528         * elf/soinit.c: Likewise.
33529         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33530         NO_CTORS_DTORS_SECTIONS is defined.
33531         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33532         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33533         * sysdeps/sh/init-first.c: Likewise.
33534         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33536 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
33538         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33539         always use the slow path.
33541 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
33543         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33544         similar rule which adds the sysdep directories to the header search in
33545         order to pick up the correct platform stackinfo.h.
33546         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33547         perform test if it is, otherwise return successfully without testing.
33548         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33549         DEFAULT_STACK_PERMS define in stackinfo.h.
33550         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33551         defined in stackinfo.h.
33552         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33553         DEFAULT_STACK_PERMS defined in stackinfo.h.
33554         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33555         * sysdeps/ia64/stackinfo.h: Likewise.
33556         * sysdeps/s390/stackinfo.h: Likewise.
33557         * sysdeps/sh/stackinfo.h: Likewise.
33558         * sysdeps/sparc/stackinfo.h: Likewise.
33559         * sysdeps/x86_64/stackinfo.h: Likewise.
33560         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33561         PF_X for powerpc64.  Retain PF_X for powerpc32.
33563 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
33565         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33566         accurately.
33567         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33568         GETDENTS_64BIT_ALIGNED.
33570 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
33572         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33574 2010-12-10  Andreas Schwab  <schwab@redhat.com>
33576         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33577         _GNU_SOURCE.
33579         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33580         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33581         Remove __restrict.
33582         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33583         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33585 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
33587         [BZ #11655]
33588         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33589         are initialized.
33591 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
33593         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33595 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
33597         * po/it.po: Update from translation team.
33599 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
33601         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33602         unused codes.
33604 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
33606         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33608 2010-11-24  Andreas Schwab  <schwab@redhat.com>
33610         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33611         specially.
33612         (gaih_getanswer_slice): Likewise.
33614 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
33616         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33618 2010-05-31  Petr Baudis  <pasky@suse.cz>
33620         [BZ #11149]
33621         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33622         silently even in the chroot mode.
33624 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
33626         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33627         last patch a bit.  Pretty printing
33629 2010-05-31  Petr Baudis <pasky@suse.cz>
33631         [BZ #10085]
33632         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33633         initialization of skip_initgroups_dyn.
33635 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
33637         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33638         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33640 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
33642         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33644 2010-11-11  Andreas Schwab  <schwab@redhat.com>
33646         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33647         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33648         (tst-fnmatch-ENV): Set MALLOC_TRACE.
33649         ($(objpfx)tst-fnmatch-mem): New rule.
33650         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33651         * posix/tst-fnmatch.c (main): Call mtrace.
33653 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
33655         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33656         Support Intel processor model 6 and model 0x2c.
33658 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
33660         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33661           signed comparison.
33663 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
33665         [BZ #12205]
33666         * string/test-strncasecmp.c (check_result): New function.
33667         (do_one_test): Use it.
33668         (check1): New function.
33669         (test_main): Use it.
33670         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33671         Support strcasecmp and strncasecmp.
33673 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
33675         [BZ #12194]
33676         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33677         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33679 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33681         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33682         IFUNC support.
33683         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33684         memset-x86-64.
33685         * sysdeps/x86_64/multiarch/bzero.S: New file.
33686         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33687         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33688         * sysdeps/x86_64/multiarch/memset.S: New file.
33689         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33690         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33691         Set bit_Prefer_SSE_for_memop for Intel processors.
33692         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33693         Define.
33694         (index_Prefer_SSE_for_memop): Define.
33695         (HAS_PREFER_SSE_FOR_MEMOP): Define.
33697 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
33699         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33700         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33702 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
33704         [BZ #12191]
33705         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33706         (__x86_64_raw_data_cache_size_half): Likewise.
33707         (__x86_64_raw_shared_cache_size): Likewise.
33708         (__x86_64_raw_shared_cache_size_half): Likewise.
33710         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33711         (__x86_64_raw_data_cache_size_half): Likewise.
33712         (__x86_64_raw_shared_cache_size): Likewise.
33713         (__x86_64_raw_shared_cache_size_half): Likewise.
33714         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33715         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33716         and __x86_64_raw_shared_cache_size_half.  Round
33717         __x86_64_data_cache_size_half, __x86_64_data_cache_size
33718         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33719         to multiple of 256 bytes.
33721 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
33723         [BZ #12167]
33724         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33725         of inacessible symlinks.  Verify result of symlink before returning it.
33726         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33727         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33729 2010-10-28  Erich Ritz  <erichritz@gmail.com>
33731         * math/math.h (isinf): Fix typo in comment.
33733 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
33735         * po/da.po: Update from translation team.
33737 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
33739         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33740         is added to the list.
33742 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33743             Ulrich Drepper  <drepper@gmail.com>
33745         * elf/dl-object.c (_dl_new_object): Don't append the new object to
33746         the global list here.  Move code to...
33747         (_dl_add_to_namespace_list): ...here.  New function.
33748         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33749         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33750         * elf/dl-load.c (lose): Don't remove the element from the list.
33751         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33752         (_dl_map_object): Likewise.
33754 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
33756         [BZ #12159]
33757         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33758         into all bytes of SSE register.
33759         Patch by Richard Li <richardpku@gmail.com>.
33761 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
33763         [BZ #12140]
33764         * malloc/malloc.c (_int_free): Fill correct number of bytes when
33765         perturbing.
33767 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
33769         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33770         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33771         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33772         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33774         submachine.
33775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33777 2010-10-22  Andreas Schwab  <schwab@redhat.com>
33779         * include/dlfcn.h (__RTLD_SECURE): Define.
33780         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
33781         mode & __RTLD_SECURE instead.
33782         (open_path): Rename preloaded parameter to secure.
33783         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33784         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33785         * elf/dl-deps.c (openaux): Likewise.
33786         * elf/rtld.c (struct map_args): Remove is_preloaded.
33787         (map_doit): Don't use it.
33788         (dl_main): Likewise.
33789         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33790         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33792 2010-09-09  Andreas Schwab  <schwab@redhat.com>
33794         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33795         (sysd-rules-targets): Remove duplicates.
33796         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33797         rtld-%.$o dependency.
33799 2010-10-18  Andreas Schwab  <schwab@redhat.com>
33801         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33802         _dl_map_object do it.
33804 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
33806         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33807         fast fma builtins, define the macros in the C99 standard.
33808         (FP_FAST_FMAF): Likewise.
33809         (FP_FAST_FMAL): Likewise.
33810         * sysdeps/x86_64/bits/mathdef.h: Likewise.
33812         * bits/mathdef.h: Update copyright year.
33813         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33815 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
33817         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33818         builtins, define the macros in the C99 standard.
33819         (FP_FAST_FMAF): Likewise.
33820         (FP_FAST_FMAL): Likewise.
33821         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33822         multiply/add.
33823         (FP_FAST_FMAF): Likewise.
33825 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
33827         [BZ #3268]
33828         * math/libm-test.inc (fma_test): Some new testcases.
33829         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33830         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33831         y and infinite z.  Do multiplication by C already in long double.
33832         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33833         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33834         y and infinite z.  Do bitwise or of inexact bit into u.d.
33835         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33836         * sysdeps/i386/fpu/s_fmaf.S: Removed.
33837         * sysdeps/i386/fpu/s_fma.S: Removed.
33838         * sysdeps/i386/fpu/s_fmal.S: Removed.
33840 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
33842         [BZ #3268]
33843         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33844         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33845         computation is not scheduled after fetestexcept.  Fix value
33846         of minimum denormal long double.
33848 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
33850         [BZ #3268]
33851         * math/libm-test.inc (fma_test): Add some more tests.
33852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33853         correctly.
33855 2010-10-15  Andreas Schwab  <schwab@redhat.com>
33857         * scripts/data/localplt-s390-linux-gnu.data: New file.
33858         * scripts/data/localplt-s390x-linux-gnu.data: New file.
33860 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
33862         [BZ #3268]
33863         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33864         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33865         instead of dbl-64.
33866         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33867         inlines.
33868         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33869         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33870         if one of x and y is very large and the other is subnormal.
33871         * sysdeps/s390/fpu/s_fmaf.c: New file.
33872         * sysdeps/s390/fpu/s_fma.c: New file.
33873         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33874         * sysdeps/powerpc/fpu/s_fma.S: New file.
33875         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33876         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33877         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33879 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
33881         [BZ #3268]
33882         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33883         fma tests.
33884         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33885         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33886         * sysdeps/i386/i686/multiarch/s_fma.c: Include
33887         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33888         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33889         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33890         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33892 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
33894         [BZ #12078]
33895         * posix/regcomp.c (parse_branch): One more memory leak plugged.
33896         * posix/bug-regex31.input: Add test case.
33898 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33900         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33901         * posix/bug-regex31.input: New file.
33903         [BZ #12078]
33904         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33905         (parse_sub_exp): Fix last change, use postorder.
33907         * posix/bug-regex31.c: New file.
33908         * posix/Makefile: Add rules to build and run bug-regex31.
33910         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33912         [BZ #12078]
33913         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33915         [BZ #12108]
33916         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33917         to have entries in sys_siglist.
33919         [BZ #12093]
33920         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33921         be NULL.
33923 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
33925         [BZ #3268]
33926         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33927         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33928         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33929         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33930         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33931         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33932         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33933         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33934         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33935         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33936         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33937         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33938         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33939         * math/ftestexcept.c (fetestexcept): Likewise.
33940         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33941         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33942         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33943         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33944         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33945         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33946         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33948 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33950         [BZ #12107]
33951         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33952         newline.
33954 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
33956         * string/bug-strstr1.c: New file.
33957         * string/Makefile: Add rules to build and run bug-strstr1.
33959 2010-10-05  Eric Blake  <eblake@redhat.com>
33961         [BZ #12092]
33962         * string/str-two-way.h (two_way_long_needle): Always clear memory
33963         when skipping input due to the shift table.
33965 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
33967         [BZ #12005]
33968         * malloc/mcheck.c: Handle large requests.
33970         [BZ #12077]
33971         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33972         for strncmp and strncasecmp.
33973         * string/stratcliff.c: Add tests for strcmp and strncmp.
33974         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33976 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33978         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33979         __set_fpscr.
33981 2010-09-30  Andreas Jaeger  <aj@suse.de>
33983         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33984         (CGROUP_SUPER_MAGIC): Define.
33985         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33986         Handle btrfs and cgroup file systems.
33987         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33988         Likewise.
33990 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
33992         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33993         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33995 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33997         [BZ #12067]
33998         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33999         trying to locate the ELF header.
34001 2010-09-27  Andreas Schwab  <schwab@redhat.com>
34003         [BZ #11611]
34004         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34005         Mask out sign-bit copies when constructing f_fsid.
34007 2010-09-24  Petr Baudis <pasky@suse.cz>
34009         * debug/stack_chk_fail_local.c: Add missing licence exception.
34010         * debug/warning-nop.c: Likewise.
34012 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
34014         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34015         implementing getdents64 using getdents syscall, set d_type if
34016         __ASSUME_GETDENTS32_D_TYPE.
34018 2010-09-16  Andreas Schwab  <schwab@redhat.com>
34020         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34021         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34023 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
34025         [BZ #12037]
34026         * posix/unistd.h: Undo change of feature selection for ftruncate from
34027         2010-01-11.
34029 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
34031         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34032         detection.
34034 2010-09-20  Andreas Schwab  <schwab@redhat.com>
34036         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34037         fanotify_mark.
34038         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34040 2010-09-14  Andreas Schwab  <schwab@redhat.com>
34042         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34043         variables after CHECK_SP call.
34044         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34046 2010-09-13  Andreas Schwab  <schwab@redhat.com>
34047             Ulrich Drepper  <drepper@redhat.com>
34049         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34050         re-relocationg ld.so.
34051         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34052         _dl_init_paths call.
34053         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
34054         here anymore.
34056 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
34058         * resolv/res_init.c (__res_vinit): Count the default server we added.
34060 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
34061             Ulrich Drepper  <drepper@redhat.com>
34063         [BZ #11968]
34064         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34065         (____longjmp_chk): Use %ebx for saving value across system call.
34066         Add unwind info.
34068 2010-09-06  Andreas Schwab  <schwab@redhat.com>
34070         * manual/Makefile: Don't mix pattern rules with normal rules.
34072 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34074         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34075         operation.
34076         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34077         * libio/iofopncook.c (_IO_cookie_init): Likewise.
34078         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34079         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34080         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34081         Likewise.
34083 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
34085         [BZ #11979]
34086         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34087         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34089 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
34091         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34092         * sysdeps/x86_64/addmul_1.S: Likewise.
34093         * sysdeps/x86_64/lshift.S: Likewise.
34094         * sysdeps/x86_64/mul_1.S: Likewise.
34095         * sysdeps/x86_64/rshift.S: Likewise.
34096         * sysdeps/x86_64/sub_n.S: Likewise.
34097         * sysdeps/x86_64/submul_1.S: Likewise.
34099 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34101         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34102         Define __sched_param instead of SCHED_* and sched_param when
34103         <bits/sched.h> is included with __need_schedparam defined.
34104         * bits/sched.h [__need_schedparam]
34105         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34106         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34107         (__defined_schedparam): Define to 1.
34108         (__sched_param): New structure, identical to sched_param.
34109         (__need_schedparam): Undefine.
34111 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
34113         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34114         (epoll_create1): Declare.
34116         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34118 2010-08-31  Andreas Schwab  <schwab@redhat.com>
34120         [BZ #7066]
34121         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34122         shifting retval into place.
34124 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
34126         * nis/rpcsvc/nis.h: Update copyright notice.
34127         * nis/rpcsvc/nis.x: Likewise.
34128         * nis/rpcsvc/nis_callback.h: Likewise.
34129         * nis/rpcsvc/nis_callback.x: Likewise.
34130         * nis/rpcsvc/nis_object.x: Likewise.
34131         * nis/rpcsvc/nis_tags.h: Likewise.
34132         * nis/rpcsvc/yp.h: Likewise.
34133         * nis/rpcsvc/yp.x: Likewise.
34134         * nis/rpcsvc/ypupd.h: Likewise.
34135         * nis/yp_xdr.c: Likewise.
34136         * nis/ypupdate_xdr.c: Likewise.
34138         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
34139         mainly the body of pmap_getport.  Add parameters to specify timeouts.
34140         (pmap_getport): Use __libc_rpc_getport.
34141         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34142         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34143         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34145 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
34147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34148         fanotify_mark.
34150 2010-08-27  Roland McGrath  <roland@redhat.com>
34152         * sysdeps/i386/i686/multiarch/Makefile
34153         (CFLAGS-varshift.c): New variable.
34155 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
34157         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34158         * sysdeps/i386/i686/multiarch/varshift.c: New file.
34160         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34162         * sysdeps/x86_64/strlen.S: Minimal code improvement.
34164 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
34166         * sysdeps/x86_64/strlen.S: Unroll the loop.
34167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34168         strlen-sse2 strlen-sse2-bsf.
34169         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34170         __strlen_no_bsf if bit_Slow_BSF is set.
34171         (__strlen_sse42): Removed.
34172         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34173         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34175 2010-08-25  Roland McGrath  <roland@redhat.com>
34177         * sysdeps/x86_64/multiarch/varshift.S: File removed.
34178         * sysdeps/x86_64/multiarch/varshift.c: New file.
34179         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34180         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34181         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34182         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34184 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
34186         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34187         strlen-sse2 strlen-sse2-bsf.
34188         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34189         __strlen_sse2_bsf if bit_Slow_BSF is unset.
34190         (__strlen_sse2): Removed.
34191         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34192         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34193         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34194         bit_Slow_BSF for Atom.
34195         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34196         (index_Slow_BSF): Define.
34197         (HAS_SLOW_BSF): Define.
34199 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
34201         [BZ #10851]
34202         * resolv/res_init.c (__res_vinit): When no server address at all
34203         is given default to loopback.
34205 2010-08-24  Roland McGrath  <roland@redhat.com>
34207         * configure.in: Remove config-name.h generation.
34208         * configure: Regenerated.
34209         * config-name.in: File removed.
34210         * scripts/config-uname.sh: New file.
34211         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34212         ($(objdir)config-name.h): New target.
34214         * sunrpc/rpc_parse.h: Avoid nested comment.
34216 2010-08-24  Richard Henderson  <rth@redhat.com>
34217             Ulrich Drepper  <drepper@redhat.com>
34218             H.J. Lu  <hongjiu.lu@intel.com>
34220         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34221         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34222         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34223         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
34224         _mm_alignr_epi8 with _mm_loadu_si128.
34225         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34226         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34227         (__m128i_shift_right): Removed.
34228         * sysdeps/i386/i686/multiarch/varshift.h: New file.
34229         * sysdeps/i386/i686/multiarch/varshift.S: New file.
34230         * sysdeps/x86_64/multiarch/varshift.h: New file.
34231         * sysdeps/x86_64/multiarch/varshift.S: New file.
34233 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
34235         * configure.in: Move assembler checks to before sysdep dir checking.
34237 2010-08-20  Petr Baudis  <pasky@suse.cz>
34239         * LICENSES: Sync the sunrpc license.
34241 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
34243         * sunrpc/auth_des.c: Update copyright notice once again.
34244         * sunrpc/auth_none.c: Likewise.
34245         * sunrpc/auth_unix.c: Likewise.
34246         * sunrpc/authdes_prot.c: Likewise.
34247         * sunrpc/authuxprot.c: Likewise.
34248         * sunrpc/bindrsvprt.c: Likewise.
34249         * sunrpc/clnt_gen.c: Likewise.
34250         * sunrpc/clnt_perr.c: Likewise.
34251         * sunrpc/clnt_raw.c: Likewise.
34252         * sunrpc/clnt_simp.c: Likewise.
34253         * sunrpc/clnt_tcp.c: Likewise.
34254         * sunrpc/clnt_udp.c: Likewise.
34255         * sunrpc/clnt_unix.c: Likewise.
34256         * sunrpc/des_crypt.c: Likewise.
34257         * sunrpc/des_soft.c: Likewise.
34258         * sunrpc/get_myaddr.c: Likewise.
34259         * sunrpc/getrpcport.c: Likewise.
34260         * sunrpc/key_call.c: Likewise.
34261         * sunrpc/key_prot.c: Likewise.
34262         * sunrpc/openchild.c: Likewise.
34263         * sunrpc/pm_getmaps.c: Likewise.
34264         * sunrpc/pm_getport.c: Likewise.
34265         * sunrpc/pmap_clnt.c: Likewise.
34266         * sunrpc/pmap_prot.c: Likewise.
34267         * sunrpc/pmap_prot2.c: Likewise.
34268         * sunrpc/pmap_rmt.c: Likewise.
34269         * sunrpc/rpc/auth.h: Likewise.
34270         * sunrpc/rpc/auth_unix.h: Likewise.
34271         * sunrpc/rpc/clnt.h: Likewise.
34272         * sunrpc/rpc/des_crypt.h: Likewise.
34273         * sunrpc/rpc/key_prot.h: Likewise.
34274         * sunrpc/rpc/netdb.h: Likewise.
34275         * sunrpc/rpc/pmap_clnt.h: Likewise.
34276         * sunrpc/rpc/pmap_prot.h: Likewise.
34277         * sunrpc/rpc/pmap_rmt.h: Likewise.
34278         * sunrpc/rpc/rpc.h: Likewise.
34279         * sunrpc/rpc/rpc_des.h: Likewise.
34280         * sunrpc/rpc/rpc_msg.h: Likewise.
34281         * sunrpc/rpc/svc.h: Likewise.
34282         * sunrpc/rpc/svc_auth.h: Likewise.
34283         * sunrpc/rpc/types.h: Likewise.
34284         * sunrpc/rpc/xdr.h: Likewise.
34285         * sunrpc/rpc_clntout.c: Likewise.
34286         * sunrpc/rpc_cmsg.c: Likewise.
34287         * sunrpc/rpc_common.c: Likewise.
34288         * sunrpc/rpc_cout.c: Likewise.
34289         * sunrpc/rpc_dtable.c: Likewise.
34290         * sunrpc/rpc_hout.c: Likewise.
34291         * sunrpc/rpc_main.c: Likewise.
34292         * sunrpc/rpc_parse.c: Likewise.
34293         * sunrpc/rpc_parse.h: Likewise.
34294         * sunrpc/rpc_prot.c: Likewise.
34295         * sunrpc/rpc_sample.c: Likewise.
34296         * sunrpc/rpc_scan.c: Likewise.
34297         * sunrpc/rpc_scan.h: Likewise.
34298         * sunrpc/rpc_svcout.c: Likewise.
34299         * sunrpc/rpc_tblout.c: Likewise.
34300         * sunrpc/rpc_util.c: Likewise.
34301         * sunrpc/rpc_util.h: Likewise.
34302         * sunrpc/rpcinfo.c: Likewise.
34303         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34304         * sunrpc/rpcsvc/key_prot.x: Likewise.
34305         * sunrpc/rpcsvc/klm_prot.x: Likewise.
34306         * sunrpc/rpcsvc/mount.x: Likewise.
34307         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34308         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34309         * sunrpc/rpcsvc/rex.x: Likewise.
34310         * sunrpc/rpcsvc/rstat.x: Likewise.
34311         * sunrpc/rpcsvc/rusers.x: Likewise.
34312         * sunrpc/rpcsvc/sm_inter.x: Likewise.
34313         * sunrpc/rpcsvc/spray.x: Likewise.
34314         * sunrpc/rpcsvc/yppasswd.x: Likewise.
34315         * sunrpc/rtime.c: Likewise.
34316         * sunrpc/svc.c: Likewise.
34317         * sunrpc/svc_auth.c: Likewise.
34318         * sunrpc/svc_authux.c: Likewise.
34319         * sunrpc/svc_raw.c: Likewise.
34320         * sunrpc/svc_run.c: Likewise.
34321         * sunrpc/svc_simple.c: Likewise.
34322         * sunrpc/svc_tcp.c: Likewise.
34323         * sunrpc/svc_udp.c: Likewise.
34324         * sunrpc/svc_unix.c: Likewise.
34325         * sunrpc/svcauth_des.c: Likewise.
34326         * sunrpc/xcrypt.c: Likewise.
34327         * sunrpc/xdr.c: Likewise.
34328         * sunrpc/xdr_array.c: Likewise.
34329         * sunrpc/xdr_float.c: Likewise.
34330         * sunrpc/xdr_mem.c: Likewise.
34331         * sunrpc/xdr_rec.c: Likewise.
34332         * sunrpc/xdr_ref.c: Likewise.
34333         * sunrpc/xdr_sizeof.c: Likewise.
34334         * sunrpc/xdr_stdio.c: Likewise.
34336         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34337         handling.
34339 2010-08-19  Andreas Schwab  <schwab@redhat.com>
34341         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34343 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
34345         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34346         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34347         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34348         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34349         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34350         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34351         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34352         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34353         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34354         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34355         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34356         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34357         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34358         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34360 2010-07-26  Anton Blanchard  <anton@samba.org>
34362         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34363         * malloc/arena.c (heap_trim): Likewise.
34365 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
34367         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34368         here.  Not...
34369         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34370         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34372 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34374         * sysdeps/i386/elf/Makefile: New file.
34376 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34378         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34379         from fanotify_init.
34380         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34381         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34383 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
34385         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34386         of strncasecmp_l.
34387         * sysdeps/multiarch/strcmp.S: Likewise.
34389 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
34391         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34392         strncase_l-nonascii.
34393         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34394         Add strncase_l-ssse3.
34395         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34396         * sysdeps/x86_64/strcmp.S: Likewise.
34397         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34398         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34399         * sysdeps/x86_64/strncase.S: New file.
34400         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34401         * sysdeps/x86_64/strncase_l.S: New file.
34402         * string/Makefile (strop-tests): Add strncasecmp.
34403         * string/test-strncasecmp.c: New file.
34405         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34406         warning.
34408         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34409         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34411 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34413         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34415 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
34417         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34418         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34419         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34421 2010-05-01  Alan Modra  <amodra@gmail.com>
34423         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34424         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34425         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34426         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34427         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34428         tidying.  Don't tail-call __sigjmp_save for static lib.
34429         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34430         save location.
34431         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34432         (CALL_MCOUNT): Add eh info, and nop after bl.
34433         (TAIL_CALL_SYSCALL_ERROR): New macro.
34434         (PSEUDO_RET): Use it.
34435         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34436         Correct save location of integer regs and cr.
34437         (_dl_profile_resolve): Correct cr save location.  Delete nops
34438         after bl when SHARED.  Reduce cfi size a little by better
34439         placement of cfi directives.
34440         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34441         make a stack frame.  Instead use parm save area as a temp.
34442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34443         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
34444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34445         Don't make a stack frame for parent, use parm save area.
34446         Increase child stack frame to 112 bytes.  Don't save unused reg,
34447         and adjust reg usage.  Set up cfi on error recovery and
34448         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34450         (__makecontext): Add dummy nop after jump to exit.
34451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34452         Use correct parm save area and cr save, reduce stack frame.
34453         Correct cfi for possible PSEUDO_RET frame setup.
34454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34455         Branch to local label emitted by PSEUDO_RET rather than
34456         __syscall_error.
34458 2010-08-12  Andreas Schwab  <schwab@redhat.com>
34460         [BZ #11904]
34461         * locale/programs/locale.c (print_assignment): New function.
34462         (show_locale_vars): Use it.
34464 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
34466         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34467         field.
34468         (struct statfs64): Likewise.
34469         (_STATFS_F_FLAGS): Define.
34470         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34471         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34472         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34473         (ST_VALID): Define locally.
34474         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34475         __statvfs_getflags, use the provided value.
34476         * sysdeps/unix/sysv/linux/kernel-features.h: Define
34477         __ASSUME_STATFS_F_FLAGS.
34479         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34481         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34482         Add sys/fanotify.h.
34483         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34484         fanotify_mask for GLIBC_2.13.
34485         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34486         fanotify_init and fanotify_mark.
34487         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34488         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34490         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34491         Add prlimit.
34492         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34493         prlimit64 for GLIBC_2.13.
34494         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34495         prlimit64.
34496         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34497         syscall.
34498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34499         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34500         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34501         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34502         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
34503         add prlimit alias.
34504         * sysdeps/unix/sysv/linux/prlimit.c: New file.
34506         [BZ #11903]
34507         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34508         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34510         * nss/Makefile: Add rules to build and run tst-nss-test1.
34511         * shlib-versions: Add entry for libnss_test1.
34512         * nss/nss_test1.c: New file.
34513         * nss/tst-nss-test1.c: New file.
34515         * nss/nsswitch.c (__nss_database_custom): Define new variable.
34516         (__nss_configure_lookup): Set appropriate entry in
34517         __nss_configure_lookup to true.
34518         * nss/nsswitch.h: Define enum with indeces of databases in
34519         databases and __nss_database_custom arrays.  Declare
34520         __nss_database_custom.
34521         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34522         to avoid using nscd when custom rules are installed.
34523         * nss/getXXbyYY_r.c: Likewise.
34524         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34526         * nss/nss_files/files-parse.c: Whitespace fixes.
34528 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
34530         [BZ #11883]
34531         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34532         * posix/fnmatch_loop.c: Likewise.
34534 2010-07-17  Andi Kleen  <ak@linux.intel.com>
34536         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34537         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34538         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34539         * Versions.def [GLIBC_2.13]: Add.
34541 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
34543         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34544         Also fail if tpwd after pwuid call is NULL.
34546 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34548         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34549         when converting to ms.
34551 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34553         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34554         EOPNOTSUPP errors with ENOTTY.
34555         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34556         EOPNOTSUPP errors with ENOTTY.
34558 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
34560         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34561         Add strcasecmp_l-ssse3.
34562         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34563         strcasecmp.
34564         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34565         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34566         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34568 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
34570         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34572         * string/Makefile (strop-tests): Add strcasecmp.
34573         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34574         strcasecmp_l-nonascii.
34575         (gen-as-const-headers): Add locale-defines.sym.
34576         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34577         * sysdeps/x86_64/strcasecmp.S: New file.
34578         * sysdeps/x86_64/strcasecmp_l.S: New file.
34579         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34580         * sysdeps/x86_64/locale-defines.sym: New file.
34581         * string/test-strcasecmp.c: New file.
34583         * string/test-strcasestr.c: Test both ends of the range of characters.
34584         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34586 2010-07-29  Roland McGrath  <roland@redhat.com>
34588         [BZ #11856]
34589         * manual/locale.texi (Yes-or-No Questions): Fix example code.
34591 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
34593         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34594         for ld.so.
34596 2010-07-27  Andreas Schwab  <schwab@redhat.com>
34598         * manual/memory.texi (Malloc Tunable Parameters): Document
34599         M_PERTURB.
34601 2010-07-26  Roland McGrath  <roland@redhat.com>
34603         [BZ #11840]
34604         * configure.in (-fgnu89-inline check): Set and substitute
34605         gnu89_inline, not libc_cv_gnu89_inline.
34606         * configure: Regenerated.
34607         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34609 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
34611         * string/test-strnlen.c: New file.
34612         * string/Makefile (strop-tests): Add strnlen.
34613         * string/tester.c (test_strnlen): Add a few more test cases.
34614         * string/tst-strlen.c: Better error reporting.
34616         * sysdeps/x86_64/strnlen.S: New file.
34618 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
34620         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34621         lower-latency instructions.
34623 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
34625         * string/test-strcasestr.c: New file.
34626         * string/test-strstr.c: New file.
34627         * string/Makefile (strop-tests): Add strstr and strcasestr.
34628         * string/str-two-way.h: Don't undefine MAX.
34629         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34631 2010-07-21  Andreas Schwab  <schwab@redhat.com>
34633         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34634         strcasestr-nonascii.
34635         (CFLAGS-strcasestr-nonascii.c): Define.
34636         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34637         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34638         Remove unused attribute.
34640 2010-07-20  Roland McGrath  <roland@redhat.com>
34642         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34643         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
34644         ld.so.cache was broken.  With it, there is no way to disable dsocaps
34645         like LD_HWCAP_MASK can disable hwcaps.
34647 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34649         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34651 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
34653         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34654         call in strcasestr.
34655         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34656         __strcasestr_sse42_nonascii.
34657         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34658         strcasestr-nonascii.c.
34659         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34661 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
34663         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34664         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34665         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34666         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34668 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
34670         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34671         fcntl.
34673 2010-07-06  Andreas Schwab  <schwab@redhat.com>
34675         [BZ #11577]
34676         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34677         dl_signal_cerror.
34679 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
34681         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34682         _PC_PIPE_BUF using F_GETPIPE_SZ.
34684 2010-07-05  Roland McGrath  <roland@redhat.com>
34686         * manual/arith.texi (Rounding Functions): Fix rint description
34687         implicit in round description.
34689 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
34691         * elf/Makefile: Fix linking for a few tests to make recent linker
34692         happy.
34694 2010-06-30  Andreas Schwab  <schwab@redhat.com>
34696         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34697         $(common-objpfx)libc_nonshared.a.
34699 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
34701         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34702         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34703         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34704         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34705         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34706         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34707         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34708         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34723         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34724         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34725         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34726         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34727         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34728         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34729         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34730         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34731         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34732         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34733         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34734         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34750 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34752         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34753         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
34754         * string/memmove.c (memmove): Renamed to ...
34755         (MEMMOVE): ...this.  Default to memmove.
34756         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34757         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34758         (END_CHK): Define.
34759         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34760         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34761         mempcpy-ssse3-back memmove-ssse3-back.
34762         * sysdeps/x86_64/multiarch/bcopy.S: New file .
34763         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34764         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34765         * sysdeps/x86_64/multiarch/memcpy.S: New file.
34766         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34767         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34768         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34769         * sysdeps/x86_64/multiarch/memmove.c: New file.
34770         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34771         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34772         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34773         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34774         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34775         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34776         Define.
34777         (index_Fast_Copy_Backward): Define.
34778         (HAS_ARCH_FEATURE): Define.
34779         (HAS_FAST_REP_STRING): Define.
34780         (HAS_FAST_COPY_BACKWARD): Define.
34782 2010-06-21  Andreas Schwab  <schwab@redhat.com>
34784         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34785         Restore proper fallback handling.
34787 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
34789         [BZ #11701]
34790         * posix/group_member.c (__group_member): Correct checking loop.
34792         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34793         OOM in getpwuid_r correctly.  Return error number when the caller
34794         should return, otherwise -1.
34795         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34796         call returning > 0 value.
34797         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34799 2010-06-07  Andreas Schwab  <schwab@redhat.com>
34801         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34802         libc_nonshared.a from targets in modules-names.
34804 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
34806         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34807         requires it.
34809 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
34811         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34812         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34813         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34814         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34816 2010-06-02  Andreas Schwab  <schwab@redhat.com>
34818         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34820 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
34822         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34823         and F_GETPIPE_SZ.
34824         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34825         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34826         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34827         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34828         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34829         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34831 2010-06-14  Roland McGrath  <roland@redhat.com>
34833         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34835 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
34837         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34838         __REDIRECT followed by __THROW.
34839         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34840         * posix/getopt.h (getopt): Likewise.
34842 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34844         * hurd/lookup-at.c (__file_name_lookup_at): Accept
34845         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
34846         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34847         in AT_FLAGS.
34848         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34849         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34851 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
34853         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34855 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
34857         [BZ #11640]
34858         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34859         Properly check family and model.
34861 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
34863         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34865 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
34867         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34869 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
34871         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34872         symbol reference.
34874 2010-05-19  Andreas Schwab  <schwab@redhat.com>
34876         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34877         symbol reference.
34879 2010-05-21  Andreas Schwab  <schwab@redhat.com>
34881         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34882         and internal_recvmmsg.
34883         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34884         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34885         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34886         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34888         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34889         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34890         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34892 2010-05-20  Andreas Schwab  <schwab@redhat.com>
34894         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34896 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
34898         POWER7 optimizations.
34899         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34900         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34902 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
34904         * version.h: Update for 2.13 development version.
34906 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
34908         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34909         exceptions.  Return 0.
34911 2010-05-07  Roland McGrath  <roland@redhat.com>
34913         * elf/ldconfig.c (main): Add a const.
34915 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
34917         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34918         (args_options): Add no-idn option.
34919         (ahosts_keys_int): Add idn_flags to ai_flags.
34920         (parse_option): Handle 'i' option to clear idn_flags.
34922         * malloc/malloc.c (_int_free): Possible race in the most recently
34923         added check.  Only act on the data if no current modification
34924         happened.
34926 See ChangeLog.17 for earlier changes.